manual: skip build when perl is unavailable
[glibc.git] / ChangeLog
blob1820d42e44a0a738f2c6c89d7faf8656d90a1da7
1 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
3         * manual/Makefile (install): Only build manual when perl is available.
5 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8         '#undef memcpy' by '#undef memchr'.
10 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13         memchr not point to the internal __GI_memchr implementation.
15 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17         * timezone/Makefile (CFLAGS-zdump.c): Remove
18         -Wno-strict-prototypes.
19         (CFLAGS-zic.c): Likewise.
20         (CFLAGS-ialloc.c): Likewise.
21         (CFLAGS-scheck.c): Likewise.
23         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24         -Wno-error=undef.
26 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28         * i386/i686/multiarch/strcasestr-c.c: Removed.
29         * x86_64/multiarch/strcasestr.c: Likewise.
30         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31         Remove strcasestr.
33 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
35         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
37         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
38         variables for high and low parts before possibly modifying them.
40 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
42         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
43         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
44         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
45         of "multiarch/init-arch.h".
46         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
47         * sysdeps/x86/init-arch.h: This.
49 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
51         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
52         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
54 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
56         [BZ #17787]
57         * manual/macros.texi: Add twoexp macro.
58         * manual/filesys.texi: Fix exponents.
59         * manual/llio.texi: Likewise.
60         * manual/stdio.texi: Likewise.
62 2015-08-20  Florian Weimer  <fweimer@redhat.com>
64         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
65         incorrect use.
67 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #18370]
70         * math/s_csqrt.c (__csqrt): Force underflow exception for results
71         whose real or imaginary part has small absolute value.
72         * math/s_csqrtf.c (__csqrtf): Likewise.
73         * math/s_csqrtl.c (__csqrtl): Likewise.
74         * math/auto-libm-test-in: Add more tests of csqrt.
75         * math/auto-libm-test-out: Regenerated.
76         * sysdeps/i386/fpu/libm-test-ulps: Update.
78 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
80         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
81         __ppc_set_ppr_very_low): New functions.
82         * manual/platform.texi: Add documentation about
83         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
85 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
87         * string/stpncpy.c (stpncpy): Improve performance using
88         __strnlen/memcpy/memset.
90 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
92         [BZ #18796]
93         * scripts/test-installation.pl: Don't add -lmvec to build options if
94         libmvec wasn't built.
96 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
98         [BZ #14341]
99         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
100         case when there is a gap between DT_REL and DT_JMPREL sections.
101         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
102         (LDFLAGS-tst-split-dynreloc): New.
103         (tst-split-dynreloc-ENV): Likewise.
104         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
105         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
107 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
109         [BZ #18822]
110         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
111         attribute_hidden.
112         (__xstat64_conv): Likewise.
113         (__xstat32_conv): Likewise.
115 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
117         [BZ #18822]
118         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
119         Don't load %ebx when calling __setcontext.  Call __setcontext
120         with HIDDEN_JUMPTARGET.
121         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
122         libc_hidden_def.
124 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
126         * sysdeps/i386/i686/Makefile
127         [$(subdir) == string] (sysdep_routines): Moved to ...
128         * sysdeps/i386/Makefile: Here.
129         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
130         * sysdeps/i386/cacheinfo.c: Here.
131         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
132         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
133         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
134         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
136 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
138         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
139         __i586__ is defined.
140         (HAS_I686): Defined to 1 if __i686__ is defined.
142 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
144         * elf/Makefile [$(have-z-execstack) = yes]
145         (CPPFLAGS-tst-execstack.c): New variable.
147         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
148         conditional to [defined UTMPX || _HAVE_UT_TYPE].
149         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
150         UTMPX || _HAVE_UT_TV].
151         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
152         UTMPX || _HAVE_UT_TV - 0].
154 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
156         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
157         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
158         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
160 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
162         * sysdeps/powerpc/dl-procinfo.c:
163         (_dl_powerpc_cap_flags): Added missing strings for some
164         hwcap features.
165         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
167 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
169         Port the 0x7efe...feff pattern to GCC 6.
170         See Steve Ellcey's bug report in:
171         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
172         * string/memrchr.c (MEMRCHR):
173         * string/rawmemchr.c (RAWMEMCHR):
174         * string/strchr.c (strchr):
175         * string/strchrnul.c (STRCHRNUL):
176         Rewrite code to avoid issues with signed shift overflow.
178 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
180         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
181         whether cpuid is available only if HAS_CPUID is 0.
182         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
183         (HAS_I586): Likewise.
184         (HAS_I686): Likewise.
186 2015-08-18  Zack Weinberg  <zackw@panix.com>
188         * misc/Versions (libc): Add GLIBC_2.23.
190 2015-08-18  Alan Modra  <amodra@gmail.com>
192         [BZ #18421]
193         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
194         .Lp__global.
195         (_start): Load %dp via .Lp__global.
196         [!SHARED]: Use .section .rodata.
198 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
200         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
201         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
203 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
205         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
206         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
208 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
210         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
211         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
213 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
215         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
216         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
218 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
220         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
221         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
223 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
225         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
226         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
228 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
230         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
232 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
234         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
235         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
236         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
237         (__ASSUME_LWS_CAS): Delete.
239 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
241         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
242         * sysdeps/hppa/configure: Regenerated.
243         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
244         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
245         * sysdeps/hppa/nptl/tls.h: Likewise.
247 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
249         [BZ #18823]
250         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
251         for scaling up small arguments.
252         * math/s_csqrtf.c (__csqrtf): Likewise.
253         * math/s_csqrtl.c (__csqrtl): Likewise.
254         * math/auto-libm-test-in: Add more tests of csqrt.
255         * math/auto-libm-test-out: Regenerated.
257 2015-08-17  Andreas Schwab  <schwab@suse.de>
259         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
260         version set GLIBC_2.19.
262 2015-08-16  Zack Weinberg  <zackw@panix.com>
264         [BZ #18681]
265         * misc/regexp.h: This interface is no longer supported.
266         Remove all contents, leaving only an #error directive.
267         * misc/regexp.c (loc1, loc2, locs, step, advance):
268         Demote to compatibility symbols.
270 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
272         [BZ #18084]
273         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
274         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
275         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
276         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
277         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
278         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
279         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
280         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
281         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
283 2015-08-15  Zack Weinberg  <zackw@panix.com>
285         [BZ #18795]
286         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
287         buffer length is known to be too large, not if it's known to be
288         small enough.
289         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
290         overflow at runtime, involving a length parameter, twice: once
291         with a compile-time constant length parameter, once without.
293 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
295         [BZ #18824]
296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
297         scaling x * y up instead of down.
298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
300         * math/auto-libm-test-in: Add more tests of fma.
301         * math/auto-libm-test-out: Regenerated.
303 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
307 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
309         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
310         unnecessary movq.
311         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
312         Likewise.
314 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
316         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
317         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
318         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
319         and tgamma.
320         * math/auto-libm-test-out: Regenerated.
321         * sysdeps/i386/fpu/libm-test-ulps: Update.
322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
324         [BZ #16520]
325         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
326         (__tanh): Force underflow exception for arguments with small
327         absolute value.
328         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
329         (__tanhf): Force underflow exception for arguments with small
330         absolute value.
331         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
332         (__tanhl): Force underflow exception for arguments with small
333         absolute value.
334         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
335         (__tanhl): Force underflow exception for arguments with small
336         absolute value.
337         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
338         (__tanhl): Force underflow exception for arguments with small
339         absolute value.
340         * math/auto-libm-test-in: Add more tests of tanh.
341         * math/auto-libm-test-out: Regenerated.
342         * sysdeps/i386/fpu/libm-test-ulps: Update.
344 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
346         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
347         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
349 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
351         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
352         <cpuid.h>.
354 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
356         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
357         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
359 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
361         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
362         Remove $(objpfx)init-arch.o.
363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
364         init-arch.
365         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
366         (INIT_ARCH_EXT): Defined as empty.
367         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
368         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
369         __init_cpu_features call.  Replace HAS_XXX with
370         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
371         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
372         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
373         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
374         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
375         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
376         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
377         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
378         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
381         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
382         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
384         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
386         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
387         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
390         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
392         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
396         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
399         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
404         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
407 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
409         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
410         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
411         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
412         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
413         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
414         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
415         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
416         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
417         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
418         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
419         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
420         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
421         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
422         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
423         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
424         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
425         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
426         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
427         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
428         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
429         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
430         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
431         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
432         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
433         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
434         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
436         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
437         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
438         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
439         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
440         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
441         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
442         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
443         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
444         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
445         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
446         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
447         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
448         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
449         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
450         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
451         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
453 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
455         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
456         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
458         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
459         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
460         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
461         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
462         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
463         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
466         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
467         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
468         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
469         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
470         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
471         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
472         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
473         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
474         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
476         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
477         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
478         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
479         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
480         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
481         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
482         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
483         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
484         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
485         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
486         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
487         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
490         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
491         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
492         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
493         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
494         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
495         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
496         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
497         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
499 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
501         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
502         (dl_platform_init): Call init_cpu_features.
503         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
504         * sysdeps/i386/i686/cacheinfo.c
505         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
506         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
507         * sysdeps/i386/i686/multiarch/Versions: Removed.
508         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
509         Removed.
510         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
511         * sysdeps/unix/sysv/linux/x86/Makefile
512         (libpthread-sysdep_routines): Remove init-arch.
513         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
514         <sysdeps/x86_64/dl-procinfo.c> instead of
515         sysdeps/generic/dl-procinfo.c>.
516         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
517         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
518         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
519         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
520         [$(subdir) == elf] (tests-static): Add
521         tst-get-cpu-features-static.
522         * sysdeps/x86/Versions: New file.
523         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
524         * sysdeps/x86/cpu-features.c: Likewise.
525         * sysdeps/x86/cpu-features.h: Likewise.
526         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
527         * sysdeps/x86/libc-start.c: Likewise.
528         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
529         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
530         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
531         * sysdeps/x86_64/dl-procinfo.c: Likewise.
532         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
533         Assume USE_MULTIARCH is defined and don't check it.
534         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
535         (is_amd): Likewise.
536         (max_cpuid): Likewise.
537         (intel_check_word): Likewise.
538         (__cache_sysconf): Don't call __init_cpu_features.
539         (__x86_preferred_memory_instruction): Removed.
540         (init_cacheinfo): Don't call __init_cpu_features. Replace
541         __cpu_features with GLRO(dl_x86_cpu_features).
542         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
543         (dl_platform_init): Call init_cpu_features.
544         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
545         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
546         * sysdeps/x86_64/multiarch/Versions: Removed.
547         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
548         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
549         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
550         Removed.
551         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
553 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
555         [BZ #18820]
556         * libio/Makefile (test-fmemopen-mem): New test.
557         * libio/test-fmemopen.c (do_bz18820): New test.
558         * libio/fmemopen.c (__fmemopen): Fix memory leak.
559         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
561 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
563         [BZ #16734]
564         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
565         (FREE_BUF): Delete.
566         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
567         * libio/genops.c (_IO_setb): Use malloc and free directly.
568         (_IO_default_doallocate, _IO_default_finish): Likewise.
569         ( _IO_unbuffer_all): Likewise.
570         ( libc_freeres_fn): Likewise.
571         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
572         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
573         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
574         (_IO_wdefault_doallocate): Likewise.
576 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
578         [BZ #18086]
579         * sysdeps/posix/nice.c (nice): Restore old errno.
580         * posix/tst-nice.c (do_test): Add test for BZ #18086.
582 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
584         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
586 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
588         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
589         __bcopy and add a weak_alias to bcopy.
590         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
591         for static build.
593         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
594         cleanup macro usage.
595         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
596         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
598         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
599         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
600         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
601         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
602         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
603         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
604         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
605         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
606         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
607         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
608         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
611         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
612         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
613         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
615         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
616         libc_hidden_def.
617         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
619         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
620         (sysdep_routines): Add strstr-ppc64.
621         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
623 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
625         [BZ #18778]
626         * elf/Makefile (tests): Add Add tst-nodelete2.
627         (modules-names): Add tst-nodelete2mod.
628         (tst-nodelete2mod.so-no-z-defs): New.
629         ($(objpfx)tst-nodelete2): Likewise.
630         ($(objpfx)tst-nodelete2.out): Likewise.
631         (LDFLAGS-tst-nodelete2): Likewise.
632         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
633         out of loop through all loaded libraries.
634         * elf/tst-nodelete2.c: New file.
635         * elf/tst-nodelete2mod.c: Likewise.
637 2015-08-11  Andreas Schwab  <schwab@suse.de>
639         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
640         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
641         (__openat64_nocancel): Likewise.
643 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
645         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
646         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
647         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
648         * math/auto-libm-test-out: Regenerated.
649         * sysdeps/i386/fpu/libm-test-ulps: Update.
650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
654         [BZ #18790]
655         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
656         threshold for returning +/- 1.
657         * math/auto-libm-test-in: Add more tests of tanh.
658         * math/auto-libm-test-out: Regenerated.
659         * sysdeps/i386/fpu/libm-test-ulps: Update.
661 2015-08-10  Andreas Schwab  <schwab@suse.de>
663         [BZ #18781]
664         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
665         MORE_OFLAGS to oflag.
666         * io/test-lfs.c (do_test): Test openat64.
668 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
670         [BZ #18789]
671         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
672         smaller threshold for returning the argument.
673         * math/auto-libm-test-in: Add more tests of sinh.
674         * math/auto-libm-test-out: Regenerated.
675         * sysdeps/i386/fpu/libm-test-ulps: Update.
677 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
679         [BZ #18674]
680         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
681         break.
683 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
685         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
686         (generated): Don't add $(addprefix z.,$(tzfiles)).
688 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
690         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
691         * scripts/sysd-rules.awk: Likewise.
693 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
695         * iconvdata/tst-tables.sh: Change echo -n to printf.
696         * nss/db-Makefile: Likewise.
697         * posix/tst-getconf.sh: Likewise.
698         * stdio-common/tst-unbputc.sh: Likewise.
700 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
702         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
703         MADV_*_PAGES defines behind this feature check.
705 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
707         [BZ #18480]
708         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
709         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
710         Define.
711         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
712         LOAD_REGS_5, LOAD_REGS_6): Update.
713         (INTERNAL_SYSCALL): Update using new LOAD defines.
714         (INTERNAL_SYSCALL_NCS): Likewise.
715         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
717 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
719         [BZ #16734]
720         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
722 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
724         [BZ #17905]
725         * catgets/Makefile (tst-catgets-mem): New test.
726         * catgets/catgets.c (catopen): Don't use unbounded alloca.
727         * catgets/open_catalog.c (__open_catalog): Likewise.
728         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
730 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
732         [BZ #18787]
733         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
734         clobber registers.
735         (atomic_compare_and_exchange_val_acq): Use register asms to assign
736         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
737         Cast return to __typeof (oldval).
739 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
741         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
742         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
743         and delete sys/syscall.h include.
745 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
747         [BZ #16517]
748         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
749         (tan): Force underflow exception for arguments with small absolute
750         value.
751         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
752         (__kernel_tanf): Force underflow exception for arguments with
753         small absolute value.
754         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
755         (__kernel_tanl): Force underflow exception for arguments with
756         small absolute value.
757         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
758         (__kernel_tanl): Force underflow exception for arguments with
759         small absolute value.
760         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
761         (__kernel_tanl): Force underflow exception for arguments with
762         small absolute value.
763         * math/auto-libm-test-in: Add more tests of tan.
764         * math/auto-libm-test-out: Regenerated.
766 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
768         Fix sysdeps/i386/fpu/s_scalbn.S build
770         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
772 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
774         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
776 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
778         Fix gcrt0.o compilation
780         When static-start-installed-name is different from
781         start-installed-name, we must not use the shared objects.
783         * csu/Makefile
784         (extra-objs): Add gmon-start.o when building shared library and
785         $(static-start-installed-name) is different from
786         $(start-installed-name).
787         $(objpfx)g$(static-start-installed-name): When building shared
788         library and $(static-start-installed-name) is different from
789         $(static-start-installed-name), revert to non-shared rule,
790         i.e. using $(objpfx)% and gmon-start.o.
792 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
794         [BZ #16519]
795         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
796         (__ieee754_sinh): Force underflow exception for arguments with
797         small absolute value.
798         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
799         (__ieee754_sinhf): Force underflow exception for arguments with
800         small absolute value.
801         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
802         (__ieee754_sinhl): Force underflow exception for arguments with
803         small absolute value.
804         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
805         (__ieee754_sinhl): Force underflow exception for arguments with
806         small absolute value.
807         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
808         (__ieee754_sinhl): Force underflow exception for arguments with
809         small absolute value.
810         * math/auto-libm-test-in: Add more tests of sinh.
811         * math/auto-libm-test-out: Regenerated.
812         * sysdeps/i386/fpu/libm-test-ulps: Update.
814 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
816         * libio/oldfileops.c: Include unistd.h.
818 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
820         * stdlib/isomac.c: Include ctype.h.
822 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
824         * dirent/tst-seekdir.c (main): Converted to ...
825         (do_test): ... this.
826         (TEST_FUNCTION): New macro.
827         Include test-skeleton.c.
828         * elf/tst-dlmodcount.c (main): Converted to ...
829         (do_test): ... this.
830         (TEST_FUNCTION): New macro.
831         Include test-skeleton.c.
832         * elf/tst-order-main.c (main): Converted to ...
833         (do_test): ... this.
834         (TEST_FUNCTION): New macro.
835         Include test-skeleton.c.
836         * elf/tst-pie2.c (main): Converted to ...
837         (do_test): ... this.
838         (TEST_FUNCTION): New macro.
839         Include test-skeleton.c.
840         * inet/tst-ether_aton.c (main): Converted to ...
841         (do_test): ... this.
842         (TEST_FUNCTION): New macro.
843         Include test-skeleton.c.
844         * misc/tst-mntent.c (main): Converted to ...
845         (do_test): ... this.
846         (TEST_FUNCTION): New macro.
847         Include test-skeleton.c.
848         * misc/tst-tsearch.c (main): Converted to ...
849         (do_test): ... this.
850         (TEST_FUNCTION): New macro.
851         Include test-skeleton.c.
852         * posix/tst-regexloc.c (main): Converted to ...
853         (do_test): ... this.
854         (TEST_FUNCTION): New macro.
855         Include test-skeleton.c.
856         * resolv/tst-aton.c (main): Converted to ...
857         (do_test): ... this.
858         (TEST_FUNCTION): New macro.
859         Include test-skeleton.c.
860         * stdio-common/test-fwrite.c (main): Converted to ...
861         (do_test): ... this.
862         (TEST_FUNCTION): New macro.
863         Include test-skeleton.c.
864         * stdio-common/tst-ferror.c (main): Converted to ...
865         (do_test): ... this.
866         (TEST_FUNCTION): New macro.
867         Include test-skeleton.c.
868         * stdio-common/tst-printf.c (main): Converted to ...
869         (do_test): ... this.
870         (TEST_FUNCTION): New macro.
871         Include test-skeleton.c.
872         * stdio-common/tst-printfsz.c (main): Converted to ...
873         (do_test): ... this.
874         (TEST_FUNCTION): New macro.
875         Include test-skeleton.c.
876         * stdlib/tst-strtod.c (main): Converted to ...
877         (do_test): ... this.
878         (TEST_FUNCTION): New macro.
879         Include test-skeleton.c.
880         * string/tst-strlen.c (main): Converted to ...
881         (do_test): ... this.
882         (TEST_FUNCTION): New macro.
883         Include test-skeleton.c.
884         * string/tst-svc.c (main): Converted to ...
885         (do_test): ... this.
886         (TEST_FUNCTION): New macro.
887         Include test-skeleton.c.
888         * time/tst-strptime.c (main): Converted to ...
889         (do_test): ... this.
890         (TEST_FUNCTION): New macro.
891         Include test-skeleton.c.
892         * timezone/tst-timezone.c (main): Converted to ...
893         (do_test): ... this.
894         (TEST_FUNCTION): New macro.
895         Include test-skeleton.c.
897 2015-08-05  Zack Weinberg  <zackw@panix.com>
899         * misc/regexp.h: Update comments.
901 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
903         [BZ #18635]
904         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
905         before return label.
907 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
909         [BZ #18661]
910         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
911         when calling __errno_location.
912         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
913         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
915 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
917         [BZ #18661]
918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
919         (__lll_timedwait_tid): Align stack to 16 bytes when calling
920         __gettimeofday.
922 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
924         [BZ #18661]
925         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
926         (__start_context): Don't use pop to restore %rdi so that stack
927         is aligned to 16 bytes when calling __setcontext.
929 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
931         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
932         only for libc.
933         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
935 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
937         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
938         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
939         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
941 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
943         * string/memccpy.c (memccpy):
944         Improve performance by using memchr/memcpy/__mempcpy.
946 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
948         * string/strncpy.c (strncpy):
949         Improve performance by using __strnlen/memcpy.
951 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
953         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
954         Optimize to avoid an unnecessary FPCR read.
956 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
958         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
959         Optimize to reduce FPCR/FPSR accesses.
961 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
963         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
964         dead->data[category] != NULL.
966 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
968         [BZ #18647]
969         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
970         and |x| close to 1, use absolute value of x when computing log.
971         * math/auto-libm-test-in: Add more tests of pow.
972         * math/auto-libm-test-out: Regenerated.
974 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
976         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
977         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
978         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
980 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
982         [BZ #18525]
983         * locales/km_KH: Remove timezone definition.
984         * locales/lo_LA: Likewise.
985         * locales/my_MM: Likewise.
986         * locales/nan_TW@latin: Likewise.
987         * locales/th_TH: Likewise.
988         * locales/uk_UA: Likewise.
990 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
992         [BZ #18265]
993         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
994         (wcsncat): Likewise.
995         (wcscmp): Likewise.
996         (wcsncmp): Likewise.
998 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1000         * test-skeleton.c (usage): New function.
1001         (main): Call usage when opt is '?'.
1003 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1005         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1006         before first use.
1008 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1010         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1011         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1012         in there too.
1014 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1016         * version.h (RELEASE): Set to "development".
1017         (VERSION): Set to "2.22.90"
1019         * version.h (RELEASE): Set to "stable".
1020         (VERSION): Set to "2.22"
1021         * include/features.h (__GLIBC_MINOR__): Set to 22.
1023 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1025         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1026         Restructure macro to avoid "value computed is not used" warning.
1027         (atomic_compare_and_exchange_val_acq): Likewise.
1029 2015-08-04  Andreas Schwab  <schwab@suse.de>
1031         [BZ #18635]
1032         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1033         ret.
1034         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1036 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1038         * po/pl.po: Updated translation.
1039         * po/uk.po: Likewise.
1040         * po/fi.po: Likewise.
1041         * po/ko.po: Likewise.
1042         * po/ru.po: Likewise.
1043         * po/vi.po: Likewise.
1045 2015-07-31  Zack Weinberg  <zackw@panix.com>
1047         [BZ #18681]
1048         * regexp.h: Add unconditional #warning stating that this header
1049         will be removed soon.  Revise banner comment to match.
1050         (compile): Consistently use ERROR instead of RETURN to report
1051         errors (partial fix for bz#18681).
1052         * regexp.c: Don't include regexp.h. Remove some unnecessary
1053         declarations.
1055 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1057         * po/libc.pot: Regenerated.
1059 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1061         [BZ #18740]
1062         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1063         float-vlen4-arch-ext-cflags): Removed.
1064         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1065         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1067 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1069         [BZ #14113]
1070         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1071         aligned to __aligned__.
1072         (pthread_cond_t, pthread_rwlock_t): Likewise.
1074 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1076         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1078 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1080         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1081         (struct sigaction): Change sa_flags from a long to an int, and add
1082         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1084 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1086         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1087         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1088         sysdeps/generic/sysdep.h include.
1089         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1090         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1091         sysdeps/hppa/sysdep.h.
1092         (ENTRY, PSEUDO): Undefine before defining.
1094 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1096         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1097         from scratch to use INTERNAL_SYSCALL.
1099 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1101         [BZ #18078]
1102         * scripts/check-localplt.awk: Support alternate relocations.
1103         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1104         sections.
1105         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1106         malloc entries with + REL R_386_GLOB_DAT.
1107         * sysdeps/x86_64/localplt.data: New file.
1109 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1111         [BZ #18731]
1112         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1113         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1114         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1116 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1118         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1120 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1122         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1123         directly in terms of __sync_fetch_and_add and delete (int) cast.
1125 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1127         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1128         the -D_ASM_IA64_CURRENT_H flag.
1130 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1132         [BZ #18641]
1133         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1135 2015-07-27  Andreas Schwab  <schwab@suse.de>
1137         * conform/conformtest.pl (checknamespace): Filter out string
1138         literals while tokenizing.
1140 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1142         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1143         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1144         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1146 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1148         * nptl/tst-join7mod.c: Add #include <string.h>.
1150 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1152         * sysdeps/nios2/libm-test-ulps: Update.
1154 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1156         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1157         Fix order of arguments to the rt_sigprocmask syscall.
1158         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1159         Likewise.
1161 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1163         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1165 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1167         [BZ #18457]
1168         * nptl/Makefile (tests): New test case tst-join7.
1169         (modules-names): New test case module tst-join7mod.
1170         * nptl/tst-join7.c: New file.
1171         * nptl/tst-join7mod.c: New file.
1172         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1173         all translation units in libc.so, libpthread.so and rtld.
1175 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1179 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1181         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1182         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1183         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1184         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1187         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1190         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1193         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1194         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1196         implementation.
1198 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1200         [BZ #17711]
1201         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1202         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1203         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1204         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1205         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1206         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1208 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1211         instead of just saying load lock in the comments.
1213 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1215         * sysdeps/unix/Subdirs: Moved ...
1216         * sysdeps/posix/Subdirs: ... here.
1217         * login/pty.h (struct termios, struct winsize): Add forward decls.
1218         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1219         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1220         * sysdeps/arm/nacl/libc.abilist: Updated.
1221         * sysdeps/nacl/libutil.abilist: New file.
1223         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1224         (SIGWINCH): New macro.
1226         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1227         * sysdeps/arm/nacl/libc.abilist: Add it.
1229 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1231         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1233 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1235         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1236         Swap __glibc_reserved0 and sa_flags order.
1238 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1240         [BZ #18657]
1241         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1242         are pending TLS destructor calls.
1243         * include/link.h (struct link_map): Add concurrency note for
1244         L_TLS_DTOR_COUNT.
1245         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1246         Don't touch the link map flag.  Atomically increment
1247         l_tls_dtor_count.
1248         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1249         Avoid taking the load lock and don't touch the link map flag.
1250         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1251         * stdlib/Makefile (tests): Use it.
1252         * stdlib/tst-tls-atexit.c (do_test): dlopen
1253         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1254         to allow tst-tls-atexit-nodelete test case to use it.
1256 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1258         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1259         to bits/types.h.
1260         (msgqnum_t): New typedef.
1261         (msglen_t): Likewise.
1262         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1263         and msg_qbytes type to msglen_t.
1265 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1267         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1268         pad0 to __glibc_reserved0.
1269         (struct stat64): Likewise.
1271 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1273         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1274         Change sa_flags from a long to an int and add __glibc_reserved0 before
1275         it for padding.
1277 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1279         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1280         anonymous by deleting "siginfo" name.
1282 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1284         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1285         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1286         rather than __nacl_irt_filename.
1287         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1289         * NEWS: New item for arm-nacl port.
1290         * sysdeps/arm/nacl/libc.abilist: New file.
1291         * sysdeps/nacl/ld.abilist: New file.
1292         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1293         * sysdeps/nacl/libanl.abilist: New file.
1294         * sysdeps/nacl/libcrypt.abilist: New file.
1295         * sysdeps/nacl/libdl.abilist: New file.
1296         * sysdeps/nacl/libm.abilist: New file.
1297         * sysdeps/nacl/libpthread.abilist: New file.
1298         * sysdeps/nacl/libresolv.abilist: New file.
1299         * sysdeps/nacl/librt.abilist: New file.
1301 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1303         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1304         __startcontext to initialize the new context.
1305         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1306         up CFI directive to forbid further backtracing.
1308 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1310         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1311         reference.
1312         * charmaps/ANSI_X3.4-1968: Likewise.
1313         * charmaps/BS_4730: Likewise.
1314         * charmaps/BS_VIEWDATA: Likewise.
1315         * charmaps/CP1250: Likewise.
1316         * charmaps/CP1251: Likewise.
1317         * charmaps/CP1252: Likewise.
1318         * charmaps/CP1253: Likewise.
1319         * charmaps/CP1254: Likewise.
1320         * charmaps/CP1255: Likewise.
1321         * charmaps/CP1256: Likewise.
1322         * charmaps/CSN_369103: Likewise.
1323         * charmaps/EBCDIC-DK-NO: Likewise.
1324         * charmaps/GB_1988-80: Likewise.
1325         * charmaps/GREEK-CCITT: Likewise.
1326         * charmaps/GREEK7: Likewise.
1327         * charmaps/INIS-8: Likewise.
1328         * charmaps/ISIRI-3342: Likewise.
1329         * charmaps/ISO_2033-1983: Likewise.
1330         * charmaps/ISO_5427-EXT: Likewise.
1331         * locales/POSIX: Likewise.
1332         * locales/ar_SA: Likewise.
1333         * locales/be_BY: Likewise.
1334         * locales/be_BY@latin: Likewise.
1335         * locales/ca_ES: Likewise.
1336         * locales/cs_CZ: Likewise.
1337         * locales/da_DK: Likewise.
1338         * locales/de_BE: Likewise.
1339         * locales/de_CH: Likewise.
1340         * locales/de_LU: Likewise.
1341         * locales/en_AU: Likewise.
1342         * locales/en_BW: Likewise.
1343         * locales/en_CA: Likewise.
1344         * locales/en_DK: Likewise.
1345         * locales/en_GB: Likewise.
1346         * locales/en_IE: Likewise.
1347         * locales/en_NZ: Likewise.
1348         * locales/en_ZA: Likewise.
1349         * locales/en_ZW: Likewise.
1350         * locales/es_AR: Likewise.
1351         * locales/es_BO: Likewise.
1352         * locales/es_CL: Likewise.
1353         * locales/es_CO: Likewise.
1354         * locales/es_DO: Likewise.
1355         * locales/es_EC: Likewise.
1356         * locales/es_ES: Likewise.
1357         * locales/es_HN: Likewise.
1358         * locales/es_MX: Likewise.
1359         * locales/es_PA: Likewise.
1360         * locales/es_PE: Likewise.
1361         * locales/es_PY: Likewise.
1362         * locales/es_SV: Likewise.
1363         * locales/es_US: Likewise.
1364         * locales/es_UY: Likewise.
1365         * locales/es_VE: Likewise.
1366         * locales/et_EE: Likewise.
1367         * locales/fa_IR: Likewise.
1368         * locales/fo_FO: Likewise.
1369         * locales/fr_CA: Likewise.
1370         * locales/fr_CH: Likewise.
1371         * locales/gv_GB: Likewise.
1372         * locales/he_IL: Likewise.
1373         * locales/hr_HR: Likewise.
1374         * locales/id_ID: Likewise.
1375         * locales/is_IS: Likewise.
1376         * locales/it_CH: Likewise.
1377         * locales/iw_IL: Likewise.
1378         * locales/kl_GL: Likewise.
1379         * locales/ko_KR: Likewise.
1380         * locales/kw_GB: Likewise.
1381         * locales/lg_UG: Likewise.
1382         * locales/lt_LT: Likewise.
1383         * locales/lv_LV: Likewise.
1384         * locales/mi_NZ: Likewise.
1385         * locales/nhn_MX: Likewise.
1386         * locales/nl_BE: Likewise.
1387         * locales/pl_PL: Likewise.
1388         * locales/sk_SK: Likewise.
1389         * locales/sl_SI: Likewise.
1390         * locales/sv_FI: Likewise.
1391         * locales/tl_PH: Likewise.
1392         * locales/tr_TR: Likewise.
1393         * locales/vi_VN: Likewise.
1395 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1397         [BZ #17475]
1398         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1399         of tu_IN and bh_IN.
1401 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1403         [BZ #18694]
1404         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1405         bits/wordsize.h.
1406         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1408 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1410         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1411         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1412         (spawn_thread): New function.
1413         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1414         (do_test): ... here.  Use IS_LOADED to test for its
1415         availability.
1417 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1419         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1421 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1423         [BZ #18696]
1424         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1425         si_addr_bnd.
1426         (si_lower): New.
1427         (si_upper): Likewise.
1429 2015-07-16  David S. Miller  <davem@davemloft.net>
1431         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1433 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1435         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1436         buffer.
1437         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1438         fail output information.
1440 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1443         and strstr-ppc64..
1444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1445         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1446         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1447         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1448         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1450 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1452         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1453         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1454         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1455         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1457 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1459         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1460         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1461         rtld_hidden_proto.
1462         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1464 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1466         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1467         the test can fail.
1469         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1471         [BZ #18676]
1472         * elf/tst-nodelete-opened.c: New test case.
1473         * elf/tst-nodelete-opened-lib.c: New test case module.
1474         * elf/Makefile (tests, modules-names): Use them.
1475         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1476         early.
1478 2015-07-15  David S. Miller  <davem@davemloft.net>
1480         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1481         futex-intenal.h
1482         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1483         * sysdeps/sparc/sparc64/Makefile: Likewise.
1484         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1485         Remove space from macro define.
1486         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1488 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1490         [BZ #17475]
1491         * locale/iso-639.def: Update Bhili and Tulu language codes as
1492         per iso639-3.
1494 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1496         * elf/tst-leaks1.c (main): Converted to ...
1497         (do_test): ... this.
1498         (TEST_FUNCTION): New macro.
1499         Include test-skeleton.c.
1500         * localedata/tst-langinfo.c (main): Converted to ...
1501         (do_test): ... this.
1502         (TEST_FUNCTION): New macro.
1503         Include test-skeleton.c.
1504         * math/test-fpucw.c (main): Converted to ...
1505         (do_test): ... this.
1506         (TEST_FUNCTION): New macro.
1507         Include test-skeleton.c.
1508         * math/test-tgmath.c (main): Converted to ...
1509         (do_test): ... this.
1510         (TEST_FUNCTION): New macro.
1511         Include test-skeleton.c.
1512         * math/test-tgmath2.c (main): Converted to ...
1513         (do_test): ... this.
1514         (TEST_FUNCTION): New macro.
1515         Include test-skeleton.c.
1516         * setjmp/tst-setjmp.c (main): Converted to ...
1517         (do_test): ... this.
1518         (TEST_FUNCTION): New macro.
1519         Include test-skeleton.c.
1520         * stdio-common/tst-sscanf.c (main): Converted to ...
1521         (do_test): ... this.
1522         (TEST_FUNCTION): New macro.
1523         Include test-skeleton.c.
1524         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1525         (do_test): ... this.
1526         (TEST_FUNCTION): New macro.
1527         Include test-skeleton.c.
1529         * elf/tst-audit9.c (main): Converted to ...
1530         (do_test): ... this.
1531         (TEST_FUNCTION): New macro.
1532         Include test-skeleton.c.
1534 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1536         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1538 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1540         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1541         New variable.
1543 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1545         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1547 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1549         * sysdeps/generic/dl-fileid.h: New file.
1550         * sysdeps/posix/dl-fileid.h: New file.
1551         * sysdeps/nacl/dl-fileid.h: New file.
1552         * include/link.h: Include <dl-fileid.h>.
1553         (struct link_map): Replace l_dev and l_ino with l_file_id.
1554         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1555         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1556         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1558 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1560         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1562 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1564         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1565         Add iff $CXX is set.
1566         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1567         Likewise.
1568         (tst-nodelete-zmodiff): Likewise.
1569         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1571 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1573         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1575 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1577         * sysdeps/aarch64/fpu/math_private.h
1578         (define math_opt_barrier): Add AArch64 version.
1579         (math_force_eval): Likewise.
1581 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1583         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1585 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1587         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1588         %ld with %jd and cast to intmax_t.
1589         (do_test_length_zero): Likewise.
1591 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1593         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1595 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1597         * sysdeps/tile/libm-test-ulps: Regenerated.
1599         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1600         Comment out the whole function, not just its body.
1602 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1604         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1605         locks.
1607         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1609 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1611         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1612         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1614 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1616         * sysdeps/nptl/futex-internal.h: New file.
1617         * sysdeps/nacl/futex-internal.h: New file.
1618         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1619         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1620         error checking.
1621         (setxid_unmark_thread): Likewise.
1622         (__nptl_setxid): Likewise.
1623         (__wait_lookup_done): Likewise.
1624         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1625         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1626         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1627         * nptl/pthread_once.c (clear_once_control): Likewise.
1628         (__pthread_once_slow): Likewise.
1629         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1630         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1631         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1632         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1633         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1634         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1635         Likewise.
1636         (__pthread_rwlock_rdlock): Likewise.
1637         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1638         Likewise.
1639         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1640         Likewise.
1641         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1642         Likewise.
1643         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1644         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1645         Likewise.
1646         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1647         __ASSUME_PRIVATE_FUTEX check.
1648         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1649         Check that shared futexes are supported.
1650         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1651         wrappers with error checking.
1652         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1653         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1654         * nptl/pthread_barrierattr_setpshared.c
1655         (pthread_barrierattr_setpshared): Check that shared futexes are
1656         supported.
1657         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1658         Likewise.
1659         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1660         Likewise.
1661         * nptl/sem_init.c (futex_private_if_supported): Remove.
1662         (__new_sem_init): Adapt and check that shared futexes are supported.
1663         * nptl/sem_open.c (sem_open): Likewise.
1664         * nptl/sem_post.c (futex_wake): Remove.
1665         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1666         (do_futex_wait): Use futex wrappers with error checking.
1667         * nptl/sem_wait.c: Include lowlevellock.h.
1668         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1669         Use futex_supports_pshared.
1670         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1671         Use futex wrappers with error checking.
1672         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1673         Likewise.
1674         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1675         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1676         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1677         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1678         (futex_wake): Likewise.
1679         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1680         (do_futex_wait): Use futex wrappers with error checking.
1681         (__new_sem_wait_slow): Update EINTR handling.
1682         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1684 2015-07-09  Martin Sebor  <msebor@redhat.com>
1686         [BZ #18435]
1687         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1688         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1689         * nptl/Makefile (test-xfail-tst-once5): Define.
1691 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1693         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1694         * elf/dl-minimal.c: For readability, reorder some definitions and
1695         introduce more page breaks.  Include <stdio.h>.
1696         (__libc_fatal): New function.
1698         * include/unistd.h: Add rtld_hidden_proto for _exit.
1699         * posix/_exit.c: Add rtld_hidden_def.
1700         * sysdeps/mach/hurd/_exit.c: Likewise.
1701         * sysdeps/nacl/_exit.c: Likewise.
1702         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1703         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1705 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1708         bndmov encoding with zero displacement.
1710 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1711             H.J. Lu  <hongjiu.lu@intel.com>
1713         [BZ #18134]
1714         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1715         * sysdeps/i386/configure: Regenerated.
1716         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1717         (_dl_runtime_profile): Save and restore Intel MPX return bound
1718         registers when calling _dl_call_pltexit.  Add
1719         PRESERVE_BND_REGS_PREFIX before return.
1720         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1721         (LRV_BND1_OFFSET): Likewise.
1722         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1723         lrv_bnd1.
1724         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1725         typo in bndmov encoding.
1726         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1727         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1728         branch instructions to preserve bounds.
1730 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1733         [GLIBC_2.22]: Add fmemopen.
1735 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1737         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1738         returns an error, also try to use host port from __mach_host_self for
1739         the __vm_wire call.
1740         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1742 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1744         [BZ #18400]
1745         [BZ #18648]
1746         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1747         Fix pr_uid and pr_gid members.
1748         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1749         definition to elf_greg_t.
1751 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1753         [BZ #18383]
1754         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1755         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1756         * sysdeps/arm/configure: Regenerated.
1757         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1758         (test-xfail-tst-tlsalign-static): Variable removed.
1760         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1761         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1762         rather than explicit 'ln -s'.
1764         * resolv/rpc/netdb.h: New file.
1765         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1767 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1769         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1770         length buffers.
1771         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1772         test-skeleton.c.
1774         [BZ #6544]
1775         [BZ #11216]
1776         [BZ #12836]
1777         [BZ #13151]
1778         [BZ #13152]
1779         [BZ #14292]
1780         * include/stdio.h (fmemopen): Remove hidden prototype.
1781         (__fmemopen): Add new hidden prototype.
1782         * libio/Makefile: Add oldfmemopen object.
1783         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1784         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1785         compliance.
1786         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1787         symbol compatibility.
1788         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1789         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1790         fmemopen.
1791         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1792         on append and read mode.
1793         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1794         fmemopen.
1795         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1796         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1797         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1798         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1799         Likewise.
1800         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1801         [GLIBC_2.22]: Likewise.
1802         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1803         Likewise.
1804         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1805         Likewise.
1806         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1807         [GLIBC_2.22]: Likewise.
1808         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1809         [GLIBC_2.22]: Likewise.
1810         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1811         [GLIBC_2.22]: Likewise.
1812         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1813         [GLIBC_2.22]: Likewise.
1814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1815         [GLIBC_2.22]: Likewise.
1816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1817         [GLIBC_2.22]: Likewise.
1818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1819         [GLIBC_2.22]: Likewise.
1820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1821         Likewise.
1822         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1825         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1826         [GLIBC_2.22]: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1828         [GLIBC_2.22]: Likewise.
1829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1830         [GLIBC_2.22]: Likewise.
1831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1832         [GLIBC_2.22]: Likewise.
1833         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1834         Likewise.
1835         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1836         Likewise.
1837         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1838         Likewise.
1839         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1840         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1842 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1844         [BZ #18643]
1845         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1846         IPV6_PATHMTU, and IPV6_DONTFRAG.
1848 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1850         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1851         and _IO_UNBUFFERED.
1852         * libio/oldfileops.c: Likewise.
1853         * libio/wfileops.c: Likewise.
1855 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1857         * nscd/selinux.c: Delete selinux/flask.h include.
1859 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1861         [BZ #18641]
1862         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1863         (putpwent): Likewise.
1864         (getpwnam): Likewise.
1865         (getpwent_r): Likewise.
1866         (getpwuid_r): Likewise.
1867         (getpwnam_r): Likewise.
1868         (fgetpwent_r): Likewise.
1870 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1872         [BZ #18557]
1873         * inet/rcmd.c (__validuser2_sa): Check user first to
1874         short-circuit host check.
1876 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1877             Mikhail Ilin  <m.ilin@samsung.com>
1879         [BZ #17833]
1880         * elf/Makefile (tests): Add tst-nodelete.
1881         (modules-names): Add tst-nodelete-uniquemod.
1882         (tst-nodelete-uniquemod.so-no-z-defs): New.
1883         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1884         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1885         ($(objpfx)tst-nodelete): Likewise.
1886         ($(objpfx)tst-nodelete.out): Likewise.
1887         (LDFLAGS-tst-nodelete): Likewise.
1888         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1889         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1890         implement forced object deletion.
1891         (_dl_close): Pass false to _dl_close_worker.
1892         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1893         * elf/tst-nodelete.cc: New file.
1894         * elf/tst-nodeletelib.cc: Likewise.
1895         * elf/tst-znodeletelib.cc: Likewise.
1896         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1898 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1900         [BZ #18508]
1901         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1902         Depend on $(libdl).
1903         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1904         is not called infinitely times.
1905         (backtrace_helper): New function.
1906         (trace_arg): New struct.
1907         (st1): Enlarge stack size.
1908         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1909         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1910         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1911         Likewise.
1913 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1915         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1917 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1919         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1920         Include sys/types.h instead of bits/types.h.
1921         Remove inclusion of bits/wordsize.h.
1923 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1925         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1926         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1927         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1928         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1929         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1930         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1932 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1934         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1935         link-defines.sym.
1936         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1937         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1938         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1939         and LR_SIZE.
1940         * sysdeps/i386/link-defines.sym: New file.
1942 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1944         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1945         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1946         ($(objpfx)tst-audit3): New rule.
1947         ($(objpfx)tst-audit3.out): Likewise.
1948         * sysdeps/i386/tst-audit3.c: New file.
1949         * sysdeps/i386/tst-audit3.h: Likewise.
1950         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1951         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1953 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1955         [BZ #18633]
1956         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1957         pointer in C code.
1958         (__strcat_c): Likewise.
1959         (__strcat_g): Likewise.
1961 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1963         [BZ #18592]
1964         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1966 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1968         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1969         New function.  (__ieee754_sqrtf): New function.
1970         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1971         New function.
1972         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1973         New function.
1975 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1977         * sysdeps/ieee754/support.c: Remove unused file.
1979 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1981         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1982         registers instead of d ones so the layout is kernel abi compatible.
1983         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1984         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1985         Likewise.
1987 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1989         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1991 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1993         [BZ #18619]
1994         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1995         and return argument in case of subnormal argument.
1997 2015-07-01  Martin Sebor  <msebor@redhat.com>
1999         [BZ #18435]
2000         * nptl/Makefile: Add tst-once5.cc.
2001         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2002         Remove macro redefinitions.
2003         * nptl/tst-once5.cc: New test.
2005 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2007         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2009         * sysdeps/arm/libm-test-ulps: Regenerated.
2011         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2014 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2016         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2017         lll_lock_wait_private and lll_futex_wake probes.
2019         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2021         Likewise.
2022         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2023         atomic_spin_nop.
2024         * sysdeps/x86_64/bits/atomic.h: Likewise.
2025         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2026         to atomic_spin_nop and move ...
2027         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2028         ... here and ...
2029         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2030         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2031         atomic_spin_nop instead of BUSY_WAIT_NOP.
2032         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2033         Likewise.
2034         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2035         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2036         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2037         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2038         instead of atomic_delay.
2040 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2042         [BZ #18613]
2043         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2044         X_ADJ not X when adjusting exponent.
2045         (__ieee754_gamma_r): Do intermediate computations in
2046         round-to-nearest then adjust overflowing and underflowing results
2047         as needed.
2048         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2049         of X_ADJ not X when adjusting exponent.
2050         (__ieee754_gammaf_r): Do intermediate computations in
2051         round-to-nearest then adjust overflowing and underflowing results
2052         as needed.
2053         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2054         log of X_ADJ not X when adjusting exponent.
2055         (__ieee754_gammal_r): Do intermediate computations in
2056         round-to-nearest then adjust overflowing and underflowing results
2057         as needed.  Use 1.0L not 1.0f as numerator of division.
2058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2059         log of X_ADJ not X when adjusting exponent.
2060         (__ieee754_gammal_r): Do intermediate computations in
2061         round-to-nearest then adjust overflowing and underflowing results
2062         as needed.  Use 1.0L not 1.0f as numerator of division.
2063         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2064         of X_ADJ not X when adjusting exponent.
2065         (__ieee754_gammal_r): Do intermediate computations in
2066         round-to-nearest then adjust overflowing and underflowing results
2067         as needed.  Use 1.0L not 1.0f as numerator of division.
2068         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2069         to auto-libm-test-in.
2070         (tgamma_test): Use ALL_RM_TEST.
2071         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2072         tests of tgamma with spurious-overflow.
2073         * math/auto-libm-test-out: Regenerated.
2074         * math/gen-libm-have-vector-test.sh: Do not check for START.
2075         * sysdeps/i386/fpu/libm-test-ulps: Update.
2076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2078         [BZ #18612]
2079         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2080         arguments, just return 0.5 times the argument, with underflow
2081         forced as needed.
2082         * math/auto-libm-test-in: Add more tests of j1.
2083         * math/auto-libm-test-out: Regenerated.
2085         [BZ #16559]
2086         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2087         (__ieee754_j1): Force underflow exception for small results.
2088         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2089         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2090         (__ieee754_j1f): Force underflow exception for small results.
2091         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2092         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2094         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2095         (__ieee754_j1l): Force underflow exception for small results.
2096         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2097         * math/auto-libm-test-in: Add more tests of j1 and jn.
2098         * math/auto-libm-test-out: Regenerated.
2100         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2101         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2102         (PF_MPLS): Likewise.
2103         (AF_IB): Likewise.
2104         (AF_MPLS): Likewise.
2105         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2106         value and macro.
2107         (MS_RMT_MASK): Include MS_LAZYTIME.
2109 2015-06-26  Mel Gorman  <mgorman@suse.de>
2111         [BZ #18502]
2112         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2113         already minimal.
2115 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2117         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2118         (DT_MIPS_NUM): Update.
2119         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2120         DT_MIPS_RLD_MAP_REL.
2122 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2124         [BZ #16559]
2125         [BZ #18602]
2126         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2127         round-to-nearest internally then recompute results that
2128         underflowed to zero in the original rounding mode.
2129         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2130         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2131         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2132         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2133         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2134         * sysdeps/i386/fpu/libm-test-ulps: Update.
2135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2137 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2139         * NEWS: Fixed description of link with vector math library.
2141 2015-06-25  Andreas Schwab  <schwab@suse.de>
2143         [BZ #18549]
2144         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2145         * libio/test-fmemopen.c (do_test): Add test for it.
2147 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2149         [BZ #17841]
2150         * Makeconfig (no-pie-ldflag): New.
2151         (+link): Set to $(+link-pie) if default to PIE.
2152         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2153         * config.make.in (build-pie-default): New.
2154         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2155         is default.  AC_SUBST.
2156         * configure: Regenerated.
2157         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2159 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2161         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2162         to 'unsigned int'.
2164         * resolv/gai_misc.h (struct waitlist): Change type of field
2165         counterp to 'volatile unsigned int *'.
2166         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2167         FUTEXADDR and OLDVAL.
2168         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2169         Give local variable TOTAL type 'volatile unsigned int'.
2170         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2171         * resolv/gai_suspend.c (gai_suspend):
2172         Give local variable CNTR type 'unsigned int'.
2174         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2175         counterp to 'volatile unsigned int *'.
2176         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2177         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2178         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2179         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2180         Give local variable TOTAL type 'volatile unsigned int'.
2181         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2183 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2185         [BZ #18383]
2186         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2187         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2188         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2189         comment for i386/x86-64.
2190         (test-xfail-tst-tlsalign-extern-static): Removed.
2192 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2194         * math/test-double.h: New file.
2195         * math/test-float.h: Likewise.
2196         * math/test-ldouble.h: Likewise.
2197         * math/test-math-inline.h: Likewise.
2198         * math/test-math-no-inline.h: Likewise.
2199         * math/test-math-scalar.h: Likewise.
2200         * math/test-math-vector.h: Likewise.
2201         * math/test-vec-loop.h: Remove file.  Contents moved into
2202         test-math-vector.h.
2203         * math/libm-test.inc (MATHCONST): Do not document macro.
2204         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2205         and test-math-scalar.h.
2206         (FUNC): Remove macro.
2207         (FUNC_TEST): Likewise.
2208         (FLOAT): Likewise.
2209         (MATHCONST): Likewise.
2210         (PRINTF_EXPR): Likewise.
2211         (PRINTF_XEXPR): Likewise.
2212         (PRINTF_NEXPR): Likewise.
2213         (TEST_DOUBLE): Likewise.
2214         (TEST_MATHVEC): Likewise.
2215         (__NO_MATH_INLINES): Likewise.
2216         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2217         and test-math-scalar.h.
2218         (FUNC): Remove macro.
2219         (FUNC_TEST): Likewise.
2220         (FLOAT): Likewise.
2221         (MATHCONST): Likewise.
2222         (PRINTF_EXPR): Likewise.
2223         (PRINTF_XEXPR): Likewise.
2224         (PRINTF_NEXPR): Likewise.
2225         (TEST_FLOAT): Likewise.
2226         (TEST_MATHVEC): Likewise.
2227         (__NO_MATH_INLINES): Likewise.
2228         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2229         and test-math-scalar.h.
2230         (FUNC): Remove macro.
2231         (FUNC_TEST): Likewise.
2232         (FLOAT): Likewise.
2233         (MATHCONST): Likewise.
2234         (PRINTF_EXPR): Likewise.
2235         (PRINTF_XEXPR): Likewise.
2236         (PRINTF_NEXPR): Likewise.
2237         (TEST_DOUBLE): Likewise.
2238         (TEST_MATHVEC): Likewise.
2239         (TEST_INLINE): Likewise.
2240         (__NO_MATH_INLINES): Likewise.
2241         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2242         test-math-scalar.h.
2243         (FUNC): Remove macro.
2244         (FUNC_TEST): Likewise.
2245         (FLOAT): Likewise.
2246         (MATHCONST): Likewise.
2247         (PRINTF_EXPR): Likewise.
2248         (PRINTF_XEXPR): Likewise.
2249         (PRINTF_NEXPR): Likewise.
2250         (TEST_FLOAT): Likewise.
2251         (TEST_MATHVEC): Likewise.
2252         (TEST_INLINE): Likewise.
2253         (__NO_MATH_INLINES): Likewise.
2254         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2255         and test-math-scalar.h.
2256         (FUNC): Remove macro.
2257         (FUNC_TEST): Likewise.
2258         (FLOAT): Likewise.
2259         (MATHCONST): Likewise.
2260         (PRINTF_EXPR): Likewise.
2261         (PRINTF_XEXPR): Likewise.
2262         (PRINTF_NEXPR): Likewise.
2263         (TEST_LDOUBLE): Likewise.
2264         (TEST_MATHVEC): Likewise.
2265         (TEST_INLINE): Likewise.
2266         (__NO_MATH_INLINES): Likewise.
2267         * math/test-ldouble.c: Include test-ldouble.h,
2268         test-math-no-inline.h and test-math-scalar.h.
2269         (FUNC): Remove macro.
2270         (FUNC_TEST): Likewise.
2271         (FLOAT): Likewise.
2272         (MATHCONST): Likewise.
2273         (PRINTF_EXPR): Likewise.
2274         (PRINTF_XEXPR): Likewise.
2275         (PRINTF_NEXPR): Likewise.
2276         (TEST_LDOUBLE): Likewise.
2277         (TEST_MATHVEC): Likewise.
2278         (__NO_MATH_INLINES): Likewise.
2279         * math/test-double-vlen2.h: Include test-double.h,
2280         test-math-no-inline.h and test-math-vector.h.
2281         (FLOAT): Remove macro.
2282         (FUNC): Likewise.
2283         (MATHCONST): Likewise.
2284         (PRINTF_EXPR): Likewise.
2285         (PRINTF_XEXPR): Likewise.
2286         (PRINTF_NEXPR): Likewise.
2287         (TEST_DOUBLE): Likewise.
2288         (TEST_MATHVEC): Likewise.
2289         (__NO_MATH_INLINES): Likewise.
2290         (CNCT): Likewise.
2291         (CONCAT): Likewise.
2292         (WRAPPER_NAME): Likewise.
2293         (WRAPPER_DECL): Likewise.
2294         (WRAPPER_DECL_ff): Likewise.
2295         (WRAPPER_DECL_fFF): Likewise.
2296         (VECTOR_WRAPPER): Likewise.
2297         (VECTOR_WRAPPER_ff): Likewise.
2298         (VECTOR_WRAPPER_fFF): Likewise.
2299         (VEC_LEN): New macro.
2300         * math/test-double-vlen4.h: Include test-double.h,
2301         test-math-no-inline.h and test-math-vector.h.
2302         (FLOAT): Remove macro.
2303         (FUNC): Likewise.
2304         (MATHCONST): Likewise.
2305         (PRINTF_EXPR): Likewise.
2306         (PRINTF_XEXPR): Likewise.
2307         (PRINTF_NEXPR): Likewise.
2308         (TEST_DOUBLE): Likewise.
2309         (TEST_MATHVEC): Likewise.
2310         (__NO_MATH_INLINES): Likewise.
2311         (CNCT): Likewise.
2312         (CONCAT): Likewise.
2313         (WRAPPER_NAME): Likewise.
2314         (WRAPPER_DECL): Likewise.
2315         (WRAPPER_DECL_ff): Likewise.
2316         (WRAPPER_DECL_fFF): Likewise.
2317         (VECTOR_WRAPPER): Likewise.
2318         (VECTOR_WRAPPER_ff): Likewise.
2319         (VECTOR_WRAPPER_fFF): Likewise.
2320         (VEC_LEN): New macro.
2321         * math/test-double-vlen8.h: Include test-double.h,
2322         test-math-no-inline.h and test-math-vector.h.
2323         (FLOAT): Remove macro.
2324         (FUNC): Likewise.
2325         (MATHCONST): Likewise.
2326         (PRINTF_EXPR): Likewise.
2327         (PRINTF_XEXPR): Likewise.
2328         (PRINTF_NEXPR): Likewise.
2329         (TEST_DOUBLE): Likewise.
2330         (TEST_MATHVEC): Likewise.
2331         (__NO_MATH_INLINES): Likewise.
2332         (CNCT): Likewise.
2333         (CONCAT): Likewise.
2334         (WRAPPER_NAME): Likewise.
2335         (WRAPPER_DECL): Likewise.
2336         (WRAPPER_DECL_ff): Likewise.
2337         (WRAPPER_DECL_fFF): Likewise.
2338         (VECTOR_WRAPPER): Likewise.
2339         (VECTOR_WRAPPER_ff): Likewise.
2340         (VECTOR_WRAPPER_fFF): Likewise.
2341         (VEC_LEN): New macro.
2342         * math/test-float-vlen4.h: Include test-float.h,
2343         test-math-no-inline.h and test-math-vector.h.
2344         (FLOAT): Remove macro.
2345         (FUNC): Likewise.
2346         (MATHCONST): Likewise.
2347         (PRINTF_EXPR): Likewise.
2348         (PRINTF_XEXPR): Likewise.
2349         (PRINTF_NEXPR): Likewise.
2350         (TEST_FLOAT): Likewise.
2351         (TEST_MATHVEC): Likewise.
2352         (__NO_MATH_INLINES): Likewise.
2353         (CNCT): Likewise.
2354         (CONCAT): Likewise.
2355         (WRAPPER_NAME): Likewise.
2356         (WRAPPER_DECL): Likewise.
2357         (WRAPPER_DECL_ff): Likewise.
2358         (WRAPPER_DECL_fFF): Likewise.
2359         (VECTOR_WRAPPER): Likewise.
2360         (VECTOR_WRAPPER_ff): Likewise.
2361         (VECTOR_WRAPPER_fFF): Likewise.
2362         (VEC_LEN): New macro.
2363         * math/test-float-vlen8.h: Include test-float.h,
2364         test-math-no-inline.h and test-math-vector.h.
2365         (FLOAT): Remove macro.
2366         (FUNC): Likewise.
2367         (MATHCONST): Likewise.
2368         (PRINTF_EXPR): Likewise.
2369         (PRINTF_XEXPR): Likewise.
2370         (PRINTF_NEXPR): Likewise.
2371         (TEST_FLOAT): Likewise.
2372         (TEST_MATHVEC): Likewise.
2373         (__NO_MATH_INLINES): Likewise.
2374         (CNCT): Likewise.
2375         (CONCAT): Likewise.
2376         (WRAPPER_NAME): Likewise.
2377         (WRAPPER_DECL): Likewise.
2378         (WRAPPER_DECL_ff): Likewise.
2379         (WRAPPER_DECL_fFF): Likewise.
2380         (VECTOR_WRAPPER): Likewise.
2381         (VECTOR_WRAPPER_ff): Likewise.
2382         (VECTOR_WRAPPER_fFF): Likewise.
2383         (VEC_LEN): New macro.
2384         * math/test-float-vlen16.h: Include test-float.h,
2385         test-math-no-inline.h and test-math-vector.h.
2386         (FLOAT): Remove macro.
2387         (FUNC): Likewise.
2388         (MATHCONST): Likewise.
2389         (PRINTF_EXPR): Likewise.
2390         (PRINTF_XEXPR): Likewise.
2391         (PRINTF_NEXPR): Likewise.
2392         (TEST_FLOAT): Likewise.
2393         (TEST_MATHVEC): Likewise.
2394         (__NO_MATH_INLINES): Likewise.
2395         (CNCT): Likewise.
2396         (CONCAT): Likewise.
2397         (WRAPPER_NAME): Likewise.
2398         (WRAPPER_DECL): Likewise.
2399         (WRAPPER_DECL_ff): Likewise.
2400         (WRAPPER_DECL_fFF): Likewise.
2401         (VECTOR_WRAPPER): Likewise.
2402         (VECTOR_WRAPPER_ff): Likewise.
2403         (VECTOR_WRAPPER_fFF): Likewise.
2404         (VEC_LEN): New macro.
2405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2406         test-vec-loop.h.
2407         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2409         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2410         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2413         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2415 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2417         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2418         (__getlogin_r): ... this.
2420 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2422         [BZ #18594]
2423         * math/s_ccosh.c (__ccosh): Compare with least normal value
2424         instead of comparing class with FP_SUBNORMAL.
2425         * math/s_ccoshf.c (__ccoshf): Likewise.
2426         * math/s_ccoshl.c (__ccoshl): Likewise.
2427         * math/s_cexp.c (__cexp): Likewise.
2428         * math/s_cexpf.c (__cexpf): Likewise.
2429         * math/s_cexpl.c (__cexpl): Likewise.
2430         * math/s_csin.c (__csin): Likewise.
2431         * math/s_csinf.c (__csinf): Likewise.
2432         * math/s_csinh.c (__csinh): Likewise.
2433         * math/s_csinhf.c (__csinhf): Likewise.
2434         * math/s_csinhl.c (__csinhl): Likewise.
2435         * math/s_csinl.c (__csinl): Likewise.
2436         * math/s_ctan.c (__ctan): Likewise.
2437         * math/s_ctanf.c (__ctanf): Likewise.
2438         * math/s_ctanh.c (__ctanh): Likewise.
2439         * math/s_ctanhf.c (__ctanhf): Likewise.
2440         * math/s_ctanhl.c (__ctanhl): Likewise.
2441         * math/s_ctanl.c (__ctanl): Likewise.
2442         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2443         csin, csinh, ctan and ctanh.
2444         * math/auto-libm-test-out: Regenerated.
2445         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2446         * sysdeps/i386/fpu/libm-test-ulps: Update.
2447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2449 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2451         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2452         return value is wrong, print the expected value too.
2454 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2456         [BZ #18585]
2457         * elf/readlib.c (is_gdb_python_file): New.
2458         (process_file): Don't issue errors on filenames with -gdb.py
2459         suffix.
2461 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2463         * math/auto-libm-test-in: Add more tests of csin and csinh.
2464         * math/auto-libm-test-out: Regenerated.
2465         * math/libm-test.inc (csin_test_data): Remove tests moved to
2466         auto-libm-test-in.
2467         (csinh_test_data): Likewise.
2469         [BZ #18593]
2470         * math/s_csin.c (__csin): Negate before rather than after possibly
2471         overflowing multiplication.
2472         * math/s_csinf.c (__csinf): Likewise.
2473         * math/s_csinh.c (__csinh): Likewise.
2474         * math/s_csinhf.c (__csinhf): Likewise.
2475         * math/s_csinhl.c (__csinhl): Likewise.
2476         * math/s_csinl.c (__csinl): Likewise.
2477         * math/auto-libm-test-in: Add some tests of csin and csinh.
2478         * math/auto-libm-test-out: Regenerated.
2479         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2480         (csinh_test_data): Likewise.
2481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2483         [BZ #18586]
2484         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2485         underflow exception for small results.
2487 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2489         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2490         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2491         variable and included header.
2492         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2493         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2494         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2495         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2496         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2497         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2498         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2499         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2500         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2501         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2502         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2503         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2504         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2505         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2506         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2507         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2509 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2511         [BZ #16526]
2512         [BZ #16538]
2513         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2514         (__sin): Force underflow exception for arguments with small
2515         absolute value.
2516         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2517         (__kernel_sinf): Force underflow exception for arguments with
2518         small absolute value.
2519         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2520         (__kernel_sincosl): Force underflow exception for arguments with
2521         small absolute value.
2522         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2523         (__kernel_sinl): Force underflow exception for arguments with
2524         small absolute value.
2525         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2526         (__kernel_sincosl): Force underflow exception for arguments with
2527         small absolute value.
2528         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2529         (__kernel_sinl): Force underflow exception for arguments with
2530         small absolute value.
2531         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2532         (__kernel_sinl): Force underflow exception for arguments with
2533         small absolute value.
2534         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2535         (__kernel_sinf): Force underflow exception for arguments with
2536         small absolute value.
2537         * math/auto-libm-test-in: Add more tests of sin and sincos.
2538         * math/auto-libm-test-out: Regenerated.
2540         [BZ #18245]
2541         [BZ #18583]
2542         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2543         (__kernel_standard_l): Use feholdexcept and fesetenv around
2544         conversion to double instead of special-casing overflow and
2545         underflow.
2546         * math/libm-test.inc (fmod_test_data): Add more tests.
2547         (remainder_test_data): Likewise.
2548         (sqrt_test_data): Likewise.
2550 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2552         [BZ #17403]
2553         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2554         atomic_read_barrier, atomic_write_barrier): Define.
2555         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2556         atomic_read_barrier, atomic_write_barrier): Define.
2558 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2560         * math/Makefile [$(PERL) != no]
2561         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2562         dependency on libm-test.stmp below the inclusion of Rules.
2564 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2568         and included header.
2569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2570         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2573         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2577         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2578         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2579         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2580         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2581         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2582         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2583         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2584         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2585         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2586         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2587         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2589 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2591         [BZ #18371]
2592         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2593         intermediate but not final result might underflow.
2594         * math/s_csqrtf.c (__csqrtf): Likewise.
2595         * math/s_csqrtl.c (__csqrtl): Likewise.
2596         * math/auto-libm-test-in: Add more tests of csqrt.
2597         * math/auto-libm-test-out: Regenerated.
2598         * sysdeps/i386/fpu/libm-test-ulps: Update.
2600         [BZ #18219]
2601         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2602         threshold on absolute value of exponent for which scaling is used.
2603         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2604         * math/auto-libm-test-in: Add more tests of exp2.
2605         * math/auto-libm-test-out: Regenerated.
2607 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2609         [BZ #17977]
2610         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2611         when initializing interface list, based on the bug analysis
2612         and the patch proposed by Eric Newton.
2613         * resolv/tst-res_hconf_reorder.c: New test.
2614         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2615         tst-res_hconf_reorder.
2616         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2617         and $(shared-thread-library).
2618         (tst-res_hconf_reorder-ENV): New variable.
2620         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2621         in comment.
2623 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2625         [BZ #16353]
2626         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2627         (__expm1): Force underflow exception for arguments with small
2628         absolute value.
2629         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2630         (__expm1f): Force underflow exception for arguments with small
2631         absolute value.
2632         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2633         (__expm1): Force underflow exception for arguments with small
2634         absolute value.
2635         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2636         (__expm1f): Force underflow exception for arguments with small
2637         absolute value.
2638         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2639         Check for small arguments before calling __expm1.
2640         * math/auto-libm-test-in: Do not mark underflow exceptions as
2641         possibly missing for bug 16353.
2642         * math/auto-libm-test-out: Regenerated.
2644 2015-06-22  Andreas Schwab  <schwab@suse.de>
2646         [BZ #18513]
2647         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2648         PTR queries.
2650 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2652         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2654         * string/strcoll_l.c: Remove unused struct element idxnow.
2656 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2658         [BZ #18569]
2659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2660         underflow and return argument in case of subnormal argument.
2661         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2662         Likewise.
2663         * math/auto-libm-test-in: Add more tests of expm1.
2664         * math/auto-libm-test-out: Regenerated.
2666         [BZ #16361]
2667         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2668         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2669         tiny results.
2670         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2671         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2672         tiny results.
2673         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2674         mark underflow exceptions as possibly missing for bug 16361.
2675         * math/auto-libm-test-out: Regenerated.
2677 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2679         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2680         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2681         Remove variable.
2682         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2683         (test-xfail-XOPEN2K8/utmpx.h/conform).
2685         * conform/conformtest.pl ($xerrors): New variable.
2686         (note_error): New function.
2687         (compiletest): New argument $xfail.  Use not_error.
2688         (runtest): Likewise.
2689         (top level): Handle xfail- lines.  Update calls to compiletest and
2690         runtest.  Handle xfail- and optional- in headers listed with
2691         allow-header.
2692         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2693         (O_EXEC): Likewise.
2694         (O_SEARCH): Likewise.
2695         * conform/data/stropts.h-data (ioctl): Likewise.
2696         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2697         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2698         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2699         (msghdr.msg_controllen): Likewise.
2700         (cmsghdr.cmsg_len): Likewise.
2701         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2702         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2703         variable.
2704         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2705         (test-xfail-XPG4/stropts.h/conform): Likewise.
2706         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2707         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2708         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2709         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2710         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2711         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2712         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2713         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2714         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2715         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2716         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2717         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2718         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2719         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2720         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2721         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2722         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2723         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2724         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2726 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2728         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2729         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2730         definitions for proper unfolding of __MATHDECL_VEC.
2732 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2734         * benchtests/bench-strcoll.c:
2735         Include string.h.
2736         (main): Remove unused variable res.
2738 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2740         * timezone/Makefile (%/UTC %/Universal):
2741         Generate test-result files for UTC and Universal.
2743 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2745         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2747 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2749         [BZ #16350]
2750         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2751         for arguments with small absolute value.
2752         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2753         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2754         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2755         (__asinh): Force underflow exception for arguments with small
2756         absolute value.
2757         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2758         (__asinhf): Force underflow exception for arguments with small
2759         absolute value.
2760         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2761         (__asinhl): Force underflow exception for arguments with small
2762         absolute value.
2763         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2764         (__asinhl): Force underflow exception for arguments with small
2765         absolute value.
2766         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2767         (__asinhl): Force underflow exception for arguments with small
2768         absolute value.
2769         * math/auto-libm-test-in: Do not mark underflow exceptions as
2770         possibly missing for bug 16350.
2771         * math/auto-libm-test-out: Regenerated.
2773         * include/bits/ipc.h: Remove file.
2774         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2775         variable.
2776         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2777         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2778         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2779         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2780         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2781         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2782         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2783         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2784         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2786         * math/auto-libm-test-in: Remove spurious underflow allowance for
2787         tests of cexp.
2788         * math/auto-libm-test-out: Regenerated.
2790         [BZ #18558]
2791         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2792         unconditional definition.
2793         (MCAST_BLOCK_SOURCE): Likewise.
2794         (MCAST_UNBLOCK_SOURCE): Likewise.
2795         (MCAST_LEAVE_GROUP): Likewise.
2796         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2797         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2798         (MCAST_MSFILTER): Likewise.
2799         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2800         Remove variable.
2801         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2802         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2803         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2804         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2805         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2807 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2809         * NEWS: Mention addition of x86_64 vector sincosf.
2810         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2811         * math/test-float-vlen4.h: Likewise.
2812         * math/test-float-vlen8.h: Likewise.
2813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2814         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2816         * sysdeps/x86_64/fpu/Versions: New versions added.
2817         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2818         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2819         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2822         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2823         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2826         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2827         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2828         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2829         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2830         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2831         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2832         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2833         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2834         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2838         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2839         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2842         * NEWS: Mention addition of x86_64 vector sincos.
2843         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2844         * math/math.h (__MATHDECL_VEC): New macro.
2845         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2846         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2847         declaration under condition.
2848         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2849         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2850         TEST_VEC_LOOP change.
2851         * math/test-double-vlen4.h: Likewise.
2852         * math/test-double-vlen8.h: Likewise.
2853         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2854         * math/test-float-vlen4.h: Likewise.
2855         * math/test-float-vlen8.h: Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2857         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2859         * sysdeps/x86_64/fpu/Versions: New versions added.
2860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2862         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2865         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2866         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2867         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2868         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2869         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2870         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2871         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2872         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2873         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2874         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2875         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2876         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2877         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2879         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2880         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2881         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2882         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2883         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2886         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2887         redirections for powf.
2888         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2889         * sysdeps/x86_64/fpu/Versions: New versions added.
2890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2891         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2892         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2893         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2894         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2895         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2896         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2897         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2898         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2899         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2900         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2901         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2902         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2903         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2904         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2905         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2906         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2907         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2908         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2909         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2910         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2911         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2912         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2913         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2914         * math/test-float-vlen16.h: Fixed 2 argument macro.
2915         * math/test-float-vlen4.h: Likewise.
2916         * math/test-float-vlen8.h: Likewise.
2917         * NEWS: Mention addition of x86_64 vector powf.
2919 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2921         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2922         and redefine.
2923         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2924         and redefine.
2925         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2926         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2929         [BZ #18553]
2930         * resource/getpriority.c (getpriority): Rename to __getpriority
2931         and define as weak alias of __getpriority.
2932         * resource/setpriority.c (setpriority): Rename to __setpriority
2933         and define as weak alias of __setpriority.
2934         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2935         __getpriority and define as weak alias of __getpriority.
2936         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2937         __setpriority and define as weak alias of __setpriority.
2938         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2939         strong name.
2940         (setpriority): Use __setpriority as strong name.
2941         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2942         __getpriority and define as weak alias of __getpriority.
2943         * include/sys/resource.h (__getpriority): Declare.  Use
2944         libc_hidden_proto.
2945         (__setpriority): Likewise.
2946         (getpriority): Don't use libc_hidden_proto.
2947         (setpriority): Likewise.
2948         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2949         getpriority.  Call __setpriority instead of setpriority.
2950         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2951         Remove variable.
2953         [BZ #18547]
2954         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2955         as weak alias of __getttynam.  Use prototype function definition.
2956         Call __setttyent, __getttyent and __endttyent instead of
2957         setttyent, getttyent and endttyent.
2958         (getttyent): Rename to __getttyent and define as weak alias of
2959         __getttyent.  Call __setttyent instead of setttyent.  Call
2960         __fgets_unlocked instead of fgets_unlocked.
2961         (setttyent): Rename to __setttyent and define as weak alias of
2962         __setttyent.
2963         (endttyent): Rename to __endttyent and define as weak alias of
2964         __endttyent.
2965         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2966         (__setttyent): Likewise.
2967         (__endttyent): Likewise.
2968         (getttyent): Don't use libc_hidden_proto.
2969         (setttyent): Likewise.
2970         (endttyent): Likewise.
2971         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2972         __endttyent instead of setttyent, getttyent and endttyent.
2973         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2974         Remove variable.
2976         [BZ #18546]
2977         * socket/recv.c (__recv): Use libc_hidden_def.
2978         * socket/socket.c (__socket): Likewise.
2979         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2980         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2981         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2982         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2983         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2984         libc_hidden_def.
2985         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2986         libc_hidden_weak.
2987         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2988         Use libc_hidden_proto.
2989         (__recv): Likewise.
2990         * socket/Versions (libc): Export __recv and __socket at version
2991         GLIBC_PRIVATE.
2992         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2993         instead of recv.
2994         (init_mq_netlink): Call __socket instead of socket.
2995         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2996         Remove variable.
2998         [BZ #18545]
2999         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3000         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3001         hidden_weak.
3002         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3003         define as alias of __mq_timedsend.  Use hidden_weak.
3004         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3005         __mq_timedsend as strong name.
3006         (mq_timedreceive): Use __mq_timedreceive as strong name.
3007         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3008         (__mq_timedreceive): Likewise.
3009         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3010         __mq_timedreceive instead of mq_timedreceive.
3011         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3012         instead of mq_timedsend.
3013         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3014         Remove variable.
3016         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3017         hidden_def and hidden_weak instead of libc_hidden_def and
3018         libc_hidden_weak.
3019         (top level): Refer to hidden_def in comment.
3020         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3021         macro.  Use it instead of libc_hidden_def.
3022         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3023         specify __GI_* name explicitly.
3024         (mq_timedreceive): Likewise.
3025         (mq_setattr): Likewise.
3027         [BZ #18544]
3028         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3029         __pthread_barrier_init and define as weak alias of
3030         __pthread_barrier_init.
3031         * sysdeps/sparc/nptl/pthread_barrier_init.c
3032         (pthread_barrier_init): Likewise.
3033         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3034         __pthread_barrier_wait and define as weak alias of
3035         __pthread_barrier_wait.
3036         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3037         (pthread_barrier_wait): Likewise.
3038         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3039         (pthread_barrier_wait): Likewise.
3040         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3041         (pthread_barrier_wait): Likewise.
3042         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3043         (pthread_barrier_wait): Likewise.
3044         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3045         __pthread_barrier_wait at version GLIBC_PRIVATE.
3046         * include/pthread.h (__pthread_barrier_init): Declare.
3047         (__pthread_barrier_wait): Likewise.
3048         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3049         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3050         (helper_thread): Likewise.
3051         (init_mq_netlink): Call __pthread_barrier_init instead of
3052         pthread_barrier_init.
3054         [BZ #18542]
3055         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3056         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3057         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3058         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3059         vswscanf.
3060         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3061         Remove variable.
3063         [BZ #18540]
3064         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3065         strong alias of _IO_fflush.  Use libc_hidden_def.
3066         * libio/iofflush_u.c (fflush_unlocked): Rename to
3067         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3068         Use libc_hidden_weak.
3069         * include/stdio.h (__fflush_unlocked): Declare.  Use
3070         libc_hidden_proto.
3071         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3072         fflush_unlocked.
3073         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3074         Remove variable.
3076         [BZ #18539]
3077         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3078         define as weak alias of __addseverity.
3079         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3080         Remove variable.
3081         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3082         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3083         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3085         [BZ #18536]
3086         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3087         (__tfind): Likewise.
3088         (__tdelete): Likewise.
3089         (__twalk): Likewise.
3090         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3091         __twalk to GLIBC_PRIVATE.
3092         * include/search.h (__tsearch): Use libc_hidden_proto.
3093         (__tfind): Likewise.
3094         (__tdelete): Likewise.
3095         (__twalk): Likewise.
3096         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3097         Call __tdelete instead of tdelete.
3098         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3099         tfind.  Call __tsearch instead of tsearch.
3100         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3101         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3102         Remove variable.
3103         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3105         [BZ #18534]
3106         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3107         (dprintf): Define as a weak alias of __dprintf, not a strong
3108         alias.
3109         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3110         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3111         dprintf.
3112         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3113         Remove variable.
3114         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3115         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3117         [BZ #18533]
3118         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3119         not a strong alias.
3120         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3121         Remove variable.
3123         [BZ #18532]
3124         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3125         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3126         (in6addr_loopback): Rename to __in6addr_loopback and define as
3127         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3128         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3129         libc_hidden_proto.
3130         (__in6addr_any): Likewise.
3131         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3132         in6addr_any.
3133         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3134         variable.
3135         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3137 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3139         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3140         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3141         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3142         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3143         redirections for pow.
3144         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3145         * sysdeps/x86_64/fpu/Versions: New versions added.
3146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3147         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3148         build of SSE, AVX2 and AVX512 IFUNC versions.
3149         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3151         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3152         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3153         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3154         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3155         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3156         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3157         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3158         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3159         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3160         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3161         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3162         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3163         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3164         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3166         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3167         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3168         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3169         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3170         * NEWS: Mention addition of x86_64 vector pow.
3172         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3173         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3174         redirections for expf.
3175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3176         * sysdeps/x86_64/fpu/Versions: New versions added.
3177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3178         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3179         build of SSE, AVX2 and AVX512 IFUNC versions.
3180         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3181         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3182         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3183         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3184         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3185         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3186         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3187         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3188         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3189         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3190         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3191         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3193         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3194         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3195         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3197         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3198         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3199         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3200         * NEWS: Mention addition of x86_64 vector expf.
3202         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3203         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3204         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3205         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3206         redirections for exp.
3207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3208         * sysdeps/x86_64/fpu/Versions: New versions added.
3209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3211         build of SSE, AVX2 and AVX512 IFUNC versions.
3212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3213         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3214         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3215         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3216         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3217         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3218         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3219         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3220         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3221         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3222         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3223         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3224         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3225         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3226         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3228         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3229         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3230         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3231         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3232         * NEWS: Mention addition of x86_64 vector exp.
3234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3235         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3236         redirections for logf.
3237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3238         * sysdeps/x86_64/fpu/Versions: New versions added.
3239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3241         build of SSE, AVX2 and AVX512 IFUNC versions.
3242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3244         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3245         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3246         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3247         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3248         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3249         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3250         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3251         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3252         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3253         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3254         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3255         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3256         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3257         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3260         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3261         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3262         * NEWS: Mention addition of x86_64 vector logf.
3264         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3265         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3268         redirections for log.
3269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3270         * sysdeps/x86_64/fpu/Versions: New versions added.
3271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3273         build of SSE, AVX2 and AVX512 IFUNC versions.
3274         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3275         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3276         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3277         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3278         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3279         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3280         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3281         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3282         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3283         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3284         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3285         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3286         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3287         test.
3288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3295         * NEWS: Mention addition of x86_64 vector log.
3297 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3299         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3300         cfi_adjust_cfa_offset argument.
3301         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3302         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3304         [BZ #18034]
3305         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3306         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3307         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3308         ordering using ldar.
3309         (_dl_tlsdesc_dynamic): Likewise.
3310         (_dl_tlsdesc_return_lazy): Likewise.
3311         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3312         relaxed atomics instead of volatile and synchronize with release store.
3313         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3314         volatile.
3315         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3317 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3319         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3320         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3321         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3322         * sysdeps/x86_64/fpu/Versions: New versions added.
3323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3324         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3325         build of SSE, AVX2 and AVX512 IFUNC versions.
3326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3328         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3329         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3330         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3331         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3332         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3333         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3334         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3335         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3336         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3337         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3338         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3339         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3340         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3343         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3344         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3345         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3346         * NEWS: Mention addition of x86_64 vector sinf.
3348 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3350         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3351         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3352         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3353         Remove variable.
3354         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3355         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3357 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3359         [BZ #18530]
3360         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3361         strong alias of _IO_fputs.  Use libc_hidden_def.
3362         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3363         and define as weak alias of __fputs_unlocked.  Use
3364         libc_hidden_weak.
3365         * include/stdio.h (__fputs_unlocked): Declare.  Use
3366         libc_hidden_proto.
3367         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3368         fputs_unlocked.
3370         [BZ #18529]
3371         * resolv/netdb.h [__USE_POSIX]: Change condition to
3372         [__USE_XOPEN2K].
3373         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3374         not expect.
3375         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3376         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3377         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3378         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3379         [XPG4 || UNIX98] (AI_ALL): Likewise.
3380         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3381         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3382         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3383         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3384         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3385         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3386         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3387         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3388         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3389         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3390         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3391         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3392         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3393         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3394         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3395         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3396         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3397         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3398         [XPG4 || UNIX98] (gai_strerror): Likewise.
3399         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3400         [XPG4 || UNIX98] (getnameinfo): Likewise.
3402         [BZ #18528]
3403         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3404         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3405         __USE_XOPEN2K8].
3406         (getgrent): Likewise.
3407         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3408         expect.
3409         [XPG3 || POSIX2008] (endgrent): Likewise.
3410         [XPG3] (setgrent): Likewise.
3411         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3412         variable.
3413         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3415         [BZ #18527]
3416         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3417         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3418         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3419         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3420         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3421         * include/unistd.h (__getlogin_r): Declare.  Use
3422         libc_hidden_proto.
3423         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3424         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3425         variable.
3426         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3427         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3428         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3430 2015-06-12  Martin Sebor  <msebor@redhat.com>
3432         [BZ #18512]
3433         * Makerules (check-install-supported): New target.
3434         (install): Add check-install-supported as a dependency.
3435         * manual/install.texi (Installing the C Library): Document
3436         that overriding prefix and exec_prefix is not supported.
3437         Mention DESTDIR.
3438         * INSTALL: Regenerate from the above.
3440 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3442         [BZ #18519]
3443         * posix/Versions (libc): Export __libc_pread at version
3444         GLIBC_PRIVATE.
3445         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3446         instead of pread.
3447         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3448         variable.
3450         [BZ #18522]
3451         * misc/efgcvt_r.c
3452         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3453         (cvt_symbol): Use weak_alias instead of strong_alias.
3454         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3455         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3456         Remove variable.
3457         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3458         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3460         [BZ #18520]
3461         * inet/herrno.c (h_errno): Rename to __h_errno.
3462         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3463         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3464         to __h_errno instead of h_errno.
3465         * nptl/herrno.c (h_errno): Rename to __h_errno.
3466         (__h_errno_location): Refer to __h_errno not h_errno.
3467         * resolv/Versions (h_errno): Rename to __h_errno.
3468         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3469         Remove variable.
3470         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3472 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3474         * configure.ac: More strict check for AVX512 assembler support.
3475         * configure: Regenerated.
3477         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3478         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3479         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3480         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3481         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3482         * sysdeps/x86_64/fpu/Versions: New versions added.
3483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3484         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3485         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3486         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3487         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3488         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3489         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3490         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3491         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3492         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3493         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3494         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3495         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3496         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3497         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3498         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3499         test.
3500         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3502         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3503         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3504         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3506         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3507         * NEWS: Mention addition of x86_64 vector sin.
3509 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3511         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3512         comment.
3514 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3516         [BZ #18479]
3517         * nptl/pt-interp.c: New file.
3518         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3519         Add pt-interp.
3520         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3521         $(common-objpfx)runtime-linker.h.
3523 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3525         * Makeconfig (+interp): Remove unused variable.
3526         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3527         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3528         $(elf-objpfx)runtime-linker.h.
3529         ($(elf-objpfx)runtime-linker.h): Rename to
3530         $(common-objpfx)runtime-linker.h and move ...
3531         * Makerules [$(build-shared) = yes]: ... here.
3532         * elf/interp.c: Include <runtime-linker.h> instead of
3533         <elf/runtime-linker.h>.
3535 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3537         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3538         (__gettimeofday_syscall): Remove vsyscall fallback.
3539         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3540         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3541         Add syscall fallback function.
3542         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3543         if vDSO is not present.
3544         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3545         fallback function.
3546         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3547         present.
3548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3549         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3551 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3553         [BZ #18497]
3554         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3555         of wcscmp.
3556         (wcscmp): Define as weak alias of WCSCMP.
3557         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3558         wcscoll.
3559         (USE_HIDDEN_DEF): Define.
3560         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3561         __wcscoll.  Don't use libc_hidden_weak.
3562         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3563         wcscmp.
3564         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3565         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3566         __GI_wcscmp.
3567         (weak_alias): Undefine and redefine.
3568         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3569         __wcscmp and define as weak alias of __wcscmp.
3570         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3571         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3572         (__wcscoll): Likewise.
3573         (wcscmp): Don't use libc_hidden_proto.
3574         (wcscoll): Likewise.
3575         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3576         wcscoll.
3577         * posix/regexec.c (check_node_accept_bytes): Likewise.
3578         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3579         variable.
3580         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3581         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3583         [BZ #18507]
3584         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3585         __fstatvfs and define as weak alias of __fstatvfs.  Use
3586         libc_hidden_weak.
3587         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3588         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3589         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3590         Define as alias of __fstatvfs, not fstatvfs.
3591         (fstatvfs64): Likewise.
3592         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3593         Define as alias of __statvfs, not statvfs.
3594         (statvfs64): Likewise.
3595         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3596         Remove variable.
3598 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3601         (HAVE_GETCPU_VSYSCALL): Define.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3603         (HAVE_GETCPU_VSYSCALL): Likewise.
3604         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3605         * sysdeps/unix/sysv/linux/sched_getcpu.c
3606         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3607         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3608         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3609         prototype.
3610         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3611         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3612         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3614         Define.
3615         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3616         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3617         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3618         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3620 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3622         * sysdeps/x86_64/fpu/Makefile: New file.
3623         * sysdeps/x86_64/fpu/Versions: New file.
3624         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3625         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3626         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3627         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3628         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3629         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3630         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3631         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3636         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3638         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3639         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3640         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3641         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3642         * sysdeps/x86_64/configure: Regenerated.
3643         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3644         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3645         * manual/install.texi (Configuring and compiling): Document
3646         --disable-mathvec.
3647         * INSTALL: Regenerated.
3648         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3650         * math/Makefile: Added rules for vector tests.
3651         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3652         declaration under condition.
3653         * math/test-double-vlen2.h: New file.
3654         * math/test-double-vlen4.h: New file.
3655         * math/test-double-vlen8.h: New file.
3656         * math/test-vec-loop.h: Added initialization macro.
3657         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3658         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3659         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3660         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3661         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3662         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3664         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3665         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3666         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3667         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3669         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3670         * sysdeps/x86_64/fpu/Versions: New versions added.
3671         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3672         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3673         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3674         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3675         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3676         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3677         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3678         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3681         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3682         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3683         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3684         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3685         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3687         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3688         * NEWS: Mention addition of x86_64 vector cosf.
3690         * math/Makefile: Added CFLAGS for new tests.
3691         * math/test-float-vlen16.h: New file.
3692         * math/test-float-vlen4.h: New file.
3693         * math/test-float-vlen8.h: New file.
3694         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3695         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3696         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3697         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3698         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3699         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3700         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3701         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3702         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3703         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3704         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3706 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3708         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3709         * locale/programs/ld-ctype.c: Likewise.
3711 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3713         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3714         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3715         bit_ZMM16_31_state): New macro.
3716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3717         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3719 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3721         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3723 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3725         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3727 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3729         [BZ #18498]
3730         * libio/memstream.c (open_memstream): Rename to __open_memstream
3731         and define as weak alias of __open_memstream.
3732         * include/stdio.h (__open_memstream): Declare.  Use
3733         libc_hidden_proto.
3734         (open_memstream): Don't use libc_hidden_proto.
3735         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3736         open_memstream.
3737         * posix/getopt.c (_getopt_internal_r): Likewise.
3738         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3739         variable.
3740         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3741         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3742         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3744         [BZ #18496]
3745         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3746         instead of wcrtomb.
3748         [BZ #18483]
3749         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3750         [__USE_XOPEN2K8].  Remove redundant #endif.
3751         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3752         Remove redundant #if.
3753         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3754         Remove variable.
3755         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3756         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3758         [BZ #18495]
3759         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3760         (__iswlower): Likewise.
3761         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3762         (__iswlower): Likewise.
3763         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3764         instead of towlower.
3765         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3766         instead of iswlower.  Call __towupper instead of towupper.
3767         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3768         instead of iswalnum.
3770 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3772         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3773         errors to stderr.
3775 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3777         [BZ #15661]
3778         [BZ #17322]
3779         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3780         Check for overflow properly.  Check for O_APPEND.  Ignore large
3781         file system block sizes.  Add comments about problems.
3782         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3783         * manual/filesys.texi (Storage Allocation): New node.
3785 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3787         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3788         cancellable syscalls.
3789         (SYS_ify): Add guard to no redefine it.
3790         (INLINE_SYSCALL): Likewise.
3791         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3792         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3793         SYSCALL_CANCEL instead.
3794         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3795         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3796         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3797         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3798         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3799         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3800         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3801         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3802         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3803         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3804         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3805         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3806         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3807         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3808         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3812         (__libc_pread64): Likewise.
3813         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3814         (__libc_preadv): Likewise.
3815         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3816         (__libc_readv64): Likewise.
3817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3818         (__libc_pwrite): Likewise.
3819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3820         (__libc_pwrite64): Likewise.
3821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3822         (__libc_pwritev): Likewise.
3823         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3824         (__libc_pwritev64): Likewise.
3825         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3826         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3827         (sync_file_range): Likewise.
3828         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3829         Likewise.
3830         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3833         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3834         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3835         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3836         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3837         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3838         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3839         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3841         Likewise.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3843         (__libc_read64): Likewise.
3844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3845         Likewise.
3846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3847         Likewise.
3848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3849         Likewise.
3850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3851         Likewise.
3852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3853         (__libc_pread64): Likewise.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3855         Likewise.
3856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3857         (__libc_pwrite64): Likewise.
3858         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3859         (sync_file_range): Likewise.
3860         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3861         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3862         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3863         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3864         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3865         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3866         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3867         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3868         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3869         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3870         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3871         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3872         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3873         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3874         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3875         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3876         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3877         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3879         Likewise.
3880         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3881         Likewise.
3882         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3883         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3886         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3887         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3888         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3889         Likewise.
3890         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3891         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3892         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3893         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3894         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3896 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3898         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3899         Include dl-vdso.
3900         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3901         Use VDSO routines for gettimeofday, clock_gettime if
3902         available.
3903         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3904         Declare VDSO symbols.
3905         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3906         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3907         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3908         * sysdeps/unix/sysv/linux/arm/Versions: Add
3909         __vdso_clock_gettime.
3911 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3913         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3914         be an inline implementation regardless of library is built within.
3915         (open_not_cancel_2): Likewise.
3916         (__read_nocancel): Likewise.
3917         (__write_nocancel): Likewise.
3918         (openat_not_cancel): Likewise.
3919         (openat_not_cancel_3): Likewise.
3920         (openat64_not_cancel): Likewise.
3921         (openat64_not_cancel_3): Likewise.
3922         (__close_nocancel): Likewise.
3923         (pause_not_cancel): Likewise.
3924         (nanosleep_not_cancel): Likewise.
3925         (sigsuspend_not_cancel): Likewise.
3927 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3929         [BZ #14958]
3930         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3931         wake-up.
3932         (__pthread_rwlock_rdlock_slow): Likewise.
3933         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3934         Likewise.
3935         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3936         Likewise.
3937         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3938         * nptl/tst-rwlock16.c: New file.
3939         * nptl/Makefile (tests): Add new test.
3941 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3943         [BZ #18324]
3944         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3945         missing wake-up of readers.
3946         * nptl/tst-rwlock15.c: New file.
3947         * nptl/Makefile (tests): Add new test.
3949 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3951         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3952         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3953         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3954         and __nacl_supply_interface_rtld.
3955         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3956         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3957         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3958         Add __nacl_supply_interface_rtld.
3959         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3961 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3963         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3964         isfinite.
3965         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3966         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3968 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3970         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3971         __signbit* with standard C99 macros.
3972         * math/e_exp10l.c: Likewise.
3973         * math/e_exp2l.c: Likewise.
3974         * math/e_scalb.c: Likewise.
3975         * math/e_scalbf.c: Likewise.
3976         * math/e_scalbl.c: Likewise.
3977         * math/s_ldexp.c: Likewise.
3978         * math/s_ldexpf.c: Likewise.
3979         * math/s_ldexpl.c: Likewise.
3980         * math/w_atan2.c: Likewise.
3981         * math/w_atan2f.c: Likewise.
3982         * math/w_atan2l.c: Likewise.
3983         * math/w_cosh.c: Likewise.
3984         * math/w_coshf.c: Likewise.
3985         * math/w_coshl.c: Likewise.
3986         * math/w_exp10.c: Likewise.
3987         * math/w_exp10f.c: Likewise.
3988         * math/w_exp10l.c: Likewise.
3989         * math/w_exp2.c: Likewise.
3990         * math/w_exp2f.c: Likewise.
3991         * math/w_exp2l.c: Likewise.
3992         * math/w_fmod.c: Likewise.
3993         * math/w_fmodf.c: Likewise.
3994         * math/w_fmodl.c: Likewise.
3995         * math/w_hypot.c: Likewise.
3996         * math/w_hypotf.c: Likewise.
3997         * math/w_hypotl.c: Likewise.
3998         * math/w_jnl.c: Likewise.
3999         * math/w_lgamma.c: Likewise.
4000         * math/w_lgamma_r.c: Likewise.
4001         * math/w_lgammaf.c: Likewise.
4002         * math/w_lgammaf_r.c: Likewise.
4003         * math/w_lgammal.c: Likewise.
4004         * math/w_lgammal_r.c: Likewise.
4005         * math/w_pow.c: Likewise.
4006         * math/w_powf.c: Likewise.
4007         * math/w_powl.c: Likewise.
4008         * math/w_remainder.c: Likewise.
4009         * math/w_remainderf.c: Likewise.
4010         * math/w_remainderl.c: Likewise.
4011         * math/w_scalb.c: Likewise.
4012         * math/w_scalbf.c: Likewise.
4013         * math/w_scalbl.c: Likewise.
4014         * math/w_scalbln.c: Likewise.
4015         * math/w_scalblnf.c: Likewise.
4016         * math/w_scalblnl.c: Likewise.
4017         * math/w_sinh.c: Likewise.
4018         * math/w_sinhf.c: Likewise.
4019         * math/w_sinhl.c: Likewise.
4020         * math/w_tgamma.c: Likewise.
4021         * math/w_tgammaf.c: Likewise.
4022         * math/w_tgammal.c: Likewise.
4023         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4024         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4025         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4026         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4027         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4029         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4030         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4031         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4032         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4033         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4034         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4036         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4037         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4050         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4051         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4052         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4054         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4055         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4056         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4057         * stdio-common/printf_fp.c: Likewise.
4058         * stdio-common/printf_fphex.c: Likewise.
4059         * stdio-common/printf_size.c: Likewise.
4061 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4063         [BZ #18470]
4064         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4065         strnlen.
4066         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4067         Remove variable.
4068         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4069         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4070         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4071         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4072         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4073         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4074         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4075         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4076         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4077         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4079         [BZ #18468]
4080         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4081         weak alias of __wmemchr.  Use libc_hidden_weak.
4082         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4083         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4084         instead of wmemchr.
4086 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4088         [BZ #18383]
4089         * elf/tst-tlsalign-extern.c: New file.
4090         * elf/tst-tlsalign-extern-static.c: New file.
4091         * elf/tst-tlsalign-vars.c: New file.
4092         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4093         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4094         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4095         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4096         (test-xfail-tst-tlsalign-extern-static): New variable.
4098 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4100         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4101         Use variable name _sc_err instead of err.
4102         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4103         instead of ret.
4104         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4105         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4106         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4107         (INLINE_SYSCALL): Likewise.
4109         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4110         * include/string.h (__strnlen): Use libc_hidden_proto.
4111         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4112         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4113         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4114         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4115         (libc_hidden_def): Undefine and redefine.
4116         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4117         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4118         __GI_strnlen.
4119         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4120         libc_hidden_def.
4121         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4123         [BZ #18469]
4124         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4125         weak alias of __towlower.  Use libc_hidden_weak.
4126         (towupper): Rename to __towupper and define as weak alias of
4127         __towupper.  Use libc_hidden_weak.
4128         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4129         (__towupper): Likewise.
4130         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4131         __towlower instead of towlower.
4133 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4135         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4136         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4138 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4140         * sysdeps/aarch64/libm-test-ulps: Update.
4142 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4144         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4145         Define.
4146         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4148         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4149         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4150         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4151         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4152         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4154 2015-06-01  Martin Sebor  <msebor@redhat.com>
4156         [BZ #18116]
4157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4158         (__setcontext): Use extended four-operand version of mtsf whenever
4159         possible.
4160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4161         (__novec_swapcontext): Likewise.
4163 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165         * benchtests/scripts/compare_bench.py: New file.
4166         * benchtests/scripts/import_bench.py (mean): New function.
4167         (split_list): Likewise.
4168         (do_for_all_timings): Likewise.
4169         (compress_timings): Likewise.
4171         * benchtests/scripts/import_bench.py: New file.
4172         * benchtests/scripts/validate_benchout.py: Import import_bench
4173         instead of jsonschema.
4174         (validate_bench): Remove function.
4175         (main): Use import_bench.
4177 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4179         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4180         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4182 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4186 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4188         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4189         set THREAD_SELF->tid to a magic value and futex-wake it.
4190         Pass its address to the thread_exit system call.
4191         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4192         bit is clear.
4193         * sysdeps/nacl/lowlevellock.h: New file.
4194         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4196         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4197         Add TIMEOUT to current time, don't subtract it.
4199 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4201         [BZ #2981]
4202         [BZ #18422]
4203         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4204         ($(objpfx)tst-audit2.out): Also depend on
4205         $(objpfx)tst-auditmod9b.so.
4206         * elf/tst-audit2.c: Include <dlfcn.h>.
4207         (calloc_called): New.
4208         (calloc): Allow to be called more than once.
4209         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4211 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4213         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4214         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4216 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4218         * stdlib/monetary.h: Fix comment.
4220 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4222         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4223         Avoid using variables in #defines that might cause shadowing.
4224         (INTERNAL_VSYSCALL_CALL): Likewise.
4226 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4228         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4230         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4231         * nptl/lll_timedlock_wait.c: ... to this new file.
4232         * nptl/Makefile (libpthread-routines): Add it.
4233         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4234         * nptl/lll_timedwait_tid.c: ... to this new file.
4235         * nptl/Makefile (libpthread-routines): Add it.
4236         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4237         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4238         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4239         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4240         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4241         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4242         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4243         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4244         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4245         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4247 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4249         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4250         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4251         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4253         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4255         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4257         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4258         * sysdeps/unix/sysv/linux/tile/sysdep.h
4259         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4260         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4261         using vDSO syscall macro.
4263 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4265         [BZ #17293]
4266         * uk_UA: Fix sorting order for Ukrainian locale
4268 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4270         * stdlib/monetary.h: Fix comment.
4272 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4274         [BZ #18234]
4275         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4276         st_mtim and st_ctim members.
4277         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4278         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4279         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4280         (struct stat64): Likewise.
4281         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4282         (struct stat64): Likewise.
4283         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4284         (struct stat64): Likewise.
4286 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4288         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4289         Define and include sysdep-vdso.h.
4290         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4291         Likewise.
4292         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4293         Likewise.
4294         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4295         Define with VDSO_SYMBOL and use PTR_MANGLE.
4296         (__vdso_clock_gettime): Likewise.
4297         (__vdso_clock_getres): Likewise.
4298         (_libc_vdso_platform_setup): Likewise.
4299         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4300         Likewise.
4301         (_libc_vdso_platform_setup): Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4303         Likewise.
4304         (__vdso_clock_gettime): Likewise.
4305         (__vdso_clock_getres): Likewise.
4306         (__vdso_get_tbfreq): Likewise.
4307         (__vdso_getcpu): Likewise.
4308         (__vdso_time): Likewise.
4309         (__vdso_sigtramp_rt64): Likewise.
4310         (__vdso_signtramp32): Likewise.
4311         (__vdso_sigtramp_rt32): Likewise.
4312         (_libc_vdso_platform_setup): Likewise.
4313         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4314         Likewise.
4315         (__vdso_clock_gettime): Likewise.
4316         (__vdso_clock_getres): Likewise.
4317         (_libc_vdso_platform_setup): Likewise.
4318         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4319         Likewise.
4320         (__vdso_clock_gettime): Likewise.
4321         (_libc_vdso_platform_setup): Likewise.
4322         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4323         Likewise.
4324         (__vdso_getcpu): Likewise.
4325         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4326         Use VDSO_SYMBOL macro to define.
4327         (__vdso_clock_gettime): Likewise.
4328         (__vdso_clock_getres): Likewise.
4329         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4330         Likewise.
4331         (__vdso_clock_gettime): Likewise.
4332         (__vdso_clock_getres): Likewise.
4333         (__vdso_get_tbfreq): Likewise.
4334         (__vdso_getcpu): Likewise.
4335         (__vdso_time): Likewise.
4336         (__vdso_sigtramp_rt64): Likewise.
4337         (__vdso_signtramp32): Likewise.
4338         (__vdso_sigtramp_rt32): Likewise.
4339         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4340         Likewise.
4341         (__vdso_clock_gettime): Likewise.
4342         (__vdso_clock_getres): Likewise.
4343         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4344         Likewise.
4345         (__vdso_clock_gettime): Likewise.
4346         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4349         macro.
4350         (INTERNAL_VSYSCALL): Likewise.
4351         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4352         Remove macro.
4353         (INTERNAL_VSYSCALL): Likewise.
4354         (INTERNAL_VSYSCALL_NCS): Likewise.
4355         (INTERNAL_VSYSCALL_CALL): New macro.
4356         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4358         Likewise.
4359         (INTERNAL_VSYSCALL): Likewise.
4360         (INTERNAL_VSYSCALL_NCS): Likewise.
4361         (INTERNAL_VSYSCALL_CALL): New macro.
4362         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4364         (INLINE_VSYSCALL): Remove macro.
4365         (INTERNAL_VSYSCALL): Remove macro.
4366         (INTERNAL_VSYSCALL_NCS): Remove macro.
4367         (INTERNAL_VSYSCALL_CALL): New macro.
4368         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4369         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4370         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4371         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4372         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4374         (INLINE_VSYSCALL): Remove macro.
4375         (INTERNAL_VSYSCALL): Likewise.
4376         (INTERNAL_VSYSCALL_NCS): Likewise.
4377         (INTERNAL_VSYSCALL_CALL): New macro.
4378         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4379         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4380         PTR_DEMANGLE on vDSO pointer.
4381         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4382         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4383         macro.
4384         (INTERNAL_SYSCALL): Likewise.
4385         (INTERNAL_VSYSCALL_NCS): Remove macro.
4386         (INTERNAL_VSYSCALL_CALL): New macro.
4387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4388         Remove macro.
4389         (INTERNAL_VSYSCALL): Likewise.
4390         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4391         sysdep-vdso.h instead of libc-vdso.h.
4392         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4393         definition.
4394         (INLINE_VSYSCALL): Likewise.
4395         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4396         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4397         definition.
4398         (INLINE_VSYSCALL): Likewise.
4399         (INTERNAL_VSYSCALL): Likewise.
4400         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4401         * sysdeps/unix/sysv/linux/timespec_get.c
4402         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4403         (timespec_get): Use ANSI prototype.
4404         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4405         and definition for Linux.
4407 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4409         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4410         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4412 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4414         [BZ #2981]
4415         [BZ #18410]
4416         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4417         for missing DT_PLTRELSZ.
4419 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4421         Remove obsolete aliases that broke 'locale -a'
4422         [BZ #18412]
4423         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4424         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4425         breaking some applications that use 'locale -a' output.
4426         Change the encoding of this file from Latin-1 to ASCII to avoid
4427         other potential problems with people grepping this file.
4429 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4431         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4432         -fasynchronous-unwind-tables.
4433         (CFLAGS-sendto.c): Likewise.
4434         (CFLAGS-sendmsg.c): Likewise.
4435         (CFLAGS-connect.c): Likewise.
4436         (CFLAGS-recvmsg.c): Likewise.
4437         (CFLAGS-recvfrom.c): Likewise.
4438         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4439         (SOCKETCALL): New macro: non-cancellable socketcall.
4440         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4441         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4442         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4443         * sysdeps/unix/sysv/linux/accept.c: New file.
4444         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4445         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4446         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4447         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4448         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4449         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4450         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4451         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4452         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4453         * sysdeps/unix/sysv/linux/send.c: Likewise.
4454         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4455         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4456         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4457         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4458         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4459         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4460         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4461         prototype.
4462         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4463         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4464         instead of __internal_xxx function.
4465         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4466         prototype.
4467         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4468         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4469         instead of __internal_xxx function.
4470         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4471         prototype.
4472         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4473         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4474         instead of __internal_xxx function.
4475         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4476         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4477         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4478         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4479         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4480         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4481         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4482         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4483         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4484         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4485         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4486         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4487         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4488         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4489         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4490         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4491         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4492         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4493         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4494         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4497         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4498         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4499         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4500         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4501         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4502         * sysdeps/unix/sysv/linux/send.S: Likewise.
4503         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4504         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4505         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4506         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4507         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4508         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4511         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4512         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4513         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4514         socketcall is implemented in GLIBC.
4516 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4518         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4519         (__fma): Ignore uninitialized warnings around packing.
4520         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4521         (__fmaf): Ignore uninitialized warnings around packing.
4522         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4523         (__fmal): Ignore uninitialized warnings around packing.
4525         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4526         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4528         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4530         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4531         switch statement into default case.
4532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4534         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4535         a conditional in forcing "inexact".
4536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4537         Likewise.
4539 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4541         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4542         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4543         for each INTERNAL_SYSCALL use.
4545 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4547         [BZ #438]
4548         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4549         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4550         variable.
4552         [BZ #18444]
4553         * string/basename.c (basename): Rename to __basename and define as
4554         weak alias of __basename.  Use libc_hidden_weak.
4555         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4556         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4557         __basename instead of basename.
4558         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4559         Remove variable.
4560         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4562 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4564         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4565         (_IO_JUMPS_FILE_plus): New.
4566         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4567         _IO_CAST_FIELD_ACCESS.
4568         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4569         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4570         * libio/freopen.c (freopen): Likewise.
4571         * libio/freopen64.c (freopen64): Likewise.
4572         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4573         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4574         * libio/iofwide.c (_IO_fwide): Likewise.
4575         * libio/memstream.c (open_memstream): Likewise.
4576         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4577         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4578         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4580 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4582         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4583         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4584         NADJ.
4585         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4586         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4587         NADJ.
4588         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4589         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4590         NADJ.
4592         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4593         (p == 4) case.
4595         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4596         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4597         Remove variable.
4598         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4599         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4600         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4602 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4604         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4605         Adjust jump table label generation macros.
4607 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4609         * stdio-common/vfprintf.c (vfprintf): Move local variables
4610         args_malloced, specs, specs_malloced, and the code after
4611         do_positional to the printf_positional function.
4612         (printf_positional): New function.
4614 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4616         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4617         function.
4618         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4619         STEP4_TABLE, process_arg): Move macro definitions
4620         out of the vfprintf function.  (Cosmetic change only.)
4622 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4624         * benchtests/Makefile (stdio-common-bench): Define.
4625         (benchset): Add stdio-common-bench.
4626         * sprintf-inputs: New file.
4627         * sprintf-source.c: New file.
4629 2015-05-21  Andreas Schwab  <schwab@suse.de>
4631         [BZ #13028]
4632         [BZ #17053]
4633         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4634         of struct __res_state.
4635         * resolv/res_send.c (__libc_res_nsend): Likewise.
4636         (get_nsaddr): New function.
4637         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4638         statp directly.
4640 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4642         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4643         -D_POSIX_C_SOURCE=199506L.
4645         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4647         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4648         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4649         Do not mention otherwise.
4650         [POSIX] (_XOPEN_VERSION): Do not expect.
4651         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4652         [POSIX] (_POSIX2_C_BIND): Likewise.
4653         [POSIX] (_POSIX2_VERSION): Likewise.
4654         [POSIX] (_XOPEN_XPG2): Likewise.
4655         [POSIX] (_XOPEN_XPG3): Likewise.
4656         [POSIX] (_XOPEN_XPG4): Likewise.
4657         [POSIX] (_XOPEN_UNIX): Likewise.
4658         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4659         [POSIX] (_POSIX_BARRIERS): Likewise.
4660         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4661         [POSIX] (_POSIX_CPUTIME): Likewise.
4662         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4663         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4664         [POSIX] (_POSIX_SHELL): Likewise.
4665         [POSIX] (_POSIX_SPAWN): Likewise.
4666         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4667         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4668         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4669         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4670         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4671         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4672         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4673         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4674         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4675         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4676         [POSIX] (_POSIX2_PBS): Likewise.
4677         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4678         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4679         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4680         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4681         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4682         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4683         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4684         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4685         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4686         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4687         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4688         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4689         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4690         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4691         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4692         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4693         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4694         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4695         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4696         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4697         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4698         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4699         [POSIX] (_SC_2_C_BIND): Likewise.
4700         [POSIX] (_SC_2_C_VERSION): Likewise.
4701         [POSIX] (_SC_2_PBS): Likewise.
4702         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4703         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4704         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4705         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4706         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4707         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4708         [POSIX] (_SC_BARRIERS): Likewise.
4709         [POSIX] (_SC_BASE): Likewise.
4710         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4711         [POSIX] (_SC_DEVICE_IO): Likewise.
4712         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4713         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4714         [POSIX] (_SC_FD_MGMT): Likewise.
4715         [POSIX] (_SC_FIFO): Likewise.
4716         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4717         [POSIX] (_SC_FILE_LOCKING): Likewise.
4718         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4719         [POSIX] (_SC_IOV_MAX): Likewise.
4720         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4721         [POSIX] (_SC_NETWORKING): Likewise.
4722         [POSIX] (_SC_PAGE_SIZE): Likewise.
4723         [POSIX] (_SC_PASS_MAX): Likewise.
4724         [POSIX] (_SC_PIPE): Likewise.
4725         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4726         [POSIX] (_SC_REGEXP): Likewise.
4727         [POSIX] (_SC_SHELL): Likewise.
4728         [POSIX] (_SC_SIGNALS): Likewise.
4729         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4730         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4731         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4732         [POSIX] (_SC_USER_GROUPS): Likewise.
4733         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4734         [POSIX] (_SC_STREAMS): Likewise.
4735         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4736         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4737         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4738         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4739         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4740         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4741         [POSIX] (_PC_FILESIZEBITS): Likewise.
4742         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4743         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4744         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4745         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4746         [POSIX] (uid_t): Likewise.
4747         [POSIX] (gid_t): Likewise.
4748         [POSIX] (off_t): Likewise.
4749         [POSIX] (pid_t): Likewise.
4750         [POSIX] (cuserid): Allow.
4751         (_SC_2_CHAR_TERM): Require constant.
4752         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4753         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4754         variable.
4756 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4758         * sysdeps/nacl/pthread-pids.h: New file.
4759         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4760         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4762         * nptl/pthread-pids.h: New file.
4763         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4764         * nptl/nptl-init.c: Include <pthread-pids.h>.
4765         (__pthread_initialize_minimal_internal):
4766         Call __pthread_initialize_pids instead of set_tid_address syscall.
4768         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4769         * sysdeps/posix/usleep.c: ... here.
4771 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4773         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4774         call_pselect6 object.
4775         [$(subdir) = io]: Remove call_sync_file_range object.
4776         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4777         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4778         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4779         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4781 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4783         * math/s_cproj.c: Add include "math_private.h".
4784         * math/s_cprojf.c: Likewise.
4785         * math/s_cprojl.c: Likewise.
4787 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4789         [BZ #18244]
4790         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4791         high mantissa bit when testing whether P is a NaN.
4792         * math/libm-test.inc (remainder_test_data): Add more tests.
4793         (remquo_test_data): Likewise.
4795         [BZ #18049]
4796         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4797         below -32, return the argument, with underflow if subnormal.
4798         * math/auto-libm-test-in: Add more tests of atanh.
4799         * math/auto-libm-test-out: Regenerated.
4801 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4803         [BZ #18434]
4804         * nptl/tst-sem15.c: New file.
4805         * nptl/Makefile (tests): Add it.
4806         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4807         s/<</>>/ to fix typo in EOVERFLOW check.
4808         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4810 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4812         * manual/strings.texi (envz_remove): Fix typo in safety
4813         annotations.
4815 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4816             Steve Ellcey  <sellcey@imgtec.com>
4818         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4819         in order to avoid strict alias warnings.
4820         (iruserok_af): Ditto for ra.
4822 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4824         [BZ #17581]
4825         * malloc/hooks.c
4826         (magicbyte): Convert to a function and avoid returning 0x01.
4827         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4828         (mem2chunk_check): Fix unsigned comparisons to zero.
4829         Hoist defs of sz and magic.
4831 2015-05-19  Richard Henderson  <rth@redhat.com>
4833         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4835         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4837 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4839         [BZ #16159]
4840         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4841         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4842         (reused_arena): Find a non-corrupt arena.
4843         (heap_trim): Pass arena to unlink.
4844         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4845         malloc_printerr.
4846         (top_check): Likewise.
4847         (free_check): Likewise.
4848         (realloc_check): Likewise.
4849         * malloc/malloc.c (malloc_printerr): Add arena argument.
4850         (unlink): Likewise.
4851         (munmap_chunk): Adjust.
4852         (ARENA_CORRUPTION_BIT): New macro.
4853         (arena_is_corrupt): Likewise.
4854         (set_arena_corrupt): Likewise.
4855         (sysmalloc): Use mmap if there are no usable arenas.
4856         (_int_malloc): Likewise.
4857         (__libc_malloc): Don't fail if arena_get returns NULL.
4858         (_mid_memalign): Likewise.
4859         (__libc_calloc): Likewise.
4860         (__libc_realloc): Adjust for additional argument to
4861         malloc_printerr.
4862         (_int_free): Likewise.
4863         (malloc_consolidate): Likewise.
4864         (_int_realloc): Likewise.
4865         (_int_memalign): Don't touch corrupt arenas.
4866         * malloc/tst-malloc-backtrace.c: New test case.
4868         * Makefile (summarize-tests): Fix return value on success.
4870         * manual/string.texi (Envz Functions): Add envz_remove.
4872 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4874         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4875         (invalid_name): New function, broken out of ...
4876         (__opendirat): ... here.  Call it.
4877         (need_isdir_precheck): New function, broken out of ...
4878         (__opendirat): ... here.  Call it.
4879         Use __fxstatat64, not __xstatat64.
4880         (opendir_oflags): New function, broken out of ...
4881         (__opendirat): ... here.  Call it.
4882         (opendir_tail): New function, broken out of ...
4883         (__opendirat): ... here.  Call it.
4884         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4885         opendir_tail, rather than punting to __opendirat.
4886         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4888 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4890         * .gitignore: Ignore generated *.pyc.
4892 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4894         * include/stdio.h: Define __need_wint_t.
4895         * test-skeleton.c: Avoid `for' loop initial declaration.
4896         * nptl/tst-initializers1.c: Use test-skeleton.c.
4898 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4900         [BZ #18418]
4901         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4903 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4905         [BZ #16352]
4906         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4907         (__ieee754_atanh): Force underflow exception for results with
4908         small absolute value.
4909         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4910         (__ieee754_atanhf): Force underflow exception for results with
4911         small absolute value.
4912         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4913         (__ieee754_atanh): Force underflow exception for results with
4914         small absolute value.
4915         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4916         (__ieee754_atanhf): Force underflow exception for results with
4917         small absolute value.
4918         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4919         (__ieee754_atanhl): Force underflow exception for results with
4920         small absolute value.
4921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4922         (__ieee754_atanhl): Force underflow exception for results with
4923         small absolute value.
4924         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4925         (__ieee754_atanhl): Force underflow exception for results with
4926         small absolute value.
4927         * math/auto-libm-test-in: Do not allow missing underflow
4928         exceptions from atanh.
4929         * math/auto-libm-test-out: Regenerated.
4931         [BZ #18221]
4932         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4933         2**-28 as threshold for returning x or +/- 1/x.
4934         * math/auto-libm-test-in: Add more tests of tan.
4935         * math/auto-libm-test-out: Regenerated.
4937         [BZ #18220]
4938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4939         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4940         * math/auto-libm-test-in: Add another test of lgamma.
4941         * math/auto-libm-test-out: Regenerated.
4943 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4945         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4946         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4947         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4948         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4949         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4950         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4951         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4952         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4953         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4954         (log1): Use fabs.  (my_log2): Use fabs.
4955         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4956         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4957         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4958         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4960         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4961         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4962         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4963         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4964         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4965         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4967 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4969         [BZ #18217]
4970         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4971         as threshold for returning 1 - x.
4972         * math/auto-libm-test-in: Add more tests of erfc.
4973         * math/auto-libm-test-out: Regenerated.
4975 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4977         [BZ #18196]
4978         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4979         threshold for large arguments.
4980         * math/auto-libm-test-in: Add another test of atan.
4981         * math/auto-libm-test-out: Regenerated.
4983         [BZ #16339]
4984         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4985         (__log1p): Force underflow exception for results with small
4986         absolute value.
4987         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4988         (__log1pf): Force underflow exception for results with small
4989         absolute value.
4990         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4991         (__log1p): Force underflow exception for results with small
4992         absolute value.
4993         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4994         (__log1pf): Force underflow exception for results with small
4995         absolute value.
4996         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4997         (__log1pl): Force underflow exception for results with small
4998         absolute value.
4999         * math/auto-libm-test-in: Do not allow missing underflow
5000         exceptions from log1p.
5001         * math/auto-libm-test-out: Regenerated.
5003 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5004             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5006         [BZ #16704]
5007         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5009 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5011         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5012         (libmvec): New variable.
5013         * configure.ac: Added option for mathvec build.
5014         * configure: Regenerated.
5015         * mathvec/Depend: New file.
5016         * mathvec/Makefile: New file.
5017         * shlib-versions: Added libmvec.
5018         * math/Makefile: Added rule for libm.so installation.
5020         * bits/math-vector.h: New file.
5021         * bits/libm-simd-decl-stubs.h: New header.
5022         * math/Makefile (headers): Added new header
5023         libm-simd-decl-stubs.h.
5024         * math/math.h (__MATHCALL_VEC): New macro.
5026         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5027         for conditions in testing functions.
5028         * math/Makefile: Added call of libm-have-vector-test.sh.
5029         * math/libm-test.inc (HAVE_VECTOR): New macros.
5031         * math/libm-test.inc: START refactored.
5032         * math/test-double.c (TEST_MATHVEC): Add define.
5033         * math/test-float.c: Likewise.
5034         * math/test-idouble.c: Likewise.
5035         * math/test-ifloat.c: Likewise.
5036         * math/test-ildoubl.c: Likewise.
5037         * math/test-ldouble.c: Likewise.
5038         * sysdeps/generic/math-tests-arch.h
5039         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5040         architecture check.
5042         * math/test-double.c (FUNC_TEST): New macro.
5043         * math/test-float.c: Likewise.
5044         * math/test-idouble.c: Likewise.
5045         * math/test-ifloat.c: Likewise.
5046         * math/test-ildoubl.c: Likewise.
5047         * math/test-ldouble.c: Likewise.
5048         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5050 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5052         * sysdeps/nacl/fdopendir.c: New file.
5054         * dirent/scandir-tail.c: New file.
5055         * dirent/scandir64-tail.c: New file.
5056         * dirent/Makefile (routines): Add them.
5057         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5058         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5059         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5060         [!SCANDIR] (SCANDIR_TAIL): New macro.
5061         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5062         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5063         (SCANDIRAT): Macro removed.
5064         (SCANDIR_TAIL): New macro.
5065         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5066         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5067         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5068         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5069         (READDIR): Macro removed.
5070         (SCANDIR_TAIL): New macro.
5071         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5072         (SCANDIR_TAIL): New macro.
5074         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5075         * dirent/scandir-cancel.c: ... to this new file.
5076         * dirent/Makefile (routines): Add it.
5077         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5078         * sysdeps/unix/sysv/linux/i386/scandir64.c
5079         (SKIP_SCANDIR_CANCEL): Macro removed.
5080         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5082         * dirent/tst-scandir.c: New file.
5083         * dirent/tst-scandir64.c: New file.
5084         * dirent/Makefile (tests): Add them.
5086 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5088         [BZ #18409]
5089         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5091 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5093         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5094         list.
5096 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5098         * benchtests/bench-strcoll.c: New benchmark.
5099         * benchtests/Makefile: Generate locales and run benchmark.
5100         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5101         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5102         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5103         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5104         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5105         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5106         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5107         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5108         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5109         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5110         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5111         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5112         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5113         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5114         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5115         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5116         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5117         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5118         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5119         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5120         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5121         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5122         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5123         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5125 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5127         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5128         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5130 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5132         * posix/uname-values.h: New file.
5133         * posix/uname.c: Include that instead of <config-name.h>.
5134         * sysdeps/nacl/uname-values.h: New file.
5135         * sysdeps/arm/nacl/uname-values.h: New file.
5137 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5139         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5140         splitting into fields.
5142 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5144         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5145         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5146         * locale/localeinfo.h: Add enum collation_encoding_type.
5147         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5148         * programs/ld-collate.c (collate_output): Add encoding type info.
5149         * string/strcoll_l.c (STRDIFF): New function.
5150         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5151         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5153 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5155         [BZ #18397]
5156         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5157         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5158         <fpu_control.h> instead of <math/fpu_control.c>.
5159         * sysdeps/mips/mips32/fpu/Makefile: New file.
5161 2015-05-11  Andreas Schwab  <schwab@suse.de>
5163         [BZ #18007]
5164         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5165         nss_endgrent.
5166         (_nss_compat_endgrent): Call nss_endgrent.
5167         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5168         nss_endpwent.
5169         (_nss_compat_endpwent): Call nss_endpwent.
5170         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5171         needent, call nss_setspent only if non-zero.
5172         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5173         (internal_endspent): Don't call nss_endspent.
5174         (_nss_compat_endspent): Call nss_endspent.
5175         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5176         Remove.  All uses removed.
5177         (internal_setent): Remove parameter stayopen, add parameter
5178         stream.  Use it instead of global variable.
5179         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5180         (internal_endent, internal_getent): Add parameter stream.  Use it
5181         instead of global variable.
5182         (CONCAT(_nss_files_end,ENTNAME))
5183         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5184         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5185         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5186         uses removed.
5187         (internal_setent, internal_endent): Add parameter stream.  Use it
5188         instead of global variable.
5189         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5190         stream.
5191         (get_next_alias): Add parameter stream.
5192         (_nss_files_getaliasent_r): Pass global stream.
5193         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5194         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5195         (_nss_files_gethostbyname4_r): Pass local stream to
5196         internal_setent, internal_getent and internal_endent.  Remove
5197         locking.
5199 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5201         * tst-strfmon1.c (tests): Update expected currency symbol.
5203 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5205         * sysdeps/nacl/gethostname.c: New file.
5207 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5209         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5210         and sinh.
5211         * math/auto-libm-test-out: Regenerated.
5212         * sysdeps/i386/fpu/libm-test-ulps: Update.
5213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5215 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5217         [BZ #18125]
5218         * stdlib/tst-setcontext3.c: New file.
5219         * stdlib/tst-setcontext3.sh: New file.
5220         * stdlib/Makefile (tests): Add tst-setcontext3.
5221         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5222         to verify test program created output file.
5223         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5224         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5225         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5226         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5228 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5230         [BZ #18383]
5231         * elf/tst-tlsalign.c: New file.
5232         * elf/tst-tlsalign-static.c: New file.
5233         * elf/tst-tlsalign-lib.c: New file.
5234         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5235         (tests-static): Add tst-tlsalign-static.
5236         (modules-names): Add tst-tlsalign-lib.
5237         (test-xfail-tst-tlsalign): New variable.
5238         (test-xfail-tst-tlsalign-static): New variable.
5240         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5241         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5243 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5245         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5246         csqrt, erfc, sin and sincos.
5247         * math/auto-libm-test-out: Regenerated.
5248         * sysdeps/i386/fpu/libm-test-ulps: Update.
5249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5251 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5253         * sysdeps/aarch64/libm-test-ulps: Update.
5255 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5257         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5258         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5259         * math/auto-libm-test-out: Regenerated.
5260         * sysdeps/i386/fpu/libm-test-ulps: Update.
5261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5265         [BZ #18265]
5266         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5267         (wcsncpy): Likewise.
5269 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5271         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5272         Assume __ASSUME_FALLOCATE is always true.
5273         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5274         (__posix_fallocate64_l64): Likweise.
5275         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5276         (posix_fallocate): Likewise.
5277         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5278         (__posix_fallocate64_l64): Likewise.
5279         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5280         [!__ASSUME_FALLOCATE]: Add comment.
5282 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5284         * sysdeps/unix/sysv/linux/i386/Makefile
5285         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5286         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5287         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5288         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5289         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5290         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5291         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5293 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5295         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5296         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5297         tgamma.
5298         * math/auto-libm-test-out: Regenerated.
5299         * sysdeps/i386/fpu/libm-test-ulps: Update.
5300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5302 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5304         * math/auto-libm-test-in: Add more tests of tgamma.
5305         * math/auto-libm-test-out: Regenerated.
5306         * sysdeps/i386/fpu/libm-test-ulps: Update.
5307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5309         * math/auto-libm-test-in: Add more tests of tanh.
5310         * math/auto-libm-test-out: Regenerated.
5311         * sysdeps/i386/fpu/libm-test-ulps: Update.
5312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314         * math/auto-libm-test-in: Add more tests of tan.
5315         * math/auto-libm-test-out: Regenerated.
5316         * sysdeps/i386/fpu/libm-test-ulps: Update.
5317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5319         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5320         * math/auto-libm-test-out: Regenerated.
5321         * sysdeps/i386/fpu/libm-test-ulps: Update.
5322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5324         * math/auto-libm-test-in: Add another test of pow.
5325         * math/auto-libm-test-out: Regenerated.
5326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5328         * math/auto-libm-test-in: Add more tests of lgamma.
5329         * math/auto-libm-test-out: Regenerated.
5330         * sysdeps/i386/fpu/libm-test-ulps: Update.
5331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5333         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5334         log1p.
5335         * math/auto-libm-test-out: Regenerated.
5336         * sysdeps/i386/fpu/libm-test-ulps: Update.
5337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5339 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5341         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5342         Elf64_Chdr structs and ELFCOMPRESS constants.
5344 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5346         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5347         expm1.
5348         * math/auto-libm-test-out: Regenerated.
5349         * sysdeps/i386/fpu/libm-test-ulps: Update.
5350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5352         * math/auto-libm-test-in: Add more tests of erf and erfc.
5353         * math/auto-libm-test-out: Regenerated.
5354         * sysdeps/i386/fpu/libm-test-ulps: Update.
5355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5359         * config.h.in (HAVE_AARCH64_BE): Add.
5361 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5363         * math/auto-libm-test-in: Add more tests of csqrt.
5364         * math/auto-libm-test-out: Regenerated.
5365         * sysdeps/i386/fpu/libm-test-ulps: Update.
5366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5368         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5369         * math/auto-libm-test-out: Regenerated.
5370         * sysdeps/i386/fpu/libm-test-ulps: Update.
5371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5373         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5375 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5377         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5378         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5380         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5381         (euidaccess, eaccess): Define as weak aliases.
5383         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5384         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5385         but __suseconds_t is often 'long int' so some sources assume that
5386         type is being used (e.g. they use %ld to print tv_usec).
5388 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5390         [BZ #18007]
5391         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5392         (CVE-2014-8121)
5393         * nss/tst-nss-getpwent.c: New file.
5394         * nss/Makefile (tests): Add new test.
5396 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #18346]
5399         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5400         exponents less than 48 as cases where high part of mantissa needs
5401         examining to determine whether argument is integral.
5402         * math/libm-test.inc (round_test_data): Add more tests.
5404 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5406         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5408 2015-04-27  David S. Miller  <davem@davemloft.net>
5410         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5411         __tls_get_addr.
5412         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5414 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5416         [BZ#18333]
5417         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5419 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5421         [BZ#18333]
5422         * time/tzset.c (parse_tzname): Return error on memory allocation
5423         failure.
5424         * test-skeleton.c (struct temp_name_list): Change type of name
5425         member to non-const.
5426         (add_temp_file): Create a copy of the file name.
5427         (delete_temp_files): Deallocate memory.
5428         (create_temp_file): Add comment.
5430 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5432         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5433         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5435 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5437         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5438         * sysdeps/arm/configure: Regenerated.
5440 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5442         [BZ #17715]
5443         * time/tzfile.c (__tzfile_read): Check for large values of
5444         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5445         * time/tzset.c (__tzstring_len): New function, based on the old
5446         __tzstring function.
5447         (__tzstring): Call __tzstring_len.
5448         (parse_tzname): New helper function extracted from
5449         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5450         the input string.
5451         (parse_offset): New helper function extracted from
5452         __tzset_parse_tz.  Replace switch with fallthrough with
5453         initialization before sscanf.
5454         (parse_rule): Likewise.
5455         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5456         new-style function definition.
5457         * timezone/Makefile (tests): Add tst-tzset.
5458         (tst-tzset.out): Dependencies on time zone files.
5459         (tst-tzset-ENV): Set TZDIR.
5460         (testdata/XT%): Copy crafted time zone files.
5461         * timezone/README: Mention crafted time zone files.
5462         * timezone/testdata/XT1, timezone/testdata/XT2,
5463         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5464         files.
5465         * timezone/tst-tzset.c: New test.
5467 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5469         * Makeconfig (+gccwarn): Remove -Winline.
5471 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5473         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5475 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5477         * NEWS: Mention sysconf() cache information support for s390.
5478         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5480 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5482         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5483         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5484         (__nearbyint): Likewise.
5485         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5486         (copysignl): Likewise.
5488 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5490         [BZ #18287]
5491         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5492         based on padding.  (CVE-2015-1781)
5494 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5496         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5497         libc-vdso.h.
5498         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5499         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5500         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5501         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5502         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5503         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5504         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5505         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5506         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5507         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5508         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5509         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5510         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5511         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5512         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5513         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5514         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5515         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5516         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5517         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5518         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5519         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5520         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5522 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5524         * stdlib/setenv.c (__add_to_environ):
5525         Dump core quickly if setenv (..., NULL, ...) is called.
5526         This time, do it the right way, and pacify GCC with a pragma.
5528 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5530         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5531         IMAP->l_prev cannot be null, and #if out the code for the contrary
5532         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5533         believe that NS (&_dl_ns[NSID]) could point outside the array.
5535         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5536         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5537         before using NSID as an index.
5539 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5541         [BZ #17825]
5542         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5543         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5544         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5546 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5548         Add preliminary port to Google Native Client on ARM.
5549         * abi-tags (.*-.*-nacl.*): New entry.
5550         * sysdeps/arm/nacl: New directory.
5551         * sysdeps/nacl: New directory.
5553 2015-04-16  David S. Miller  <davem@davemloft.net>
5555         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5556         lowlevellock-futex.h
5558 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5560         * sysdeps/tile/configure.ac: New file.
5561         * sysdeps/tile/configure: Regenerated.
5563 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5565         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5566         conditionals for weak_alias and libc_hidden_weak.
5567         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5568         libc_hidden_weak and weak_alias.
5569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5570         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5571         and weak_alias for static one.
5573 2015-04-15  David S. Miller  <davem@davemloft.net>
5575         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5577 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5579         [BZ #18206]
5580         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5581           Use signed comparision instead of substraction to avoid
5582           overflow bug.
5583         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5584           Take the sign of ret.
5585         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5586           Do not expect precise return values. Only the sign matters.
5587         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5588         * wcsmbs/test-wcsncmp.c: New File.
5589         * string/test-strncmp.c: Add wcsncmp support.
5591 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5593         [BZ #6792]
5594         * math/w_log1p.c: New file.
5595         * math/w_log1pf.c: Likewise.
5596         * math/w_log1pl.c: Likewise.
5597         * math/Makefile (libm-calls): Add w_log1p.
5598         * math/s_log1pl.c (log1pl): Remove weak_alias.
5599         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5600         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5601         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5602         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5603         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5604         [NO_LONG_DOUBLE] (log1pl): Likewise.
5605         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5606         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5607         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5608         (log1p): Remove long_double_symbol.
5609         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5610         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5611         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5612         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5613         remove weak_alias for corresponding log1p function.
5614         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5615         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5616         * sysdeps/ia64/fpu/w_log1p.c: New file.
5617         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5618         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5619         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5621 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #18247]
5624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5625         decimal exponent by 1.
5626         * stdlib/tst-strtod-round-data: Add more tests.
5627         * stdlib/tst-strtod-round.c (tests): Regenerated.
5629 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5631         * math/auto-libm-test-in: Add more tests of clog and clog10.
5632         * math/auto-libm-test-out: Regenerated.
5633         * sysdeps/i386/fpu/libm-test-ulps: Update.
5634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5636 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5638         * Makeconfig (module-cppflags): Exclude all .v.i files.
5639         (skip-module-cppflags): Variable removed.
5641         * configure.ac (libc_config_ok): Initialize before reading
5642         preconfigure scripts, not after.
5643         * configure: Regenerated.
5645         * test-skeleton.c (TIMEOUT): Move #define to top level.
5646         (main): Grok environment variable TEST_DIRECT.  If set, print
5647         test expectation details into that file and then behave as if
5648         given --direct.
5650 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5652         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5653         warning on 32-bit.
5655 2015-04-08  David S. Miller  <davem@davemloft.net>
5657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5659 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5661         * math/auto-libm-test-in: Add more tests of atanh.
5662         * math/auto-libm-test-out: Regenerated.
5663         * sysdeps/i386/fpu/libm-test-ulps: Update.
5664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666         * math/auto-libm-test-in: Add more tests of atan.
5667         * math/auto-libm-test-out: Regenerated.
5668         * sysdeps/i386/fpu/libm-test-ulps: Update.
5669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5671 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5673         * elf/pldd.c (main): Rewrite to use struct
5674         scratch_buffer instead of extend_alloca.
5675         * elf/pldd-xx.c (find_maps): Likewise.
5676         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5677         <alloca.h>.
5678         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5679         scratch_buffer instead of extend_alloca.
5680         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5681         grp/compat-initgroups.c.
5682         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5683         Rewrite to use struct scratch_buffer instead of extend_alloca.
5684         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5685         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5687 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5689         * math/auto-libm-test-in: Add more tests of cbrt.
5690         * math/auto-libm-test-out: Regenerated.
5691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5693         * math/auto-libm-test-in: Add more tests of cabs.
5694         * math/auto-libm-test-out: Regenerated.
5695         * sysdeps/i386/fpu/libm-test-ulps: Update.
5696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5698         [BZ #18210]
5699         [BZ #18211]
5700         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5701         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5702         computations.
5703         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5704         clog10.
5705         * math/auto-libm-test-out: Regenerated.
5706         * sysdeps/i386/fpu/libm-test-ulps: Update.
5707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709         [BZ #18197]
5710         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5711         (atan): Set FE_TONEAREST mode for internal computations.
5712         * math/auto-libm-test-in: Add more tests of atan.
5713         * math/auto-libm-test-out: Regenerated.
5715 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5717         [BZ #17930]
5718         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5720 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5722         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5724 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5726         * include/scratch_buffer.h: New file.
5727         * malloc/scratch_buffer_grow.c: Likewise.
5728         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5729         * malloc/scratch_buffer_set_array_size.c: Likewise.
5730         * malloc/tst-scratch_buffer.c: Likewise.
5731         * malloc/Makefile (routines): Add scratch_buffer_grow.
5732         (tests): Add test case.
5733         * malloc/Versions (GLIBC_PRIVATE): Export
5734         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5735         __libc_scratch_buffer_set_array_size.
5737 2015-04-06  Richard Henderson  <rth@redhat.com>
5739         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5740         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5742         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5743         unsigned int before printing.
5745 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5747         [BZ #17596]
5748         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5749         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5751 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5753         * include/libc-internal.h (libc_max_align_t): Define.
5755 2015-04-02  Andreas Schwab  <schwab@suse.de>
5757         [BZ #16850]
5758         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5760 2015-04-02  Mel Gorman  <mgorman@suse.de>
5762         [BZ #17195]
5763         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5764         as well as the main arena.
5766 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5768         [BZ #18185]
5769         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5770         sharing L2 cache to 2 for Silvermont/Knights Landing.
5772 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5774         [BZ #17711]
5775         * config.make.in (have-protected-data): New.
5776         * configure.ac: Check linker support for protected data symbol.
5777         * configure: Regenerated.
5778         * elf/Makefile (modules-names): Add tst-protected1moda and
5779         tst-protected1modb if $(have-protected-data) is yes.
5780         (tests): Add tst-protected1a and tst-protected1b if
5781         $(have-protected-data) is yes.
5782         ($(objpfx)tst-protected1a): New.
5783         ($(objpfx)tst-protected1b): Likewise.
5784         (tst-protected1modb.so-no-z-defs): Likewise.
5785         * elf/tst-protected1a.c: New file.
5786         * elf/tst-protected1b.c: Likewise.
5787         * elf/tst-protected1mod.h: Likewise.
5788         * elf/tst-protected1moda.c: Likewise.
5789         * elf/tst-protected1modb.c: Likewise.
5791 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5793         [BZ #17711]
5794         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5795         indicates it is called from do_lookup_x on relocation against
5796         protected data, skip the data definion in the executable from
5797         copy reloc.
5798         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5799         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5800         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5801         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5802         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5803         otherwise to 0.
5804         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5805         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5806         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5807         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5808         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5809         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5811 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5813         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5814         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5816 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5818         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5819         THREAD_SETMEM_NC.
5820         * sysdeps/x86_64/nptl/tls.h: Ditto.
5822 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5824         * dlfcn/tststatic.c (main): Converted to ...
5825         (do_test): ... this.
5826         (TEST_FUNCTION): New macro.
5827         Include test-skeleton.c.
5829 2015-03-26  Alan Modra  <amodra@gmail.com>
5831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5832         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5833         zero for undefined weak.
5834         (elf_machine_plt_conflict): Similarly.
5836 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5838         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5839         atanh.
5840         * math/auto-libm-test-out: Regenerated.
5841         * sysdeps/i386/fpu/libm-test-ulps: Update.
5842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5844         * math/auto-libm-test-in: Add another test of asin.
5845         * math/auto-libm-test-out: Regenerated.
5846         * sysdeps/i386/fpu/libm-test-ulps: Update.
5847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5850         Remove macro.
5851         (LLL_EBX_REG): Likewise.
5852         (LLL_ENTER_KERNEL): Likewise.
5854         * math/auto-libm-test-in: Add more tests of asin.
5855         * math/auto-libm-test-out: Regenerated.
5856         * sysdeps/i386/fpu/libm-test-ulps: Update.
5857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859         [BZ #18138]
5860         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5861         libc_do_syscall_args): New structure.
5862         (INTERNAL_SYSCALL_MAIN_0): New macro.
5863         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5864         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5865         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5866         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5867         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5868         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5869         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5870         Replace conditional definitions by conditional definitions of ....
5871         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5872         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5873         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5874         (libpthread-sysdep_routines): Add libc-do-syscall.
5875         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5876         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5877         to __NR_futex not 240.
5879 2015-03-25  Alan Modra  <amodra@gmail.com>
5881         * NEWS: Advertise TLS optimization.
5882         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5883         (DT_PPC_NUM): Increment.
5884         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5885         (CHECK_STATIC_TLS): Use here.
5886         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5887         TLS descriptors.
5888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5889         * sysdeps/powerpc/dl-tls.c: New file.
5890         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5891         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5892         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5893         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5898 2015-03-25  Alan Modra  <amodra@gmail.com>
5900         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5901         for overlapping .opd entries" to "support...".
5902         * sysdeps/powerpc/powerpc64/configure: Regenerate
5904 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5906         * math/auto-libm-test-in: Add more tests of acos.
5907         * math/auto-libm-test-out: Regenerated.
5908         * sysdeps/i386/fpu/libm-test-ulps: Update.
5909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911         * math/auto-libm-test-in: Add more tests of expm1.
5912         * math/auto-libm-test-out: Regenerated.
5913         * sysdeps/i386/fpu/libm-test-ulps: Update.
5914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5918         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5919         * math/auto-libm-test-out: Regenerated.
5920         * sysdeps/i386/fpu/libm-test-ulps: Update.
5921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5923         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5926         * math/auto-libm-test-in: Add more tests of log2.
5927         * math/auto-libm-test-out: Regenerated.
5928         * sysdeps/i386/fpu/libm-test-ulps: Update.
5929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5933         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5934         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5935         _IO_IS_APPENDING bit in READ_WRITE instead.
5937 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5939         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5940         (__determine_cpumask_size): Replace extend_alloca with a
5941         variable-length array.  Do not treat res == 0 as an error.
5943 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5945         [BZ #18100]
5946         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5947         and integer overflow.
5948         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5949         (main): Add integer overflow tests.
5950         * manual/pattern.texi (Calling Wordexp): Document additional use
5951         for WRDE_SYNTAX.
5953 2015-03-23  Alan Modra  <amodra@gmail.com>
5955         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5956         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5957         and false branch of conditional.
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5959         Likewise.
5961 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5963         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5964         libc-modules.h
5965         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5966         unused declaration of _hurd_intr_rpc_msg_in_trap.
5967         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5968         defined instead of whether it is non-zero.
5969         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5970         input constraint instead of both input and output constraint.  Use ecx
5971         clobber instead of %ecx.
5972         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5973         mutex_unlock): Use a statement expression instead of an expression list.
5974         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5975         type to vm_size_t instead of vm_address_t.
5976         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5977         defined instead of whether it is non-zero.
5978         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5979         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5980         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5981         comparisons with mapaddr.
5982         * nscd/nscd-client.h: Include <time.h>.
5983         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5984         9th parameter to __vm_region instead of int.
5985         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5986         * scripts/check-local-headers.sh (exclude): Add device/,
5987         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5988         cthreads.h.
5990 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5992         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5993         to account for alignment padding.
5994         * sysdeps/arm/memmove.S: Likewise.
5996 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5998         * sysdeps/unix/sysv/linux/generic/README: New file.
6000 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6002         [BZ #18138]
6003         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6004         (futex_abstimed_wait)
6005         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6006         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6007         of lll_futex_timed_wait.
6009 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6011         [BZ #17542]
6012         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6014 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6016         [BZ #17090]
6017         [BZ #17620]
6018         [BZ #17621]
6019         [BZ #17628]
6020         * NEWS: Update.
6021         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6022         entries with Static TLS too.  Skip entries past the end of the
6023         allocated DTV, from Alan Modra.
6024         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6025         Static TLS DTV entry set up from...
6026         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6027         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6028         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6029         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6030         for Static TLS.
6031         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6032         that the slot we find is associated with the given map before
6033         using its generation count.
6034         * nptl_db/db_info.c: Include ldsodefs.h.
6035         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6036         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6037         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6038         (link_map::l_tls_offset): New struct field.
6039         (dtv_t::counter): Likewise.
6040         (rtld_global): New struct.
6041         (_rtld_global): New rtld variable.
6042         (dl_tls_dtv_slotinfo_list): New rtld global field.
6043         (dtv_slotinfo_list): New struct.
6044         (dtv_slotinfo): Likewise.
6045         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6046         (td_lookup): Rename to...
6047         (td_mod_lookup): ... this.  Use new mod parameter instead of
6048         LIBPTHREAD_SO.
6049         * nptl_db/td_thr_tlsbase.c: Include link.h.
6050         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6051         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6052         addresses even if the DTV is out of date or missing them.
6053         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6054         index zero-length arrays.
6055         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6056         (td_lookup): Make it a macro implemented in terms of...
6057         (td_mod_lookup): ... this declaration.
6058         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6059         (DB_MAIN_VARIABLE): Likewise.
6061 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6063         [BZ #18134]
6064         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6066 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6068         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6070 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6072         [BZ #18128]
6073         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6074         (atomic_add, atomic_increment_and_test)
6075         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6077 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6079         * stdlib/setenv.c (__add_to_environ):
6080         Dump core quickly if setenv (..., NULL, ...) is called.
6082 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6084         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6085         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6086         all the necessary asm magic in one place.
6087         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6088         using those.
6090 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6092         [BZ #14906]
6093         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6094         traced file mtime. Use consistent log message.
6095         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6096         (register_traced_file): Call install_watches. Always set mtime.
6097         (invalidate_cache): Iterate over all trace files. Call install_watches.
6098         (inotify_check_files): Don't inline. Handle watching parent
6099         directories and configuration file movement in and out.
6100         (handle_inotify_events): New function.
6101         (main_loop_poll): Call handle_inotify_events.
6102         (main_loop_epoll): Likewise.
6103         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6104         (struct traced_file): Use array of inotify fds. Add parent directory,
6105         and basename.
6106         (struct database_dyn): Remove unused file_mtime.
6107         (init_traced_file): New inline function.
6108         (define_traced_file): New macro.
6109         * nss/nss_db/db-init.c: Use define_traced_file.
6110         (_nss_db_init): Use init_traced_file.
6111         * nss/nss_files/files-init.c: Use define_traced_file.
6112         (_nss_files_init): Use init_traced_file.
6114 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6116         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6117         [_LIBC]: Do not include <stdlib.h>.
6118         [!_LIBC] (abort): Remove declaration.
6119         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6120         _FP_STATIC_ASSERT instead of conditionally calling abort.
6121         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6122         (_FP_EXTEND_CNAN): Likewise.
6123         (FP_TRUNC): Likewise.
6124         (__FP_CLZ): Likewise.
6125         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6127 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6129         * manual/string.texi (XPG basename): Fix prototype.
6131 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6133         [BZ #18080]
6134         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6135         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6136         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6137         (__setcontext): Likewise.
6138         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6139         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6140         Call rt_sigprocmask syscall one time to set new signal mask
6141         and retrieve the current signal mask instead of two calls.
6142         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6143         (__swapcontext): Likewise.
6144         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6145         * stdlib/tst-setcontext2.c: New file.
6147 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6149         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6151 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6153         [BZ #18093]
6154         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6155         the wrong size.
6157 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6159         [BZ #18043]
6160         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6162 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6164         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6165         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6166         Remove define.
6167         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6168         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6169         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6170         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6171         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6172         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6173         define.
6174         * nptl_db/td_symbol_list.c (td_lookup): Remove
6175         HAVE_ASM_GLOBAL_DOT_NAME code.
6176         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6177         HAVE_ASM_GLOBAL_DOT_NAME check.
6178         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6179         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6180         (DOT_LABEL): Remove define.
6181         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6182         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6183         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6184         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6185         (__TLS_GET_ADDR): Likewise.
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6187         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6189 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6191         [BZ #18111]
6192         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6193         (_FPU_SETCW): Initialize cw from fpsr before storing.
6194         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6195         (fesetexceptflag): Rewrite using fpu_control.h.
6196         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6198 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6200         [BZ #18110]
6201         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6202         asms.
6203         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6205 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6207         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6208         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6209         abort.
6210         (_FP_FMA): Likewise.
6211         (_FP_DIV): Likewise.
6213 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6215         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6216         with 0 in that case.
6217         * Makefile (summarize-tests): New canned sequence, factored out of
6218         commands for targets tests and xtests.  Display summary lines that
6219         don't start with PASS: or XFAIL: rather than ones that do start with
6220         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6221         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6222         do start with ERROR: or FAIL:.
6223         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6224         (except for [$(build-shared) = yes]).
6225         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6226         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6227         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6228         * nptl/Makefile: Revert 2015-03-04 changes.
6229         [$(CXX) empty] (tests-unsupported): New variable.
6230         * debug/Makefile: Likewise.
6232         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6233         gnulib file.  Replace __attribute with __attribute__ throughout.
6235 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6237         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6239 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #18104]
6242         * math/auto-libm-test-in: Add another test of pow.
6243         * math/auto-libm-test-out: Regenerated.
6245 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6247         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6248         $(config-cflags-nofma).
6250 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6252         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6253         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6254         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6255         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6256         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6257         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6258         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6259         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6260         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6261         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6262         Add comment on closing #endif.
6264 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6266         * posix/wordexp.c (CHAR_IN_SET): New macro.
6267         (parse_param): Use it.
6269 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6273 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6275         [BZ #18043]
6276         * posix/wordexp.c (parse_param): Fix buffer overflow.
6277         * posix/wordexp-test.c (test_case): Add test case.
6279 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6281         [BZ #18042]
6282         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6283         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6285 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6287         [BZ #18043]
6288         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6289         (do_bz18043): Delete.
6290         (at_page_end): New.
6291         (testit): Refactor to have words at the edge of unreadable page.
6293 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6295         [BZ #16734]
6296         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6297         Cleanup read-only streams as well.
6298         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6300 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6302         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6303         <bits/libc-lockP.h>
6305 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6307         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6308         on [__KERNEL__].
6309         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6310         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6311         * soft-fp/op-common.h (_FP_DECL): Likewise.
6313 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6315         * elf/ifuncdep2.c (global): Replace
6316         __attribute__((visibility("protected"))) with
6317         asm (".protected global").
6318         * elf/ifuncmod1.c (global): Likewise.
6319         * elf/ifuncmod5.c (global): Likewise.
6321 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6323         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6324         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6326 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6328         * manual/install.texi (Configuring and compiling):
6329         Document test-wrapper-env-only.
6330         * INSTALL: Regenerated.
6332 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6334         [BZ #18043]
6335         * posix/wordexp.c (parse_param): Fix buffer overflow.
6336         * posix/wordexp-test.c (do_bz18043): Add test case.
6338 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6340         * time/tst-strptime2.c (do_test): Ensure failing tests are
6341         reported correctly.
6342         * time/tst-strptime3.c (do_test): Likewise.
6344 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6346         Fix aio_error thread-safety.
6347         * sysdeps/pthread/aio_error.c: New file
6348         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6349         synchronization.
6351 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6353         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6354         (group_number, vfprintf): Use it.
6355         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6356         (JUMP, REF): Use it.
6357         (WORK_BUFFER_SIZE): New enum constant.
6358         (process_arg, vfprintf): Use it.
6360 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6362         * manual/errno.texi (Error Messages): Complete example function
6363         by adding missing #define.
6364         (program_invocation_name): Add statement indicating GNU
6365         extension and reference which header file declares the variable.
6366         (program_invocation_short_name): Likewise.
6368 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6370         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6371         compatibility note.
6373 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6375         * Makeconfig (test-wrapper-env-only): New variable.
6376         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6377         then use that with $(test-wrapper-env-only) rather than using
6378         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6380 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6382         [BZ #18082]
6383         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6384         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6385         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6386         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6387         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6388         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6389         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6390         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6391         Likewise.
6392         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6393         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6394         Likewise.
6395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6396         Likewise.
6397         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6398         Likewise.
6399         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6400         Likewise.
6401         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6403         Likewise.
6404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6405         Likewise.
6406         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6407         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6409 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6411         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6412         (ETH_ALEN): New macro.
6413         (struct ether_addr): Use it for length of ether_addr_octet.
6415         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6416         (setdb): Don't call __nss_configure_lookup for "rpc".
6417         (do_test): Don't call test_rpc.
6418         (output_rpcent, test_rpc): Functions moved ...
6419         * sunrpc/test-rpcent.c: ... to this new file.
6420         * sunrpc/Makefile (tests): Add it.
6422         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6423         __xpg_sigpause.
6424         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6425         * nptl/tst-signal6.c: Likewise.
6426         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6427         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6429         * configure.ac (libc_cv_cxx_link_ok): New check.
6430         Reset CXX to empty if it fails to link.
6431         * configure: Regenerated.
6432         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6433         bug-atexit3-lib only if $(CXX) is nonempty.
6434         * nptl/Makefile (tests): Likewise for tst-cancel24.
6435         (tests, tests-static): Likewise for tst-cancel24-static.
6436         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6437         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6438         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6439         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6441 2015-03-04  Andreas Schwab  <schwab@suse.de>
6443         [BZ #17631]
6444         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6445         for non-GCC compilers.
6446         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6447         Likewise.
6449 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6451         [BZ #17776]
6452         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6453         integer before bitwise and assembly operations.
6454         (feclearexcept): Likewise.
6455         * math/test-fenvinline.c: New file.
6456         * math/Makefile: Add test-fenvinline test.
6458 2015-03-03  Alan Modra  <amodra@gmail.com>
6460         [BZ #16512]
6461         * scripts/localplt.awk: Strip off symbol version.
6462         * NEWS: Mention bug fix.
6464 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6466         * sysdeps/pthread/timer_routines.c
6467         (timer_free_list, thread_free_list, thread_active_list): Make static.
6469 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #17779]
6472         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6473         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6474         Undefine.
6475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6476         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6477         Likewise.
6478         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6479         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6480         Likewise.
6482 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6484         [BZ #18036]
6485         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6486         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6488 2015-03-02  Andreas Schwab  <schwab@suse.de>
6490         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6491         variable name.
6493 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6495         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6496         Return error status.
6498 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6500         [BZ #15969]
6501         * locale/findlocale.c (_nl_find_locale): Introduce const
6502         version of loc_name and drop unsafe type casts.
6504 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6506         * dlfcn/tststatic2.c (main): Converted to ...
6507         (do_test): ... this.
6508         (TEST_FUNCTION): New macro.
6509         Include test-skeleton.c.
6511 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6513         [BZ #17711]
6514         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6515         (tests-pie): Add vismain.
6516         (CFLAGS-vismain.c): New.
6517         * elf/vismain.c: Add comments for PIE requirement.
6519 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6521         [BZ #18046]
6522         [BZ #18047]
6523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6524         0x1p-56L as threshold for just returning the argument.
6525         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6526         0x1p-32L as threshold for just returning the argument.
6527         * math/auto-libm-test-in: Add more tests of atanh.
6528         * math/auto-libm-test-out: Regenerated.
6529         * sysdeps/i386/fpu/libm-test-ulps: Update.
6530         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6532 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6534         * string/bcopy.c (bcopy): Call memmove for performance.
6536 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6538         * string/bzero.c (__bzero): Call memset for performance.
6540 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6542         [BZ #18068]
6543         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6544         to 00100000.
6546 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6548         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6550 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6552         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6553         (__kernel_standard): Use CSTR macro when setting exc.name.
6554         * sysdeps/ieee754/Makefile [$(subdir) = math]
6555         (CFLAGS-k_standard.c): Remove variable.
6557         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6558         setting p and q from "else if" to "else".
6559         (qzero): Likewise.
6560         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6561         (qone): Likewise.
6562         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6563         (qzerof): Likewise.
6564         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6565         (qonef): Likewise.
6566         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6567         (qzero): Likewise.
6568         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6569         (qone): Likewise.
6571         [BZ #18038]
6572         [BZ #18039]
6573         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6574         return pi/2 for arguments below 0x1p-113L.
6575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6576         return pi/2 for arguments below 0x1p-106L.
6577         * math/auto-libm-test-in: Add more tests of acos.
6578         * math/auto-libm-test-out: Regenerated.
6580         [BZ #16351]
6581         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6582         (MO): New macro.
6583         (__ieee754_asin): Force underflow exception for results with small
6584         absolute value.
6585         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6586         (MO): New macro.
6587         (__ieee754_asinf): Force underflow exception for results with
6588         small absolute value.
6589         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6590         (__ieee754_asin): Force underflow exception for results with small
6591         absolute value.
6592         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6593         (__ieee754_asinf): Force underflow exception for results with
6594         small absolute value.
6595         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6596         (__ieee754_asinl): Force underflow exception for results with
6597         small absolute value.
6598         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6599         (__ieee754_asinl): Force underflow exception for results with
6600         small absolute value.
6601         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6602         (__ieee754_asinl): Force underflow exception for results with
6603         small absolute value.
6604         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6605         Include <math.h>.
6606         * math/auto-libm-test-in: Do not mark underflow exceptions as
6607         possibly missing for bug 16351.
6608         * math/auto-libm-test-out: Regenerated.
6610         [BZ #18030]
6611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6612         of power of 2 down when low part has opposite sign.
6613         * math/libm-test.inc (logb_test_data): Add more tests.
6615 2015-02-26  Andreas Schwab  <schwab@suse.de>
6617         [BZ #18032]
6618         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6619         over collating symbol inside a bracket expression.  Minor cleanup.
6620         * posix/tst-fnmatch3.c (do_test): Add test case.
6622 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6624         [BZ #18029]
6625         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6626         Adjust exponent of power of 2 down when low part has opposite
6627         sign.
6628         * math/libm-test.inc (ilogb_test_data): Add more tests.
6630 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6632         [BZ #15969]
6633         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6634         the previous change.
6636         [BZ #15969]
6637         * locale/findlocale.c (_nl_find_locale): Retry archive search
6638         after alias expansion.
6640 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6642         * iconv/tst-iconv3.c (main): Converted to ...
6643         (do_test): ... this.
6644         (TEST_FUNCTION): New macro.
6645         Include test-skeleton.c.
6647         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6648         (convert): Make function static.
6649         (test_unalign): Likewise.  Add const to argument pointee types.
6650         (main): Replace with static function do_test.
6651         Print "Succeeded." only if RET is zero.
6652         (TEST_FUNCTION): New macro.
6653         Include test-skeleton.c.
6655         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6656         returns a null pointer.
6658 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6660         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6661         to __memcpy_ppc only for static builds.
6663 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6665         [BZ #18020]
6666         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6667         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6668         * math/auto-libm-test-in: Add more tests of asinh.
6669         * math/auto-libm-test-out: Regenerated.
6670         * sysdeps/i386/fpu/libm-test-ulps: Update.
6671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6673 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6675         [BZ #15850]
6676         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6677         and ip6_mtuinfo definitions here.
6678         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6679         in this define too.  Update comment.
6681 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6683         * elf/sprof.c (load_shobj): Tweak error message to match others.
6685 2015-02-24  Kevin Easton  <kevin@guarana.org>
6687         [BZ #16145] (partial fix)
6688         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6689         to reduce lock contention.
6691 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6693         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6694         (struct timex): Update time comment.
6695         (ADJ_SETOFFSET): Define.
6697 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6699         [BZ #18019]
6700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6701         2**56 not 2**28 as threshold for log (2x) formula.
6702         * math/auto-libm-test-in: Add more tests of acosh.
6703         * math/auto-libm-test-out: Regenerated.
6704         * sysdeps/i386/fpu/libm-test-ulps: Update.
6705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6709         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6710         parenthesis around the buf assignment.
6711         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6713 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #16783]
6716         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6717         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6718         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6719         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6720         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6721         * math/libm-test.inc (scalb_test_data): Add more tests.
6723 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6725         [BZ #17916]
6726         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6727         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6729 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6731         [BZ #17523]
6732         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6733         * io/bits/fcntl2.h (open): Use it.
6734         (openat): Likewise.
6735         * io/open.c (__libc_open): Likewise.
6736         * io/open64.c (__libc_open64): Likewise.
6737         * io/open64_2.c (__open64_2): Likewise.
6738         * io/open_2.c (__open_2): Likewise.
6739         * io/openat.c (__openat): Likewise.
6740         * io/openat64.c (__openat64): Likewise.
6741         * io/openat64_2.c (__openat64_2): Likewise.
6742         * io/openat_2.c (__openat_2): Likewise.
6743         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6744         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6745         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6746         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6747         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6748         (__open_nocancel): Likewise.
6749         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6750         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6751         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6753 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6755         [BZ #14841]
6756         * resolv/gethnamaddr.c (getanswer): Skip logging if
6757         RES_USE_DNSSEC is set.
6758         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6760 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6762         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6764 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6766         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6767         201304L, for Unicode 7.
6769 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6771         [BZ #17836]
6772         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6773         shared library.  Add gmon-start.os otherwise.
6774         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6775         $(objpfx)gmon-start.os if builing shared library.
6776         ($(objpfx)g$(static-start-installed-name)): Likewise.
6778 2015-02-23  Andreas Schwab  <schwab@suse.de>
6780         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6782 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6784         [BZ #17269]
6785         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6786         (enlarge_userbuf): Likewise.
6788 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6790         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6791         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6792         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6793         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6795 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6797         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6798         expression inside statement expression.
6800 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6802         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6803         <sysdeps/nptl/lowlevellock.h> and remove macros and
6804         functions that are now defined there.
6805         (SYS_futex): Remove.
6806         (lll_compare_and_swap): Remove.
6807         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6809 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6811         [BZ #17999]
6812         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6813         instead of scandirat.
6814         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6815         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6816         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6817         __scandirat.
6818         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6819         (__scandirat): Declare.  Use libc_hidden_proto.
6820         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6821         Remove variable.
6822         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6824 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6826         [BZ #15319]
6827         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6828         (MO): New macro.
6829         (__ieee754_atan2): For results with small absolute value, force
6830         underflow exception and remove excess range and precision from
6831         return value.
6832         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6833         (MO): New macro.
6834         (__ieee754_atan2f): For results with small absolute value, force
6835         underflow exception and remove excess range and precision from
6836         return value.
6837         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6838         (MO): New macro.
6839         (__atan): For results with small absolute value, force underflow
6840         exception and remove excess range and precision from return value.
6841         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6842         (MO): New macro.
6843         (__atanf): For results with small absolute value, force underflow
6844         exception and remove excess range and precision from return value.
6845         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6846         <math.h>.
6847         (__ieee754_atan2): Force underflow exception for results with
6848         small absolute value.
6849         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6850         <math_private.h>.
6851         (atan): Force underflow exception for results with small absolute
6852         value.
6853         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6854         (__atanf): Force underflow exception for results with small
6855         absolute value.
6856         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6857         <math.h>.
6858         (__atanl): Force underflow exception for results with small
6859         absolute value.
6860         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6861         (__atanl): Force underflow exception for results with small
6862         absolute value.
6863         * sysdeps/x86/fpu/bits/mathinline.h
6864         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6865         (__ieee754_atan2): Only define inline for long double.
6866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6867         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6868         * math/auto-libm-test-in: Do not mark underflow exceptions as
6869         possibly missing for bug 15319.  Add more tests of atan2.
6870         * math/auto-libm-test-out: Regenerated.
6871         * math/libm-test.inc (casin_test_data): Do not mark underflow
6872         exceptions as possibly missing for bug 15319.
6873         (casinh_test_data): Likewise.
6874         * sysdeps/i386/fpu/libm-test-ulps: Update.
6876 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6878         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6879         * sysdeps/mips/bits/endian.h: Fix comments.
6881 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6883         [BZ #17996]
6884         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6885         (hdestroy_r): Likewise.
6886         (hsearch_r): Likewise.
6887         (__hcreate_r): Declare and use libc_hidden_proto.
6888         (__hdestroy_r): Likewise.
6889         (__hsearch_r): Likewise.
6890         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6891         (hcreate): Call __hcreate_r instead of hcreate_r.
6892         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6893         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6894         as weak alias of __hcreate_r.
6895         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6896         __hdestroy_r.
6897         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6898         __hsearch_r.
6899         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6900         Remove variable.
6901         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6902         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6903         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6904         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6906 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6908         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6909         arena_lock into a single arena_get.
6911 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6913         * dl-reloc.c: Inlucde libc-internal.h.
6914         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6915         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6916         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6917         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6918         (grow_heap): Likewise.
6919         * malloc/malloc.c: Include libc-internal.h.
6920         (do_check_malloc): Call powerof2.
6921         (sysmalloc): Use pagesize. Call ALIGN_UP.
6922         (systrim): Use pagesize.
6923         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6924         (__libc_valloc): Use pagesize.
6925         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6927 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6929         [BZ #17991]
6930         * include/sys/resource.h (__getrlimit64): Declare.  Use
6931         libc_hidden_proto.
6932         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6933         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6934         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6935         getrlimit64.
6936         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6937         __getrlimit64.
6938         [!getrlimit64] (getrlimit64): Define as weak alias of
6939         __getrlimit64.  Use libc_hidden_weak.
6940         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6941         using __getrlimit64 not __new_getrlimit64.
6942         (__GI_getrlimit64): Likewise.
6943         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6944         Likewise.
6945         (__GI_getrlimit64): Likewise.
6946         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6948         (getrlimit): Add __getrlimit64 alias.
6949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6950         Likewise.
6951         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6952         Remove variable.
6953         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6954         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6956 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6958         * libio/fileops.c: Add missing sys/mman.h
6959         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6961 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6963         * manual/math.texi (Errors in Math Functions): Clarify goals
6964         regarding inexact and underflow exceptions.
6966 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6968         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6969         * sysdeps/mips/memset.S: Ditto.
6971 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6973         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6975 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6977         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6978         (__v1longjmp): Remove versioned symbol.
6979         (__v1siglongjmp): Remove alias and versioned symbol.
6980         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6981         (__v2siglongjmp): Likewise.
6983 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6985         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6987 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6989         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6991 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6993         [BZ #17987]
6994         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6995         zero result does not depend on the sign resulting from
6996         subtraction.
6997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6998         Likewise.
6999         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7000         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7001         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7002         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7003         * math/libm-test.inc (remquo_test_data): Add more tests.
7005 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7007         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7008         Problem reported by J William Piggott.
7010 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7012         [BZ #17978]
7013         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7014         products 4 * y and 2 * y where those would overflow.
7015         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7016         Likewise.
7017         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7018         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7019         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7020         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7021         * math/libm-test.inc (remquo_test_data): Add more tests.
7023         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7025         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7026         [defined _COMPILING_NEWLIB].
7027         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7028         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7030         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7031         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7033 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7035         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7036         acquired.
7038 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7040         [BZ #17792]
7041         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7042         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7043         HOST_STACK_END_ADDR): Likewise.
7045 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7047         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7048         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7049         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7051 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7053         * sysdeps/generic/c++-types.data: New file.
7054         * sysdeps/generic/ld.abilist: New file.
7055         * sysdeps/generic/libBrokenLocale.abilist: New file.
7056         * sysdeps/generic/libanl.abilist: New file.
7057         * sysdeps/generic/libc.abilist: New file.
7058         * sysdeps/generic/libcrypt.abilist: New file.
7059         * sysdeps/generic/libdl.abilist: New file.
7060         * sysdeps/generic/libm.abilist: New file.
7061         * sysdeps/generic/libpthread.abilist: New file.
7062         * sysdeps/generic/libresolv.abilist: New file.
7063         * sysdeps/generic/librt.abilist: New file.
7065 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7067         [BZ #17569]
7068         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7069         Compute absolute value of x as modified by fmod, not original
7070         value of x.
7071         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7072         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7073         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7074         RUN_TEST_ffI_f1_mod8.
7075         (remquo_test_data): Add more tests.
7077 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7079         * sysdeps/init_array/pt-crti.S: New file.
7081 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7083         [BZ #17967]
7084         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7085         __builtin_fmaf instead of relying on contraction of a * b + c.
7087 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7089         [BZ #17969]
7090         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7091         node.
7093 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #17964]
7096         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7097         __builtin_fma instead of relying on contraction of a * b + c.
7099 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7101         * Makeconfig (ASFLAGS): Add -Werror=undef.
7102         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7103         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7104         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7106         * Makeconfig (after-link): New variable.
7107         (+link-pie, +link-pie-tests): Use it.
7108         (+link-static, +link-static-tests): Likewise.
7109         (+link, +link-tests): Likewise.
7110         * Makerules (build-module, build-module-asneeded): Likewise.
7111         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7112         Likewise.
7113         * elf/Makefile ($(objpfx)ld.so): Likewise.
7115 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7117         [BZ #17965]
7118         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7119         both struct timeval and struct timespec.
7121 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #16560]
7124         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7125         and redefine.
7126         (__ieee754_exp2l): Do not multiply small fractional parts by
7127         M_LN2l.
7128         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7129         small argument.
7130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7131         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7132         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7133         * math/auto-libm-test-in: Add more tests of exp2.
7134         * math/auto-libm-test-out: Regenerated.
7136 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7138         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7139         unaligned path.
7141 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7143         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7144         little endian.
7146 2015-02-12  Andreas Schwab  <schwab@suse.de>
7148         [BZ #15790]
7149         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7150         Filter out elision flags from value returned in kind.
7151         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7152         * nptl/tst-pthread-mutexattr.c: New file.
7154 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7156         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7157         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7158         into gnu-gnu, and update comment to refer to abi-tags.
7160 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7162         [BZ #15467]
7163         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7164         (__sincos): Set errno to EDOM for infinite argument.
7165         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7166         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7167         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7168         (__sincosl): Set errno to EDOM for infinite argument.
7169         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7170         (__sincosl): Set errno to EDOM for infinite argument.
7171         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7172         (__sincosl): Set errno to EDOM for infinite argument.
7173         * math/libm-test.inc (sincos_test_data): Test errno setting.
7175 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7177         * string/strxfrm_l.c: Remove #define STRCMP.
7178         * string/strcoll_l.c: Remove #define STRLEN.
7179         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7180         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7182 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7184         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7185         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7186         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7187         * sysdeps/mips/mips64/Makefile: ... here.
7188         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7189         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7190         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7191         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7192         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7193         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7194         * sysdeps/mips/mips64/n64/Implies: Likewise.
7196 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7198         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7199         <sys/time.h>, <string.h>, and <errno.h>.
7200         (dest_offset, dest_address, value, zero): Remove unused variables.
7201         (ldouble): Remove typedef.
7202         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7203         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7204         1).  Fix code style.
7205         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7206         (check): Function removed.
7207         (CHECK): New macro.
7208         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7209         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7210         Don't call set_sigaction_FP and remove_sigaction_FP here.
7211         (ldouble_test): Just use 'long double' as macro argument, no need for
7212         the 'ldouble' typedef.
7213         (do_test): Set up SIGFPE handler at start, using plain signal rather
7214         than sigaction.  Fix code style.
7216 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7218         [BZ #17949]
7219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7220         jump label.
7222 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7224         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7225         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7227         * sysdeps/powerpc/configure.ac: Remove file.
7228         * sysdeps/powerpc/configure: Likewise.
7230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7231         [sysdep_routines]: Remove wordcopy-power6 object.
7232         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7233         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7234         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7235         (__memmove_ppc32): Likewise.
7236         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7237         file.
7238         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7239         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7240         Remove preprocessor.
7242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7243         [sysdep_routines]: Remove wide chars objects.
7244         [wcsmbs]: New rule for wide char objects.
7246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7247         Remove wordcopy-power6 obejct.
7248         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7249         Use local call for wordcopy and memcpy symbols.
7250         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7252         implementation for loader.
7253         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7256         Remove wordcopy-power7 object.
7257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7259         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7260         (_wordcopy_fwd_dest_aligned): Likewise.
7261         (_wordcopy_bwd_aligned): Likewise.
7262         (_wordcopy_bwd_dest_aligned): Likewise.
7264         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7265         Rewrite to call __memmove_ppc instead of include default
7266         implementation.
7268         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7269         Remove wide chars objects.
7270         [wcsmbs]: New rule for wide char objects.
7272 2015-02-09  Andreas Schwab  <schwab@suse.de>
7274         [BZ #17912]
7275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7276         in terms of __O_DIRECTORY.
7278 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7280         * time/getdate.c: Include <stdbool.h>.
7281         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7282         call PTR_MANGLE.
7283         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7284         PTR_DEMANGLE.
7286 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7288         Add ersatz _Static_assert on older C hosts
7289         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7290         pre-C11 C platform that is not known to support _Static_assert.
7292 2015-02-07  Richard Braun  <rbraun@sceen.net>
7294         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7295         sigstate.
7296         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7298 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7300         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7301         priority against unexistent AIO_PRIO_DELTA_MAX.
7302         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7303         instead of int.
7304         * misc/fchflags.c (fchflags): Likewise.
7305         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7306         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7307         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7308         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7309         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7310         Declare macros.
7311         [__USE_MISC] (chflags, fchflags): Declare functions.
7312         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7313         EINVAL when nfds is greater than FD_SETSIZE.
7314         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7315         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7316         45.
7317         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7318         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7319         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7320         MACH_RCV_TIMED_OUT.
7321         * hurd/hurd/signal.h (_hurd_self_sigstate,
7322         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7323         Explicit casts from void *.
7324         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7325         * abi-tags: Rename gnu-gnu os into gnu.
7327         [BZ #4719]
7328         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7329         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7330         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7331         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7332         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7333         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7335         [BZ #17944]
7336         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7337         duplicates ADDR->sun_path with sockaddr LEN limitation.
7338         * sysdeps/mach/hurd/connect.c: Include <string.h>
7339         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7340         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7341         * sysdeps/mach/hurd/sendto.c: Likewise.
7342         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7343         implementing it by hand.
7345 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7347         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7348         Use sfi_breg on ldr.
7349         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7350         Likewise.
7352         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7353         it's defined.
7354         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7355         Test SIGSETXID only if it's defined.
7357         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7359         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7360         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7362         * nptl/tst-align2.c: Moved ...
7363         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7364         * nptl/Makefile (tests): Remove tst-align2.
7365         * sysdeps/unix/sysv/linux/Makefile
7366         [$(subdir) = nptl] (tests): Add tst-align-clone.
7367         * nptl/tst-getpid1.c: Moved ...
7368         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7369         * nptl/tst-getpid2.c: Moved ...
7370         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7371         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7372         * sysdeps/unix/sysv/linux/Makefile
7373         [$(subdir) = nptl] (tests): ... here.
7374         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7375         * sysdeps/unix/sysv/linux/Makefile
7376         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7378         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7379         Drop trailing \n from perror argument.  Use return rather than exit.
7381         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7382         on [SA_SIGINFO].
7383         * nptl/tst-cancel21.c (do_test): Likewise.
7384         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7385         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7386         [!SA_SIGINFO]: Make it a stub test.
7388         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7389         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7391         * posix/tst-getlogin.c: Move to ...
7392         * login/tst-getlogin.c: ... here.
7393         * posix/Makefile (tests): Move tst-getlogin to ...
7394         * login/Makefile (tests): ... here.
7396         * libio/tst-atime.c (do_test): Move local variables SV and E
7397         inside [ST_NOATIME] conditional.
7399         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7401         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7403         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7404         (wait_code): New function replaces macro.
7405         Call nanosleep rather than syscall.
7407         * nptl/pt-system.c: Rewritten.  Put everything under
7408         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7409         Use IFUNC to redirect when possible.
7411         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7412         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7413         Use IFUNC to redirect when possible.
7415         * nptl/pt-fork.c: Rewritten.  Put everything under
7416         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7417         Use IFUNC to redirect when possible.
7418         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7420         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7421         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7422         unconditionally nowadays.  This included the only reference to
7423         __vdso_clock_gettime that appears outside libc proper.
7424         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7425         Remove version set (containing only __vdso_clock_gettime).
7426         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7427         Add attribute_hidden.
7428         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7429         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7430         libc_hidden_data_def.
7431         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7432         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7434         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7435         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7436         setrpcent, and getrpcport to ...
7437         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7438         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7439         getrpcbynumber_r, and getrpcent_r to ...
7440         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7441         * inet/getrpcbyname.c: Moved ...
7442         * sunrpc/getrpcbyname.c: ... here.
7443         * inet/getrpcbyname_r.c: Moved ...
7444         * sunrpc/getrpcbyname_r.c: ... here.
7445         * inet/getrpcbynumber.c: Moved ...
7446         * sunrpc/getrpcbynumber.c: ... here.
7447         * inet/getrpcbynumber_r.c: Moved ...
7448         * sunrpc/getrpcbynumber_r.c: ... here.
7449         * inet/getrpcent.c: Moved ...
7450         * sunrpc/getrpcent.c: ... here.
7451         * inet/getrpcent_r.c: Moved ...
7452         * sunrpc/getrpcent_r.c: ... here.
7453         * inet/Makefile (routines): Move those to ...
7454         * sunrpc/Makefile (routines): ... here.
7455         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7456         the $(subdirs) list.
7457         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7458         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7459         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7460         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7462         * elf/Makefile (routines): Include $(all-dl-routines), not just
7463         $(dl-routines).
7464         (rtld-routines): Likewise.  Use = rather than :=.
7465         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7466         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7467         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7468         * sysdeps/arm/Makefile: Likewise.
7469         * sysdeps/i386/Makefile: Likewise.
7470         * sysdeps/x86_64/Makefile: Likewise.
7471         * sysdeps/hppa/Makefile [$(subdir) = elf]
7472         (sysdep_routines, sysdep-rtld-routines): Don't add
7473         $(sysdep-dl-routines) to these.
7474         * sysdeps/ia64/Makefile: Likewise.
7475         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7476         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7477         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7478         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7479         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7480         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7481         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7482         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7483         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7484         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7485         these; sysdep-dl-routines alone is enough.
7487 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7489         [BZ #17932]
7490         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7491         where multiplication results in zero and third argument is finite
7492         and nonzero.
7493         * math/auto-libm-test-in: Add more tests of fma.
7494         * math/auto-libm-test-out: Regenerated.
7496         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7497         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7498         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7499         (_FP_CMP_EQ): Likewise.
7500         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7502         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7503         extra argument CHECK_NAN.  Redefine as wrapper around
7504         _FP_EXTEND_CNAN.
7506 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7508         * version.h (RELEASE): Set to "stable".
7509         (VERSION): Set to "2.21"
7510         * include/features.h (__GLIBC_MINOR__): Set to 21.
7512         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7514 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7515             Paul Eggert  <eggert@cs.ucla.edu>
7517         [BZ #16618]
7518         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7519         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7520         size in bytes. Store needed elements in wpmax. Use needed size
7521         in bytes for extend_alloca.
7523 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7525         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7526         binutls 2.25, and texinfo 5.2.
7527         * INSTALL: Regenerate.
7528         * sysdeps/nios2/configure: Regenerate.
7529         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7530         * manual/contrib.texi: Update.
7531         * po/be.po: Update.
7532         * po/bg.po: Update.
7533         * po/ca.po: Update.
7534         * po/cs.po: Update.
7535         * po/da.po: Update.
7536         * po/de.po: Update.
7537         * po/el.po: Update.
7538         * po/eo.po: Update.
7539         * po/es.po: Update.
7540         * po/fi.po: Update.
7541         * po/fr.po: Update.
7542         * po/gl.po: Update.
7543         * po/hr.po: Update.
7544         * po/hu.po: Update.
7545         * po/ia.po: Update.
7546         * po/id.po: Update.
7547         * po/it.po: Update.
7548         * po/ja.po: Update.
7549         * po/ko.po: Update.
7550         * po/lt.po: Update.
7551         * po/nb.po: Update.
7552         * po/nl.po: Update.
7553         * po/pl.po: Update.
7554         * po/pt_BR.po: Update.
7555         * po/ru.po: Update.
7556         * po/rw.po: Update.
7557         * po/sk.po: Update.
7558         * po/sl.po: Update.
7559         * po/sv.po: Update.
7560         * po/tr.po: Update.
7561         * po/uk.po: Update.
7562         * po/vi.po: Update.
7563         * po/zh_CN.po: Update.
7564         * po/zh_TW.po: Update.
7566         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7567         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7568         * sysdeps/hppa/dl-irel.h: Remove #warning.
7569         * sysdeps/hppa/entry.h: Provide prototype for
7570         __canonicalize_funcptr_for_compare and cast argument.
7571         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7572         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7573         * sysdeps/hppa/sotruss-lib.c: New file.
7574         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7575         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7576         (atomic_compare_and_exchange_bool_acq): Likewise.
7577         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7578         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7580         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7581         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7582         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7584 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7586         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7587         called function in non-PIC case.
7589 2015-01-31  David S. Miller  <davem@davemloft.net>
7591         * sysdeps/sparc/sparc32/bits/atomic.h
7592         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7593         unlock not after it.
7594         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7595         volatile register usage warnings from the compiler.
7597         * sysdeps/sparc/nptl/sem_init.c: Delete.
7598         * sysdeps/sparc/nptl/sem_post.c: Delete.
7599         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7600         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7601         * sysdeps/sparc/sparc32/sem_init.c: New file.
7602         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7603         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7604         padding explicitly initialized.
7605         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7606         padding for in-semaphore spinlock.
7607         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7608         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7609         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7610         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7611         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7612         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7613         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7614         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7615         version.
7616         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7617         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7619 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7621         [BZ #17801]
7622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7623         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7624         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7625         New.
7626         (index_AVX_Fast_Unaligned_Load): Likewise.
7627         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7628         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7629         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7630         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7631         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7632         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7633         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7634         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7635         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7637 2015-01-29  Andreas Schwab  <schwab@suse.de>
7639         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7641 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7643         [BZ #17892]
7644         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7646 2015-01-28  Martin Sebor  <msebor@redhat.com>
7648         * math/README.libm-test: Clarify. Add "How to read the test output."
7650 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7652         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7653         Define to 0.
7655 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7657         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7658         (__HAVE_64B_ATOMICS): Define to 0.
7660 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7662         [BZ #17885]
7663         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7664         value to set as new flag.
7666         [BZ #16576]
7667         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7668         and use _ARCH_PPCSQ instead.
7669         (__ieee754_sqrt): Likewise.
7670         (__ieee754_sqrtf): Likewise.
7671         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7672         _ARCH_PPCSQ is defined.
7673         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7674         fsqrt instruction.
7675         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7676         _ARCH_PPCSQ is defined.
7677         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7678         fsqrts instruction.
7679         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7681 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7683         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7684         bug (GCC BZ #64739).
7686 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7688         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7689         Mark _retval as used.
7690         (lll_futex_wake_unlock): Likewise.
7691         (lll_futex_timed_wait_requeue_pi): Likewise.
7693         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7694         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7695         register variables.
7697         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7698         libm_hidden_def.
7700         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7701         (__bswap_64): Mark as __always_inline.
7703 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7705         [BZ #15378]
7706         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7707         when none of the search directories exist.
7709 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7711         [BZ #17869]
7712         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7713         power8 in .machine directive.
7715         [BZ #17868]
7716         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7717         set dependency from opd value.
7719 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7722         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7723         architecture.
7725 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7727         [BZ #17870]
7728         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7729         with uint64_t.
7730         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7731         (uint64_t) 1.
7732         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7733         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7734         Replace 1UL with (uint64_t) 1.
7735         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7736         int with uint64_t.
7738 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7740         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7741         (if_freenameindex): Likewise.
7743         * resource/getrlimit64.c: Add missing libc_hidden_def.
7745 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7747         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7748         __label__.
7749         (_FP_FMA): Likewise.
7750         (_FP_TO_INT_ROUND): Likewise.
7751         (_FP_FROM_INT): Likewise.
7753 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7755         [BZ #16418]
7756         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7757         Make code racy and cancel safe.
7759 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7761         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7762         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7763         attribution.
7765         * pwd/tst-getpw.c: Rewrite.
7767         [BZ #17702]
7768         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7769         (modules-names): Add moddummy1 and moddummy2.
7770         ($(objpfx)tst-rec-dlopen): Define.
7771         * dlfcn/moddummy1.c: New file.
7772         * dlfcn/moddummy2.c: New file.
7773         * dlfcn/tst-rec-dlopen.c: New file.
7774         * elf/dl-cache.c (_dl_load_cache_lookup):
7775         Return char*. Copy result with alloca/strcpy/strdup.
7776         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7777         returns char*. Free cached. If not saving realname
7778         free cached.
7779         * elf/dl-open.c (dl_open_worker): Do not assert that
7780         _r_debug->r_state is RT_CONSISTENT.
7781         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7782         returns char*.
7784 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7785             Carlos O'Donell  <carlos@redhat.com>
7787         [BZ #12674]
7788         * nptl/sem_waitcommon.c: New file.
7789         * nptl/sem_wait.c: Include sem_waitcommon.c.
7790         (__sem_wait_cleanup, do_futex_wait): Remove.
7791         (__new_sem_wait): Adapt.
7792         (__new_sem_trywait): New function.
7793         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7794         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7795         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7796         (sem_timedwait): Adapt.
7797         * nptl/sem_post.c (__new_sem_post): Adapt.
7798         (futex_wake): New function.
7799         (__old_sem_post): Add release MO fence.
7800         * nptl/sem_open.c (sem_open): Adapt.
7801         * nptl/sem_init.c (__new_sem_init): Adapt.
7802         (futex_private_if_supported): New function.
7803         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7804         (__old_sem_getvalue): Add using previous code.
7805         * sysdeps/nptl/internaltypes.h: Adapt.
7806         * nptl/tst-sem13.c (do_test): Adapt.
7807         * nptl/tst-sem11.c (main): Adapt.
7808         * nptl/sem_trywait.c: Remove.
7809         * nptl/DESIGN-sem.txt: Remove.
7810         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7811         (gen-as-const-headers): Remove structsem.sym.
7812         * nptl/structsem.sym: Remove.
7813         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7814         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7815         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7816         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7817         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7818         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7819         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7820         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7821         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7822         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7823         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7824         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7825         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7826         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7827         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7828         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7829         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7830         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7831         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7832         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7833         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7834         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7836 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7838         * INSTALL: Regenerated.
7840         * po/libc.pot: Regenerated.
7842 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7843             Sandra Loosemore  <sandra@codesourcery.com>
7844             Andrew Jenner  <andrew@codesourcery.com>
7845             Joseph Myers  <joseph@codesourcery.com>
7846             Nathan Sidwell  <nathan@codesourcery.com>
7848         * NEWS: Mention new Nios II port.
7849         * sysdeps/nios2/Implies: New file.
7850         * sysdeps/nios2/Makefile: New file.
7851         * sysdeps/nios2/Subdirs: New file.
7852         * sysdeps/nios2/Versions: New file.
7853         * sysdeps/nios2/__longjmp.S: New file.
7854         * sysdeps/nios2/abort-instr.h: New file.
7855         * sysdeps/nios2/backtrace.c: New file.
7856         * sysdeps/nios2/bits/endian.h: New file.
7857         * sysdeps/nios2/bits/fenv.h: New file.
7858         * sysdeps/nios2/bits/link.h: New file.
7859         * sysdeps/nios2/bits/setjmp.h: New file.
7860         * sysdeps/nios2/bsd-_setjmp.S: New file.
7861         * sysdeps/nios2/bsd-setjmp.S: New file.
7862         * sysdeps/nios2/configure: New generated file.
7863         * sysdeps/nios2/configure.ac: New file.
7864         * sysdeps/nios2/crti.S: New file.
7865         * sysdeps/nios2/crtn.S: New file.
7866         * sysdeps/nios2/dl-init.c: New file.
7867         * sysdeps/nios2/dl-machine.h: New file.
7868         * sysdeps/nios2/dl-sysdep.h: New file.
7869         * sysdeps/nios2/dl-tls.h: New file.
7870         * sysdeps/nios2/dl-trampoline.S: New file.
7871         * sysdeps/nios2/gccframe.h: New file.
7872         * sysdeps/nios2/gmp-mparam.h: New file.
7873         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7874         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7875         * sysdeps/nios2/ldsodefs.h: New file.
7876         * sysdeps/nios2/libc-tls.c: New file.
7877         * sysdeps/nios2/libm-test-ulps: New file.
7878         * sysdeps/nios2/machine-gmon.h: New file.
7879         * sysdeps/nios2/math-tests.h: New file.
7880         * sysdeps/nios2/math_private.h: New file.
7881         * sysdeps/nios2/memusage.h: New file.
7882         * sysdeps/nios2/nptl/Makefile: New file.
7883         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7884         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7885         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7886         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7887         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7888         * sysdeps/nios2/nptl/tls.h: New file.
7889         * sysdeps/nios2/preconfigure: New file.
7890         * sysdeps/nios2/s_fma.c: New file.
7891         * sysdeps/nios2/s_fmaf.c: New file.
7892         * sysdeps/nios2/setjmp.S: New file.
7893         * sysdeps/nios2/sfp-machine.h: New file.
7894         * sysdeps/nios2/sotruss-lib.c: New file.
7895         * sysdeps/nios2/stackguard-macros.h: New file.
7896         * sysdeps/nios2/stackinfo.h: New file.
7897         * sysdeps/nios2/start.S: New file.
7898         * sysdeps/nios2/sysdep.h: New file.
7899         * sysdeps/nios2/tls-macros.h: New file.
7900         * sysdeps/nios2/tst-audit.h: New file.
7901         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7902         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7903         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7904         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7905         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7906         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7907         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7908         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7909         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7910         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7911         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7912         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7913         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7914         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7915         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7916         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7917         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7918         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7919         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7920         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7921         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7922         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7923         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7924         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7925         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7926         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7927         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7928         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7929         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7930         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7931         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7932         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7933         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7934         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7935         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7936         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7937         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7938         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7939         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7940         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7941         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7942         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7943         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7944         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7946 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7948         [BZ #17844]
7949         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7950         (getutent): Use weak_alias in non SHARED case
7951         and default_symbol_version in SHARED case.
7952         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7953         (getutent_r, pututline): Likewise.
7954         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7955         (getutid): Likewise.
7956         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7957         (getutid_r): Likewise.
7958         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7959         (getutline): Likewise.
7960         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7961         (getutline_r): Likewise.
7962         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7963         (updwtmp): Likewise.
7965 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7967         [BZ #17848]
7968         * sysdeps/s390/s390-32/memcmp.S
7969         (memcmp_g5): Rename to __memcmp_g5.
7970         * sysdeps/s390/s390-32/memcpy.S
7971         (memcpy_g5): Rename to __memcpy_g5.
7972         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7973         (memcpy_mvcle) Rename to __memcpy_mvcle.
7974         * sysdeps/s390/s390-32/memset.S
7975         (memset_g5): Rename to __memset_g5.
7976         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7977         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7978         and use prefixed functions.
7979         * sysdeps/s390/s390-32/multiarch/memcmp.S
7980         (memcmp_z196): Rename to __memcmp_z196.
7981         (memcmp_z10): Rename to __memcmp_z10.
7982         (memcmp): Set alias to __memcmp_g5.
7983         (bcmp): Set alias to __memcmp_g5.
7984         * sysdeps/s390/s390-32/multiarch/memcpy.S
7985         (memcpy_z196): Rename to __memcpy_z196.
7986         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7987         (memcpy_z10): Rename to __memcpy_z10.
7988         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7989         (memcpy): Set alias to __memcpy_g5.
7990         * sysdeps/s390/s390-32/multiarch/memset.S
7991         (memset_z196): Rename to __memset_z196.
7992         Jump to __memset_mvcle instead of memset_mvcle.
7993         (memset_z10): Rename to __memset_z10.
7994         Jump to __memset_mvcle instead of memset_mvcle.
7995         (memset_mvcle) Rename to __memset_mvcle.
7996         (memset): Set alias to __memset_g5.
7997         * sysdeps/s390/s390-64/memcmp.S
7998         (memcmp_z900): Rename to __memcmp_z900.
7999         * sysdeps/s390/s390-64/memcpy.S
8000         (memcpy_z900): Rename to __memcpy_z900.
8001         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8002         (memcpy_mvcle) Rename to __memcpy_mvcle.
8003         * sysdeps/s390/s390-64/memset.S
8004         (memset_z900): Rename to __memset_z900.
8005         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8006         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8007         and use prefixed functions.
8008         * sysdeps/s390/s390-64/multiarch/memcmp.S
8009         (memcmp_z196): Rename to __memcmp_z196.
8010         (memcmp_z10): Rename to __memcmp_z10.
8011         (memcmp): Set alias to __memcmp_z900.
8012         (bcmp): Set alias to __memcmp_z900.
8013         * sysdeps/s390/s390-64/multiarch/memcpy.S
8014         (memcpy_z196): Rename to __memcpy_z196.
8015         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8016         (memcpy_z10): Rename to __memcpy_z10.
8017         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8018         (memcpy): Set alias to __memcpy_z900.
8019         * sysdeps/s390/s390-64/multiarch/memset.S
8020         (memset_z196): Rename to __memset_z196.
8021         Jump to __memset_mvcle instead of memset_mvcle.
8022         (memset_z10): Rename to __memset_z10.
8023         Jump to __memset_mvcle instead of memset_mvcle.
8024         (memset_mvcle) Rename to __memset_mvcle.
8025         (memset): Set alias to __memset_z900.
8027 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8029         [BZ #17748]
8030         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8031         __fesetenv instead of fesetenv.
8033 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8035         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8036         macro.
8038 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8040         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8041         regression on LE.
8043         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8044         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8046         strncmp-power8 object.
8047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8048         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8049         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8050         * NEWS: Update.
8052 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8053             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8056         trailing byte check.
8058 2015-01-13  David S. Miller  <davem@davemloft.net>
8060         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8062 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8064         * login/logout.c (logout): Use memset rather than bzero.
8065         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8066         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8067         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8068         (_gethtbyaddr): Likewise.
8069         * locale/programs/simple-hash.c (bcopy): Macro removed.
8071 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8074         Add strcmp-power8 object.
8075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8076         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8077         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8078         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8079         __strcmp_power8 implementation.
8080         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8081         * NEWS: Update.
8083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8084         Add strncpy-power8 and stpncpy-power8 objects.
8085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8086         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8087         implementations.
8088         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8089         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8090         __stpncpy_power8 implementation.
8091         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8092         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8093         __strncpy_power8 implementation.
8094         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8095         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8096         * NEWS: Update.
8098         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8099         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8100         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8102         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8103         strncat-power8 object.
8104         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8105         __strcat_power8 implementation.
8106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8107         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8108         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8109         optimized strcat for power8.
8111         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8112         strcpy-power8 and stpcpy-power8 objects.
8113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8114         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8115         implementations.
8116         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8117         multiarch stpcpy implementation for POWER8.
8118         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8119         multiarch strcpy implementation for POWER8.
8120         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8121         __strcpy_power8 function.
8122         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8123         stpcpy for POWER8.
8124         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8125         strcpy for POWER8.
8126         * NEWS: Update.
8128 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8130         [BZ #16009]
8131         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8132         weights and rules. Use do_xfrm_cached if data fits in cache,
8133         do_xfrm otherwise.  Moved former main loop to...
8134         * (do_xfrm_cached): New function.
8135         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8136         find_idx, find_position and stack_push.
8137         * (find_idx): New function.
8138         * (find_position): Likewise.
8139         * localedata/sort-test.sh: Added test run for do_xfrm.
8140         * localedata/xfrm-test.c (main): Added command line option
8141         -nocache to run the test with strings that are too large for
8142         the STRXFRM cache.
8144 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8146         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8147         variable to lll_futex_wake call, not the value itself.
8149 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #17803]
8152         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8153         twom64.  Adjust value to 0x1p-64L.
8154         (__scalblnl): Only return standard underflowing result for K <=
8155         -64 not K <= -63; adjust exponent for underflowing result by 64
8156         not 63.
8157         * math/libm-test.inc (scalbn_test_data): Add more tests.
8158         (scalbln_test_data): Likewise.
8160         [BZ #17834]
8161         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8162         0x1p63L.
8163         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8164         not HX.
8165         * math/libm-test.inc (scalbn_test_data): Add more tests.
8166         (scalbln_test_data): Likewise.
8168 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8169             Stefani Seibold  <stefani@seibold.net>
8171         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8172         (sysdep_routines): Add dl-vdso here, ...
8173         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8174         (sysdep_routines): ... not here.
8175         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8176         fallback when vDSO is not presented.
8177         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8178         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8179         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8180         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8181         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8182         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8183         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8184         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8185         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8186         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8187         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8188         fallback configurable symbol when vDSO is not available.
8189         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8190         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8191         be able to redefine fallback symbol when vDSO is not available.
8192         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8193         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8195 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8197         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8198         (TLS_INIT_TP): Add tm_capable initialization.
8199         (TLS_DEFINE_INIT_TP): Likewise.
8200         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8201         TCB.
8202         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8203         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8204         calculation.
8205         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8206         transactoion is lock elision is built and TCB tm_capable is set.
8207         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8209         (INTERNAL_SYSCALL_NCS): Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8211         (INTERNAL_SYSCALL_NCS): Likewise.
8212         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8214         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8215         for powerpc.
8216         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8217         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8218         and remove it for 32 bits case.
8219         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8221         initialization.
8222         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8223         Disable lock elision with rdlocks if elision is not available.
8225         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8226         (sysdep_routines): Add lock elision objects.
8227         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8228         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8229         [pthread_mutex_t] (__elision): Add field.
8230         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8231         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8232         elision definitions for powerpc.
8233         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8234         implementation of lock elision for powerpc.
8235         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8236         implementation of timed lock elision for powerpc.
8237         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8238         implementation of trylock with lock elision for powerpc.
8239         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8240         implementaion of unlock for lock elision for powerpc.
8241         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8242         automatic enable lock elision for mutexes.
8243         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8244         transaction execution definitions for powerpc.
8245         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8246         definitions.
8247         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8248         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8249         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8250         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8251         * NEWS: Update.
8253 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8255         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8256         for #include of <shm-directory.h>.
8258 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8260         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8261         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8263 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8265         [BZ #17791]
8266         * NEWS: Mention bug fix.
8267         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8268         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8269         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8271 2015-01-09  Torvald Riegel <triegel@redhat.com>
8273         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8275 2015-01-09  Torvald Riegel <triegel@redhat.com>
8277         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8279 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8281         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8282         pointer and cast to uintptr_t.
8284 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8286         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8287         removed.
8288         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8290 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8292         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8293         of 0.
8295 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8297         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8298         <nptl/pthreadP.h> instead.
8299         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8301         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8302         already defined.
8303         [__SIGRTMIN] (init): Function removed.
8304         [__SIGRTMIN] (initialized): Variable removed.
8305         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8306         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8307         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8308         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8309         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8310         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8311         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8312         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8313         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8314         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8315         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8316         * sysdeps/nptl/allocrtsig.c: New file.
8317         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8318         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8319         * sysdeps/generic/testrtsig.h: File removed.
8321         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8322         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8324         * nptl/nptl-init.c (pthread_functions): Conditionalize
8325         .ptr__nptl_setxid initialization on [SIGSETXID].
8327         * sysdeps/nptl/sys/procfs.h: New file.
8328         * nptl_db/Makefile (headers): Add it.
8329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8331         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8332         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8333         * nptl/pthread_attr_setaffinity.c: Include it.
8334         * nptl/pthread_setattr_default_np.c: Likewise.
8335         * nptl/check-cpuset.h: New file.
8337 2015-01-08  Richard Henderson  <rth@redhat.com>
8339         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8340         (CFLAGS-tst-execstack-prog.c): Likewise.
8341         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8343 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8344             Sandra Loosemore  <sandra@codesourcery.com>
8345             Andrew Jenner  <andrew@codesourcery.com>
8346             Joseph Myers  <joseph@codesourcery.com>
8347             Nathan Sidwell  <nathan@codesourcery.com>
8349         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8350         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8351         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8352         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8353         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8354         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8355         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8356         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8357         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8358         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8359         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8360         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8361         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8362         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8363         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8364         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8365         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8367 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8369         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8370         timespec struct member in syscall macro.
8371         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8372         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8373         first timeval struct member in syscall macro.
8374         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8376 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8378         [BZ #17748]
8379         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8380         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8381         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8382         __feupdateenv and define as weak alias of __feupdateenv.  Use
8383         libm_hidden_weak.
8384         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8385         libm_hidden_def.
8386         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8387         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8388         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8389         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8390         libm_hidden_def.
8391         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8392         __feupdateenv and define as weak alias of __feupdateenv.  Use
8393         libm_hidden_weak.
8394         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8395         libm_hidden_def.
8396         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8397         __feupdateenv and define as weak alias of __feupdateenv.  Use
8398         libm_hidden_weak.
8399         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8400         libm_hidden_def.
8401         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8402         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8403         (__feupdateenv): Likewise.
8404         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8405         __feupdateenv and define as weak alias of __feupdateenv.  Use
8406         libm_hidden_weak.
8407         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8408         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8409         libm_hidden_def.
8410         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8411         function.
8412         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8413         libm_hidden_def.
8414         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8415         __feupdateenv instead of feupdateenv.
8416         (default_libc_feupdateenv_test): Likewise.
8417         (libc_feresetround_ctx): Likewise.
8419 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8421         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8422         prototype.
8424 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8426         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8427         COLL_SYM in a couple of places to avoid uninitialized variable
8428         wanings on tilegx gcc 4.8.2.
8430 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8432         * sysdeps/aarch64/strcpy.S: New file.
8433         * sysdeps/aarch64/stpcpy.S: New file.
8434         * NEWS: Updated.
8436 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8438         * sysdeps/aarch64/strrchr.S: New file.
8439         * NEWS: Updated.
8441 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8443         [BZ #17658]
8444         * stdlib/setenv.c: Fix memory leak when setting large,
8445         duplicate string.
8447 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8449         [BZ #17273]
8450         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8451         and tabs from buffer before parsing fstab entry.
8452         * misc/tst-mntent.c (main): Add test for mount entry with
8453         trailing spaces and tabs.
8455 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8457         [BZ #17748]
8458         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8459         * math/fesetround.c (fesetround): Rename to __fesetround and
8460         define as weak alias of __fesetround.  Use libm_hidden_weak.
8461         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8462         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8463         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8464         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8465         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8466         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8467         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8468         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8469         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8470         __fesetround_inline.
8471         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8472         __fesetround_inline instead of __fesetround.
8473         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8474         __fesetround and define as weak alias of __fesetround.  Use
8475         libm_hidden_weak.  Call __fesetround_inline instead of
8476         __fesetround.
8477         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8478         __fesetround and define as weak alias of __fesetround.  Use
8479         libm_hidden_weak.
8480         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8481         Likewise.
8482         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8483         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8484         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8485         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8486         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8487         __fesetround and define as weak alias of __fesetround.  Use
8488         libm_hidden_weak.
8489         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8490         __fesetround instead of fesetround.
8491         (default_libc_feholdexcept_setround): Likewise.
8492         (libc_feholdsetround_ctx): Likewise.
8493         (libc_feholdsetround_noex_ctx): Likewise.
8495         [BZ #17748]
8496         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8497         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8498         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8499         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8500         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8501         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8502         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8503         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8504         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8505         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8506         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8507         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8508         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8509         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8511         libm_hidden_def.
8512         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8513         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8514         Likewise.
8515         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8516         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8517         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8518         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8519         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8520         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8521         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8522         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8523         __fesetenv instead of fesetenv.
8524         (libc_feresetround_noex_ctx): Likewise.
8525         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8526         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8527         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8528         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8529         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8530         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8531         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8532         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8533         (__feupdateenv): Likewise.
8534         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8535         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8536         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8537         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8539 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8541         [BZ #17806]
8542         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8543         addresses have been freed.
8545 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8547         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8548         and nservall.
8550 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8552         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8553         Clean up check_pf allocation pattern. addresses
8555 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8557         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8558         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8559         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8560         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8561         * nptl/pthread_join.c (pthread_join): Likewise.
8562         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8563         * sysdeps/posix/waitid.c (__waitid): Likewise.
8564         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8565         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8566         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8567         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8571         (__libc_pread64): Likewise.
8572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8573         (__libc_pwrite): Likewise.
8574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8575         (__libc_pwrite64): Likewsie.
8576         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8577         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8578         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8579         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8580         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8581         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8582         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8584         Likewise.
8585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8586         (__libc_pread64): Likewise.
8587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8588         Likewise.
8589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8590         (__libc_pwrite64): Likewise.
8591         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8592         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8593         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8594         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8595         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8596         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8597         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8598         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8599         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8600         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8601         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8602         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8603         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8604         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8605         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8606         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8607         Likewise.
8609 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8611         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8612         (CFLAGS-test-double.c): Likewise.
8613         (CFLAGS-test-ldouble.c): Likewise.
8614         (CPPFLAGS-test-ifloat.c): Likewise.
8615         (CPPFLAGS-test-idouble.c): Likewise.
8616         (CPPFLAGS-test-ildoubl.c): Likewise.
8617         (CFLAGS-test-test-fenv.c): Remove variable.
8618         (CFLAGS-test-misc.c): Likewise.
8620 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8622         [BZ #17797]
8623         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8624         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8625         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8626         CLOCKS_PER_SEC == 1000000.
8627         * time/clocktest.c (main): Replace %ld with %jd and cast to
8628         intmax_t.
8630 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8632         * sysdeps/generic/unwind-resume.h: New file.
8633         * sysdeps/gnu/unwind-resume.c: Include it.
8634         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8635         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8636         argument list.
8637         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8638         global rather than static.
8639         (_Unwind_Resume): Update user.
8640         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8641         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8642         rather than static.  Add __attribute__ ((cold)).
8643         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8644         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8645         * sysdeps/arm/arm-unwind-resume.S: New file.
8646         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8647         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8648         * sysdeps/arm/Makefile [$(subdir) = csu]
8649         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8650         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8651         Add rt-arm-unwind-resume.
8652         [$(subdir) = nptl]
8653         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8654         Add pt-arm-unwind-resume.
8655         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8656         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8658 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #17748]
8661         * include/fenv.h (__feholdexcept): Declare.  Use
8662         libm_hidden_proto.
8663         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8664         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8665         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8666         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8667         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8668         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8669         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8670         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8671         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8672         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8673         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8674         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8675         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8676         (feholdexcept): Likewise.
8677         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8678         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8679         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8680         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8681         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8682         __feholdexcept instead of feholdexcept.
8683         (default_libc_feholdexcept_setround): Likewise.
8685 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8687         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8688         to avoid using stl/str to align destination.
8690 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8692         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8694 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8696         [BZ #17796]
8697         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8698         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8699         Define as weak alias not strong alias.
8701 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8703         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8704         bltzal with addiupc.
8705         (RTLD_START): Ditto.
8707 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8709         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8710         for __vdso_* functions in declarations.
8711         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8712         definitions.
8713         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8714         INTERNAL_VSYSCALL): Use struct return types to check for error.
8716         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8717         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8718         function with cast from llround().
8719         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8720         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8721         Define.
8723 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8725         [BZ #17793]
8726         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8727         Define as weak alias not strong alias.
8729         [BZ #17635]
8730         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8731         ...
8732         * ctype/ctype-extn.c: ... here.
8733         (__isblank_l): Move to ...
8734         * ctype/ctype-c99_l.c: ... here.  New file.
8735         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8736         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8737         Remove variable.
8738         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8739         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8740         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8741         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8742         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8744         [BZ #17777]
8745         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8746         (posix_fadvise64): Define as weak alias not strong alias.
8747         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8748         (posix_fallocate64): Likewise.
8749         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8750         Remove variable.
8751         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8752         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8753         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8754         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8755         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8757 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8759         [BZ #16191]
8760         * NEWS: Mention bug fix.
8761         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8762         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8763         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8764         (HOST_STACK_END_ADDR): Likewise.
8766 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #17748]
8769         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8770         * math/fegetround.c (fegetround): Rename to __fegetround and
8771         define as weak alias of __fegetround.  Use libm_hidden_weak.
8772         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8773         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8774         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8775         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8776         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8777         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8778         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8779         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8780         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8781         Undefine after rather than before function definition; use
8782         parentheses around function name in definition.
8783         (__fegetround): Also undefine macro after function definition.
8784         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8785         __fegetround and define as weak alias of __fegetround.  Use
8786         libm_hidden_weak.  Do not undefine as macro.
8787         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8788         Likewise.
8789         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8790         __fegetround and define as weak alias of __fegetround.  Use
8791         libm_hidden_weak.
8792         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8793         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8794         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8795         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8796         __fegetround and define as weak alias of __fegetround.  Use
8797         libm_hidden_weak.
8798         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8799         __fegetround instead of fegetround.
8801         [BZ #17782]
8802         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8803         Condition macro definition on [__USE_MISC].
8805         [BZ #17781]
8806         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8807         (struct sigaction): Change type of sa_flags field to int.
8809         [BZ #17780]
8810         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8811         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8812         __glibc_reserved0.
8814         * nptl/version.c (banner): Use single year in copyright notice.
8816         * NEWS: Update copyright dates.
8817         * catgets/gencat.c (print_version): Likewise.
8818         * csu/version.c (banner): Likewise.
8819         * debug/catchsegv.sh: Likewise.
8820         * debug/pcprofiledump.c (print_version): Likewise.
8821         * debug/xtrace.sh (do_version): Likewise.
8822         * elf/ldconfig.c (print_version): Likewise.
8823         * elf/ldd.bash.in: Likewise.
8824         * elf/pldd.c (print_version): Likewise.
8825         * elf/sotruss.sh: Likewise.
8826         * elf/sprof.c (print_version): Likewise.
8827         * iconv/iconv_prog.c (print_version): Likewise.
8828         * iconv/iconvconfig.c (print_version): Likewise.
8829         * locale/programs/locale.c (print_version): Likewise.
8830         * locale/programs/localedef.c (print_version): Likewise.
8831         * login/programs/pt_chown.c (print_version): Likewise.
8832         * malloc/memusage.sh (do_version): Likewise.
8833         * malloc/memusagestat.c (print_version): Likewise.
8834         * malloc/mtrace.pl: Likewise.
8835         * manual/libc.texinfo: Likewise.
8836         * nptl/version.c (banner): Likewise.
8837         * nscd/nscd.c (print_version): Likewise.
8838         * nss/getent.c (print_version): Likewise.
8839         * nss/makedb.c (print_version): Likewise.
8840         * posix/getconf.c (main): Likewise.
8841         * scripts/test-installation.pl: Likewise.
8842         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8844 2015-01-02  Will Newton  <will.newton@linaro.org>
8846         * sysdeps/arm/armv7/configure: Removed.
8847         * sysdeps/arm/armv7/configure.ac: Likewise.
8849 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8851         * All files with FSF copyright notices: Update copyright dates
8852         using scripts/update-copyrights.
8853         * intl/plural.c: Regenerated.
8854         * locale/programs/charmap-kw.h: Likewise.
8855         * locale/programs/locfile-kw.h: Likewise.
8857 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8859         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8861 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8863         [BZ #17748]
8864         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8865         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8866         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8867         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8868         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8869         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8870         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8871         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8872         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8873         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8874         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8875         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8876         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8877         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8878         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8879         libm_hidden_def.
8880         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8881         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8882         Likewise.
8883         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8884         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8885         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8886         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8887         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8888         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8889         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8890         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8891         __fegetenv instead of fegetenv.
8892         (libc_feholdsetround_noex_ctx): Likewise.
8894 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8896         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8897         (Elf_MIPS_ABIFlags_v0): New structure.
8898         (EF_MIPS_FP64): Define.
8899         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8900         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8901         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8902         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8903         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8904         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8905         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8906         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8907         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8908         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8909         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8910         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8911         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8912         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8913         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8914         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8915         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8916         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8917         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8918         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8919         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8920         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8921         field.
8922         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8923         EF_MIPS_FP64.
8924         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8925         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8926         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8927         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8928         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8929         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8930         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8931         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8932         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8933         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8934         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8935         record the current FP ABI extension.
8936         (mips-mode-switch): Define to show if kernel headers support mode
8937         switching.
8938         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8939         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8940         supported SYSV ABI version to 3.
8941         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8942         feature.
8944 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8945             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8947         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8948         path.
8949         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8951 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8953         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8954         __fegetround and redefine to call __fegetround.  Remove condition
8955         on [!__NO_MATH_INLINES].
8956         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8957         function.
8958         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8959         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8960         Remove macro.
8961         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8962         instead of <fenv_libc.h>.
8963         (__llrintl): Call fegetround instead of __fegetround.
8964         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8965         instead of <fenv_libc.h>.
8966         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8967         (__lrintl): Call fegetround instead of __fegetround.
8968         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8969         instead of <fenv_libc.h>.
8970         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8971         (__rintl): Call fegetround instead of __fegetround.
8973 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8975         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8976         arrays.
8978 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8980         [BZ #17775]
8981         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8982         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8983         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8985 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8987         * sysdeps/i386/tls-macros.h: Include <features.h>.
8988         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8989         (TLS_IE): Likewise.
8990         (TLS_LD): Likewise.
8991         (TLS_GD): Likewise.
8992         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8993         define for GCC >= 5.0.
8995 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8997         * math/test-fenv.c (test_single_exception, set_single_exc,
8998         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8999         feexcp_mask_test, feenable_test, fe_single_test): Add
9000         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9001         case where they are not used.
9002         * math/libm-test.inc: Likewise.
9003         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9004         unused in the absence of FP rounding/exception support.
9005         * stdio-common/tst-printf-round.c: Likewise.
9006         * stdlib/tst-strtod-round.c: Likewise.
9007         * stdlib/tst-strtod-underflow.c: Likewise.
9009 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9011         [BZ #17723]
9012         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9013         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9014         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9015         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9016         libm_hidden_weak.
9017         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9018         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9019         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9020         libm_hidden_def.
9021         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9022         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9023         libm_hidden_weak.
9024         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9025         Likewise.
9026         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9027         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9028         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9029         libm_hidden_weak.
9030         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9031         libm_hidden_def.
9032         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9033         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9034         (__feraiseexcept): Likewise.
9035         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9036         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9037         libm_hidden_weak.
9038         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9039         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9040         libm_hidden_def.
9041         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9042         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9043         Use libm_hidden_def.
9044         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9045         libm_hidden_def.
9046         (feraiseexcept): Define as weak not strong alias.  Use
9047         libm_hidden_weak.
9048         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9049         New inline function.  Factored out of ...
9050         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9051         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9052         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9053         feraiseexcept.
9054         * math/w_acos.c (__acos): Likewise.
9055         * math/w_asin.c (__asin): Likewise.
9056         * math/w_ilogb.c (__ilogb): Likewise.
9057         * math/w_j0.c (y0): Likewise.
9058         * math/w_j1.c (y1): Likewise.
9059         * math/w_jn.c (yn): Likewise.
9060         * math/w_log.c (__log): Likewise.
9061         * math/w_log10.c (__log10): Likewise.
9062         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9063         * sysdeps/aarch64/fpu/math_private.h
9064         (libc_feupdateenv_test_aarch64): Likewise.
9065         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9066         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9067         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9068         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9069         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9070         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9071         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9072         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9073         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9074         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9076 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9078         [BZ #17732]
9079         * io/test-utime.c (main): Replace %ld with %jd and cast to
9080         intmax_t.
9081         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9082         * nptl/tst-mutex5.c: Include <stdint.h>.
9083         (do_test): Replace %ld with %jd and cast to intmax_t.
9084         * posix/tst-regex.c (run_test): Likewise.
9085         (run_test_backwards): Likewise.
9086         * rt/tst-clock.c: Include <stdint.h>.
9087         (clock_test): Replace %ld with %jd and cast to intmax_t.
9088         * rt/tst-cpuclock1.c: Include <stdint.h>.
9089         (do_test): Replace %lu with %ju and cast to uintmax_t.
9090         * rt/tst-cpuclock2.c: Include <stdint.h>.
9091         (do_test): Replace %lu with %ju and cast to uintmax_t.
9092         * rt/tst-mqueue1.c: Include <stdint.h>.
9093         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9094         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9095         intmax_t.
9096         * rt/tst-mqueue4.c (do_test): Likewise.
9097         * rt/tst-timer4.c: Include <stdint.h>.
9098         (check_ts): Replace %ld with %jd and cast to intmax_t.
9099         (do_test): Likewise.
9100         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9101         and cast to intmax_t.
9102         * sysdeps/pthread/tst-timer.c (main): Likewise.
9103         * time/clocktest.c (main): Likewise.
9104         * time/tst-posixtz.c (do_test): Likewise.
9105         * timezone/tst-timezone.c (main): Likewise.
9107 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9108             H.J. Lu  <hongjiu.lu@intel.com>
9110         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9111         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9112         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9113         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9114         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9115         version if bit_Fast_Unaligned_Load is set.
9116         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9117         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9118         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9119         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9120         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9121         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9123         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9124         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9125         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9126         to 4.
9127         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9128         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9129         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9130         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9132 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9134         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9135         instead of #if to avoid a Wundef warning.
9136         * stdlib/tst-limits.c (do_test): Likewise.
9138         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9139         parallel other exception macros.
9140         (fegetenv): Convert from macro to extern inline so that it applies
9141         retroactively to inline functions already seen by the compiler.
9142         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9144         * posix/Makefile (before-compile): Use $(objpfx) for
9145         posix-conf-vars-def.h.
9147 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9149         * posix/getconf.c (main): Use size_t for type of I.
9150         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9151         NSPEC.
9153         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9154         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9155         * posix/posix-envs.def: Likewise.
9156         * sysdeps/posix/sysconf.c: Likewise.
9157         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9158         (specs): Remove array.
9159         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9160         array.
9162         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9163         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9164         (__sysconf): Use CONF_IS_* macros.
9166         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9167         ($(objpfx)posix-conf-vars-def.h): New target.
9168         * posix/posix-conf-vars.list: New file.
9169         * posix/posix-conf-vars.h: New file.
9170         * posix/confstr.c: Include posix-conf-vars.h.
9171         (confstr): Use CONF_IS_* macros.
9172         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9173         CONF_IS_* macros.
9174         * scripts/gen-posix-conf-vars.awk: New file.
9176 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9178         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9179         fegetround): Add no-op macros to avoid linknamespace issues.
9181         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9182         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9184         * sysdeps/unix/sysv/linux/tile/sysdep.h
9185         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9186         assembly-specific section to avoid a redefinition warning.
9188         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9189         long before casting to pointer to avoid a cast warning.
9191 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9193         * sysdeps/tile/tilegx/Implies: New file.
9195 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9197         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9199 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9201         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9203 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9206         not define.
9207         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9208         <kernel-features.h>.
9209         (__utimes) [__NR_utimes]: Make code unconditional.
9210         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9211         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9212         (__ASSUME_UTIMES): Do not undefine.
9213         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9214         (__ASSUME_UTIMES): Likewise.
9215         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9216         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9217         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9218         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9220 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9222         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9224 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9226         [BZ #17747]
9227         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9228         alias to weak alias for j0l, y0l.
9229         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9230         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9232         [BZ #17746]
9233         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9234         conversion.
9236 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9238         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9239         to zero if not already defined.
9241 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #17724]
9244         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9245         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9246         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9247         (char *) casts added.
9248         * sysdeps/ieee754/k_standardf.c: New file.
9249         * sysdeps/ieee754/k_standardl.c: Likewise.
9250         * math/Makefile (libm-support): Remove k_standard.
9251         (libm-calls): Add k_standard.
9253 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9255         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9256         Optimize to avoid an unnecessary FPCR read.
9258 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9260         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9261         Optimize to reduce FPCR/FPSR accesses.
9263 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9265         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9266         Call libc_fetestexcept_aarch64.
9268 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9270         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9271         Call libc_fesetround_aarch64.
9273 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9275         [BZ #17733]
9276         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9277         (__bind): Do not define as weak alias.
9278         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9279         define.
9280         (__getsockname): Do not define as weak alias.
9282 2014-12-22  Will Newton  <will.newton@linaro.org>
9284         * manual/install.texi: Document that we require bison 2.7
9285         or above.
9286         * INSTALL: Regenerate.
9287         * configure.ac: Use AC_CHECK_PROG_VER instead of
9288         AC_PATH_PROG when checking for bison and check for
9289         version 2.7 or above.
9290         * configure: Regenerate.
9292 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9294         [BZ #17745]
9295         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9296         * sysdeps/tile/ffsll.c (ffsll): To here.
9298         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9300 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9302         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9303         if not defined.
9304         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9305         definition.
9306         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9307         hidden ___tls_get_addr.
9308         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9309         hidden __tls_get_addr.
9310         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9311         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9312         Likewise.
9314 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9316         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9317         _dl_init call.
9319 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9321         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9322         from "call _dl_init@PLT".
9323         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9325 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9327         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9328         guarantees.
9330 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9332         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9334 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9336         [BZ #17744]
9337         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9338         strnlen.
9340 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9342         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9343         of multu on MIPSr6.
9344         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9345         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9346         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9347         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9348         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9350 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9352         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9353         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9354         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9355         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9356         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9357         mips32r6/mips64r6.
9358         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9360 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9362         * string/strncat.c (STRNCAT): Simplify implementation.
9364 2014-12-19  David S. Miller  <davem@davemloft.net>
9366         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9367         access the quad as both a long double and as a series of 4 words.
9369         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9370         link_map->l_info array access.
9372 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9374         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9376         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9377         * math/atest-exp2.c (TIMEOUT): Likewise.
9378         * math/atest-sincos.c (TIMEOUT): Likewise.
9380 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9382         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9383         -Wno-error with -fno-builtin-lround.
9385 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9387         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9388         Contains futex constants and functions moved over from ...
9389         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9390         <lowlevellock-futex.h>.
9391         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9392         (lll_timedwait_tid): Add comments and parentheses around macro
9393         arguments.
9395 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9398         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9399         (__lll_private_flag): Remove.
9400         (lll_futex_wait): Likewise.
9401         (lll_futex_timed_wait): Likewise.
9402         (lll_futex_wake): Likewise.
9403         (lll_futex_requeue): Likewise.
9404         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9405         (__lll_timedwait_tid): Spell out argument names.
9406         (lll_timedwait_tid): Add comments and parentheses around macro
9407         arguments.
9408         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9409         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9411 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9413         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9414         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9415         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9416         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9417         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9418         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9419         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9420         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9421         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9422         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9423         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9424         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9426         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9427         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9428         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9429         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9430         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9431         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9433 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9435         * sysdeps/x86_64/x32/Makefile: New file.
9437 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9439         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9440         1L with (mp_limb_t) 1.
9442 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9444         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9445         * nptl/libc_pthread_init.c: ... here.
9446         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9447         * nptl/register-atfork.c: ... here.
9449         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9450         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9451         Use assert_perror to check its return value.
9452         (__gai_create_helper_thread): Likewise.
9454         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9456         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9458 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9460         [BZ #17725]
9461         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9462         __profil_counter.
9463         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9464         Likewise.
9465         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9466         Likewise.
9467         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9468         Likewise.
9469         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9470         (profil_counter): Likewise.
9471         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9472         (profil_counter): Likewise.
9473         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9474         Likewise.
9475         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9478         (profil_counter): Likewise.
9479         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9480         Likewise.
9481         [!__profil_counter] (profil_counter): Define as weak alias of
9482         __profil_counter.
9483         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9484         (profil_counter): Rename to __profil_counter.
9485         [!__profil_counter] (profil_counter): Define as weak alias of
9486         __profil_counter.
9487         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9488         (profil_counter): Rename to __profil_counter.
9489         [!__profil_counter] (profil_counter): Define as weak alias of
9490         __profil_counter.
9491         * sysdeps/posix/profil.c: Update comment referring to
9492         profil_counter.
9493         (__profil): Use __profil_counter instead of profil_counter.
9494         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9495         __profil_counter.  Use __profil_counter_ushort and
9496         __profil_counter_uint in definitions.
9497         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9498         instead of profil_counter_uint and profil_counter_ushort.
9500         [BZ #17722]
9501         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9502         define as weak alias of __inet_makeaddr.
9503         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9504         as weak alias of __inet_addr.
9505         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9506         as weak alias of __inet_pton.  Use libc_hidden_weak.
9507         * include/arpa/inet.h (__inet_pton): Declare.  Use
9508         libc_hidden_proto.
9509         (inet_makeaddr): Don't use libc_hidden_proto.
9510         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9511         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9512         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9513         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9514         Remove variable.
9515         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9516         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9518 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9520         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9522 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9524         * stdio-common/bug-vfprintf-nargs.c (do_test):
9525         Cast value to intptr_t to avoid format warning
9526         for usage with PRIdPTR printing macro.
9528 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9530         * libio/tst-widetext.c (do_test):
9531         Use format type %td instead of %Zd for ptrdiff_t
9532         in order to avoid format warning.
9534 2014-12-17  Andreas Schwab  <schwab@suse.de>
9536         * nscd/mem.c (gc): Add size_t cast to match printf format.
9538 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9540         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9541         (init): Apply PTR_MANGLE to pointers before storing them.
9542         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9543         before using them.
9545 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9547         [BZ #17719]
9548         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9549         define as weak alias of __memrchr.
9550         (__memrchr): Do not define as strong alias of memrchr.
9551         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9552         Remove variable.
9553         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9554         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9555         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9557         [BZ #17717]
9558         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9559         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9560         (if_indextoname): Rename to __if_indextoname and define as weak
9561         alias of __if_indextoname.  Use libc_hidden_weak.
9562         (if_freenameindex): Rename to __if_freenameindex and define as
9563         weak alias of __if_freenameindex.
9564         (if_nameindex): Rename to __if_nameindex and define as weak alias
9565         of __if_nameindex.
9566         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9567         __if_nametoindex and define as weak alias of __if_nametoindex.
9568         Use libc_hidden_weak.
9569         (if_freenameindex): Rename to __if_freenameindex and define as
9570         weak alias of __if_freenameindex.
9571         (if_nameindex): Rename to __if_nameindex and define as weak alias
9572         of __if_nameindex.
9573         (if_indextoname): Rename to __if_indextoname and define as weak
9574         alias of __if_indextoname.  Use libc_hidden_weak.
9575         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9576         __if_nametoindex and define as weak alias of __if_nametoindex.
9577         Use libc_hidden_weak.
9578         (if_freenameindex): Rename to __if_freenameindex and define as
9579         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9580         (if_nameindex_netlink): Use __if_freenameindex instead of
9581         if_freenameindex.
9582         (if_nameindex): Rename to __if_nameindex and define as weak alias
9583         of __if_nameindex.  Use libc_hidden_weak.
9584         (if_indextoname): Rename to __if_indextoname and define as weak
9585         alias of __if_indextoname.  Use libc_hidden_weak.
9586         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9587         libc_hidden_proto.
9588         [!_ISOMAC] (__if_freenameindex): Likewise.
9589         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9590         if_nametoindex.
9591         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9592         variable.
9593         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9594         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9595         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9596         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9597         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9598         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9599         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9601         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9602         Remove variable.
9603         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9604         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9606 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9608         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9609         subscript above bounds'
9611         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9612         bounds.
9614 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9616         * libio/tst-fopenloc.c: Use test-skeleton.c.
9618         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9619         (entry): Rename to ITEM.
9620         (do_test, comp): Adjust.
9622         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9624 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9626         * string/tester.c: Include <libc-internal.h>.
9627         (test_memset): Ignore -Wmemset-transposed-args.
9629 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9631         * misc/tst-mntent2.c (do_test): Fix warning.
9633 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9635         * elf/tst-unique4lib.cc(a): Mark as used.
9637 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9639         [BZ #17630]
9640         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9641         names.
9643 2014-12-16  Allan McRae  <allan@archlinux.org>
9645         * stdio-common/Makefile (tests): Re-add bug26.
9647 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9649         [BZ #17657]
9650         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9651         static array.
9653 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9655         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9656         (__lll_lock_wait): Likewise.
9657         (__lll_timedlock_wait): Likewise.
9658         (__lll_timedwait_tid): Likewise.
9659         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9660         (__lll_robust_timedlock_wait): Likewise.
9661         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9662         (lll_cond_trylock): Likewise.
9663         (__lll_lock): Likewise.
9664         (__lll_robust_lock): Likewise.
9665         (__lll_cond_lock): Likewise.
9666         (lll_robust_cond_lock): Likewise.
9667         (__lll_timedlock): Likewise.
9668         (__lll_robust_timedlock): Likewise.
9669         (__lll_unlock): Likewise.
9670         (__lll_robust_unlock): Likewise.
9671         (lll_wait_tid): Likewise.
9672         (lll_timedwait_tid): Likewise.
9674 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9676         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9678 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9680         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9682 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9684         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9685         * stdio-common/tst-sprintf.c: Likewise.
9687 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9689         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9691 2014-12-15  Jeff Law  <law@redhat.com>
9693         [BZ #16617]
9694         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9695         on the heap.  (CVE-2012-3406)
9696         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9697         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9698         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9700 2014-12-15  Will Newton  <will.newton@linaro.org>
9702         * manual/install.texi: Bump required version of texinfo
9703         to 4.7 from 4.5.
9704         * INSTALL: Regenerated.
9705         * configure.ac: Check for makeinfo version 4.7 and above.
9706         * configure: Regenerated.
9708 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9710         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9711         PREFIX, string constant to insert between directory and name.
9712         * sysdeps/posix/shm_open.c: Update caller.
9713         * sysdeps/posix/shm_unlink.c: Likewise.
9714         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9715         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9716         (SEM_SHM_PREFIX): New macro.
9717         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9718         [$(have-thread-library) = no].
9719         * nptl/Makefile (libpthread-routines): Add shm-directory.
9720         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9721         * sysdeps/nptl/shm-directory.h: New file.
9722         * sysdeps/posix/shm-directory.c
9723         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9724         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9725         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9726         INTERNAL_SYSCALL.
9727         (__where_is_shmfs): Function removed.
9728         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9729         Variables removed.
9730         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9731         Use SHM_GET_NAME.
9732         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9734         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9735         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9736         unconditional for use inside libpthread.
9737         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9739 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9741         * nptl/pthread_getaffinity.c: New file.
9742         * nptl/pthread_setaffinity.c: New file.
9743         * nptl/pthread_getname.c: New file.
9744         * nptl/pthread_setname.c: New file.
9746         * nptl/pthread_create.c (START_THREAD_DEFN)
9747         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9749 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9750             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9752         * resolv/res_send.c (send_vc): Disable warning resplen may
9753         be used uninitialized.
9755 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9757         * nptl/tst-mutex6.c
9758         (ATTR_NULL): New define checks ATTR against NULL.
9759         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9760         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9762 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9764         [BZ #17581]
9765         * malloc/hooks.c
9766         (mem2mem_check): Revert my previous change.
9767         (malloc_check_get_size): Revert my previous change.
9768         (mem2chunk_check): Revert my previous change.
9770 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9772         * sysdeps/posix/shm-directory.c: New file.
9773         * sysdeps/posix/shm-directory.h: New file.
9774         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9775         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9776         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9777         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9778         Transmute EPERM to EACCES.
9779         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9780         from ...
9781         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9782         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9784 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9786         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9787         pointer and cast to uintptr_t.
9788         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9789         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9790         Add cast to avoid warning.
9791         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9793 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9795         * nptl/semaphore.h: Move to ...
9796         * sysdeps/pthread/semaphore.h: ... here.
9797         * Makefile (installed-headers): Change nptl/semaphore.h to
9798         sysdeps/pthread/semaphore.h.
9800 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9802         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9803         generated error format strings.
9805         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9806         -Wformat-extra-args warnings for scanf formats.
9807         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9808         test of zero-length format (duh).
9809         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9810         corner-case scanf format test.
9811         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9812         generated fprintf format string.
9813         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9814         corner-case sprintf format tests.
9815         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9816         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9817         -Wformat-extra-args warnings throughout.
9818         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9819         (CFLAGS-scanf4.c): Likewise.
9820         (CFLAGS-scanf7.c): Likewise.
9821         (CFLAGS-tst-sprintf.c): Likewise.
9822         (CFLAGS-tst-printf.c): Likewise.
9823         (CFLAGS-tst-printfsz.c): Likewise.
9825 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9827         * include/cpio.h: New file.
9828         * include/fmtmsg.h: Likewise.
9830         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9831         corresponding format argument to size_t.
9832         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9833         arguments.
9834         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9835         corresponding format argument to size_t.
9836         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9837         arguments.
9838         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9839         corresponding format argument to size_t.
9840         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9841         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9842         (CFLAGS-tst-mbswcs2.c): Likewise.
9843         (CFLAGS-tst-mbswcs3.c): Likewise.
9844         (CFLAGS-tst-mbswcs4.c): Likewise.
9845         (CFLAGS-tst-mbswcs5.c): Likewise.
9846         (CFLAGS-tst-trans.c): Likewise
9848 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9850         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9851         rather than assuming they won't contain any '%'s.
9853 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9855         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9856         inhibit_loop_to_libcall to avoid recursive calls.
9857         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9858         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9860 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9862         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9863         prototype.
9865 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9867         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9868         integer value instead of boolean.
9870 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9872         * malloc/malloc.c: Fix powerof2 check.
9874 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9876         * locale/programs/locfile.h (maybe_swap_uint32):
9877         Remove inline and add unused attribute.
9879 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9881         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9882         Truncating assembler expression to a .long expression.
9884 2014-12-11  Andreas Schwab  <schwab@suse.de>
9886         * elf/rtld.c (struct map_args): Constify str member.
9887         (do_preload): Constify fname argument.
9889 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9891         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9892         constants definition.
9894 2014-12-11  Andreas Schwab  <schwab@suse.de>
9896         [BZ #16657]
9897         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9898         FORCE_ELISION instead of DO_ELISION.
9899         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9900         Remove.
9901         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9902         Likewise.
9904         * iconvdata/gconv-modules: Remove duplicate entry.
9906 2014-12-11  Will Newton  <will.newton@linaro.org>
9908         Merge gettext 0.19.3 into intl/.
9910         This involves a number of cosmetic changes to comments
9911         and ANSI function definitions and prototypes throughout
9912         all the files. The gettext copyright header is used but
9913         with the date ranges taken from the glibc copy.
9915         * NEWS: Add gettext merge to 2.21.
9916         * intl/bindtextdom.c: Switch to gettext copyright.
9917         Use ANSI definitions and prototypes.
9918         Use gl_* locking primitives rather than __libc_* ones.
9919         Use __builtin_expect rather than __glibc_likely/unlikely.
9920         * intl/dcgettext.c: Switch to gettext copyright.
9921         Use ANSI definitions and prototypes.
9922         * intl/dcigettext.c: Switch to gettext copyright.
9923         Use ANSI definitions and prototypes.
9924         (INTDIV0_RAISES_SIGFPE): New define.
9925         Use gl_* locking primitives rather than __libc_* ones.
9926         Include eval-plural.h instead of plural-eval.c.
9927         Use __builtin_expect rather than __glibc_likely/unlikely.
9928         * intl/dcngettext.c: Switch to gettext copyright.
9929         Use ANSI definitions and prototypes.
9930         * intl/dgettext.c: Likewise.
9931         * intl/dngettext.c: Likewise.
9932         * intl/plural-eval.c: Renamed to...
9933         * intl/eval-plural.h: ...this.
9934         * intl/explodename.c: Switch to gettext copyright.
9935         Use ANSI definitions and prototypes.
9936         (_nl_explode_name): Use strchr instead of __rawmemchr.
9937         * intl/finddomain.c: Switch to gettext copyright.
9938         Use ANSI definitions and prototypes.
9939         Use gl_* locking primitives rather than __libc_* ones.
9940         (_nl_find_domain): Use malloc rather than alloca for
9941         allocation of temporary locale name.
9942         * intl/gettext.c: Switch to gettext copyright.
9943         Use ANSI definitions and prototypes.
9944         * intl/gettextP.h: Switch to gettext copyright.
9945         Use ANSI definitions and prototypes.
9946         Use gl_* locking primitives rather than __libc_* ones.
9947         * intl/gmo.h: Switch to gettext copyright.
9948         (struct sysdep_string): Move struct segment_pair outside of
9949         struct definition.
9950         * intl/hash-string.c: Use ANSI definitions and prototypes.
9951         * intl/hash-string.h: Switch to gettext copyright.
9952         Use ANSI definitions and prototypes.
9953         * intl/l10nflist.c: Switch to gettext copyright.
9954         Use ANSI definitions and prototypes.
9955         (_nl_normalize_codeset): Avoid integer overflow.
9956         * intl/loadinfo.h: Switch to gettext copyright.
9957         Use ANSI definitions and prototypes.
9958         (LIBINTL_DLL_EXPORTED): New define.
9959         (PATH_SEPARATOR): New define.
9960         * intl/loadmsgcat.c: Switch to gettext copyright.
9961         * intl/localealias.c: Switch to gettext copyright.
9962         Use ANSI definitions and prototypes.
9963         (_nl_expand_alias): Use PATH_SEPARATOR.
9964         * intl/ngettext.c: Switch to gettext copyright.
9965         Use ANSI definitions and prototypes.
9966         * intl/plural-exp.c: Likewise.
9967         * intl/plural-exp.h: Switch to gettext copyright.
9968         Use ANSI definitions and prototypes.
9969         (struct expression): Move definition of enum operator outside
9970         of struct definition.
9971         * intl/plural.c: Regenerate.
9972         * intl/plural.y: Switch to gettext copyright.
9973         Use ANSI definitions and prototypes.
9974         Port to bison 3.0.
9975         * intl/textdomain.c: Switch to gettext copyright.
9976         Use ANSI definitions and prototypes.
9977         Use gl_* locking primitives rather than __libc_* ones.
9979 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9981         * debug/warning-nop.c: Add used atrribute.
9983 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9985         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9987         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9988         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9989         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9991 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9992             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9994         [BZ #17634]
9995         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9996         Undefine after defining function.  Define as weak alias of
9997         __wcschr.  Use libc_hidden_weak.
9998         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9999         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10000         (libc_hidden_def): Also define __GI___wcschr alias.
10001         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10002         __wcschr and define as weak alias of __wcschr.
10003         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10004         __wcschr.
10005         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10006         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10007         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10008         libc_hidden_weak.  Do not use libc_hidden_def.
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10010         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10011         __GI___wcschr alias.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10013         [IS_IN (libc)] (wcschr): Define as macro expanding to
10014         __redirect_wcschr.
10015         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10016         [IS_IN (libc)] (__wcschr_power6): Likewise.
10017         [IS_IN (libc)] (__wcschr_power7): Likewise.
10018         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10019         instead of wcschr.
10020         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10021         __libc_wcschr.
10022         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10024         __wcschr and define as weak alias of __wcschr.  Use
10025         libc_hidden_builtin_def.
10026         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10027         as weak alias of __wcschr.  Use libc_hidden_weak.
10028         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10029         wcschr.
10030         * time/era.c (_nl_init_era_entries): Likewise.
10031         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10032         variable.
10033         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10034         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10036 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10038         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10039         format for long int variable.
10041 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10043         [BZ #10672]
10044         * manual/search.texi: (Array Sort Function): Remove claim how to make
10045         qsort stable.
10047 2014-12-10  Andreas Schwab  <schwab@suse.de>
10049         [BZ #12847]
10050         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10051         user-controlled locks.
10053 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10055         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10056         register.
10058 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10060         * configure.ac (--disable-werror): New configure option.
10061         (enable_werror): New AC_SUBST.
10062         * configure: Regenerated.
10063         * config.make.in (enable-werror): New variable.
10064         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10065         -Wno-error=undef.
10066         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10067         * manual/install.texi (Configuring and compiling): Document
10068         --disable-werror.
10069         * INSTALL: Regenerated.
10070         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10071         (CFLAGS-tst-chk2.c): Likewise.
10072         (CFLAGS-tst-chk3.c): Likewise.
10073         (CFLAGS-tst-chk4.cc): Likewise.
10074         (CFLAGS-tst-chk5.cc): Likewise.
10075         (CFLAGS-tst-chk6.cc): Likewise.
10076         (CFLAGS-tst-lfschk1.c): Likewise.
10077         (CFLAGS-tst-lfschk2.c): Likewise.
10078         (CFLAGS-tst-lfschk3.c): Likewise.
10079         (CFLAGS-tst-lfschk4.cc): Likewise.
10080         (CFLAGS-tst-lfschk5.cc): Likewise.
10081         (CFLAGS-tst-lfschk6.cc): Likewise.
10083         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10084         (main): Disable -Wdeprecated-declarations around calls to
10085         register_printf_function.
10087         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10088         (do_test): Disable -Wdiv-by-zero around some calls to
10089         fwrite_unlocked and fread_unlocked.
10091         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10092         (DIAG_POP_NEEDS_COMMENT): Likewise.
10093         (_DIAG_STR1): Likewise.
10094         (_DIAG_STR): Likewise.
10095         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10096         * stdio-common/bug21.c: Include <libc-internal.h>.
10097         (do_test): Disable -Wformat around call to sscanf.
10098         * stdio-common/scanf14.c: Include <libc-internal.h>.
10099         (main): Disable -Wformat around some calls to scanf functions.
10101 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10103         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10105 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10107         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10108         stack variable alignment.
10110 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10112         [BZ #17682]
10113         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10114         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10115         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10116         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10117         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10118         __getrlimit instead of getrlimit.
10119         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10120         __gettimeofday instead of gettimeofday.
10121         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10122         Likewise.
10123         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10124         Likewise.
10125         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10126         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10127         Remove variable.
10128         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10129         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10131 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10133         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10134         for wide-character tests.
10136 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10138         * io/openat64.c: #include <libc-internal.h>
10139         (__openat64): Prototypify.  Use ignore_value on MODE.
10140         * io/openat.c: Likewise.
10141         * misc/reboot.c: #include <libc-internal.h>
10142         (reboot): Prototypify.  Use ignore_value on HOWTO.
10143         * misc/ptrace.c: #include <libc-internal.h>
10144         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10146 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10148         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10149         XPG4, UNIX98 and XOPEN2K.
10150         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10151         Remove variable.
10152         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10154 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10156         * libio/fileops.c: Use ISO C style for function definitions.
10157         * libio/iofopen.c: Likewise.
10158         * libio/wfileops.c: Likewise.
10160         [BZ #17653]
10161         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10162         offset on EOF.
10163         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10164         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10165         (fgets_func): Function pointer to fgets and fgetws.
10166         (do_ftell_test): Add test to verify ftell value after read
10167         EOF.
10168         (do_test): Set fgets_func.
10170         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10171         O_TRUNC flag for w and w+ modes.
10172         (do_rewind_test): Likewise.
10173         (do_ftell_test): Likewise.
10174         (do_write_test): Likewise.
10176         [BZ #17647]
10177         * libio/fileops.c (do_ftell): Seek only when there are
10178         unflushed writes.
10179         * libio/wfileops.c (do_ftell_wide): Likewise.
10180         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10181         test case.
10182         (do_one_test): Call it.
10184 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10186         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10187         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10188         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10189         Remove variable.
10190         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10191         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10192         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10194 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10196         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10197         Remove variable.
10198         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10200         [BZ #17668]
10201         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10202         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10203         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10204         __freeifaddrs.  Use libc_hidden_weak.
10205         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10206         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10207         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10208         __freeifaddrs.  Use libc_hidden_weak.
10209         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10210         __getifaddrs and define as weak alias of __getifaddrs.  Use
10211         libc_hidden_weak.
10212         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10213         __freeifaddrs.  Use libc_hidden_weak.
10214         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10215         Remove variable.
10216         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10217         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10219 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10221         [BZ #17601]
10222         * sysdeps/mips/start.S (__start): Use indirect jump to call
10223         __libc_start_main.
10225 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10227         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10229         * nptl/tst-mutex1.c: Include <stdbool.h>.
10230         [!ATTR] (ATTR_NULL): New macro.
10231         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10232         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10233         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10235         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10236         to char *.
10238         [BZ #17665]
10239         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10240         Change conditional to [__USE_MISC].
10242         [BZ #17664]
10243         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10244         fgets_unlocked.
10245         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10246         __fgets_unlocked.
10247         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10248         fgets_unlocked.
10249         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10250         Remove variable.
10251         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10252         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10253         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10254         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10255         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10256         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10257         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10258         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10259         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10261         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10263 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10266         Remove strpbrk objects.
10267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10268         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10269         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10270         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10271         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10272         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10274         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10275         Remove strcspn objects.
10276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10277         (__libc_ifunc_impl_list): Remove strcspn implementation.
10278         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10279         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10280         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10281         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10284         Remove strspn objetcs.
10285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10286         (__libc_ifunc_impl_list): Remove strspn implementation.
10287         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10288         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10289         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10290         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10292 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10294         [BZ #17581]
10295         * malloc/hooks.c
10296         (mem2mem_check): Add a terminator to the chain of checking blocks.
10297         (malloc_check_get_size): Use it here.
10298         (mem2chunk_check): Ditto.
10300 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10302         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10303         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10305 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10307         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10309         * nptl/nptl-init.c: Include libc-internal.h.
10310         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10312         * elf/ldconfig.c (search_dir): Expand comment.
10314 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10316         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10317         variable.
10318         (linknamespace-symlist-stdlibs-tests): Likewise.
10319         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10320         instead of $(objpfx)symlist-stdlibs.
10321         (linknamespace-libs-isoc): New variable.
10322         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10323         (linknamespace-libs-ISO): New variable.
10324         (linknamespace-libs-ISO99): Likewise.
10325         (linknamespace-libs-ISO11): Likewise.
10326         (linknamespace-libs-XPG3): Likewise.
10327         (linknamespace-libs-XPG4): Likewise.
10328         (linknamespace-libs-POSIX): Likewise.
10329         (linknamespace-libs-UNIX98): Likewise.
10330         (linknamespace-libs-XOPEN2K): Likewise.
10331         (linknamespace-libs-POSIX2008): Likewise.
10332         (linknamespace-libs-XOPEN2K8): Likewise.
10333         ($(objpfx)symlist-stdlibs): Replace by
10334         $(linknamespace-symlist-stdlibs-tests).  Use
10335         $(linknamespace-libs-$*) as set of libraries.
10336         ($(linknamespace-header-tests)): Update dependencies.  Use
10337         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10338         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10339         * conform/linknamespace.pl: Remove comment about considering
10340         definitions of symbols from irrelevant libraries.
10342 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10344         [BZ #13862]
10345         * elf/dl-tls.c: Include <atomic.h>.
10346         (oom): Remove #ifdef SHARED/#endif.
10347         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10348         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10349         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10350         big enough.
10351         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10352         * nptl/Makefile (tests): Add tst-stack4.
10353         (modules-names): Add tst-stack4mod.
10354         ($(objpfx)tst-stack4): New.
10355         (tst-stack4mod.sos): Likewise.
10356         ($(objpfx)tst-stack4.out): Likewise.
10357         ($(tst-stack4mod.sos)): Likewise.
10358         (clean): Likewise.
10359         * nptl/tst-stack4.c: New file.
10360         * nptl/tst-stack4mod.c: Likewise.
10362 2014-11-27  J. Brown  <jb999@gmx.de>
10364         * sysdeps/x86/bits/string.h: Add recent CPUs.
10366 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10368         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10369         sigblock.
10371         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10372         feof.
10374         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10375         variable.
10377 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10379         * nscd/connections.c: Include libc-internal.h because of macro
10380         usage ignore_value.
10382 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10384         * string/bits/string3.h (__warn_memset_zero_len): Don't
10385         declare for gcc newer than 5.0.
10386         (memset): Don't test for zero-length __LEN for gcc newer than
10387         5.0.
10389 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10391         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10392         size_t for %zu format.
10394         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10395         difference, not %ju.
10397 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10399         * include/libc-internal.h (ignore_value): New macro.
10400         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10401         with ignore_value.
10403         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10404         definition.
10406         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10407         pthread_cleanup_push to void *.
10409         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10410         Undefine.
10412         [BZ #16619]
10413         [BZ #16740]
10414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10415         instead of 1L << 52.
10417         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10418         * libio/bug-rewind2.c (do_test): Likewise.
10420         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10421         * debug/test-strcpy_chk-ifunc.c: Likewise.
10422         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10423         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10424         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10425         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10426         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10427         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10428         * Rules [$(multi-arch) = no] (tests): Do not filter out
10429         $(tests-ifunc).
10430         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10431         * debug/Makefile (tests-ifunc): Remove variable.
10432         (tests): Do not add $(tests-ifunc).
10433         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10434         (tests): Do not add $(tests-ifunc).
10435         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10436         [TEST_IFUNC]: Remove conditionals.
10437         * string/test-string.h (TEST_IFUNC): Remove macro.
10438         [TEST_IFUNC]: Remove conditionals.
10440         * string/test-strchr.c [!WIDE] (L): New macro.
10441         [WIDE] (L): Likewise.
10442         (check1): Use CHAR instead of char.  Use L on string and character
10443         constants.
10445 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10447         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10448         tests.
10449         * sysdeps/powerpc/bits/atomic.h
10450         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10451         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10452         (atomic_exchange_and_add_acq): Likewise.
10453         (atomic_exchange_and_add_rel): Likewise.
10454         * sysdeps/powerpc/powerpc32/bits/atomic.h
10455         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10456         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10457         * sysdeps/powerpc/powerpc64/bits/atomic.h
10458         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10459         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10461 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10463         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10464         Change synchronization of __sched_fifo_min_prio and
10465         __sched_fifo_max_prio.
10466         * nptl/pthread_mutexattr_getprioceiling.c
10467         (pthread_mutexattr_getprioceiling): Likewise.
10468         * nptl/pthread_mutexattr_setprioceiling.c
10469         (pthread_mutexattr_setprioceiling): Likewise.
10470         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10471         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10472         Likewise.
10474 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10476         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10477         void.
10479 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10481         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10482         third argument const.
10484 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10486         fnmatch: work around GCC compiler warning bug with uninit var
10487         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10488         This works around a bug with x86-64 GCC 4.9.2 and earlier
10489         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10490         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10491         used uninitialized in this function [-Wmaybe-uninitialized]".
10493 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10495         * posix/bug-regex31.c (main): Return RES not 0.
10497 2014-11-25  Anton Blanchard <anton@samba.org>
10499         * sysdeps/powerpc/bits/atomic.h
10500         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10502 2014-11-24  Sterling Augustine  <saugustine@google.com>
10504         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10506 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10508         [BZ #17608]
10509         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10511 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10513         [BZ #17633]
10514         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10515         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10516         variable.
10517         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10518         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10520 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10522         * string/strncpy.c (strncpy): Improve performance by using memset.
10524 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10526         * string/strcpy.c (strcpy):
10527         Improve performance by using strlen and memcpy.
10529 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10531         * string/strcoll_l.c (get_next_seq): __always_inline.
10532         * string/strcoll_l.c (do_compare): __always_inline.
10534 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10536         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10537         defined.
10538         * include/mqueue.h: Likewise.
10539         * include/stdlib.h: Likewise.
10541         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10542         (get_null_defines): Adjust.
10543         * sunrpc/Makefile: Adjust comment.
10544         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10545         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10546         (CFLAGS-interp.c): Likewise.
10547         (CFLAGS-ldconfig.c): Likewise.
10548         (CPPFLAGS-.os): Likewise.
10549         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10550         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10551         * extra-modules.mk (extra-modules.mk): Likewise.
10552         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10553         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10554         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10555         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10556         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10557         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10558         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10559         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10560         * iconvdata/Makefile (CPPFLAGS): Likewise.
10561         (cpp-srcs-left): Add libof for all iconvdata routines.
10562         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10563         * include/assert.h: Likewise.
10564         * include/ctype.h: Likewise.
10565         * include/errno.h: Likewise.
10566         * include/libc-symbols.h: Likewise.
10567         * include/math.h: Likewise.
10568         * include/netdb.h: Likewise.
10569         * include/resolv.h: Likewise.
10570         * include/stdio.h: Likewise.
10571         * include/stdlib.h: Likewise.
10572         * include/string.h: Likewise.
10573         * include/sys/stat.h: Likewise.
10574         * include/wctype.h: Likewise.
10575         * intl/l10nflist.c: Likewise.
10576         * libidn/idn-stub.c: Likewise.
10577         * libio/libioP.h: Likewise.
10578         * nptl/libc_multiple_threads.c: Likewise.
10579         * nptl/pthreadP.h: Likewise.
10580         * posix/regex_internal.h: Likewise.
10581         * resolv/res_hconf.c: Likewise.
10582         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10583         * sysdeps/arm/memmove.S: Likewise.
10584         * sysdeps/arm/sysdep.h: Likewise.
10585         * sysdeps/generic/_itoa.h: Likewise.
10586         * sysdeps/generic/symbol-hacks.h: Likewise.
10587         * sysdeps/gnu/errlist.awk: Likewise.
10588         * sysdeps/gnu/errlist.c: Likewise.
10589         * sysdeps/i386/i586/memcpy.S: Likewise.
10590         * sysdeps/i386/i586/memset.S: Likewise.
10591         * sysdeps/i386/i686/memcpy.S: Likewise.
10592         * sysdeps/i386/i686/memmove.S: Likewise.
10593         * sysdeps/i386/i686/mempcpy.S: Likewise.
10594         * sysdeps/i386/i686/memset.S: Likewise.
10595         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10596         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10597         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10598         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10599         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10600         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10601         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10602         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10603         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10604         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10605         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10606         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10607         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10608         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10609         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10610         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10611         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10612         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10613         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10614         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10615         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10616         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10617         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10618         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10619         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10621         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10622         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10623         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10624         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10625         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10628         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10629         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10630         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10631         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10632         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10633         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10634         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10635         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10636         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10637         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10638         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10639         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10640         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10641         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10642         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10643         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10644         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10645         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10646         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10647         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10648         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10649         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10650         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10651         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10652         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10653         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10654         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10655         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10656         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10657         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10658         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10659         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10660         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10661         * sysdeps/posix/closedir.c: Likewise.
10662         * sysdeps/posix/opendir.c: Likewise.
10663         * sysdeps/posix/readdir.c: Likewise.
10664         * sysdeps/posix/rewinddir.c: Likewise.
10665         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10666         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10667         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10668         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10669         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10670         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10671         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10672         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10673         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10674         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10676         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10677         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10678         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10679         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10680         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10681         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10682         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10683         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10685         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10686         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10687         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10688         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10689         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10691         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10693         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10701         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10702         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10703         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10704         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10705         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10706         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10707         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10708         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10709         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10710         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10711         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10712         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10713         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10714         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10715         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10716         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10718         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10720         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10722         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10723         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10724         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10725         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10726         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10727         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10728         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10729         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10730         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10731         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10732         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10733         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10734         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10735         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10736         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10737         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10738         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10739         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10740         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10741         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10742         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10743         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10744         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10745         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10746         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10747         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10748         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10749         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10751         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10752         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10753         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10754         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10755         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10756         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10757         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10759         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10760         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10761         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10763         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10764         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10765         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10766         * sysdeps/unix/alpha/sysdep.S: Likewise.
10767         * sysdeps/unix/alpha/sysdep.h: Likewise.
10768         * sysdeps/unix/make-syscalls.sh: Likewise.
10769         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10771         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10772         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10773         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10774         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10775         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10776         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10777         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10778         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10779         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10780         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10782         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10783         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10784         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10785         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10786         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10787         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10788         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10789         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10790         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10791         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10792         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10793         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10794         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10795         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10798         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10799         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10800         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10803         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10807         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10808         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10810         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10811         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10812         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10813         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10816         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10819         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10820         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10821         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10822         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10823         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10824         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10825         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10827         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10828         * sysdeps/x86_64/memcpy.S: Likewise.
10829         * sysdeps/x86_64/memmove.c: Likewise.
10830         * sysdeps/x86_64/memset.S: Likewise.
10831         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10832         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10833         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10834         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10836         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10837         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10838         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10840         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10841         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10842         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10843         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10844         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10845         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10846         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10847         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10848         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10849         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10850         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10851         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10852         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10853         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10854         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10855         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10856         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10857         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10858         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10859         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10860         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10861         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10862         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10863         * sysdeps/x86_64/strcmp.S: Likewise.
10865         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10867         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10868         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10869         * elf/rtld-Rules: Likewise.
10870         * elf/setup-vdso.h: Likewise.
10871         * include/assert.h: Likewise.
10872         * include/bits/stdlib-float.h: Likewise.
10873         * include/errno.h: Likewise.
10874         * include/sys/stat.h: Likewise.
10875         * include/unistd.h: Likewise.
10876         * sysdeps/aarch64/setjmp.S: Likewise.
10877         * sysdeps/alpha/setjmp.S: Likewise.
10878         * sysdeps/arm/__longjmp.S: Likewise.
10879         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10880         * sysdeps/arm/setjmp.S: Likewise.
10881         * sysdeps/arm/sysdep.h: Likewise.
10882         * sysdeps/generic/_itoa.h: Likewise.
10883         * sysdeps/generic/dl-sysdep.h: Likewise.
10884         * sysdeps/generic/ldsodefs.h: Likewise.
10885         * sysdeps/i386/dl-tls.h: Likewise.
10886         * sysdeps/i386/setjmp.S: Likewise.
10887         * sysdeps/m68k/setjmp.c: Likewise.
10888         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10889         * sysdeps/mach/hurd/opendir.c: Likewise.
10890         * sysdeps/posix/getcwd.c: Likewise.
10891         * sysdeps/posix/opendir.c: Likewise.
10892         * sysdeps/posix/profil.c: Likewise.
10893         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10894         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10895         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10896         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10898         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10899         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10900         * sysdeps/s390/dl-tls.h: Likewise.
10901         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10902         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10903         * sysdeps/sh/sh3/setjmp.S: Likewise.
10904         * sysdeps/sh/sh4/setjmp.S: Likewise.
10905         * sysdeps/unix/alpha/sysdep.h: Likewise.
10906         * sysdeps/unix/arm/sysdep.S: Likewise.
10907         * sysdeps/unix/i386/sysdep.S: Likewise.
10908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10909         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10910         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10911         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10912         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10913         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10914         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10915         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10916         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10917         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10918         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10919         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10920         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10923         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10926         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10927         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10928         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10931         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10932         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10933         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10935         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10936         * sysdeps/x86_64/setjmp.S: Likewise.
10938         * include/math.h: Use IS_IN instead of IS_IN_libm.
10939         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10940         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10941         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10942         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10944         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10945         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10947         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10948         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10949         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10950         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10951         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10952         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10953         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10954         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10955         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10956         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10957         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10958         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10959         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10960         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10961         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10962         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10963         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10964         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10965         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10966         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10967         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10968         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10969         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10970         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10971         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10973         Likewise.
10974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10975         Likewise.
10976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10977         Likewise.
10978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10979         Likewise.
10980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10981         Likewise.
10982         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10984         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10985         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10986         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10987         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10993         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10994         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10995         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10996         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10997         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10998         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11000         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11001         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11002         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11003         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11004         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11006         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11008         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11010         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11011         * nptl/pthreadP.h: Likewise.
11012         * nptl_db/structs.def: Likewise.
11013         * sysdeps/arm/sysdep.h: Likewise.
11014         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11015         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11016         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11017         * sysdeps/unix/alpha/sysdep.h: Likewise.
11018         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11020         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11021         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11022         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11023         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11025         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11026         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11027         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11028         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11029         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11030         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11031         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11035         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11036         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11039         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11040         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11041         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11042         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11043         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11045         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11046         * nptl/pthreadP.h: Likewise.
11047         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11048         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11049         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11050         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11051         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11052         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11053         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11054         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11055         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11056         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11057         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11058         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11060         Likewise.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11062         Likewise.
11063         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11065         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11068         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11069         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11070         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11072         * dlfcn/dladdr.c: Use IS_IN.
11073         * dlfcn/dladdr1.c: Likewise.
11074         * dlfcn/dlclose.c: Likewise.
11075         * dlfcn/dlerror.c: Likewise.
11076         * dlfcn/dlinfo.c: Likewise.
11077         * dlfcn/dlmopen.c: Likewise.
11078         * dlfcn/dlopen.c: Likewise.
11079         * dlfcn/dlsym.c: Likewise.
11080         * dlfcn/dlvsym.c: Likewise.
11082         * include/ifaddrs.h: Use IS_IN.
11083         * inet/check_pf.c: Likewise.
11084         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11085         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11087         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11088         IS_IN_ldconfig.
11089         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11090         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11092         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11093         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11094         IS_IN (libc).
11096         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11098         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11099         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11100         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11101         * include/libc-symbols.h (IS_IN_LIB): New macro.
11102         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11103         * include/netdb.h: Likewise.
11104         * include/stap-probe.h: Remove all uses of IN_LIB.
11106         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11107         instead of IN_MODULE.
11108         * include/libc-symbols.h (IN_MODULE): Define using
11109         MODULE_NAME.
11110         (PASTE_NAME, PASTE_NAME1): New macros.
11111         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11112         of IN_LIB.
11113         (STAP_PROBE_ASM): Likewise.
11115 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11117         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11118         __mach_init in dlopened libc.
11120 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11122         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11123         * sysdeps/arm/preconfigure: Regenerate.
11125 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11127         * nptl/pthread_create.c (__pthread_create_2_1): Set
11128         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11129         when copying values from IATTR into PD.
11131 2014-11-21  Will Newton  <will.newton@linaro.org>
11132             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11134         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11135         Refactor inline-asm.  Also add comment.
11137         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11138         ElfW macro instead of hardcoded Elf64 types.
11139         (la_aarch64_gnu_pltenter): Likewise.
11140         * sysdeps/aarch64/dl-machine.h
11141         (elf_machine_runtime_setup): Use ElfW(Addr).
11143         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11144         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11145         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11146         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11147         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11148         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11149         (R_AARCH64_TLS_DTPMOD): This.
11150         (R_AARCH64_TLS_DTPREL64): Rename to ...
11151         (R_AARCH64_TLS_DTPREL): This.
11152         (R_AARCH64_TLS_TPREL64): Rename to ...
11153         (R_AARCH64_TLS_TPREL): This.
11154         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11155         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11156         R_AARCH64_TLS_TPREL64.
11157         (elf_machine_rela): Likewise.
11159 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11161         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11162         by setting it to 0.  64b atomics are not supported currently.
11164 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11166         [BZ #16469]
11167         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11168         search domain names.
11170 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11172         [BZ #16469]
11173         * NEWS: Update.
11174         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11175         trailing dot.
11176         * posix/tst-getaddrinfo5.c: New.
11177         * posix/Makefile (tests): Add it.
11179 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11181         [BZ #14498]
11182         * NEWS: Fixed.
11183         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11184         after parsing line but before break_if_match.
11185         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11186         if there is a protocol mismatch.
11188 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11190         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11191         because the potential race is on the user-supplied stream.
11193 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11195         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11196         string literal if not passed a buffer.
11197         * manual/job.texi (ctermid): Update reasoning, note deviation
11198         from posix, suggest mtasurace when not passed a buffer, for
11199         future non-preliminary safety notes.
11201 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11203         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11204         of not passing it a buffer.
11205         Reported by Peng Haitao.
11207 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11209         * manual/Makefile ($(objpfx)stamp-summary): Require
11210         check-safety.sh to pass.
11211         * manual/check-safety.sh: Wish for verification that every
11212         @deftypefn and @deftypefun is followed by a @safety remark.
11214 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11216         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11218         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11219         PTHREAD_CANCEL_ASYNCHRONOUS.
11220         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11221         send SIGCANCEL.
11223         * nptl/default-sched.h: New file.
11224         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11225         * nptl/pthread_create.c: Include it.
11226         (__pthread_create_2_1): Use collect_default_sched instead of making
11227         Linux syscalls here directly.
11229 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11231         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11232         __pthread_once): Use C11 atomics.
11234 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11236         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11238 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11240         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11241         atomic_thread_fence_acquire, atomic_thread_fence_release,
11242         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11243         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11244         atomic_compare_exchange_weak_relaxed,
11245         atomic_compare_exchange_weak_acquire,
11246         atomic_compare_exchange_weak_release,
11247         atomic_exchange_acquire, atomic_exchange_release,
11248         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11249         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11250         atomic_fetch_and_acquire,
11251         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11253 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11255         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11256         USE_ATOMIC_COMPILER_BUILTINS): Define.
11257         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11258         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11259         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11260         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11261         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11262         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11263         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11264         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11265         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11266         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11267         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11269         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11271         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11273         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11275         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11277         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11279         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11281         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11283         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11285         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11287         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11289         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11291         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11292         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11293         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11295         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11298 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11300         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11301         the sched_priority value here.  It was already checked when the user
11302         called pthread_attr_setschedparam.
11304         * nptl/tst-bad-schedattr.c: New file.
11305         * nptl/Makefile (tests): Add it.
11307 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11308             Florian Weimer  <fweimer@redhat.com>
11309             Joseph Myers  <joseph@codesourcery.com>
11310             Adam Conrad  <adconrad@0c3.net>
11311             Andreas Schwab  <schwab@suse.de>
11312             Brooks  <bmoses@google.com>
11314         [BZ #17625]
11315         * wordexp-test.c (__dso_handle): Add prototype.
11316         (__register_atfork): Likewise.
11317         (__app_register_atfork): New function.
11318         (registered_forks): New global.
11319         (register_fork): New function.
11320         (test_case): Add 3 new tests for WRDE_CMDSUB.
11321         (main): Call __app_register_atfork.
11322         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11323         fork count is non-zero fail the test.
11324         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11325         is set.
11326         (parse_dollars): Remove check for WRDE_NOCMD.
11327         (parse_dquote): Likewise.
11329 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11331         * Makeconfig (built-modules): List non-library modules to be
11332         built.
11333         (module-cppflags): Include libc-modules.h for
11334         everything except shlib-versions.v.i.
11335         (CPPFLAGS): Use it.
11336         (before-compile): Add libc-modules.h.
11337         ($(common-objpfx)libc-modules.h,
11338         $(common-objpfx)libc-modules.stmp): New targets.
11339         (common-generated): Add libc-modules.h and libc-modules.stmp.
11340         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11341         * include/libc-symbols.h: Don't include libc-modules.h.
11342         * include/libc-modules.h: Remove file.
11343         * scripts/gen-libc-modules.awk: New script to generate
11344         libc-modules.h.
11345         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11346         Depend on libc-modules.stmp.
11348         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11350         * Makeconfig (in-module): Get value of libof set for the
11351         translation unit.
11352         (CPPFLAGS): Use $(in-module).
11353         * Makerules: Don't suffix routine names for nonlib.
11354         * include/libc-modules.h: New file.
11355         * include/libc-symbols.h: Include libc-modules.h
11356         (IS_IN): New macro to replace IS_IN_* macros.
11357         * elf/Makefile: Set libof-* for each routine.
11358         * elf/rtld-Rules: Likewise.
11359         * extra-modules.mk: Likewise.
11360         * iconv/Makefile: Likewise.
11361         * iconvdata/Makefile: Likewise.
11362         * locale/Makefile: Likewise.
11363         * malloc/Makefile: Likewise.
11364         * nss/Makefile: Likewise.
11365         * sysdeps/gnu/Makefile: Likewise.
11366         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11367         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11368         * sysdeps/s390/s390-64/Makefile: Likewise.
11369         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11370         CPPFLAGS for nscd instead of nonlib.
11372 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11374         * nptl/createthread.c: New file.
11376         * nptl/createthread.c: Moved ...
11377         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11379         * nptl/createthread.c: Add proper top-line comment.
11380         (do_clone): Folded into ...
11381         (create_thread): ... here.  Take new arguments STOPPED_START and
11382         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11383         increment __nptl_threads, do event-reporting logic, do
11384         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11385         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11386         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11387         just send SIGCANCEL.
11388         * nptl/pthread_create.c: Forward-declare create_thread before
11389         including createthread.c.
11390         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11391         declaration, and new macro START_THREAD_SELF to replace argument.
11392         Remove return statement.
11393         (report_thread_creation): New function.
11394         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11395         synchronization logic, and __nptl_nthreads increment here, around
11396         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11397         PD->parent_cancelhandling here, before create_thread.  When
11398         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11399         __deallocate_stack, and ENOMEM translation here.
11401 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11403         [BZ #17616]
11404         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11405         (mptwo): Rename to __mptwo.
11406         (__inv): Use __mptwo instead of mptwo.
11407         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11408         (mptwo): Rename to __mptwo.
11409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11410         of mpone and __mptwo instead of mptwo.
11411         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11412         instead of mpone.
11413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11414         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11415         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11416         of mpone and __mptwo instead of mptwo.
11417         (__mpranred): Use __mpone instead of mpone.
11418         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11419         variable.
11420         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11421         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11422         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11423         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11424         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11425         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11426         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11427         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11428         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11429         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11430         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11431         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11432         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11433         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11434         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11435         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11436         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11437         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11438         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11440 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11442         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11443         replace BSD Handler xref with BSD Signal Handling.
11445 2014-11-17  Richard Henderson  <rth@redhat.com>
11447         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11448         (_FP_PACK_RAW_2): Remove.
11449         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11450         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11451         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11452         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11453         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11454         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11455         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11456         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11457         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11458         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11459         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11460         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11461         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11462         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11463         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11464         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11466 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11468         * signal/signal.h [__USE_MISC]
11469         (struct sigvec): Remove type.
11470         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11471         (sigvec): Remove declaration.
11472         * sysdeps/posix/sigvec.c: Moved ...
11473         * signal/sigvec.c: ... here, replacing old file.
11474         (struct sigvec): New type, copied from old signal.h definition.
11475         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11476         (__sigvec): Convert definition to prototype.
11477         (sigvec): Replace weak_alias with compat_symbol.
11478         * signal/Versions (libc: GLIBC_2.21): New version set.
11479         * include/signal.h: Remove __sigvec declaration.
11480         * sysdeps/unix/bsd/sigvec.c: Remove file.
11481         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11482         * manual/signal.texi (BSD Handler): Remove subsection.
11483         Move siginterrupt up to ...
11484         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11485         (Blocking in BSD): Fold subsection into its parent.
11486         * NEWS: Mention sigvec removal.
11488 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11490         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11491         (DLA_FMS): Make definition conditional only on [__FMA4__].
11492         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11493         definition.
11495         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11496         Make definition conditional only on [PROF].
11497         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11498         definition.
11499         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11500         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11502         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11503         !__GNUC__].
11504         * include/signal.h (__sigpause): Move declaration above call to
11505         libc_hidden_proto.
11506         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11507         variable.
11508         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11509         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11511 2014-11-14  David S. Miller  <davem@davemloft.net>
11513         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11514         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11516 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11518         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11519         * configure: Regenerated.
11520         * manual/install.texi (Tools for Compilation): Document a
11521         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11522         compiler verified to work.
11523         * INSTALL: Regenerated.
11525         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11526         redeclare with asm name.
11527         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11528         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11529         including <string.h>.
11530         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11531         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11532         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11534         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11536         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11538 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11540         * stdlib/strtol.c (__strtol): Use prototype definition.
11542         [BZ #17594]
11543         * stdlib/strtol.c (SYM__): New macro.
11544         (SYM__1): Likewise.
11545         (__strtol): Likewise.
11546         (strtol): Rename to __strtol and define as weak alias of
11547         __strtol.  Use libc_hidden_weak.
11549 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11551         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11552         Use numbered labels in inline assembly.
11554 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11556         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11557         Add setjmp LIBC_PROBE.
11558         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11559         Likewise.
11560         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11561         Add longjmp, longjmp_target LIBC_PROBE.
11562         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11563         Likewise.
11565 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11567         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11568         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11569         to get rid of unused variable warning.
11571 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11573         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11574         Check for unwind_backtrace ==  NULL only in SHARED case.
11575         (__backchain_backtrace): Compile only in SHARED case.
11576         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11577         Likewise.
11578         (__backchain_backtrace): Declare as static.
11580 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11582         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11583         (__libc_multiple_threads_ptr): Variable moved ...
11584         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11586 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11588         * conform/GlibcConform.pm: New file.
11589         * conform/conformtest.pl: Use GlibcConform module.
11590         * conform/linknamespace.pl: New file.
11591         * conform/list-header-symbols.pl: Likewise.
11592         * conform/Makefile (linknamespace-symlists-base): New variable.
11593         (linknamespace-symlists-tests): Likewise.
11594         (linknamespace-header-base): Likewise.
11595         (linknamespace-header-tests): Likewise.
11596         (tests-special): Add new tests.
11597         ($(linknamespace-symlists-tests)): New rule.
11598         (linknamespace-libs): New variable.
11599         ($(objpfx)symlist-stdlibs): New rule.
11600         ($(linknamespace-header-tests)): Likewise.
11601         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11602         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11603         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11604         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11605         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11606         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11607         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11608         (test-xfail-ISO/math.h/linknamespace): Likewise.
11609         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11610         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11611         (test-xfail-ISO/time.h/linknamespace): Likewise.
11612         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11613         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11614         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11615         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11616         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11617         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11618         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11619         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11620         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11621         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11622         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11623         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11624         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11625         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11626         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11627         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11628         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11629         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11630         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11631         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11632         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11633         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11634         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11635         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11636         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11637         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11638         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11639         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11640         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11641         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11642         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11643         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11644         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11645         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11646         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11647         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11648         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11649         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11650         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11651         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11652         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11653         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11654         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11655         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11656         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11657         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11658         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11659         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11660         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11661         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11662         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11663         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11664         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11665         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11666         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11667         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11668         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11669         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11670         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11671         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11672         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11673         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11674         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11675         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11676         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11677         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11678         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11679         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11680         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11681         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11682         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11683         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11684         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11685         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11686         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11687         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11688         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11689         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11690         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11691         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11692         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11693         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11694         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11695         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11696         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11697         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11698         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11699         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11700         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11701         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11702         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11703         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11704         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11705         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11706         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11708         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11709         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11710         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11711         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11712         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11713         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11714         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11715         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11716         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11717         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11718         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11719         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11720         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11721         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11722         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11723         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11724         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11725         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11726         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11727         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11728         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11729         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11730         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11731         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11732         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11733         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11734         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11735         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11736         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11737         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11738         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11739         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11740         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11741         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11742         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11743         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11744         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11745         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11746         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11747         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11748         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11749         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11750         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11751         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11752         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11753         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11754         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11755         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11756         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11757         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11758         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11759         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11763         [BZ #17589]
11764         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11765         of fgets_unlocked.
11767         [BZ #17585]
11768         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11769         (memmem): Rename to __memmem and define as weak alias of
11770         __memmem.  Use libc_hidden_weak.
11771         (__memmem): Use libc_hidden_def.
11772         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11773         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11774         memmem.
11776         [BZ #17582]
11777         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11778         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11779         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11780         and define as weak alias of __fgets_unlocked.  Use
11781         libc_hidden_weak.
11782         (__fgets_unlocked): Use libc_hidden_def.
11783         * include/stdio.h (__fgets_unlocked): Declare.  Use
11784         libc_hidden_proto.
11785         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11786         __fgets_unlocked instead of fgets_unlocked.
11787         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11788         (GET_NPROCS_CONF_PARSER): Likewise.
11789         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11790         (GET_NPROCS_CONF_PARSER): Likewise.
11792         [BZ #17574]
11793         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11794         weak alias of __wmemset.  Use libc_hidden_weak.
11795         (__wmemset): Use libc_hidden_def.
11796         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11797         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11798         of wmemset.
11800         [BZ #17573]
11801         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11802         with asm name __mempcpy.
11803         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11805         [BZ #17572]
11806         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11807         and define as weak alias of __rawmemchr.
11808         (__rawmemchr): Do not define as strong alias of rawmemchr.
11810         [BZ #17571]
11811         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11812         alias of __qsort_r.
11813         (qsort): Call __qsort_r instead of qsort_r.
11814         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11815         (__qsort_r): Declare.  Call libc_hidden_proto.
11816         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11817         instead of qsort_r.
11818         * nscd/gai.c (__qsort_r): Define to qsort_r.
11819         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11820         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11821         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11823         [BZ #17570]
11824         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11825         define as weak alias of __malloc_info.
11827         [BZ #17584]
11828         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11829         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11830         (__rewinddir): Use libc_hidden_def.
11831         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11832         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11833         (__rewinddir): Use libc_hidden_def.
11834         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11835         weak alias of __rewinddir.  Don't use libc_hidden_def.
11836         (__rewinddir): Use libc_hidden_def.
11837         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11838         (__rewinddir): Use libc_hidden_proto.
11839         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11840         rewinddir.
11841         (__getcwd): Use __rewinddir instead of rewinddir.
11843         [BZ #17583]
11844         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11845         alias of __fileno.  Use libc_hidden_weak.
11846         (__fileno): Use libc_hidden_def.
11847         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11848         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11849         alias of __ftello.
11850         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11851         __ftello.
11852         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11853         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11854         libc_hidden_def.
11855         (fread_unlocked): Don't use libc_hidden_ver.
11856         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11857         and define as weak alias of __fread_unlocked.  Don't use
11858         libc_hidden_def.
11859         (__fread_unlocked): Use libc_hidden_def.
11860         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11861         (ftello): Don't use libc_hidden_proto.
11862         (__ftello): Declare.  Use libc_hidden_proto.
11863         (fread_unlocked): Don't use libc_hidden_proto.
11864         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11865         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11866         and __ftello instead of fileno, fread_unlocked and ftello.
11868 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11870         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11871         GOT12.
11872         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11873         Likewise.
11874         (_dl_start_user): Likewise.
11875         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11877 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11878             Siddhesh Poyarekar  <siddhesh@redhat.com>
11880         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11881         Move argv and envp down instead of moving argc up.
11882         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11884 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11886         [BZ #17506]
11887         * test-skeleton.c (main): Return successful if one of
11888         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11889         * string/tst-strcoll-overflow.c: Define expected status.
11891 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11893         [BZ #17475]
11894         * locale/iso-639.def: Define Bhili and Tulu language codes.
11896 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11898         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11900 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11902         [BZ #17555]
11903         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11905 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11907         * configure.ac: Updated check of minimal required version to
11908         2.22.
11909         * manual/install.texi (Tools for Compilation): Updated version
11910         number.
11911         * configure: Regenerated.
11912         * INSTALL: Likewise.
11914 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11916         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11917         __tls_get_addr.
11919 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11921         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11922         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11923         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11924         libc_hidden_weak.
11925         (waitpid): Define as alias of __waitpid.
11926         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11927         __waitpid.
11928         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11929         libc_hidden_weak.
11930         (waitpid): Define as alias of __waitpid.
11931         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11932         __libc_waitpid alias.
11933         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11934         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11935         Likewise.
11936         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11937         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11938         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11939         alias.
11940         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11941         __waitpid.
11942         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11943         libc_hidden_weak.
11944         (waitpid): Define as alias of __waitpid.
11946 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11948         * manual/llio.texi: Add comment that write safety has been
11949         fixed in Linux.
11951         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11952         (localplt-build-dso): Add elf/ld.so.
11953         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11954         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11955         and free for ld.so.
11956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11957         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11961         Likewise.
11962         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11963         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11964         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11965         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11966         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11967         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11968         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11969         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11970         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11971         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11972         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11974 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11976         [BZ #14132]
11977         * include/libc-symbols.h (INTUSE): Remove macro.
11978         (INTDEF): Likewise.
11979         (INTVARDEF): Likewise.
11980         (_INTVARDEF): Likewise.
11981         (INTDEF2): Likewise.
11982         (INTVARDEF2): Likewise.
11983         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11984         rtld_hidden_def instead of INTVARDEF.
11985         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11986         (_dl_starting_up_internal): Remove declaration.
11987         (_dl_starting_up): Use rtld_hidden_proto.
11988         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11989         declaration.
11990         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11991         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11992         _dl_starting_up.
11993         * elf/dl-writev.h (_dl_writev): Likewise.
11994         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11995         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11996         _dl_starting_up_internal.
11998 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12000         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12001         test-skeleton.c.
12003 2014-11-05  Will Newton  <will.newton@linaro.org>
12005         * benchtests/Makefile: (bench-malloc): Add malloc thread
12006         scalability benchmark.
12007         * benchtests/bench-malloc-threads.c: New file.
12009 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12011         * sysdeps/aarch64/strchrnul.S: New file.
12013 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12015         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12016         definition.
12017         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12018         Likwise.
12019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12020         Likewise.
12021         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12022         Likewise.
12023         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12024         Likewise.
12025         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12026         Likewise.
12028 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12030         * catgets/test-gencat.c: Use test-skeleton.c.
12031         * catgets/tst-catgets.c: Likewise.
12032         * csu/tst-empty.c: Likewise.
12033         * elf/tst-audit2.c: Likewise.
12034         * elf/tst-global1.c: Likewise.
12035         * elf/tst-pathopt.c: Likewise.
12036         * elf/tst-piemod1.c: Likewise.
12037         * elf/tst-tls10.c: Likewise.
12038         * elf/tst-tls11.c: Likewise.
12039         * elf/tst-tls12.c: Likewise.
12040         * gnulib/tst-gcc.c: Likewise.
12041         * iconvdata/tst-e2big.c: Likewise.
12042         * iconvdata/tst-loading.c: Likewise.
12043         * iconv/tst-iconv1.c: Likewise.
12044         * iconv/tst-iconv2.c: Likewise.
12045         * inet/test-inet6_opt.c: Likewise.
12046         * inet/tst-gethnm.c: Likewise.
12047         * inet/tst-network.c: Likewise.
12048         * inet/tst-ntoa.c: Likewise.
12049         * intl/tst-codeset.c: Likewise.
12050         * intl/tst-gettext2.c: Likewise.
12051         * intl/tst-gettext3.c: Likewise.
12052         * intl/tst-ngettext.c: Likewise.
12053         * intl/tst-translit.c: Likewise.
12054         * io/test-stat.c: Likewise.
12055         * libio/test-fmemopen.c: Likewise.
12056         * libio/tst-freopen.c: Likewise.
12057         * libio/tst-sscanf.c: Likewise.
12058         * libio/tst-ungetwc1.c: Likewise.
12059         * libio/tst-ungetwc2.c: Likewise.
12060         * libio/tst-widetext.c: Likewise.
12061         * localedata/tst-ctype.c: Likewise.
12062         * localedata/tst-digits.c: Likewise.
12063         * localedata/tst-leaks.c: Likewise.
12064         * localedata/tst-mbswcs1.c: Likewise.
12065         * localedata/tst-mbswcs2.c: Likewise.
12066         * localedata/tst-mbswcs3.c: Likewise.
12067         * localedata/tst-mbswcs4.c: Likewise.
12068         * localedata/tst-mbswcs5.c: Likewise.
12069         * localedata/tst-setlocale.c: Likewise.
12070         * localedata/tst-trans.c: Likewise.
12071         * localedata/tst-wctype.c: Likewise.
12072         * localedata/tst-xlocale1.c: Likewise.
12073         * login/tst-grantpt.c: Likewise.
12074         * malloc/tst-calloc.c: Likewise.
12075         * malloc/tst-malloc.c: Likewise.
12076         * malloc/tst-mallocstate.c: Likewise.
12077         * malloc/tst-mcheck.c: Likewise.
12078         * malloc/tst-mtrace.c: Likewise.
12079         * malloc/tst-obstack.c: Likewise.
12080         * math/atest-exp2.c: Likewise.
12081         * math/atest-exp.c: Likewise.
12082         * math/atest-sincos.c: Likewise.
12083         * math/test-matherr.c: Likewise.
12084         * math/test-misc.c: Likewise.
12085         * math/test-powl.c: Likewise.
12086         * math/tst-definitions.c: Likewise.
12087         * misc/tst-dirname.c: Likewise.
12088         * misc/tst-efgcvt.c: Likewise.
12089         * misc/tst-fdset.c: Likewise.
12090         * misc/tst-hsearch.c: Likewise.
12091         * misc/tst-mntent2.c: Likewise.
12092         * nptl/tst-sem7.c: Likewise.
12093         * nptl/tst-sem8.c: Likewise.
12094         * nptl/tst-sem9.c: Likewise.
12095         * nss/test-netdb.c: Likewise.
12096         * posix/tst-fnmatch.c: Likewise.
12097         * posix/tst-getlogin.c: Likewise.
12098         * posix/tst-gnuglob.c: Likewise.
12099         * posix/tst-mmap.c: Likewise.
12100         * pwd/tst-getpw.c: Likewise.
12101         * resolv/tst-inet_ntop.c: Likewise.
12102         * rt/tst-timer.c: Likewise.
12103         * stdio-common/test-fseek.c: Likewise.
12104         * stdio-common/test-popen.c: Likewise.
12105         * stdio-common/test-vfprintf.c: Likewise.
12106         * stdio-common/tst-cookie.c: Likewise.
12107         * stdio-common/tst-fileno.c: Likewise.
12108         * stdio-common/tst-gets.c: Likewise.
12109         * stdio-common/tst-obprintf.c: Likewise.
12110         * stdio-common/tst-perror.c: Likewise.
12111         * stdio-common/tst-sprintf2.c: Likewise.
12112         * stdio-common/tst-sprintf3.c: Likewise.
12113         * stdio-common/tst-sprintf.c: Likewise.
12114         * stdio-common/tst-swprintf.c: Likewise.
12115         * stdio-common/tst-tmpnam.c: Likewise.
12116         * stdio-common/tst-unbputc.c: Likewise.
12117         * stdio-common/tst-wc-printf.c: Likewise.
12118         * stdlib/tst-environ.c: Likewise.
12119         * stdlib/tst-fmtmsg.c: Likewise.
12120         * stdlib/tst-limits.c: Likewise.
12121         * stdlib/tst-rand48-2.c: Likewise.
12122         * stdlib/tst-rand48.c: Likewise.
12123         * stdlib/tst-random2.c: Likewise.
12124         * stdlib/tst-random.c: Likewise.
12125         * stdlib/tst-strtol.c: Likewise.
12126         * stdlib/tst-strtoll.c: Likewise.
12127         * stdlib/tst-tls-atexit.c: Likewise.
12128         * stdlib/tst-xpg-basename.c: Likewise.
12129         * string/test-ffs.c: Likewise.
12130         * string/tst-bswap.c: Likewise.
12131         * string/tst-inlcall.c: Likewise.
12132         * string/tst-strtok.c: Likewise.
12133         * string/tst-strxfrm.c: Likewise.
12134         * sysdeps/x86_64/tst-audit10.c: Likewise.
12135         * sysdeps/x86_64/tst-audit3.c: Likewise.
12136         * sysdeps/x86_64/tst-audit4.c: Likewise.
12137         * sysdeps/x86_64/tst-audit5.c: Likewise.
12138         * time/tst-ftime_l.c: Likewise.
12139         * time/tst-getdate.c: Likewise.
12140         * time/tst-mktime3.c: Likewise.
12141         * time/tst-mktime.c: Likewise.
12142         * time/tst-posixtz.c: Likewise.
12143         * time/tst-strptime2.c: Likewise.
12144         * time/tst-strptime3.c: Likewise.
12145         * wcsmbs/tst-btowc.c: Likewise.
12146         * wcsmbs/tst-mbrtowc.c: Likewise.
12147         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12148         * wcsmbs/tst-wchar-h.c: Likewise.
12149         * wcsmbs/tst-wcpncpy.c: Likewise.
12150         * wcsmbs/tst-wcrtomb.c: Likewise.
12151         * wcsmbs/tst-wcsnlen.c: Likewise.
12152         * wcsmbs/tst-wcstof.c: Likewise.
12154 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12156         [BZ #14132]
12157         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12158         INTDEF.
12159         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12160         declaration.
12161         (_dl_mcount): Use rtld_hidden_proto.
12162         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12163         _dl_mcount.
12164         * elf/rtld.c (_rtld_global_ro): Likewise.
12166         [BZ #14132]
12167         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12168         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12169         of _dl_init_internal.
12170         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12171         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12172         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12173         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12174         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12175         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12176         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12177         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12178         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12179         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12180         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12181         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12182         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12183         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12184         * sysdeps/tile/dl-start.S (_start): Likewise.
12185         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12186         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12188         [BZ #14132]
12189         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12190         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12191         (rtld_progname): Make macro definition unconditional.
12192         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12193         INTDEF.
12194         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12195         (dl_main): Likewise.
12196         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12197         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12198         instead of _dl_argv_internal.
12199         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12200         __GI__dl_argv instead of INTUSE(_dl_argv).
12201         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12202         __GI__dl_argv instead of _dl_argv_internal.
12204         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12205         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12206         macro.
12207         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12208         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12209         New macro.
12210         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12211         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12212         macro.
12213         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12214         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12216 2014-11-04  Andreas Schwab  <schwab@suse.de>
12218         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12220 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12222         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12223         mtvsrd instruction in binary form.
12225 2014-11-03  Andreas Schwab  <schwab@suse.de>
12227         [BZ #17522]
12228         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12229         for less than MB_LEN_MAX use a local buffer of that size.
12230         * libio/tst-fputws.c: New file.
12231         * libio/Makefile (tests): Add tst-fputws.
12233 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12235         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12236         the size of the fpu_fr.fpu_dregs[] array.
12238 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12240         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12241         (__nanosleep): Do not define as alias.
12242         (nanosleep): Define as alias of __nanosleep.
12243         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12244         __libc_nanosleep name.
12246 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12248         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12249         install.texi in comment.
12251 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12253         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12254         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12255         ... add here and use lwsync or sync ...
12256         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12257         ... and add here using lwsync.
12259 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12261         * elf/dl-machine-reject-phdr.h: New file.
12262         * elf/dl-load.c: #include that.
12263         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12264         if that returned true.
12266 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12268         [BZ #17496]
12269         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12270         gen-as-const-headers chunk.  Add a big scare comment after the last
12271         safe place to touch before-compile.
12273 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12275         * manual/install.texi (Tools for Compilation): Update autoconf
12276         version requirements.
12277         * INSTALL: Regenerated.
12279         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12280         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12281         (__libc_pselect): Likewise.
12283         [BZ #14138]
12284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12289 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12291         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12292         correct barrier instruction.
12293         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12294         Likewise.
12295         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12296         Likewise.
12298 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12300         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12301         after defining inlines.  Instead, just use parens to defeat macro
12302         expansion of __isctype in its declaration.
12304 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12306         * include/sys/uio.h (__libc_readv): Remove declaration.
12307         (__libc_writev): Likewise.
12308         * misc/readv.c (__libc_readv): Rename to __readv.
12309         (__readv): Do not define as alias.
12310         (readv): Define as alias of __readv.
12311         * misc/writev.c (__libc_writev): Rename to __writev.
12312         (__writev): Do not define as alias.
12313         (writev): Define as alias of __writev.
12314         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12315         (__readv): Do not define as alias.
12316         (readv): Define unconditionally as alias of __readv.
12317         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12318         (__writev): Do not define as alias.
12319         (writev): Define unconditionally as alias of __writev.
12320         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12321         name.
12322         (writev): Do not define __libc_writev name.
12324 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12326         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12327         (convert_charseq): New function, broken out of ...
12328         (use_from_charmap): ... here.  Call it.
12329         (use_to_charmap): Use convert_charseq and free instead of duplicating
12330         its code with a variable-length stack struct.
12332 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12334         * include/fcntl.h (__libc_creat): Remove declaration.
12335         * io/creat.c (__libc_creat): Rename to creat.
12336         (creat): Do not define as alias.
12337         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12338         of creat instead of __libc_creat.
12339         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12340         to creat.
12341         (creat): Do not define as alias.
12342         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12343         __libc_creat.
12344         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12345         __libc_creat name.
12346         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12347         Likewise.
12349 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12351         * manual/llio.texi: Add comments discussing why write() may be
12352         considered MT-unsafe on Linux.
12354 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12356         * dl-load.c (local_strdup): Remove.
12357         (expand_dynamic_string_token): Use __strdup.
12358         (decompose_rpath): Likewise.
12359         (_dl_map_object): Likewise.
12361 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12363         [BZ #14132]
12364         * sysdeps/generic/unwind-dw2-fde.c
12365         (__register_frame_info_bases_internal): Do not declare.
12366         (__register_frame_info_table_bases_internal): Likewise.
12367         (__deregister_frame_info_bases_internal): Likewise.
12368         (__register_frame_info_bases): Declare and use hidden_proto before
12369         definition.  Use hidden_def instead of INTDEF.
12370         (__register_frame_info_table_bases): Likewise.
12371         (__deregister_frame_info_bases): Likewise.
12372         (__register_frame_info): Do not use INTUSE.
12373         (__register_frame): Likewise.
12374         (__register_frame_info_table): Likewise.
12375         (__register_frame_table): Likewise.
12376         (__deregister_frame_info): Likewise.
12377         (__deregister_frame): Likewise.
12379 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12381         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12382         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12383         not undefine.
12384         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12385         Likewise.
12386         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12387         Likewise.
12389 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #14138]
12392         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12393         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12394         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12395         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12396         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12397         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12398         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12399         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12400         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12401         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12402         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12403         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12404         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12405         syscall.
12406         (setfsuid): Likewise.
12407         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12408         (setfsuid): Likewise.
12409         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12410         (setfsuid): Likewise.
12411         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12412         Likewise.
12413         (setfsuid): Likewise.
12414         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12415         (setfsuid): Likewise.
12416         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12417         Likewise.
12418         (setfsuid): Likewise.
12420 2014-10-27  Andreas Schwab  <schwab@suse.de>
12422         [BZ #17501]
12423         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12424         check for Slow_SSE4_2 feature bit.
12425         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12426         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12427         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12428         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12430 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12432         * configure.ac: Validate compiler version with a empirical test of
12433         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12434         $CC -v output.
12435         * configure: Regenerated.
12437         * inet/htons.c (htons): Prototypify.
12438         * inet/htonl.c (htonl): Likewise.
12440 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12442         * string/strncat.c (strncat): Improve performance by using strlen.
12444 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12446         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12448 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12450         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12451         Call libc_fetestexcept_aarch64.
12453 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12455         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12456         Call libc_feholdexcept_aarch64.
12458 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12460         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12461         Call get_rounding_mode.
12463 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12465         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12466         Simplify logic.
12468 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12470         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12471         Simplify logic.
12473 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #14138]
12476         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12477         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12478         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12479         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12480         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12481         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12482         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12483         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12484         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12485         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12486         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12487         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12488         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12489         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12490         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12491         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12492         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12493         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12494         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12495         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12496         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12497         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12498         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12500         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12501         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12502         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12503         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12504         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12505         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12506         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12507         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12508         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12509         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12510         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12511         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12512         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12513         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12514         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12515         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12516         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12517         syscall.
12518         (geteuid): Likewise.
12519         (getgid): Likewise.
12520         (getuid): Likewise.
12521         (getresgid): Likewise.
12522         (getresuid): Likewise.
12523         (getgroups): Likewise.
12524         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12525         (geteuid): Likewise.
12526         (getgid): Likewise.
12527         (getuid): Likewise.
12528         (getresgid): Likewise.
12529         (getresuid): Likewise.
12530         (getgroups): Likewise.
12531         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12532         (geteuid): Likewise.
12533         (getgid): Likewise.
12534         (getuid): Likewise.
12535         (getresgid): Likewise.
12536         (getresuid): Likewise.
12537         (getgroups): Likewise.
12538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12539         Likewise.
12540         (geteuid): Likewise.
12541         (getgid): Likewise.
12542         (getuid): Likewise.
12543         (getresgid): Likewise.
12544         (getresuid): Likewise.
12545         (getgroups): Likewise.
12546         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12547         (geteuid): Likewise.
12548         (getgid): Likewise.
12549         (getuid): Likewise.
12550         (getresgid): Likewise.
12551         (getresuid): Likewise.
12552         (getgroups): Likewise.
12553         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12554         Likewise.
12555         (geteuid): Likewise.
12556         (getgid): Likewise.
12557         (getuid): Likewise.
12558         (getgroups): Likewise.
12560         [BZ #14138]
12561         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12562         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12563         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12564         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12565         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12567         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12568         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12569         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12570         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12571         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12572         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12573         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12574         __chown.
12575         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12576         (lchown): Likewise.
12577         (fchown): Likewise.
12578         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12579         Likewise.
12580         (lchown): Likewise.
12581         (fchown): Likewise.
12582         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12583         (lchown): Likewise.
12584         (fchown): Likewise.
12585         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12586         Likewise.
12587         (lchown): Likewise.
12588         (fchown): Likewise.
12590 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12592         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12593         Simplify logic.
12595 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12597         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12598         Cleanup logic.
12600 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12602         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12603         Remove unused include.
12605 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12607         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12608         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12609         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12610         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12612 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12613             Helge Deller <deller@gmx.de>
12615         [BZ #17508]
12616         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12617         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12618         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12620 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12622         [BZ #14132]
12623         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12624         Remove macro definition.
12625         (__ashrdi3_v_glibc20): Likewise.
12626         (__lshrdi3_v_glibc20): Likewise.
12627         (__cmpdi2_v_glibc20): Likewise.
12628         (__ucmpdi2_v_glibc20): Likewise.
12629         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12630         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12631         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12632         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12633         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12634         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12636 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12638         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12639         old GNU extension [0] syntax.
12640         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12641         alloca rather than an array member with variable length.
12642         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12643         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12644         (parse_opt): ... here.  Likewise use alloca there.
12645         Validate the -i argument before checking for rootness.
12646         (send_shutdown): New function, broken out of ...
12647         (parse_opt): ... here.
12649 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12651         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12652         macro to get at the _rt_local_ro field.
12653         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12654         ([PIC] case) or _dl_hwcap ([!PIC] case).
12655         * sysdeps/arm/setjmp.S: Likewise.
12657         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12658         * sysdeps/arm/configure.ac: New check to define it.
12659         * sysdeps/arm/configure: Regenerated.
12660         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12661         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12662         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12663         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12664         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12665         Use move/movt pair instead of a load.
12666         (LDST_GLOBAL): Macro removed.
12667         (LDR_GLOBAL): New macro replaces it.
12668         (LDR_HIDDEN): New macro.
12669         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12670         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12672         * setjmp/tst-setjmp-static.c: New file.
12673         * setjmp/Makefile (tests): Add it.
12674         (tests-static): New variable.
12676 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12678         [BZ #17485]
12679         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12681 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12683         [BZ #14132]
12684         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12686 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12688         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12690 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12692         * io/fts.c (dirent_not_directory): New function.
12693         (fts_build): Call it.
12695 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12697         * nptl/version.c (__nptl_main): Use normal __write rather than
12698         INTERNAL_SYSCALL.
12699         (banner): Update copyright years.
12701         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12702         gettimeofday.
12703         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12704         * nptl/pthread_cond_timedwait.c: Likewise.
12705         * nptl/pthread_mutex_timedlock.c: Likewise.
12706         * nptl/sem_timedwait.c: Likewise.
12708         * sysdeps/nptl/bits/libc-lock.h
12709         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12710         (__libc_lock_init_recursive): Return void, not 0.
12711         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12712         (__libc_rwlock_init): Likewise.
12713         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12715 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12717         [BZ #15215]
12718         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12719         (__pthread_once_slow): ... here.
12720         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12721         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12723 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12725         [BZ #15215]
12726         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12727         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12728         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12729         * nptl/pthread_once.c (__pthread_once): Likewise.
12730         Update comments.
12732 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #14138]
12735         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12736         name.
12737         (writev): Use __libc_writev as strong name.
12738         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12739         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12741 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12743         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12745         * sysdeps/i386/nptl/tls.h
12746         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12747         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12748         New macros.
12749         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12750         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12751         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12752         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12753         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12754         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12756         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12757         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12758         on [__NR_futex].
12759         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12760         broken out of ...
12761         (__pthread_mutex_init): ... here.  Call it.
12762         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12763         Conditionalize PI cases on [__NR_futex].
12764         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12765         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12766         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12768         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12769         conditional on [SIGSETXID].
12770         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12771         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12772         is defined.  Likewise for SIGSETXID.
12773         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12774         Conditionalize definitions on [SIGSETXID].
12775         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12776         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12777         unblocking on [SIGCANCEL].
12779         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12780         [__NR_set_robust_list].
12782 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12785         (do_compare): Likewise.
12787 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12789         [BZ #15884]
12790         * string/strcoll_l.c: Don't include stdio.h.
12791         (coll_seq): Remove members idxarr and rulearr.
12792         (get_next_seq_cached): Remove function.
12793         (get_next_seq): Likewise.
12794         (get_next_seq_nocache): Rename to get_next_seq.
12795         (do_compare): Remove function.
12796         (do_compare_nocache): Rename to do_compare.
12797         (STRCOLL): Remove weight and rules cache.
12799 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12801         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12802         * sysdeps/arm/sfp-machine.h: ... to here.
12803         * sysdeps/arm/Implies: Remove arm/soft-fp.
12805 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12807         * conform/data/sys/utsname.h-data (*_t): Allow.
12808         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12809         [POSIX] (WEXITED): Do not expect constant.
12810         [POSIX] (WSTOPPED): Likewise.
12811         [POSIX] (WNOHANG): Likewise.
12812         [POSIX] (WNOWAIT): Likewise.
12813         [POSIX] (siginfo_t): Do not expect type or elements.
12814         [POSIX] (pid_t): Do not expect type.
12815         [POSIX] (signal.h): Do not allow header.
12816         [POSIX] (sys/resource.h): Likewise.
12817         [POSIX] (si_*): Do not allow pattern.
12818         [POSIX] (W*): Likewise.
12819         [POSIX] (P_*): Likewise.
12820         [POSIX] (BUS_*): Likewise.
12821         [POSIX] (CLD_*): Likewise.
12822         [POSIX] (FPE_*): Likewise.
12823         [POSIX] (ILL_*): Likewise.
12824         [POSIX] (POLL_*): Likewise.
12825         [POSIX] (SEGV_*): Likewise.
12826         [POSIX] (SI_*): Likewise.
12827         [POSIX] (TRAP_*): Likewise.
12828         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12829         variable.
12831 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12833         [BZ #12926]
12834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12835         infinite loop when __recvmsg returns 0.
12837 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12839         * CANCEL-FCT-WAIVE: Remove file.
12840         * CANCEL-FILE-WAIVE: Likewise.
12842         [BZ #14132]
12843         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12844         instead of INTVARDEF.
12845         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12846         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12847         rtld_hidden_data_def instead of INTVARDEF.
12848         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12849         * elf/dl-deps.c (expand_dst): Likewise.
12850         * elf/dl-load.c (_dl_dst_count): Likewise.
12851         (_dl_dst_substitute): Likewise.
12852         (decompose_rpath): Likewise.
12853         (_dl_init_paths): Likewise.
12854         (open_path): Likewise.
12855         (_dl_map_object): Likewise.
12856         * elf/rtld.c (dl_main): Likewise.
12857         (process_dl_audit): Likewise.
12858         (process_envvars): Likewise.
12859         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12860         Remove declaration.
12861         (__libc_enable_secure): Use rtld_hidden_proto.
12863 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12865         * elf/dl-load.c
12866         (add_path): New function broken out of _dl_rtld_di_serinfo.
12867         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12869 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12871         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12872         parentheses around macro arguments.
12873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12884         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12888         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12889         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12901         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12902         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12905         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12906         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12907         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12908         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12909         Likewise.
12910         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12911         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12912         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12913         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12914         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12915         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12916         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12917         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12918         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12919         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12920         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12921         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12922         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12923         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12924         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12926         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12927         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12928         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12931         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12932         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12933         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12934         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12935         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12936         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12937         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12938         (_FP_FRAC_SRS_1): Likewise.
12939         (_FP_FRAC_CLZ_1): Likewise.
12940         (_FP_MUL_MEAT_1_imm): Likewise.
12941         (_FP_MUL_MEAT_1_wide): Likewise.
12942         (_FP_MUL_MEAT_1_hard): Likewise.
12943         (_FP_SQRT_MEAT_1): Likewise.
12944         (_FP_FRAC_ASSEMBLE_1): Likewise.
12945         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12946         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12947         (__FP_CLZ_2): Likewise.
12948         (_FP_MUL_MEAT_2_wide): Likewise.
12949         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12950         (_FP_MUL_MEAT_2_gmp): Likewise.
12951         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12952         (_FP_SQRT_MEAT_2): Likewise.
12953         (_FP_FRAC_ASSEMBLE_2): Likewise.
12954         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12955         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12956         (_FP_FRAC_CLZ_4): Likewise.
12957         (_FP_MUL_MEAT_4_wide): Likewise.
12958         (_FP_MUL_MEAT_4_gmp): Likewise.
12959         (_FP_SQRT_MEAT_4): Likewise.
12960         (_FP_FRAC_ASSEMBLE_4): Likewise.
12961         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12962         * soft-fp/op-common.h (_FP_CMP): Likewise.
12963         (_FP_CMP_EQ): Likewise.
12964         (_FP_CMP_UNORD): Likewise.
12965         (_FP_TO_INT): Likewise.
12966         (_FP_FROM_INT): Likewise.
12967         [!__FP_CLZ] (__FP_CLZ): Likewise.
12968         (_FP_DIV_HELP_imm): Likewise.
12969         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12970         Likewise.
12971         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12974         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12976         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12977         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12978         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12981         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12982         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12983         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12984         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12985         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12986         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12987         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12994         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12995         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12996         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12997         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12998         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12999         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13000         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13001         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13002         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13003         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13004         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13005         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13006         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13007         (FP_UNPACK_RAW_SP): Likewise.
13008         (FP_PACK_RAW_S): Likewise.
13009         (FP_PACK_RAW_SP): Likewise.
13010         (FP_UNPACK_S): Likewise.
13011         (FP_UNPACK_SP): Likewise.
13012         (FP_UNPACK_SEMIRAW_S): Likewise.
13013         (FP_UNPACK_SEMIRAW_SP): Likewise.
13014         (FP_PACK_S): Likewise.
13015         (FP_PACK_SP): Likewise.
13016         (FP_PACK_SEMIRAW_S): Likewise.
13017         (FP_PACK_SEMIRAW_SP): Likewise.
13018         (_FP_SQRT_MEAT_S): Likewise.
13019         (FP_CMP_S): Likewise.
13020         (FP_CMP_EQ_S): Likewise.
13021         (FP_CMP_UNORD_S): Likewise.
13022         (FP_TO_INT_S): Likewise.
13023         (FP_FROM_INT_S): Likewise.
13025         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13027         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13028         (FP_EX_INVALID_IMZ): Likewise.
13029         (FP_EX_INVALID_IMZ_FMA): Likewise.
13030         (FP_EX_INVALID_ISI): Likewise.
13031         (FP_EX_INVALID_ZDZ): Likewise.
13032         (FP_EX_INVALID_IDI): Likewise.
13033         (FP_EX_INVALID_SQRT): Likewise.
13034         (FP_EX_INVALID_CVI): Likewise.
13035         (FP_EX_INVALID_VC): Likewise.
13036         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13037         "invalid" exceptions.
13038         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13039         (_FP_ADD_INTERNAL): Likewise.
13040         (_FP_MUL): Likewise.
13041         (_FP_FMA): Likewise.
13042         (_FP_DIV): Likewise.
13043         (_FP_CMP_CHECK_NAN): Likewise.
13044         (_FP_SQRT): Likewise.
13045         (_FP_TO_INT): Likewise.
13046         (FP_EXTEND): Likewise.
13048 2014-10-09  Allan McRae  <allan@archlinux.org>
13050         * po/fr.po: Update French translation from translation project.
13052 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13054         [BZ #14132]
13055         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13056         of INTDEF.
13057         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13058         (__cxa_atexit): Use libc_hidden_proto.
13059         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13061         [BZ #14132]
13062         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13063         declaration.
13064         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13065         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13066         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13067         [!_ISOMAC] (__iswctype_internal): Likewise.
13068         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13069         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13070         alias.
13071         (fcntl): Remove __fcntl_internal alias.
13072         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13073         __connect_internal alias.
13074         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13075         Likewise.
13077         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13078         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13079         FP_DENORM_ZERO.
13080         (_FP_CHECK_FLUSH_ZERO): New macro.
13081         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13082         (_FP_CMP): Likewise.
13083         (_FP_CMP_EQ): Likewise.
13084         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13085         FP_DENORM_ZERO.
13086         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13087         (FP_TRUNC): Likewise.
13089         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13090         treated as invalid conversion, not as normal exponent.
13092         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13093         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13094         (_FP_CMP_EQ): Likewise.
13095         (_FP_CMP_UNORD): Likewise.
13096         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13097         (FP_CMP_EQ_D): Likewise.
13098         (FP_CMP_UNORD_D): Likewise.
13099         * soft-fp/extended.h (FP_CMP_E): Likewise.
13100         (FP_CMP_EQ_E): Likewise.
13101         (FP_CMP_UNORD_E): Likewise.
13102         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13103         (FP_CMP_EQ_Q): Likewise.
13104         (FP_CMP_UNORD_Q): Likewise.
13105         * soft-fp/single.h (FP_CMP_S): Likewise.
13106         (FP_CMP_EQ_S): Likewise.
13107         (FP_CMP_UNORD_S): Likewise.
13108         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13109         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13110         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13111         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13112         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13113         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13114         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13115         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13116         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13117         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13118         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13119         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13120         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13121         to FP_CMP_Q.
13122         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13123         FP_CMP_Q.
13124         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13125         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13126         FP_CMP_EQ_Q.
13127         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13128         FP_CMP_Q.
13129         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13130         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13131         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13132         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13133         FP_CMP_EQ_Q.
13134         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13135         FP_CMP_Q.
13136         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13137         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13138         FP_CMP_EQ_Q.
13139         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13140         FP_CMP_Q.
13141         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13142         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13143         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13144         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13145         FP_CMP_EQ_Q.
13147         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13148         a subnormal result, set the underflow exception if trapping on
13149         underflow is enabled.
13150         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13151         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13152         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13153         redefine to 0.
13154         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13155         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13156         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13157         * soft-fp/extendxftf2.c (__extendxftf2): Use
13158         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13160         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13161         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13162         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13163         FP_HANDLE_EXCEPTIONS.
13164         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13165         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13166         FP_HANDLE_EXCEPTIONS.
13167         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13168         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13169         FP_HANDLE_EXCEPTIONS.
13170         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13171         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13172         FP_HANDLE_EXCEPTIONS.
13174 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13176         [BZ #14132]
13177         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13178         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13179         use INTUSE.
13180         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13181         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13182         Remove alias.
13183         (__adjtimex): Define using libc_hidden_ver.
13184         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13185         Remove declaration.
13186         (ntp_gettime): Call __adjtimex directly.
13187         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13188         Remove declaration.
13189         (ntp_gettimex): Call __adjtimex directly.
13190         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13191         __adjtimex_internal alias.
13193 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13195         [BZ #17460]
13196         * nscd/nscd.c (more_help): Rewrite list of tables collection
13197         using xstrdup and asprintf.
13199         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13201 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13202             Roland McGrath  <roland@hack.frob.com>
13204         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13205         (do_lookup_unique): ... local function 'enter' here; update callers.
13207 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13209         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13210         compat_symbol calls on [SHARED].
13211         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13212         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13213         Remove.
13214         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13215         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13216         (oldsetrlimit): Remove.
13217         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13219         (lchown): New syscall entry.
13220         (oldsetrlimit): Remove.
13221         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13222         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13223         (oldsetrlimit): Remove.
13224         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13226         [BZ #14138]
13227         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13228         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13229         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13230         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13231         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13232         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13233         (fchown): Likewise.
13234         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13235         (fchown): Likewise.
13236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13237         Likewise.
13239 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13241         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13242         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13243         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13244         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13245         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13246         Likewise.
13247         (__old_sem_post): Likewise.
13249 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13251         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13252         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13253         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13254         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13255         Use INLINE_VSYSCALL macro.
13256         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13257         __vdso_clock_gettime.
13258         * sysdeps/unix/sysv/linux/tile/init-first.c
13259         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13260         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13261         __vdso_clock_gettime.
13263         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13264         to set up frame more cleanly.
13266         * sysdeps/tile/memcmp.c: New file.
13268         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13270         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13271         * sysdeps/tile/tilegx/strcasestr.c: New file.
13272         * sysdeps/tile/tilegx/strnlen.c: New file.
13273         * sysdeps/tile/tilegx/strstr.c: New file.
13275         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13277 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13279         * nptl/tst-setuid3.c: Write errors to stdout.
13281 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13283         * elf/dl-deps.c
13284         (preload): New functions broken out of _dl_map_object_deps.
13285         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13287 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13289         [BZ #14138]
13290         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13291         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13293 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13295         * sysdeps/mips/strcmp.S: New.
13297 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13299         [BZ #14138]
13300         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13301         (linkat): Likewise.
13302         (mkdirat): Likewise.
13303         (readlinkat): Likewise.
13304         (renameat): Likewise.
13305         (symlinkat): Likewise.
13306         (unlinkat): Likewise.
13307         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13308         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13309         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13310         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13311         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13312         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13313         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13315 2014-09-30  Will Newton  <will.newton@linaro.org>
13317         * math/math.h: Define long double math functions if
13318         _LIBC_TEST is defined.
13319         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13321         * localedata/Makefile: Move assignment to tests-special
13322         into an ifdef testing run-built-tests.
13323         * timezone/Makefile: Likewise.
13325 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13327         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13328         with $(BASH) not $(SHELL).
13330 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13331             Matthew LeGendre  <legendre1@llnl.gov>
13333         [BZ #17411]
13334         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13335         l_reloc_result.
13337 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13339         * stdio-common/printf_fp.c
13340         (hack_digit): New function, broken out of ...
13341         (__printf_fp): ... local function here.  Update call sites.
13342         hack_digit now takes an additional parameter that is a pointer
13343         to a struct of the referenced locals.  Those locals moved inside
13344         the struct and references updated.
13346 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13348         * aclocal.m4: Require autoconf 2.69.
13349         * configure: Regenerated.
13350         * sysdeps/aarch64/configure: Likewise.
13351         * sysdeps/alpha/configure: Likewise.
13352         * sysdeps/arm/armv7/configure: Likewise.
13353         * sysdeps/arm/configure: Likewise.
13354         * sysdeps/ia64/configure: Likewise.
13355         * sysdeps/mach/configure: Likewise.
13356         * sysdeps/mips/configure: Likewise.
13357         * sysdeps/s390/configure: Likewise.
13358         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13361         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13362         file.
13363         * sysdeps/ia64/configure.ac: Likewise.
13365 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13368         specify symbol version for ld.so.  Do not include entry for
13369         libpthread.
13370         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13371         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13372         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13374         [BZ #14171]
13375         * Makeconfig [$(build-shared) = yes]
13376         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13377         makefiles.
13378         [$(build-shared) = yes && $(soversions.mk-done) = t]
13379         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13380         [$(build-shared) = yes && $(soversions.mk-done) = t]
13381         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13382         to Makerules.
13383         [$(build-shared) = yes && $(soversions.mk-done) = t]
13384         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13385         here.
13386         [$(build-shared) = yes && $(soversions.mk-done) = t]
13387         (common-generated): Don't append gnu/lib-names.h and
13388         gnu/lib-names.stmp here.
13389         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13390         (lib-names-h-abi): New variable.
13391         [$(build-shared) = yes && $(soversions.mk-done) = t]
13392         (lib-names-stmp-abi): Likewise.
13393         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13394         abi-variants] (before-compile): Append
13395         $(common-objpfx)$(lib-names-h-abi).
13396         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13397         abi-variants] (common-generated): Append gnu/lib-names.h.
13398         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13399         abi-variants] (install-others-nosubdir): Depend on
13400         $(inst_includedir)/$(lib-names-h-abi).
13401         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13402         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13403         [$(build-shared) = yes && $(soversions.mk-done) = t]
13404         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13405         [$(build-shared) = yes && $(soversions.mk-done) = t]
13406         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13407         [$(build-shared) = yes && $(soversions.mk-done) = t]
13408         (common-generated): Append $(lib-names-h-abi) and
13409         $(lib-names-stmp-abi).
13410         * scripts/lib-names.awk: Do not handle multi being set.
13411         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13412         Remove variable.
13413         (abi-lp64_be-ld-soname): Likewise.
13414         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13415         Likewise.
13416         (abi-hard-ld-soname): Likewise.
13417         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13418         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13419         Remove variable.
13420         (abi-o32_hard-ld-soname): Likewise.
13421         (abi-o32_soft_2008-ld-soname): Likewise.
13422         (abi-o32_hard_2008-ld-soname): Likewise.
13423         (abi-n32_soft-ld-soname): Likewise.
13424         (abi-n32_hard-ld-soname): Likewise.
13425         (abi-n32_soft_2008-ld-soname): Likewise.
13426         (abi-n32_hard_2008-ld-soname): Likewise.
13427         (abi-n64_soft-ld-soname): Likewise.
13428         (abi-n64_hard-ld-soname): Likewise.
13429         (abi-n64_soft_2008-ld-soname): Likewise.
13430         (abi-n64_hard_2008-ld-soname): Likewise.
13431         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13432         Likewise.
13433         (abi-64-v2-ld-soname): Likewise.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13435         ld.so entries.
13436         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13437         variable.
13438         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13439         entry.
13440         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13441         variable.
13442         (abi-64-ld-soname): Likewise.
13443         (abi-x32-ld-soname): Likewise.
13444         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13445         entry.
13446         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13448 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13450         [BZ #14138]
13451         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13452         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13453         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13454         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13455         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13456         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13457         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13458         syscall entry for GLIBC_2.2 symbol version.
13459         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13460         Likewise.
13461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13462         (setrlimit): Likewise.
13463         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13464         Likewise.
13466 2014-09-23  Will Newton  <will.newton@linaro.org>
13468         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13469         _LINUX_ARM_SYSDEP_H include guard too.
13470         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13471         define.
13473 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13475         * sysdeps/unix/sysv/linux/eventfd.c:
13476         Make first argument unsigned.
13477         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13478         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13480 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13482         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13483         * socket/sys/socket.h: Likewise
13484         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13486 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13488         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13490 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13492         * time/tst-ftime.c: New test.
13493         * time/Makefile (tests): Add tst-ftime.
13495 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13497         * soft-fp/extended.h: Fix comment formatting.
13498         * soft-fp/op-1.h: Likewise.
13499         * soft-fp/op-2.h: Likewise.
13500         * soft-fp/op-4.h: Likewise.
13501         * soft-fp/op-8.h: Likewise.
13502         * soft-fp/op-common.h: Likewise.
13503         * soft-fp/soft-fp.h: Likewise.
13505         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13507 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13509         [BZ #6652]
13510         * Makeconfig (soversions-default-setname): Remove variable.
13511         ($(common-objpfx)soversions.i): Don't pass default_setname to
13512         soversions.awk.
13513         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13514         oldest_abi to abi-versions.awk.
13515         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13516         * config.make.in (oldest-abi): Remove variable.
13517         * configure.ac (--enable-oldest-abi): Remove configure option.
13518         * configure: Regenerated.
13519         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13520         text.
13521         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13522         * scripts/soversions.awk: Do not handle default_setname variable.
13523         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13524         variable.
13525         * sysdeps/mach/hurd/configure: Regenerated.
13526         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13527         variable.
13528         * sysdeps/unix/sysv/linux/configure: Regenerated.
13530 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13532         * elf/Makefile (CFLAGS-interp.c): Remove.
13533         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13534         path string.
13535         * elf/interp.c: Include generated runtime-linker.h
13537         * Makerules (lib%.so): Don't include $(+interp) in
13538         prerequisites.
13539         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13540         * dlfcn/eval.c: Remove file.
13542         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13543         macros.
13545         [BZ #17266]
13546         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13547         4.2 and newer.
13549         [BZ #17370]
13550         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13552 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13553             Jakub Jelinek  <jakub@redhat.com>
13555         [BZ #17266]
13556         * libio/stdio.h: Check definition of __fortify_function
13557         instead of __extern_always_inline to include bits/stdio2.h.
13558         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13559         check if __extern_always_inline is defined.
13560         [__USE_MISC || __USE_XOPEN]: Likewise.
13561         [__USE_ISOC99] Likewise.
13562         * misc/sys/cdefs.h (__fortify_function): Define only if
13563         __extern_always_inline is defined.
13564         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13565         __extern_always_inline and __extern_inline only for g++-4.3
13566         and newer or a compatible gcc.
13568 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13570         [BZ #17371]
13571         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13572         last change to handle zero prefix length.
13574 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13576         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13577         _SC_REGEX_VERSION.
13579         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13580         _POSIX_RAW_SOCKETS.
13582 2014-09-13  Allan McRae  <allan@archlinux.org>
13584         * po/ru.po: Update Russian translation from translation project.
13586 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13588         * locale/programs/locale.c (show_locale_vars): Inline local function
13589         into its sole call site.  Clean up some style nits.
13590         (print_item): New function, broken out of ...
13591         (show_info): ... local function here.  Clean up style nits.
13593         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13594         out of ...
13595         (set_class_defaults): ... local function set_default here.
13596         Define set_default as a macro locally to pass constant parameters.
13597         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13598         rather than a shared local.
13600         * stdlib/rpmatch.c (try): New function, broken out of ...
13601         (rpmatch): ... local function here.  Also, prototypify definition.
13603 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13605         * scripts/soversions.awk: Do not handle configuration names.
13606         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13607         vendor and os variables to soversions.awk.
13608         * configure.ac: Do not modify gnu-* host_os.
13609         * configure: Regenerated
13610         * shlib-versions: Remove first column with configuration names.
13611         * nptl/shlib-versions: Likewise.
13612         * nptl_db/shlib-versions: Likewise.
13613         * sysdeps/hppa/shlib-versions: Likewise.
13614         * sysdeps/m68k/shlib-versions: Likewise.
13615         * sysdeps/mach/hurd/shlib-versions: Likewise.
13616         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13617         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13618         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13619         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13620         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13621         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13622         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13623         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13625         Likewise.
13626         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13627         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13628         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13629         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13630         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13631         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13632         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13633         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13636         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13638         Regenerated.
13639         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13641         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13643         * shlib-versions: Remove OS-specific entries.  Moved to files in
13644         sysdeps.
13645         * sysdeps/mach/hurd/shlib-versions: New file.
13646         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13648         * nptl/shlib-versions: Remove architecture-specific entries.
13649         Moved to files in sysdeps.
13650         * shlib-versions: Likewise.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13652         file.
13653         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13654         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13655         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13656         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13658         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13659         (UDP_NO_CHECK6_RX): Likewise.
13661 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13663         * sysdeps/posix/sysconf.c (__sysconf): Spell
13664         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13666 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13668         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13669         loading.
13670         * iconv/Versions (__gconv_transliterate): Export for use from
13671         gconv modules.
13672         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13673         (struct __gconv_trans_data, __gconv_trans_fct,
13674         __gconv_trans_context_fct, __gconv_trans_query_fct,
13675         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13676         definitions.
13677         (struct __gconv_step_data): Remove __trans member.
13678         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13679         longer hidden.  Remove unused trans_data argument.
13680         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13681         (__gconv_translit_find): Remove declaration.
13682         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13683         prototype.
13684         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13685         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13686         trans_data argument.  Add hidden definition.
13687         (__gconv_translit_find): Remove.
13688         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13689         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13690         * iconv/skeleton.c: Remove transliteration initialization.
13691         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13692         __gconv_step_data initialization.
13693         * libio/iofwide.c (__libio_translit_): Remove.
13694         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13695         * wcsmbs/btowc.c (__btowc): Likewise.
13696         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13697         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13698         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13699         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13700         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13701         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13702         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13703         * wcsmbs/wctob.c (wctob): Likewise.
13705 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13707         [BZ #16194]
13708         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13709         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13710         register usage.
13711         * sysdeps/x86/Makefile: Adjust.
13713 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13714             Roland McGrath  <roland@hack.frob.com>
13716         * locale/weight.h: Add include guard.
13717         (findidx): Make static rather than auto; take new parameters
13718         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13719         * locale/weightwc.h: Likewise.
13720         * posix/fnmatch_loop.c
13721         (FCT): Change type of EXTRA from int32_t to wint_t.
13722         Don't include either header inside the function.
13723         Call FINDIDX rather than findidx, and pass new arguments.
13724         #undef FINDIDX at the end of the file.
13725         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13726         FINDIDX before including fnmatch_loop.c for the non-wide version.
13727         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13728         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13729         for the wide version.
13730         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13731         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13732         Pass new arguments to findidx.
13733         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13734         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13735         Don't #include it inside the function.  Pass new arguments to findidx.
13736         * posix/regex_internal.h
13737         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13738         (re_string_elem_size_at): Don't #include it inside the function.
13739         Pass new arguments to findidx.
13740         * string/strcoll_l.c: #include WEIGHT_H at top level.
13741         (get_next_seq): Don't #include it inside the function.
13742         Pass new arguments to findidx.
13743         (get_next_seq_nocache): Likewise.
13744         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13745         (STRXFRM): Don't #include it inside the function.
13746         Pass new arguments to findidx.
13748 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13750         [BZ #17344]
13751         * malloc/malloc.c (unlink): Turn asserts into a call to
13752         malloc_printerr.
13754 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13756         [BZ #17370]
13757         * libio/wfileops (do_ftell_wide): Free OUT.
13759 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13761         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13763 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13765         [BZ #17363]
13766         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13767         group if the current group is empty.
13769 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13771         * benchtests/bench-memset.c (test_main): Add more test from size
13772         from 32 to 512 bytes.
13773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13774         Add POWER8 memset object.
13775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13776         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13777         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13778         implementation.
13779         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13780         Likewise.
13781         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13782         multiarch POWER8 memset optimization.
13783         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13784         POWER8 memset optimization.
13786         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13787         Remove bzero multiarch objects.
13788         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13789         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13790         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13791         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13792         Remove define.
13793         [__bzero]: Redefine to specific name.
13794         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13795         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13796         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13797         define.
13798         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13799         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13801 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13803         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13804         warnings into errors.
13806         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13807         __cxa_thread_atexit_impl prototype.
13809 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13811         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13812         Fix capitalization of error message.
13814 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13816         * sysdeps/mips/preconfigure: Modify ABI tests.
13818 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13820         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13822 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13823             Carlos O'Donell  <carlos@systemhalted.org>
13825         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13826         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13827         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13828         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13829         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13830         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13831         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13832         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13833         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13834         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13835         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13836         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13837         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13838         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13839         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13840         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13841         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13842         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13843         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13844         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13845         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13846         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13847         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13848         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13849         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13850         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13851         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13852         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13853         Deconditionalize the code that was previously under [RESET_PID].
13854         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13855         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13856         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13857         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13858         include sysdep.h.
13860 2014-09-08  Allan McRae  <allan@archlinux.org>
13862         * version.h (RELEASE): Set to "development".
13863         (VERSION): Set to "2.20.90"
13865 2014-09-07  Allan McRae  <allan@archlinux.org
13867         * version.h (RELEASE): Set to "stable".
13868         (VERSION): Set to "2.20"
13869         * include/features.h (__GLIBC_MINOR__): Set to 20.
13871         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13872         Liebler.
13874         * po/ko.po: Update Korean translation from translation project.
13876 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13878         [BZ #17354]
13879         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13880         macro for handling signed relocations.
13882 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13884         [BZ #17325]
13885         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13886         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13887         assert.
13888         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13889         * iconvdata/ibm935.c (BODY): Likewise.
13890         * iconvdata/ibm937.c (BODY): Likewise.
13891         * iconvdata/ibm939.c (BODY): Likewise.
13892         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13893         assert.
13894         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13895         script.
13896         * iconvdata/run-iconv-test.sh: New test loop for checking for
13897         decoder crashers.
13899 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13901         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13902         libm_hidden_ver.
13904 2014-09-01  Allan McRae  <allan@archlinux.org>
13906         * po/eo.po: Update Esperanto translation from translation project.
13908         * po/ca.po: Update Catalan translation from translation project.
13910 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13912         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13913         __proc_dostop call.
13915 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13917         [BZ #17319]
13918         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13919         to call set_thread_area instead of hand written asm.
13920         (__NR_set_thread_area): Removed define.
13921         (TLS_FLAG_WRITABLE): Likewise.
13922         (__ASSUME_SET_THREAD_AREA): Remove check.
13923         (TLS_EBX_ARG): Remove define.
13924         (TLS_LOAD_EBX): Likewise.
13926 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13928         Simplify atomicity of socket creation in bind.
13930         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13931         looking up the name after linking the file.
13933 2014-08-27  Allan McRae  <allan@archlinux.org>
13935         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13937 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13939         [BZ #17187]
13940         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13941         trans_compare, open_translit, __gconv_translit_find):
13942         Remove module loading code.
13944 2014-08-26  Allan McRae  <allan@archlinux.org>
13946         * po/vi.po: Update Vietnamese translation from translation project.
13948         * po/uk.po: Update Ukrainian translation from translation project.
13950         * po/fr.po: Update French translation from translation project.
13952         * po/ru.po: Update Russian translation from translation project.
13954         * po/pl.po: Update Polish translation from translation project.
13956         * po/cs.po: Update Czech translation from translation project.
13958         * po/de.po: Update German translation from translation project.
13960         * po/bg.po: Update Bulgarian translation from translation project.
13962         * po/sv.po: Update Sweedish translation from translation project.
13964         * po/nl.po: Update Dutch translation from translation project.
13966         * po/es.po: Update Spanish translation from translation project.
13968 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13970         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13972         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13973         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13974         (CPPFLAGS-iconvconfig): Likewise.
13975         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13977         * include/libc-symbols.h: Remove unnecessary check for
13978         NOT_IN_libc.
13979         * nptl/pthreadP.h: Likewise.
13980         * sysdeps/aarch64/setjmp.S: Likewise.
13981         * sysdeps/alpha/setjmp.S: Likewise.
13982         * sysdeps/arm/sysdep.h: Likewise.
13983         * sysdeps/i386/setjmp.S: Likewise.
13984         * sysdeps/m68k/setjmp.c: Likewise.
13985         * sysdeps/posix/getcwd.c: Likewise.
13986         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13988         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13989         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13990         * sysdeps/sh/sh3/setjmp.S: Likewise.
13991         * sysdeps/sh/sh4/setjmp.S: Likewise.
13992         * sysdeps/unix/alpha/sysdep.h: Likewise.
13993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13995         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13996         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14001         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14004         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14006         * sysdeps/x86_64/setjmp.S: Likewise.
14008 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14010         [BZ #17263]
14011         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14012         <stdint.h>.
14013         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14014         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14016 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14018         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14020         [BZ #17262]
14021         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14022         and __x86_64__ when disabling x87 inline functions.
14024 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14026         [BZ #17259]
14027         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14028         asm statement with __cpuid_count.
14030 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14032         * configure.ac: Change __ehdr_start code to dereference the struct.
14033         Run readelf on the output to look for relocations.
14034         * configure: Regenerated.
14036 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14038         [BZ #17261]
14039         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14040         value to 0.
14041         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14043 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14045         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14047 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14049         [BZ #16892]
14050         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14051         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14053 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14055         * malloc/malloc.c: Fix typo in comment.
14057 2014-08-09  Allan McRae  <allan@archlinux.org>
14059         * Regenerate libc.po.
14061 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14063         * intl/tst-gettext2.sh: Check every lang file for creation.
14065 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14067         * sysdeps/aarch64/fpu/math_private.h
14068         (libc_feholdsetround_noex_aarch64_ctx): New function.
14070 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14072         * sysdeps/arm/armv6/strcpy.S (strcpy):
14073         Fix performance issue in misaligned cases.
14075 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14077         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14078         Move definition from termios.h.
14079         (struct termio): Likewise.
14080         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14081         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14082         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14083         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14084         Likewise.
14085         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14086         Move definition to ioctl-types.h
14087         (struct termio): Likewise.
14088         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14089         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14090         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14091         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14092         Likewise.
14094 2014-08-05  Richard Henderson  <rth@redhat.com>
14096         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14097         exceptions.
14098         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14099         Add fraiseexcpt.
14100         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14101         Use __feraiseexcept.
14102         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14103         Protect libm symbols with IS_IN_libm.
14105         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14107 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14109         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14111 2014-08-04  Will Newton  <will.newton@linaro.org>
14113         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14114         file.
14116 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14118         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14119         variants for each function.
14121 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14123         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14124         appended ...
14125         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14126         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14127         appended ...
14128         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14129         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14130         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14131         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14132         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14133         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14134         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14135         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14136         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14137         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14144         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14145         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14146         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14148         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14149         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14150         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14151         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14152         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14153         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14154         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14155         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14156         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14157         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14158         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14160         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14161         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14162         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14163         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14164         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14165         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14166         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14167         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14168         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14170         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14172         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14174         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14175         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14176         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14177         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14178         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14179         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14180         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14181         Update #include.
14182         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14183         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14185 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14187         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14188         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14189         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14190         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14191         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14192         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14194 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14196         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14197         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14198         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14199         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14201 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14203         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14204         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14205         (__libc_vfork): Define function under this name.
14206         (__vfork): Define as an alias.
14207         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14208         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14210 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14212         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14213         that was previously under [RESET_PID].
14214         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14216 2014-08-04  Andreas Schwab  <schwab@suse.de>
14218         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14220 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14222         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14223         (main): Likewise.
14225 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14227         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14229 2014-08-01  Richard Henderon  <rth@redhat.com>
14231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14232         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14233         typo in exact zero test.
14234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14238 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14240         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14241         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14242         * sysdeps/arm/sysdep.h: ... here.
14243         [!__ASSEMBLER__]: Include <stdint.h>.
14245 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14248         (HAVE_WCTYPE_H): Likewise.
14249         (HAVE_ISWCTYPE): Likewise.
14250         (ENABLE_NLS): Likewise.
14251         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14252         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14254         * posix/regex_internal.c: Check if DEBUG is defined and is
14255         set.
14257         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14258         (HAVE_MBSRTOWCS): Likewise.
14259         * posix/fnmatch.c: Include string.h unconditionally.
14261 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14263         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14264         reversal.
14266 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14268         * sysdeps/generic/safe-fatal.h: New file.
14269         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14270         * nptl/forward.c: Include it.
14271         (__pthread_unwind): Use __safe_fatal as default action, rather
14272         than a bogus use of INTERNAL_SYSCALL that could never work.
14274         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14275         * configure.ac (libc_cv_builtin_trap): New test.
14276         * configure: Regenerated.
14277         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14278         (ABORT_INSTRUCTION): Define using __builtin_trap.
14280         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14281         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14282         * sysdeps/nptl/nptl-signals.h: New file.
14283         * nptl/pthreadP.h: Include <nptl-signals.h>.
14285 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14287         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14288         (ONE_DIRECTION): Define.
14289         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14290         (ONE_DIRECTION): Define.
14291         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14292         (ONE_DIRECTION): Define.
14294 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14296         * sysdeps/s390/Makefile: Delete file.
14297         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14298         * sysdeps/s390/__longjmp.c: Delete file.
14299         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14300         Remove fields __flags and __reserved.
14301         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14302         and add versioning.
14303         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14304         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14305         * sysdeps/s390/rtld-setjmp.S: Likewise.
14306         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14307         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14308         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14309         * sysdeps/s390/s390-32/setjmp.S: ... here.
14310         Add versioning.
14311         (__sigsetjmp): Remove setting __flags field.
14312         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14313         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14314         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14315         * sysdeps/s390/s390-64/setjmp.S: ... here.
14316         Add versioning.
14317         (__sigsetjmp): Remove setting __flags field.
14318         * sysdeps/s390/setjmp.S: Delete file.
14319         * sysdeps/s390/sigjmp.c: Likewise.
14320         * sysdeps/s390/v1-longjmp.c: Likewise.
14321         * sysdeps/s390/v1-setjmp.h: Likewise.
14322         * sysdeps/s390/v1-sigjmp.c: Likewise.
14323         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14324         Remove v1-longjmp_chk.
14325         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14326         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14327         Include debug/longjmp_chk.c and add versioning.
14328         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14329         Include nptl/pt-longjmp.c and add versioning.
14330         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14331         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14332         Include __longjmp.c.
14333         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14334         Move to ...
14335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14336         (__getcontext): Remove setting __flags field.
14337         Add versioning.
14338         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14339         Don't restore upper high grps.
14340         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14341         Likewise.
14342         (__swapcontext): Remove setting uc_flags field.
14343         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14344         Delete file.
14345         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14346         Include __longjmp.c.
14347         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14348         Move to ...
14349         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14350         (__getcontext): Remove setting __flags field.
14351         Add versioning.
14352         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14353         (__swapcontext): Remove setting uc_flags field.
14354         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14355         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14356         Remove fields uc_high_gprs and __reserved.
14357         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14358         New file with reverted content.
14359         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14360         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14361         Regenerated.
14362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14363         Regenerated.
14365 2014-07-31  Andreas Schwab  <schwab@suse.de>
14367         * config.h.in (HAVE_IFUNC): Define to 0.
14368         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14369         definedness.
14371 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14374         memmove-avx-unaligned, memcpy-avx-unaligned and
14375         mempcpy-avx-unaligned.
14376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14377         Add tests for AVX memcpy functions.
14378         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14379         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14380         memcpy_chk.
14381         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14382         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14383         memmove_chk.
14384         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14385         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14386         mempcpy_chk.
14387         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14388         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14389         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14391 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14393         [BZ #17213]
14394         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14395         powerpc64le.
14397 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14399         [BZ #16839]
14400         * manual/llio.texi: Add section about open file description locks.
14401         * manual/examples/ofdlocks.c: Example of open file description
14402         lock usage.
14403         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14404         F_OFD_SETLK, and F_OFD_SETLKW.
14406 2014-07-23  Allan McRae  <allan@archlinux.org>
14408         * po/es.po: Update Spanish translation from translation project.
14410 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14412         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14414 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14416         [BZ #17078]
14417         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14418         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14419         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14421 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14423         [BZ #17088]
14424         * math/fesetenv.c (__fesetenv)
14425         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14426         * math/feupdateenv.c (__feupdateenv)
14427         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14429         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14430         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14431         (__ASSUME_SOCKETCALL): Do not define.
14433         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14434         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14435         (__ASSUME_SOCKETCALL): Do not define.
14436         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14437         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14438         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14439         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14440         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14441         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14442         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14443         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14445         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14446         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14447         (__ASSUME_SOCKETCALL): Do not define.
14448         (__ASSUME_IPC64): Define unconditionally.
14449         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14450         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14451         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14453         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14455         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14456         Likewise.
14458         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14459         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14460         (__ASSUME_SOCKETCALL): Do not define.
14461         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14462         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14463         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14464         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14465         (__ASSUME_REQUEUE_PI): Define unconditionally.
14466         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14467         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14468         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14469         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14470         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14471         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14473         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14474         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14475         (__ASSUME_SOCKETCALL): Do not define.
14476         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14477         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14478         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14479         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14480         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14481         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14483         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14484         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14485         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14486         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14488         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14490         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14491         (__ASSUME_GETCPU_SYSCALL): Likewise.
14493         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14494         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14495         cases for individual architectures.
14496         * sysdeps/gnu/configure: Regenerated.
14497         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14498         LIBC_SLIBDIR_RTLDDIR.
14499         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14500         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14501         LIBC_SLIBDIR_RTLDDIR.
14502         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14504         LIBC_SLIBDIR_RTLDDIR.
14505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14506         Regenerated.
14507         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14508         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14509         file.
14510         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14511         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14512         file.
14513         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14514         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14515         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14516         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14518         * sysdeps/aarch64/shlib-versions: Move to ...
14519         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14520         * sysdeps/alpha/shlib-versions: Move to ...
14521         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14522         * sysdeps/arm/shlib-versions: Move to ...
14523         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14524         * sysdeps/hppa/shlib-versions: Move all contents except for
14525         libgcc_s entry to ...
14526         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14527         entry from ...
14528         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14529         * sysdeps/ia64/shlib-versions: Move to ...
14530         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14531         entry from ...
14532         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14533         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14534         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14535         * sysdeps/microblaze/shlib-versions: Move to ...
14536         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14537         * sysdeps/mips/shlib-versions: Move to ...
14538         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14539         entry from ...
14540         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14541         * sysdeps/tile/shlib-versions: Move to ...
14542         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14543         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14544         from ...
14545         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14546         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14547         entry from ...
14548         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14550 2014-07-17  Will Newton  <will.newton@linaro.org>
14552         * sysdeps/arm/bits/atomic.h
14553         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14554         (__arch_compare_and_exchange_bool_16_int): Likewise.
14555         (__arch_compare_and_exchange_bool_64_int): Likewise.
14557         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14558         into an #else block.
14560 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14562         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14563         just Linux configurations.  Test empirically that the compiler sets
14564         __ARM_EABI__, rather than using the tuple to decide.
14565         * sysdeps/arm/preconfigure: Regenerated.
14566         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14567         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14568         contents appended ...
14569         * sysdeps/arm/configure.ac: ... here.
14570         * sysdeps/arm/configure: Regenerated.
14572 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14574         * nptl/pthread_kill.c: New file.
14575         * nptl/pthread_sigmask.c: New file.
14576         * nptl/pthread_sigqueue.c: New file.
14578         * sysdeps/nptl/lowlevellock.h: New file.
14579         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14580         * sysdeps/nptl/lowlevellock-futex.h: New file.
14582         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14583         Remove dead declarations.
14585 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14587         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14588         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14589         config-cflags-avx2.
14590         * sysdeps/x86_64/configure.ac: Likewise.
14591         * sysdeps/i386/configure: Regenerated.
14592         * sysdeps/x86_64/configure: Likewise.
14593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14594         memset-avx2 only if config-cflags-avx2 is yes.
14595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14596         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14597         defined.
14598         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14599         only if HAVE_AVX2_SUPPORT is defined.
14600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14602 2014-07-14  Alan Modra  <amodra@gmail.com>
14604         [BZ #17153]
14605         * elf/elf.h (DT_PPC64_NUM): Correct value.
14606         * NEWS: Add to fixed bug list.
14608 2014-07-13  Jim Meyering  <meyering@fb.com>
14610         [BZ 17150]
14611         regex: don't deref NULL upon heap allocation failure
14612         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14613         failure in one more place.
14614         To trigger the segfault, configure grep -with-included-regex,
14615         build it, and run these commands:
14616         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14618 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14620         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14622 2014-07-11  Richard Henderson  <rth@redhat.com>
14624         * sysdeps/aarch64/libm-test-ulps: Update.
14626 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14628         [BZ #17135]
14629         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14630         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14631         (__nptl_setxid): Initialize error member.  Call
14632         __nptl_setxid_error.
14633         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14634         * nptl/descr.h (struct xid_command): Add error member.
14635         * nptl/tst-setuid3.c: New file.
14636         * nptl/Makefile (tests): Add it.
14638 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14640         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14641         New define.
14642         (__lll_trylock): Use __lll_base_trylock.
14643         (__lll_cond_trylock): Likewise.
14645 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14647         * nptl/pthread_create.c (start_thread): Use atomic_or and
14648         lll_futex_wake directly rather than lll_robust_dead.
14649         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14650         (lll_robust_dead): Macro removed.
14651         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14652         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14653         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14654         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14655         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14656         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14657         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14658         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14659         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14661         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14662         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14663         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14664         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14665         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14667         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14668         Use atomic_compare_and_exchange_val_acq directly rather than
14669         lll_robust_trylock.
14670         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14671         (__lll_robust_trylock, lll_robust_trylock): Removed.
14672         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14673         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14674         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14676         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14677         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14678         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14679         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14680         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14681         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14682         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14683         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14687 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14689         * manual/locale.texi (Locale Names): New section documenting
14690         locale name syntax.  Adjust menu and node chaining accordingly.
14691         (Choosing Locale): Reference Locale Names, Locale Categories.
14692         Mention setting LC_ALL=C.  Reflect that name syntax is now
14693         documented.
14694         (Locale Categories): New section title.  Reference Locale Names.
14695         LC_ALL is an environment variable, but not a category.
14696         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14697         description, now in Locale Name.  Reference that section.  Locale
14698         name syntax is now documented.
14700 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14702         [BZ #17137]
14703         * locale/findlocale.c (name_present, valid_locale_name): New
14704         functions.
14705         (_nl_find_locale): Use the loc_name variable to store name
14706         candidates.  Call name_present and valid_locale_name to check and
14707         validate locale names.  Return an error if the locale is invalid.
14709 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14711         * locale/setlocale.c (setlocale): Use strdup for allocating
14712         composite name copy.
14714 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14716         Sync up with gnulib.
14717         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14718         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14719         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14720         and _GL_ARG_NONNULL.
14721         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14722         [!_LIBC]: Include code for Windows and Cygwin.
14723         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14724         Include prototype for int strerror_r.
14725         [!_LIBC] (is_open): New function.
14726         (flush_stdout): New function.
14727         (print_errno_message): Use it.
14728         (error): Likewise.
14729         (error_at_line): Likewise.
14730         (error_tail) Add function attribute macros.  Use
14731         __builtin_expect.
14733         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14735         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14737         * io/ftw.c: Include sys/param.h unconditionally.
14739         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14741         [BZ #17125]
14742         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14743         libc_freeres_ptr.
14744         (freecache): New function to free CACHE on exit.
14746         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14747         initialization.
14749 2014-07-09  David S. Miller  <davem@davemloft.net>
14751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14754         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14755         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14756         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14757         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14758         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14759         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14760         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14761         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14762         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14763         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14764         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14765         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14767 2014-07-09  Andreas Schwab  <schwab@suse.de>
14769         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14770         output.
14771         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14772         (do_test): Likewise.
14774         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14776 2014-07-09  Will Newton  <will.newton@linaro.org>
14778         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14779         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14780         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14781         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14782         * sysdeps/hppa/start.S (_start): Likewise.
14784 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14786         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14788         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14789         defined.
14791 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14793         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14794         after checking that it is non-NULL.
14796         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14798 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800         * sysdeps/powerpc/memmove.c: Remove file.
14801         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14802         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14803         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14804         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14805         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14806         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14807         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14808         string memmove instead of removed powerpc one.
14810         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14811         [weak_alias]: Fix compiler warning due trailing data.
14812         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14813         [weak_alias]: Likewise.
14814         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14815         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14818         (__libc_ifunc_impl_list): Add memmove functions.
14820 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14822         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14823         Remove code.
14824         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14825         Likewise
14826         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14827         Likewise
14828         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14829         Likewise
14830         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14831         Likewise
14832         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14833         Likewise
14834         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14835         Likewise
14836         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14837         Likewise
14838         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14839         Likewise
14840         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14841         Likewise
14842         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14843         Likewise
14844         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14845         Likewise
14846         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14847         Likewise
14848         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14849         Likewise
14850         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14851         Likewise
14852         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14853         Likewise
14854         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14855         Likewise
14857 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14859         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14860         to avoid alignment traps in non-cacheable memory.
14861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14864         multiarch objects.
14865         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14866         file: multiarch power7 memmove.
14867         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14868         multiarch default memmove.
14869         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14870         multiarch memove for powerpc32/power4.
14872         * string/bcopy.c: Use full path to include memmove.c.
14873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14874         multiarch objects.
14875         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14876         bcopy for powerpc64.
14877         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14878         bcopy for powerpc64.
14879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14880         and memmove implementations.
14881         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14882         optimized multiarch memmove for POWER7/powerpc64.
14883         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14884         default multiarch memmove for powerpc64.
14885         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14886         multiarch for powerpc64.
14887         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14888         for POWER7/powerpc64.
14889         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14890         memmove for POWER7/powerpc64.
14892         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14893         glibc default one.
14895         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14896         __ELF_NATIVE_CLASS equal to 64.
14898 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14900         * sysdeps/nptl/lowlevellock.h: File removed.
14902         * NEWS: NPTL is no longer an add-on!
14903         * nptl/internaltypes.h: Moved ...
14904         * sysdeps/nptl/internaltypes.h: ... here.
14905         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14906         * sysdeps/nptl/fork.c: Likewise.
14907         * sysdeps/nptl/gai_misc.h: Likewise.
14908         * sysdeps/nptl/librt-cancellation.c: Likewise.
14909         * sysdeps/nptl/jmp-unwind.c: Likewise.
14910         * sysdeps/nptl/setxid.h: Likewise.
14911         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14912         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14913         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14914         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14915         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14916         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14917         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14918         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14919         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14920         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14921         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14922         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14923         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14924         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14925         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14926         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14927         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14928         * nptl/Makeconfig: Moved ...
14929         * sysdeps/nptl/Makeconfig: ... here.
14930         * nptl/configure: File removed.
14931         * nptl/ANNOUNCE: File removed.
14932         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14933         * sysdeps/unix/sysv/linux/configure: Regenerated.
14935         * nptl/Makefile (routines): Add libc_pthread_init,
14936         libc_multiple_threads, register-atfork and unregister-atfork.
14937         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14938         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14939         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14940         pthread-pi-defines.sym, structsem.sym.
14941         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14942         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14943         [$(subdir) = nptl] (tests): Add tst-setgetname.
14944         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14945         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14946         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14947         [!LIBC_SIGACTION]: Remove aliases.
14948         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14949         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14950         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14951         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14952         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14953         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14954         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14955         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14956         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14957         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14958         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14959         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14960         __libc_allocate_rtsig_private.
14961         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14962         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14963         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14964         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14965         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14966         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14967         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14968         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14969         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14970         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14971         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14972         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14973         * nptl/internaltypes.h: ... here.
14974         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14975         * sysdeps/nptl/jmp-unwind.c: ... here.
14976         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14977         * nptl/libc-lowlevellock.c: ... here.
14978         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14979         * nptl/libc_multiple_threads.c: ... here.
14980         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14981         * nptl/libc_pthread_init.c: ... here.
14982         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14983         * nptl/lowlevelbarrier.sym: ... here.
14984         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14985         * nptl/lowlevelcond.sym: ... here.
14986         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14987         * nptl/lowlevellock.c: ... here.
14988         * nptl/lowlevellock.h: Moved ...
14989         * sysdeps/nptl/lowlevellock.h: ... here.
14990         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14991         * nptl/lowlevelrobustlock.c: ... here.
14992         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14993         * nptl/lowlevelrobustlock.sym: ... here.
14994         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14995         * nptl/lowlevelrwlock.sym: ... here.
14996         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14997         * nptl/pt-fork.c: ... here.
14998         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14999         * nptl/pthread-pi-defines.sym: ... here.
15000         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15001         * nptl/pthread_attr_getaffinity.c: ... here.
15002         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15003         * nptl/pthread_attr_setaffinity.c: ... here.
15004         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15005         * nptl/pthread_mutex_cond_lock.c: ... here.
15006         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15007         Update #include.
15008         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15009         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15010         * nptl/pthread_once.c: ... here, replacing old file.
15011         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15012         * nptl/pthread_yield.c: ... here.
15013         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15014         * nptl/register-atfork.c: ... here.
15015         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15016         * nptl/sem_post.c: ... here.
15017         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15018         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15019         * nptl/sem_timedwait.c: ... here.
15020         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15021         * nptl/sem_trywait.c: ... here.
15022         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15023         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15024         * nptl/sem_wait.c: ... here.
15025         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15026         * nptl/structsem.sym: ... here.
15027         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15028         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15029         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15030         * nptl/unregister-atfork.c: ... here.
15031         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15032         * nptl/unwindbuf.sym: ... here.
15033         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15034         * sysdeps/nptl/fork.c: ... here.
15035         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15036         * sysdeps/nptl/fork.h: ... here.
15037         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15038         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15039         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15040         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15041         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15042         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15043         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15044         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15045         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15046         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15047         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15048         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15049         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15050         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15051         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15052         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15053         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15054         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15055         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15056         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15057         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15058         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15059         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15060         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15061         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15062         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15063         * sysdeps/unix/sysv/linux/raise.c: ... here.
15064         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15065         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15066         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15067         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15068         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15069         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15071         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15072         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15073         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15075         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15077         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15078         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15080 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15082         * sysdeps/generic/memcopy.h: Add comment for
15083         MEMCPY_OK_FOR_FWD_MEMMOVE.
15085 2014-07-04  Will Newton  <will.newton@linaro.org>
15087         * string/memchr.c: Merge from gnulib.
15088         [_LIBC]: Remove conditionals.
15089         (__ptr_t): Remove define.
15090         (LONG_MAX_32_BITS): Likewise.
15091         (LONG_MAX): Likewise.
15092         (MEMCHR): Use ANSI prototype and optimize algorithm.
15094         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15096 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15098         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15099         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15101         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15102         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15103         in a bare environment with no <stdlib.h> installed.
15104         * sysdeps/nptl/configure: Regenerated.
15106         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15108         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15109         AC_EGREP_CPP for kernel header checks, so they only succeed if
15110         including <linux/version.h> actually works right.
15111         * sysdeps/unix/sysv/linux/configure: Regenerated.
15113         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15114         value so it's not diagnosed as unused.
15116         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15117         thing) with "ifeq ($(subdir),rt)".
15119 2014-07-03  Richard Henderson  <rth@redhat.com>
15121         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15122         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15123         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15125         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15126         (math_force_eval): New.
15128         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15129         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15131         * sysdeps/alpha/fpu/s_round.c: Remove file.
15132         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15134         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15135         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15136         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15137         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15138         (_dl_start, print_statistics): Likewise.
15139         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15140         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15142         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15143         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15144         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15145         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15146         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15147         (HP_SMALL_TIMING_AVAIL): Define.
15148         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15150         (HP_SMALL_TIMING_AVAIL): Define.
15151         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15152         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15154         * sysdeps/aarch64/hp-timing.h: New file.
15156         * sysdeps/generic/hp-timing.h: Remove dead comment.
15157         * sysdeps/generic/hp-timing-common.h: New file.
15158         * sysdeps/alpha/hp-timing.h: Include it.
15159         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15160         * sysdeps/i386/i686/hp-timing.h: Likewise.
15161         * sysdeps/ia64/hp-timing.h: Likewise.
15162         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15163         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15164         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15165         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15166         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15167         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15168         (hp_timing_t): New.
15170         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15171         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15172         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15173         * elf/rtld.c (_dl_start_final): Likewise.
15174         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15175         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15176         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15177         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15178         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15179         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15180         (HP_TIMING_DIFF_INIT): Remove.
15181         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15183         (HP_TIMING_DIFF_INIT): Remove.
15184         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15185         * sysdeps/i386/i686/hp-timing.c: Remove file.
15186         * sysdeps/x86_64/hp-timing.c: Remove file.
15187         * sysdeps/ia64/hp-timing.c: Remove file.
15188         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15189         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15190         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15191         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15193         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15194         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15195         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15196         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15197         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15198         (HP_TIMING_ACCUM): Remove.
15199         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15200         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15201         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15203         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15204         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15205         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15206         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15207         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15208         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15209         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15210         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15212         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15214 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15216         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15218 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15220         Sync up with gettext.
15221         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15222         [_MSC_VER]: Include malloc.h
15223         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15224         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15225         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15226         TEMP_FAILURE_RETRY.  Cast return of alloca.
15227         [!_LIBC] Call gl_rwlock_init.
15228         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15230 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15232         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15233         before checking its value.
15235 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15237         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15239         * debug/memcpy_chk.c: Don't include pagecopy.h.
15240         * debug/mempcpy_chk.c: Likewise.
15241         * string/memcpy.c: Likewise.
15242         * string/memmove.c: Likewise.
15243         * sysdeps/powerpc/memmove.c: Likewise.
15244         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15245         definition of PAGE_COPY_FWD_MAYBE here...
15246         * sysdeps/generic/pagecopy.h: ... from here.
15247         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15249 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15250             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15252         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15254         optimizations.
15255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15256         (__libc_ifunc_impl_list): Likewise.
15257         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15258         multiarch strcat for PPC64.
15259         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15260         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15262 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15264         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15266 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15268         * intl/loadmsgcat.c: Remove declaration of
15269         get_sysdep_segment_value.
15270         (get_sysdep_segment_value): Use ISO C style.
15271         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15272         semicolon.  Fix typo and formatting in comment.
15273         (_nl_unload_domain): Use ISO C style.
15275         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15277 2014-07-02  Will Newton  <will.newton@linaro.org>
15279         * malloc/obstack.c: Merge from gnulib master.
15280         [HAVE_CONFIG_H]: Remove conditional code.
15281         [!_LIBC]: Include config.h.
15282         [!ELIDE_CODE]: Don't include inttypes.h, include
15283         stdint.h unconditionally.
15284         (print_and_abort): Mark as _Noreturn.
15285         (_obstack_allocated_p): Mark as __attribute_pure__.
15286         (obstack_free): Rename to __obstack_free.
15287         [!__attribute__]: Remove conditional code.
15288         * malloc/obstack.h: Merge from gnulib master.
15289         [__cplusplus]: Move conditional down.
15290         [!__attribute_pure__]: Define __attribute_pure__ here
15291         if it is not already defined.
15292         (_obstack_memory_used): Mark as __attribute_pure__.
15293         [!__obstack_free]: Define as obstack_free.
15294         [__GNUC__]: Remove check for ancient NeXT gcc.
15296 2014-07-02  Will Newton  <will.newton@linaro.org>
15297             Paul Eggert  <eggert@cs.ucla.edu>
15299         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15301 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303         * resolv/gethnamaddr.c: Add comment warning that the file is
15304         not maintained.
15306 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15308         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15309         entries.
15311         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15312         entry for aio_cancel and aio_cancel64.
15313         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15314         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15315         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15316         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15317         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15318         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15319         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15320         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15321         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15322         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15323         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15324         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15325         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15327 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15329         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15330         * nptl/pthread_mutex_lock.c: Likewise.
15331         * nptl/pthread_mutex_timedlock.c: Likewise.
15332         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15334 2014-07-01  Richard henderson  <rth@redhat.com>
15336         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15337         (__isnan, __isnanl): Remove.
15338         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15340         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15342 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15344         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15346 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15348         * resolv/nss_dns/dns-host.c (getanswer_r)
15349         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15351 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15354         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15355         undefine.
15356         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15357         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15359 2014-07-01  Roland McGrath <roland@hack.frob.com>
15361         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15362         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15364         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15365         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15367         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15368         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15369         ... here.
15370         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15371         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15373         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15374         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15375         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15376         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15378         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15379         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15380         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15381         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15382         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15383         Moved ...
15384         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15385         ... here.
15386         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15387         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15389         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15390         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15391         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15392         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15393         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15394         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15395         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15396         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15397         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15398         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15399         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15400         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15401         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15402         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15403         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15404         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15405         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15406         ... here.
15407         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15408         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15409         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15410         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15411         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15412         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15413         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15414         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15416 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15418         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15419         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15420         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15421         Add sysdep.
15423 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15427 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15429         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15430         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15432         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15434         * sysdeps/arm/libm-test-ulps: Regenerated.
15436 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15437             Roland McGrath <roland@hack.frob.com>
15439         * test-skeleton.c (signal_handler): Kill the whole process group
15440         before killing the child individually.
15441         (main): Report any failure on `setpgid'.
15443 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15445         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15446         from _TLS_H to _ARM_NPTL_TLS_H.
15447         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15448         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15450 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15452         [BZ #16539]
15453         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15454         (__expm1l): Return argument unchanged when small but not
15455         subnormal.
15457         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15458         include macro name.
15459         (_FP_UNPACK_RAW_1_P): Likewise.
15460         (_FP_PACK_RAW_1): Likewise.
15461         (_FP_PACK_RAW_1_P): Likewise.
15462         (_FP_MUL_MEAT_1_wide): Likewise.
15463         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15464         (_FP_MUL_MEAT_1_hard): Likewise.
15465         (_FP_DIV_MEAT_1_imm): Likewise.
15466         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15467         (_FP_DIV_MEAT_1_udiv): Likewise.
15468         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15469         (_FP_UNPACK_RAW_2): Likewise.
15470         (_FP_UNPACK_RAW_2_P): Likewise.
15471         (_FP_PACK_RAW_2): Likewise.
15472         (_FP_PACK_RAW_2_P): Likewise.
15473         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15474         (_FP_MUL_MEAT_2_wide): Likewise.
15475         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15476         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15477         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15478         (_FP_MUL_MEAT_2_gmp): Likewise.
15479         (_FP_DIV_MEAT_2_udiv): Likewise.
15480         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15481         (_FP_FRAC_SRL_4): Likewise.
15482         (_FP_FRAC_SRST_4): Likewise.
15483         (_FP_FRAC_SRS_4): Likewise.
15484         (_FP_UNPACK_RAW_4): Likewise.
15485         (_FP_UNPACK_RAW_4_P): Likewise.
15486         (_FP_PACK_RAW_4): Likewise.
15487         (_FP_PACK_RAW_4_P): Likewise.
15488         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15489         (_FP_MUL_MEAT_4_wide): Likewise.
15490         (_FP_MUL_MEAT_4_gmp): Likewise.
15491         (umul_ppppmnnn): Likewise.
15492         (_FP_DIV_MEAT_4_udiv): Likewise.
15493         (__FP_FRAC_ADD_4): Likewise.
15494         (__FP_FRAC_SUB_3): Likewise.
15495         (__FP_FRAC_SUB_4): Likewise.
15496         (__FP_FRAC_DEC_3): Likewise.
15497         (__FP_FRAC_DEC_4): Likewise.
15498         (__FP_FRAC_ADDI_4): Likewise.
15499         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15500         (_FP_FRAC_SRL_8): Likewise.
15501         (_FP_FRAC_SRS_8): Likewise.
15503         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15504         include macro name.
15505         (FP_UNPACK_RAW_EP): Likewise.
15506         (FP_PACK_RAW_E): Likewise.
15507         (FP_PACK_RAW_EP): Likewise.
15508         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15509         (_FP_ISSIGNAN): Likewise.
15510         (_FP_ADD_INTERNAL): Likewise.
15511         (_FP_FMA): Likewise.
15512         (_FP_CMP): Likewise.
15513         (_FP_SQRT): Likewise.
15514         (_FP_TO_INT): Likewise.
15515         (_FP_FROM_INT): Likewise.
15516         (FP_EXTEND): Likewise.
15517         (_FP_DIV_MEAT_N_loop): Likewise.
15519 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15521         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15522         throughout.
15524 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15526         [BZ #17097]
15527         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15528         result with correct sign in case of exponents that produce
15529         overflow except for X very close to 1.
15531 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15533         mktime: merge #if/#ifdef usage from glibc
15534         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15535         as that works with both Glibc's and Gnulib's style.
15536         See thread starting at Siddhesh Poyarekar's bug report at:
15537         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15539 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15541         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15542         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15543         * sysdeps/tile/tilegx/memmove.c: Remove file.
15545 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15547         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15548         abi-name definition.
15549         * scripts/soversions.awk: Do not handle or generate ABI lines.
15550         * shlib-versions: Remove ABI entries.
15551         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15552         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15554 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15557         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15558         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15559         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15561         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15563         Moved ...
15564         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15565         ... here.
15566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15567         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15569         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15571         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15572         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15573         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15575         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15577         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15579         Moved ...
15580         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15582         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15584         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15586         Moved ...
15587         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15588         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15589         Moved ...
15590         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15592         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15594         Moved ...
15595         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15597         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15599         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15601         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15603         Moved ...
15604         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15606         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15608         Moved ...
15609         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15611         Moved ...
15612         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15616         Moved ...
15617         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15618         ... here.
15619         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15620         Identical file removed.
15621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15625         Identical file removed.
15626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15627         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15632         Identical file removed.
15633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15634         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15636         Identical file removed.
15637         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15638         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15640         Identical file removed.
15641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15642         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15644         Identical file removed.
15645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15646         Moved ...
15647         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15649         Identical file removed.
15650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15651         Moved ...
15652         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15654         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15656         Identical file removed.
15657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15658         Moved ...
15659         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15660         ... here.
15661         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15662         Identical file removed.
15663         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15664         Moved ...
15665         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15667         Identical file removed.
15668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15669         Moved ...
15670         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15671         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15674         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15675         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15676         Moved ...
15677         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15679         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15681         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15682         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15683         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15684         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15685         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15687 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15689         [BZ #17092]
15690         * nscd/nscd.c (monitor_child): Return exit status of child
15691         instead of return value from wait syscall.
15693 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15695         * configure.ac (libc_commonpagesize): Remove variable.
15696         (libc_relro_required): Likewise.
15697         (libc_cv_z_relro): Remove configure test.
15698         * configure: Regenerated.
15699         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15700         variable.
15701         (libc_relro_required): Likewise.
15702         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15703         (libc_relro_required): Likewise.
15704         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15705         (libc_relro_required): Likewise.
15706         * sysdeps/arm/preconfigure: Regenerated.
15707         * sysdeps/ia64/preconfigure: Remove file.
15708         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15709         variable.
15710         (libc_relro_required): Likewise.
15712         [BZ #16561]
15713         [BZ #16562]
15714         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15715         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15716         recompute overflowing results in original rounding mode.
15717         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15718         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15719         recompute overflowing results in original rounding mode.
15720         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15721         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15722         recompute overflowing results in original rounding mode.
15723         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15724         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15725         recompute overflowing results in original rounding mode.
15726         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15727         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15728         recompute overflowing results in original rounding mode.
15729         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15730         (libc_feholdsetround_ctx): New macro.
15731         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15732         * sysdeps/i386/fpu/libm-test-ulps: Update.
15733         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15735 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15737         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15738         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15739         corresponding .cpsetup call.
15741 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15743         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15744         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15745         * sysdeps/arm/Makefile [$(subdir) = csu]
15746         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15747         (static-only-routines): Add aeabi_read_tp here.
15748         (shared-only-routines): Add libc-aeabi_read_tp here.
15749         (CFLAGS-libc-start.c): Add -fexceptions here.
15750         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15751         (sysdep_routines, static-only-routines, shared-only-routines):
15752         Don't add to these here.
15753         (CFLAGS-libc-start.c): Likewise.
15755         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15756         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15757         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15758         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15759         * sysdeps/arm/Makefile [$(subdir) = rt]
15760         (librt-sysdep_routines, librt-shared-only-routines):
15761         Append rt-aeabi_unwind_cpp_pr1 here.
15762         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15763         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15764         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15765         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15766         Append nptl-aeabi_unwind_cpp_pr1 here.
15767         (tests): Filter out tst-cleanupx4 here.
15768         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15769         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15770         Don't do those here.
15772 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15774         * scripts/list-sources.sh: Do not handle ports specially.
15776 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15778         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15779         * sysdeps/arm/feupdateenv.c: Likewise.
15781         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15783 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15785         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15786         trailing whitespace removed.
15787         * scripts/config.guess: Update to version 2014-03-23.
15788         * scripts/config.sub: Update to version 2014-05-01
15789         * scripts/install-sh: Update to version 2013-12-25.23.
15790         * scripts/move-if-change: Update from gnulib.
15792 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15794         * debug/memmove_chk.c: Remove pagecopy.h include.
15796 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15798         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15799         identical to gnulib mktime.
15801 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15803         * configure.ac: Do not test for machine being rs6000.  Do not test
15804         for powerpc*-*soft.
15805         * configure: Regenerated.
15807         [BZ #11505]
15808         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15809         test.
15810         * configure: Regenerated.
15811         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15812         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15813         Remove configure test.
15814         * sysdeps/arm/configure: Regenerated.
15815         * sysdeps/nptl/configure.ac: Do not check
15816         libc_cv_asm_cfi_directives.
15817         * sysdeps/nptl/configure: Regenerated.
15818         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15819         * sysdeps/x86_64/nptl/configure: Remove generated file.
15820         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15821         unconditional.
15822         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15824 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15826         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15827         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15828         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15829         it is defined.
15831         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15832         instead of whether it is defined.
15833         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15834         * sysdeps/hppa/dl-machine.h: Likewise.
15835         * sysdeps/ia64/dl-machine.h: Likewise.
15836         * sysdeps/m68k/dl-machine.h: Likewise.
15837         * sysdeps/microblaze/dl-machine.h: Likewise.
15838         * sysdeps/mips/dl-machine.: Likewise.
15839         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15840         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15841         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15842         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15843         * sysdeps/sh/dl-machine.h: Likewise.
15844         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15845         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15846         * sysdeps/tile/dl-machine.h: Likewise.
15847         * sysdeps/x86_64/dl-machine.h: Likewise.
15849         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15850         code.
15851         (verify_persistent_db): Likewise.
15853 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15856         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15858         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15860         Moved ...
15861         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15862         ... here.
15863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15864         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15866         Identical file removed.
15867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15872         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15874         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15876         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15878         Moved ...
15879         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15881         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15883         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15885         Moved ...
15886         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15888         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15890         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15892         Identical file removed.
15893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15894         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15896         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15898         Moved ...
15899         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15900         ... here.
15901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15902         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15904         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15906         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15908         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15910         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15912         Moved ...
15913         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15915         Moved ...
15916         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15918         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15920         Moved ...
15921         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15923         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15925         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15926         folded into ...
15927         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15928         * sysdeps/unix/sysv/linux/s390/Versions
15929         (libpthread: GLIBC_2.19): New version set.
15930         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15931         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15932         (librt: GLIBC_2.3.3): New version set.
15933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15934         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15935         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15936         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15937         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15938         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15939         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15940         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15941         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15942         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15943         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15944         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15945         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15946         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15947         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15948         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15949         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15950         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15951         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15952         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15953         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15955         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15956         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15957         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15958         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15959         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15960         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15961         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15963         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15964         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15969         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15970         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15971         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15972         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15973         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15975         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15977         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15980         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15981         (__libc_vfork): Define the function under this name.
15982         [!NOT_IN_libc] (__vfork): Make this an alias.
15983         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15984         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15985         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15986         (__libc_vfork): Define the function under this name.
15987         [!NOT_IN_libc] (__vfork): Make this an alias.
15988         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15989         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15990         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15993         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15995         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15996         code that was previously under [RESET_PID].
15997         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15998         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16001         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16002         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16003         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16004         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16005         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16006         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16007         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16008         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16009         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16010         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16011         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16012         Moved ...
16013         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16023         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16024         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16025         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16031         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16033         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16034         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16035         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16037         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16038         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16039         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16040         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16041         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16043 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16045         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16046         that was previously under [RESET_PID].
16047         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16049 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16051         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16052         not undefine and redefine.
16053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16054         [O_CLOEXEC]: Make code unconditional.
16055         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16056         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16057         <kernel-features.h>.
16058         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16059         conditional variable definition.
16060         (shm_open) [O_CLOEXEC]: Make code unconditional.
16061         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16062         code.
16064         * configure.ac (USE_REGPARMS): Don't define here.
16065         * configure: Regenerated.
16066         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16067         * sysdeps/i386/configure: Regenerated.
16069         * nptl/createthread.c: Don't include kernel-features.h.
16070         * nptl/pthread_cancel.c: Likewise.
16071         * nptl/pthread_condattr_setclock.c: Likewise.
16072         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16073         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16074         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16075         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16076         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16077         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16078         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16081         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16082         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16083         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16084         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16085         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16086         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16087         * nscd/gai.c: Likewise.
16088         * nss/nss_db/db-open.c: Likewise.
16089         * sysdeps/generic/ldsodefs.h: Likewise.
16090         * sysdeps/sh/nptl/tls.h: Likewise.
16091         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16092         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16093         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16094         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16095         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16096         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16097         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16098         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16099         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16100         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16101         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16102         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16103         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16104         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16105         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16106         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16107         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16108         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16109         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16110         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16113         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16114         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16115         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16119         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16120         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16121         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16122         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16123         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16124         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16125         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16126         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16127         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16128         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16129         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16130         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16131         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16132         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16133         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16134         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16135         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16136         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16137         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16138         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16139         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16140         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16141         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16142         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16143         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16144         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16145         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16146         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16147         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16148         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16171         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16172         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16173         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16174         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16175         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16176         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16177         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16178         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16179         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16180         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16181         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16182         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16183         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16184         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16185         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16186         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16187         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16188         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16189         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16190         * sysdeps/unix/sysv/linux/system.c: Likewise.
16191         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16192         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16193         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16194         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16195         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16196         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16197         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16199         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16200         * configure: Regenerated.
16201         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16203         * configure.ac (base_machine): Do not set specially for particular
16204         machines here.
16205         * configure: Regenerated.
16206         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16207         settings from configure.ac.
16208         * sysdeps/i386/preconfigure: New file.
16209         * sysdeps/s390/preconfigure: Likewise.
16210         * sysdeps/sh/preconfigure: Likewise.
16211         * sysdeps/sparc/preconfigure: Likewise.
16213 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16215         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16216         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16217         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16218         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16219         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16220         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16221         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16222         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16223         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16224         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16225         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16226         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16227         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16228         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16229         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16230         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16231         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16232         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16233         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16235         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16236         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16237         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16238         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16239         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16240         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16241         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16242         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16243         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16244         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16245         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16246         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16247         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16248         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16249         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16250         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16251         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16252         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16253         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16254         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16256         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16257         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16258         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16259         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16260         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16261         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16262         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16263         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16264         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16265         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16266         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16267         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16268         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16269         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16270         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16271         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16272         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16275         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16277         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16279         Moved ...
16280         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16281         ... here.
16282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16283         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16285         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16287         Moved ...
16288         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16292         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16299         Moved ...
16300         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16302         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16304         Moved ...
16305         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16307         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16309         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16311         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16313         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16315         Moved ...
16316         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16317         ... here.
16318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16319         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16321         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16323         Moved ...
16324         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16326         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16332         Moved ...
16333         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16335         Moved ...
16336         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16338         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16340         Moved ...
16341         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16343         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16345         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16347 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16349         * timezone/checktab.awk: Update from tzcode 2014e.
16350         * timezone/private.h: Likewise.
16351         * timezone/tzfile.h: Likewise.
16352         * timezone/zdump.c: Likewise.
16353         * timezone/zic.c: Likewise.
16355         * sysdeps/unix/sysv/linux/kernel-features.h
16356         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16357         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16358         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16359         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16360         Remove conditional code.
16362 2014-06-25  Will Newton  <will.newton@linaro.org>
16364         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16365         (_dl_arm_cap_flags): Add HWCAP2 values.
16366         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16367         (_DL_HWCAP_COUNT): Increase to 37.
16368         (_DL_HWCAP_LAST): New define.
16369         (_DL_HWCAP2_LAST): New define.
16370         (_dl_procinfo): Add support for printing
16371         AT_HWCAP2 entries.
16372         (_dl_string_hwcap): Use _dl_hwcap_string.
16374 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16378 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16380         * README: Do not mention ports directory.
16382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16383         Remove macro.
16384         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16385         <kernel-features.h>.
16386         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16387         conditional variable definition.
16388         (__futimes): Update comment.
16389         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16390         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16392         [BZ #16560]
16393         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16394         arguments close to 0.
16395         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16396         Likewise.
16397         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16398         Likewise.
16399         * math/auto-libm-test-in: Add more tests of exp10.
16400         * math/auto-libm-test-out: Regenerated.
16401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16403         * sysdeps/unix/sysv/linux/kernel-features.h
16404         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16405         * sysdeps/unix/sysv/linux/readv.c: Do not include
16406         <kernel-features.h>.
16407         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16408         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16409         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16410         unconditional.
16411         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16412         conditional code.
16413         * sysdeps/unix/sysv/linux/writev.c: Do not include
16414         <kernel-features.h>.
16415         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16416         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16417         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16418         unconditional.
16419         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16420         conditional code.
16422 2014-06-25  Will Newton  <will.newton@linaro.org>
16424         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16425         comment changes throughout the file.  Remove checks
16426         for HAVE_*_H definitions that are not required.
16427         (__gen_tempname): Call abort if an unknown kind value is
16428         passed.
16430 2014-06-25  Andreas Schwab  <schwab@suse.de>
16432         [BZ #17086]
16433         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16434         scalbln, scalblnf, scalblnl in libc.
16436 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16438         [BZ #17086]
16439         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16440         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16441         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16443 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16445         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16446         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16447         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16448         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16449         Update #include.
16450         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16451         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16452         Update #include.
16453         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16454         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16455         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16456         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16457         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16458         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16459         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16460         * sysdeps/x86/bits/semaphore.h: ... here.
16461         * sysdeps/x86/nptl/elide.h: Moved ...
16462         * sysdeps/x86/elide.h: ... here.
16463         * sysdeps/x86_64/nptl/Implies: File removed.
16464         * sysdeps/i386/nptl/Implies: File removed.
16466 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16468         [BZ #16539]
16469         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16470         return the argument for normal arguments with exponent below -64.
16471         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16472         Likewise.
16473         * math/auto-libm-test-in: Add another test of expm1.
16474         * math/auto-libm-test-out: Regenerated.
16476         [BZ #16287]
16477         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16478         calling __erfcl for arguments at least 16.
16479         * math/auto-libm-test-in: Add more tests of erf.
16480         * math/auto-libm-test-out: Regenerated.
16482         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16483         individual architectures.
16484         * sysdeps/unix/sysv/linux/configure: Regenerated.
16485         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16486         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16487         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16488         (ldd_rewrite_script): Define variable.
16489         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16491         file.
16492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16493         generated file.
16494         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16495         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16496         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16497         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16498         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16499         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16500         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16501         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16503 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16505         [BZ #17084]
16506         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16507         Rename member __data.d to __data.__elision_data.
16509 2014-06-24  Wilco  <wdijkstr@arm.com>
16511         * NEWS: Add 16918 to fixed bug list.
16513 2014-06-24  Wilco  <wdijkstr@arm.com>
16515         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16517 2014-06-24  Wilco  <wdijkstr@arm.com>
16519         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16520         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16521         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16522         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16523         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16524         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16525         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16526         Use _FPU_MASK_RM.
16528 2014-06-24  Wilco  <wdijkstr@arm.com>
16530         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16532 2014-06-24  Wilco  <wdijkstr@arm.com>
16534         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16535         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16536         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16537         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16539 2014-06-24  Wilco  <wdijkstr@arm.com>
16541         [BZ #16918]
16542         * sysdeps/arm/feupdateenv.c (feupdateenv):
16543         Rewrite to reduce FPSCR accesses and fix return value.
16545 2014-06-24  Wilco  <wdijkstr@arm.com>
16547         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16548         Optimize to avoid unnecessary FPSCR writes.
16549         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16550         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16551         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16552         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16554 2014-06-24  Wilco  <wdijkstr@arm.com>
16556         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16557         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16558         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16559         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16560         Call libc_fetestexcept_vfp.
16561         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16562         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16563         __SOFTFP__ ifdef so that they can be built for softfp.
16565 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16567         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16568         argument type signed char.
16570         * Makerules (check-abi): Dump diff of symlist if the test
16571         fails.
16573 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16575         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16576         using abort.
16578         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16579         Remove unused variable ST.
16581 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16583         [BZ #16354]
16584         [BZ #17061]
16585         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16586         small arguments before calling __expm1.
16587         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16588         small arguments before calling __expm1f.
16589         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16590         small arguments before calling __expm1l.
16591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16592         Likewise.
16593         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16594         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16595         spurious underflow for some cosh tests.
16596         * math/auto-libm-test-out: Regenerated.
16597         * sysdeps/i386/fpu/libm-test-ulps: Update.
16599         [BZ #17050]
16600         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16601         (__ieee754_y1): Set errno if return value overflows.
16602         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16603         (__ieee754_y1f): Set errno if return value overflows.
16604         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16605         (__ieee754_y1l): Set errno if return value overflows.
16606         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16607         (__ieee754_y1l): Set errno if return value overflows.
16608         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16609         * math/auto-libm-test-out: Regenerated.
16611         * math/gen-auto-libm-tests.c: Document use of
16612         ignore-zero-inf-sign.
16613         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16614         (input_flags): Add ignore-zero-inf-sign.
16615         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16616         * math/gen-libm-test.pl (generate_testfile): Handle
16617         ignore-zero-inf-sign.
16618         * math/auto-libm-test-in: Mark some cpow tests with
16619         ignore-zero-inf-sign and some with xfail-rounding.
16620         * math/auto-libm-test-out: Regenerated.
16621         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16622         * sysdeps/i386/fpu/libm-test-ulps: Update.
16623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625         [BZ #16315]
16626         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16627         overflowing or underflowing operations take place with sign of
16628         result.
16629         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16630         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16631         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16632         (__ieee754_pow): Recompute overflowing and underflowing results in
16633         original rounding mode.
16634         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16635         (__powl_helper): Allow negative argument X and scale negated value
16636         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16637         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16638         overflowing or underflowing operations take place with sign of
16639         result.
16640         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16641         Include <math.h>.
16642         * math/auto-libm-test-in: Add more tests of pow.
16643         * math/auto-libm-test-out: Regenerated.
16644         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16645         (pow_tonearest_test_data): Remove.
16646         (pow_test_tonearest): Likewise.
16647         (pow_towardzero_test_data): Likewise.
16648         (pow_test_towardzero): Likewise.
16649         (pow_downward_test_data): Likewise.
16650         (pow_test_downward): Likewise.
16651         (pow_upward_test_data): Likewise.
16652         (pow_test_upward): Likewise.
16653         (main): Don't call removed functions.
16654         * sysdeps/i386/fpu/libm-test-ulps: Update.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16660         Moved ...
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16663         Moved ...
16664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16666         Moved ...
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16669         Moved ...
16670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16672         File removed.
16673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16674         File removed.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16676         File removed.
16677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16678         File removed.
16679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16680         File removed.
16681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16682         File removed.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16684         File removed.
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16686         File removed.
16687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16688         File removed.
16689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16690         File removed.
16691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16692         File removed.
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16694         File removed.
16695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16696         Moved ...
16697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16699         Moved ...
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16701         ... here.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16709         Moved ...
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16712         Moved ...
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16715         Moved ...
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16718         Moved ...
16719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16721         Moved ...
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16725         ... here.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16730         Moved ...
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16732         ... here.
16733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16734         Moved ...
16735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16736         ... here.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16740         ... here.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16742         Moved ...
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16745         Moved ...
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16750         Moved ...
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16752         ... here.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16754         Moved ...
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16756         ... here.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16758         Moved ...
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16761         Moved ...
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16764         Moved ...
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16767         Moved ...
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16772         ... here.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16774         Moved ...
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16780         Moved ...
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16783         Moved ...
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16788         Moved ...
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16791         Moved ...
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16794         Moved ...
16795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16796         ... here.
16797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16798         Moved ...
16799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16800         ... here.
16801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16802         Moved ...
16803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16804         ... here.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16806         Moved ...
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16815         Moved ...
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16817         ... here.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16819         Moved ...
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16821         ... here.
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16823         Moved ...
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16825         ... here.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16827         Moved ...
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16830         Moved ...
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16833 2014-06-23  Will Newton  <will.newton@linaro.org>
16834             Wilco  <wdijkstr@arm.com>
16836         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16837         implementation.  Include get-rounding-mode.h.
16838         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16839         [!libc_feholdsetround_noex_ctx]: Define
16840         libc_feholdsetround_noex_ctx.
16841         [!libc_feholdsetround_noexf_ctx]: Define
16842         libc_feholdsetround_noexf_ctx.
16843         [!libc_feholdsetround_noexl_ctx]: Define
16844         libc_feholdsetround_noexl_ctx.
16845         (libc_feholdsetround_ctx): New function.
16846         (libc_feresetround_ctx): New function.
16847         (libc_feholdsetround_noex_ctx): New function.
16848         (libc_feresetround_noex_ctx): New function.
16850 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16852         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16853         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16854         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16855         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16856         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16857         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16859         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16860         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16861         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16862         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16863         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16864         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16865         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16866         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16868         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16869         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16870         Moved ...
16871         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16872         ... here.
16873         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16881         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16882         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16883         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16885         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16893         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16895         Moved ...
16896         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16898         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16899         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16900         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16901         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16902         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16904         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16905         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16906         Moved ...
16907         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16908         ... here.
16909         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16910         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16912         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16916         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16917         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16918         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16919         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16920         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16921         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16922         Moved ...
16923         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16925         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16927         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16928         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16929         Moved ...
16930         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16931         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16932         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16933         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16934         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16936         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16937         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16938         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16939         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16940         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16941         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16943         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16945         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16946         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16947         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16948         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16949         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16950         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16951         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16952         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16953         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16954         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16955         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16957         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16958         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16959         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16960         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16965 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16968         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16969         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16970         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16971         (IPV6_PMTUDISC_INTERFACE): Likewise.
16972         (IPV6_PMTUDISC_OMIT): Likewise.
16974 2014-06-23  Andreas Schwab  <schwab@suse.de>
16976         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16977         Remove unused errout label.
16979 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16981         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16982         macro: hardware supports Vector Crypto instructions.
16984 2014-06-23  Will Newton  <will.newton@linaro.org>
16986         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16987         rather than __builtin_expect.
16989         * elf/dl-lookup.c (undefined_msg): Remove variable.
16990         (_dl_lookup_symbol_x): Replace undefined_msg with string
16991         literal.
16993         * elf/dl-lookup.c (do_lookup_unique): New function.
16994         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16995         to a separate function.
16997 2014-06-23  Andreas Schwab  <schwab@suse.de>
16999         [BZ #17079]
17000         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17001         before reading the next line.
17003 2014-06-23  Will Newton  <will.newton@linaro.org>
17005         * test-skeleton.c (signal_handler): Use printf and %m
17006         rather than perror.  Use printf rather than fprintf to
17007         stderr.  Use puts rather than fputs to stderr.
17008         (main): Likewise.
17010 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17012         * nscd/nscd.c (thread_info_t): Remove typedef.
17013         (thread_info): Remove variable.
17015 2014-06-21  Allan McRae  <allan@archlinux.org>
17017         * NEWS: Mention CVE-2014-4043.
17019 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17021         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17022         * nptl/smp.h: ... here.
17024         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17026         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17027         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17028         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17029         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17031         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17032         * nptl/stack-aliasing.h: New file.
17033         * sysdeps/i386/i686/stack-aliasing.h: New file.
17034         * sysdeps/i386/i686/nptl/Makefile: File removed.
17035         * sysdeps/x86_64/stack-aliasing.h: New file.
17036         * sysdeps/x86_64/nptl/Makefile
17037         (CFLAGS-pthread_create.c): Variable removed.
17039         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17040         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17041         old file.
17042         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17043         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17044         old file.
17046 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17048         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17049         (__ASSUME_SIGFRAME_V2): Remove macro.
17050         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17051         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17052         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17053         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17054         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17055         Declare as function.  Remove conditional macro definitions.
17056         (__default_rt_sa_restorer): Likewise.
17057         (__default_sa_restorer_v1): Remove declaration.
17058         (__default_sa_restorer_v2): Likewise.
17059         (__default_rt_sa_restorer_v1): Likewise.
17060         (__default_rt_sa_restorer_v2): Likewise.
17061         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17062         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17063         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17065 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17067         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17068         (libpthread-routines): Add sysdep.
17069         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17070         * sysdeps/unix/sysv/linux/sparc/Versions
17071         (libpthread: GLIBC_2.3.3): New version set.
17072         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17073         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17074         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17075         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17076         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17077         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17078         Moved ...
17079         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17080         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17081         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17082         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17083         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17084         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17085         * sysdeps/sparc/nptl/sem_init.c: ... here.
17086         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17087         * sysdeps/sparc/nptl/sem_post.c: ... here.
17088         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17089         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17090         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17091         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17092         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17093         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17094         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17095         (libpthread-routines): Add cpu_relax.
17096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17097         File removed.
17098         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17099         (librt: GLIBC_2.3.3): New version set.
17100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17101         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17102         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17103         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17106         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17108         Moved ...
17109         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17111         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17113         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17115         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17117         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17119         Moved ...
17120         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17121         Update #include.
17122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17123         Moved ...
17124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17125         Update #include.
17126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17127         Moved ...
17128         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17129         Update #include.
17130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17131         Moved ...
17132         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17133         Update #include.
17134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17135         Moved ...
17136         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17137         Update #include.
17138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17139         Moved ...
17140         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17141         Update #include.
17142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17143         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17149         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17151         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17153         Moved ...
17154         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17156         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17158         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17160 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17162         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17163         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17164         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17165         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17166         * nscd/nscd.c: Likewise.
17167         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17168         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17169         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17170         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17172         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17173         <kernel-features.h>.
17174         (init_mq_netlink): Remove conditional have_sock_cloexec
17175         definitions.  Remove code conditional on have_sock_cloexec < 0.
17176         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17177         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17178         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17179         <kernel-features.h>.
17180         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17181         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17183 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17186         Add tests for memset_chk and memset.
17188         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17189         with AVX2_Usable.
17191 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17193         [BZ #16046]
17194         * elf/tst-dl-iter-static.c: New file.
17195         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17197         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17198         error.
17200 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17202         * sysdeps/unix/sysv/linux/kernel-features.h
17203         (__ASSUME_F_GETOWN_EX): Remove macro.
17204         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17205         <kernel-features.h>.
17206         (miss_F_GETOWN_EX): Remove variable or macro.
17207         (do_fcntl): Do not check miss_F_GETOWN_EX.
17208         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17211         Remove macro.
17212         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17213         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17214         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17216         * sysdeps/unix/sysv/linux/kernel-features.h
17217         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17218         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17219         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17220         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17222 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17224         [BZ #17075]
17225         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17226         Fix calculation of the symbol's value.
17227         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17228         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17229         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17230         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17231         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17232         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17233         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17234         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17235         (modules-names): Add `tst-armtlsdescmod',
17236         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17237         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17238         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17239         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17240         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17241         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17242         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17243         ($(objpfx)tst-armtlsdescloc): New dependency.
17244         ($(objpfx)tst-armtlsdescextnow): Likewise.
17245         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17246         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17247         TLS scheme support.
17248         * sysdeps/arm/configure: Regenerate.
17250 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17252         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17253         (__atfct_seterrno_2): Likewise.
17254         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17255         <kernel-features.h>.
17256         (__ASSUME_ATFCTS): Do not undefine and redefine.
17257         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17258         (__have_atfcts): Remove conditional definition.
17259         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17260         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17261         unreachable if [__ASSUME_ATFCTS].
17262         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17263         not undefine and redefine.
17264         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17265         <kernel-features.h>.
17266         (faccessat) [__NR_faccessat]: Make code unconditional.
17267         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17268         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17269         <kernel-features.h>.
17270         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17271         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17272         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17273         <kernel-features.h>.
17274         (fchownat) [__NR_fchownat]: Make code unconditional.
17275         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17276         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17277         <kernel-features.h>.
17278         (futimesat) [__NR_futimesat]: Make code unconditional.
17279         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17280         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17281         <kernel-features.h>.
17282         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17283         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17284         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17285         <kernel-features.h>.
17286         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17287         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17288         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17289         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17290         <kernel-features.h>.
17291         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17292         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17293         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17294         <kernel-features.h>.
17295         (linkat) [__NR_linkat]: Make code unconditional.
17296         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17297         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17298         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17299         <kernel-features.h>.
17300         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17301         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17302         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17303         <kernel-features.h>.
17304         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17305         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17306         * sysdeps/unix/sysv/linux/openat.c: Do not include
17307         <kernel-features.h>.
17308         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17309         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17310         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17311         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17312         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17313         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17314         <kernel-features.h>.
17315         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17316         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17317         result of INLINE_SYSCALL directly, not via int variable.
17318         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17319         <kernel-features.h>.
17320         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17321         (renameat) [__NR_renameat]: Make code unconditional.
17322         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17323         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17324         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17325         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17326         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17327         (__ASSUME_ATFCTS): Do not undefine and redefine.
17328         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17329         <kernel-features.h>.
17330         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17331         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17332         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17333         <kernel-features.h>.
17334         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17335         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17336         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17337         (__ASSUME_ATFCTS): Do not undefine and redefine.
17338         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17339         <kernel-features.h>.
17340         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17341         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17342         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17343         <kernel-features.h>.
17344         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17345         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17347 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17349         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17351 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17353         [BZ #17069]
17354         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17355         constructed tree before returning error.
17356         * posix/bug-regexp36.c: Expand test case.
17358 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17360         [BZ #6803]
17361         * math/libm-test.inc (scalbln_test_date):
17362         Add errno expectations.
17363         * math/w_scalblnf.c: New File.
17364         Add wrapper which checks for setting errno to ERANGE.
17365         Add weak_alias for corresponding scalbln function.
17366         * math/w_scalbln.c: Likewise.
17367         * math/w_scalblnl.c: Likewise.
17368         * math/Makefile (libm-calls): Add w_scalbln.
17369         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17370         Remove weak_alias for corresponding scalbln function.
17371         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17373         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17375         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17376         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17377         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17378         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17379         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17380         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17381         Remove long_double_symbol for scalblnl function in libm, libc.
17382         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17383         Add wrapper which checks for setting errno to ERANGE.
17384         Add long_double_symbol for scalblnl function in libm, libc.
17385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17386         Remove long_double_symbol for scalblnl in libm.
17387         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17388         Add wrapper which checks for setting errno to ERANGE.
17389         Add long_double_symbol for scalblnl function in libm.
17390         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17391         Do not use wrapper because of own implementation.
17393 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17395         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17396         3 bytes for __pad1 for x32.
17397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17399 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17400             H.J. Lu  <hongjiu.lu@intel.com>
17402         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17403         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17404         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17405         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17406         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17408 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17410         [BZ #17069]
17411         * posix/regcomp.c (parse_expression): Deallocate partially
17412         constructed tree before returning error.
17413         * posix/Makefile.c (tests): Add bug-regex36.
17414         (generated): Add bug-regex36.mtrace.
17415         (tests-special): Add $(objpfx)bug-regex36-mem.out
17416         (bug-regex36-ENV): New variable.
17417         ($(objpfx)bug-regex36-mem.out): New rule.
17418         * posix/bug-regex36.c: New file.
17420 2014-06-19  Will Newton  <will.newton@linaro.org>
17422         * malloc/malloc.c (systrim): If extra is zero then return
17423         early.
17425 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17427         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17429 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17431         * sysdeps/aarch64/strchr.S: New file.
17433 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17435         [BZ #17022]
17436         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17437         from arguments -2 or below.
17438         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17439         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17441 2014-06-18  Andreas Schwab  <schwab@suse.de>
17443         [BZ #17062]
17444         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17445         of a bracket expr not to run off the end of the string.
17446         * posix/Makefile (tests): Add tst-fnmatch3.
17447         * posix/tst-fnmatch3.c: New file.
17449 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17451         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17452         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17453         [$(cross-compiling) = no]: Likewise.
17454         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17455         [$(cross-compiling) = no]: Likewise.
17457 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17459         [BZ #17031]
17460         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17461         double, adjusted for any remainder from the high double.
17462         * math/libm-test.inc (nearbyint): Add tests.
17463         (rint): Likewise.
17465 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17467         * nptl/sysdeps/powerpc/Makefile: Moved ...
17468         * sysdeps/powerpc/nptl/Makefile: ... here.
17469         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17470         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17471         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17472         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17473         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17474         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17475         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17476         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17477         * nptl/sysdeps/powerpc/tls.h: Moved ...
17478         * sysdeps/powerpc/nptl/tls.h: ... here.
17480 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17482         [BZ #16681]
17483         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17484         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17485         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17486         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17487         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17488         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17489         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17490         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17491         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17493 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17495         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17497 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17499         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17500         defined operator.
17502         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17503         $TIMEOUTFACTOR.
17505 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17507         [BZ #17058]
17508         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17509         non-executed part of the test.
17511 2014-06-16  Andreas Schwab  <schwab@suse.de>
17513         * string/bits/string2.h (strdup, strndup): Update feature guard.
17515 2014-06-14  David S. Miller  <davem@davemloft.net>
17517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17519 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17521         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17522         that was previously under [RESET_PID].
17523         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17525         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17526         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17527         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17529         (__libc_vfork): New strong alias.
17530         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17532 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17534         * sysdeps/generic/elide.h: New file.
17536 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17538         * Makefile (installed-headers): Adjust path of pthread.h header.
17540 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17542         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17543         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17544         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17545         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17547         * nptl/sysdeps/s390/Makefile: Moved ...
17548         * sysdeps/s390/nptl/Makefile: ... here.
17549         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17550         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17551         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17552         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17553         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17554         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17555         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17556         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17557         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17558         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17559         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17560         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17561         * nptl/sysdeps/s390/tls.h: Moved ...
17562         * sysdeps/s390/nptl/tls.h: ... here.
17564         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17565         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17567 2014-06-13  David S. Miller  <davem@davemloft.net>
17569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17572         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17576         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17577         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17578         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17579         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17580         Remove RESET_PID cpp guards.
17581         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17582         Remove RESET_PID cpp guards.
17583         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17585 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17587         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17588         __sp to uintptr_t.
17590 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17592         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17593         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17594         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17595         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17597         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17598         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17599         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17600         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17601         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17602         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17603         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17604         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17605         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17606         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17608         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17609         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17611         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17613         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17614         (pthread_rwlock_rdlock): Add elision.
17615         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17616         (pthread_rwlock_wrlock): Add elision.
17617         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17618         (pthread_rwlock_trywrlock): Add elision.
17619         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17620         (pthread_rwlock_tryrdlock): Add elision.
17621         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17622         (pthread_rwlock_tryrdlock): Add elision unlock.
17623         * nptl/sysdeps/pthread/pthread.h:
17624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17625         (PTHREAD_RWLOCK_INITIALIZER,
17626         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17627         Handle new elision field.
17628         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17629         * sysdeps/arm/nptl/bits/pthreadtypes.h
17630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17631         * sysdeps/sh/nptl/bits/pthreadtypes.h
17632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17633         * sysdeps/tile/nptl/bits/pthreadtypes.h
17634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17635         * sysdeps/a/nptl/bits/pthreadtypes.h
17636         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17637         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17639         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17641         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17642         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17643         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17645         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17646         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17647         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17649         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17650         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17651         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17653         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17654         (elision_init): Set try_xbegin to zero when no RTM.
17655         * sysdeps/x86/nptl/bits/pthreadtypes.h
17656         (pthread_rwlock_t): Change __pad1 to __rwelision.
17657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17659 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17661         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17662         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17663         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17664         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17666 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17668         [BZ #16996]
17669         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17670         that the cached result has been set before returning it.
17672 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17674         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17675         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17677         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17678         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17679         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17681         * nptl/sysdeps/sparc/Makefile: Moved ...
17682         * sysdeps/sparc/nptl/Makefile: ... here.
17683         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17684         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17685         * nptl/sysdeps/sparc/tls.h: Moved ...
17686         * sysdeps/sparc/nptl/tls.h: ... here.
17687         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17688         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17689         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17690         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17691         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17692         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17693         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17694         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17695         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17696         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17697         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17698         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17699         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17700         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17701         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17702         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17703         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17705         Update #include.
17706         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17708         Update #include.
17709         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17711         Update #include.
17712         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17714         Update #include.
17716         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17718         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17719         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17721         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17722         (struct list_links): Type removed.
17723         (struct thread_node, struct timer_node): Replace struct list_links
17724         with struct list_head.
17725         (list_unlink_ip): Likewise.
17726         * sysdeps/pthread/timer_routines.c
17727         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17728         (list_append, list_insbefore): Likewise.
17729         (list_init): Function removed.
17730         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17731         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17732         * sysdeps/pthread/Makefile: ... here, new file.
17734         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17735         * sysdeps/nptl/Implies: ... here.
17736         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17737         * nptl/sysdeps/pthread/list.h: Moved ...
17738         * include/list.h: ... here.
17739         * nptl/sysdeps/pthread/createthread.c: Moved ...
17740         * nptl/createthread.c: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17742         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17743         * nptl/pt-longjmp.c: ... here.
17744         * nptl/sysdeps/pthread/Makefile: Moved ...
17745         * sysdeps/nptl/Makefile: ... here.
17746         * nptl/sysdeps/pthread/Subdirs: Moved ...
17747         * sysdeps/nptl/Subdirs: ... here.
17748         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17749         * sysdeps/nptl/aio_misc.h: ... here.
17750         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17751         * sysdeps/nptl/bits/libc-lock.h: ... here.
17752         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17753         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17754         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17755         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17756         * nptl/sysdeps/pthread/configure: Moved ...
17757         * sysdeps/nptl/configure: ... here.
17758         * nptl/sysdeps/pthread/configure.ac: Moved ...
17759         * sysdeps/nptl/configure.ac: ... here.
17760         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17761         * sysdeps/nptl/gai_misc.h: ... here.
17762         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17763         * sysdeps/nptl/librt-cancellation.c: ... here.
17764         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17765         * sysdeps/nptl/malloc-machine.h: ... here.
17766         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17767         * sysdeps/nptl/pthread-functions.h: ... here.
17768         * nptl/sysdeps/pthread/pthread.h: Moved ...
17769         * sysdeps/nptl/pthread.h: ... here.
17770         * nptl/sysdeps/pthread/setxid.h: Moved ...
17771         * sysdeps/nptl/setxid.h: ... here.
17772         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17773         * sysdeps/nptl/sigfillset.c: ... here.
17774         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17775         * sysdeps/nptl/tcb-offsets.h: ... here.
17776         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17777         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17778         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17779         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17780         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17781         * sysdeps/pthread/allocalim.h: ... here.
17782         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17783         * sysdeps/pthread/bits/sigthread.h: ... here.
17784         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17785         * sysdeps/pthread/flockfile.c: ... here.
17786         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17787         * sysdeps/pthread/ftrylockfile.c: ... here.
17788         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17789         * sysdeps/pthread/funlockfile.c: ... here.
17790         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17791         * sysdeps/pthread/posix-timer.h: ... here.
17792         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17793         * sysdeps/pthread/timer_create.c: ... here.
17794         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17795         * sysdeps/pthread/timer_delete.c: ... here.
17796         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17797         * sysdeps/pthread/timer_getoverr.c: ... here.
17798         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17799         * sysdeps/pthread/timer_gettime.c: ... here.
17800         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17801         * sysdeps/pthread/timer_routines.c: ... here.
17802         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17803         * sysdeps/pthread/timer_settime.c: ... here.
17804         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17805         * sysdeps/pthread/tst-timer.c: ... here.
17806         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17807         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17809         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17810         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17812         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17813         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17814         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17815         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17816         Update #include target.
17817         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17818         * sysdeps/i386/i686/nptl/Makefile: ... here.
17819         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17820         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17821         Update #include target.
17822         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17823         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17824         * nptl/sysdeps/i386/Makefile: Moved ...
17825         * sysdeps/i386/nptl/Makefile: ... here.
17826         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17827         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17828         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17829         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17830         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17831         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17832         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17833         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17834         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17835         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17836         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17837         * nptl/sysdeps/i386/tls.h: Moved ...
17838         * sysdeps/i386/nptl/tls.h: ... here.
17840         * sysdeps/sh/Makefile [$(subdir) = csu]
17841         (gen-as-const-headers): Add tcb-offsets.sym.
17842         * nptl/sysdeps/sh/Makefile: File removed.
17843         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17844         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17845         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17846         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17847         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17848         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17849         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17850         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17851         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17852         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17853         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17854         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17855         * nptl/sysdeps/sh/tls.h: Moved ...
17856         * sysdeps/sh/nptl/tls.h: ... here.
17857         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17858         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17859         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17860         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17862         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17864         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17866         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17867         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17868         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17870         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17872         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17873         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17874         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17876         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17877         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17878         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17879         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17880         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17881         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17882         Moved ...
17883         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17885         Moved ...
17886         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17887         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17888         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17889         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17890         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17891         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17892         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17894         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17895         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17896         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17897         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17898         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17899         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17900         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17901         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17902         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17903         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17904         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17906 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17908         * posix/spawn_faction_addopen.c: Include string.h.
17910 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17912         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17913         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17914         * nptl/sysdeps/x86_64/Makefile: Moved ...
17915         * sysdeps/x86_64/nptl/Makefile: ... here.
17916         * nptl/sysdeps/x86_64/configure: Moved ...
17917         * sysdeps/x86_64/nptl/configure: ... here.
17918         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17919         * sysdeps/x86_64/nptl/configure.ac: ... here.
17920         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17921         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17922         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17923         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17924         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17925         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17926         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17927         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17928         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17929         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17930         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17931         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17932         * nptl/sysdeps/x86_64/tls.h: Moved ...
17933         * sysdeps/x86_64/nptl/tls.h: ... here.
17934         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17935         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17936         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17937         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17939         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17941 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17945 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17947         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17948         type.
17949         [POSIX] (off_t): Likewise.
17950         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17951         [POSIX] (S_ISBLK): Require macro.
17952         [POSIX] (S_ISCHR): Likewise.
17953         [POSIX] (S_ISDIR): Likewise.
17954         [POSIX] (S_ISFIFO): Likewise.
17955         [POSIX] (S_ISREG): Likewise.
17956         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17957         optional-macro.
17958         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17959         type.
17960         [POSIX] (time_t): Likewise.
17961         [POSIX] (timer_t): Likewise.
17963 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17965         [BZ #17048]
17966         * posix/spawn_int.h (struct __spawn_action): Make the path string
17967         non-const to support deallocation.
17968         * posix/spawn_faction_addopen.c
17969         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17970         * posix/spawn_faction_destroy.c
17971         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17972         path in all spawn_do_open actions.
17973         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17974         posix_spawn_file_actions_addopen.
17976 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17978         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17979         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17980         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17981         conditional code always true.
17982         (__libc_vfork): New alias.
17984 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17986         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17987         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17989         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17991         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17992         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17994         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17995         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17997         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17998         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18000 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18002         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18003         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18004         multiarch strcmp for PPC64.
18005         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18006         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18008         multiarch optimizations.
18009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18010         (__libc_ifunc_impl_list): Likewise.
18012 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18014         * benchtests/scripts/validate_benchout.py: New script.
18015         * benchtests/Makefile (bench-func): Call it.
18016         * benchtests/scripts/benchout.schema.json: New file.
18018 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18020         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18021         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18022         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18023         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18024         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18025         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18026         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18027         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18028         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18029         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18030         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18031         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18032         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18033         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18034         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18035         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18037         Moved ...
18038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18039         ... here.
18040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18041         Moved ...
18042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18044         Moved ...
18045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18046         ... here.
18047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18048         Moved ...
18049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18050         ... here.
18051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18052         Moved ...
18053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18055         Moved ...
18056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18057         ... here.
18058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18059         Moved ...
18060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18061         ... here.
18062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18063         Moved ...
18064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18066         Moved ...
18067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18068         ... here.
18069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18070         Moved ...
18071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18072         ... here.
18073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18074         Moved ...
18075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18076         ... here.
18077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18078         Moved ...
18079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18081         Moved ...
18082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18083         ... here.
18084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18085         Moved ...
18086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18087         ... here.
18088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18089         Moved ...
18090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18091         ... here.
18092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18093         Moved ...
18094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18096         Moved ...
18097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18098         ... here.
18099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18100         Moved ...
18101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18102         ... here.
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18104         Moved ...
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18107         Moved ...
18108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18109         ... here.
18110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18111         Moved ...
18112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18114         Moved ...
18115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18117         Moved ...
18118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18119         ... here.
18120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18121         Moved ...
18122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18123         ... here.
18124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18125         Moved ...
18126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18127         ... here.
18128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18129         Moved ...
18130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18132         Moved ...
18133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18134         ... here.
18135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18136         Moved ...
18137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18138         ... here.
18139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18140         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18142         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18143         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18144         Moved ...
18145         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18146         ... here.
18147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18148         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18150         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18152         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18153         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18154         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18155         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18156         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18157         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18158         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18160         Moved ...
18161         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18163         Moved ...
18164         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18165         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18166         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18167         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18168         Moved ...
18169         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18171         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18172         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18173         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18174         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18175         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18177 2014-06-10  Wilco  <wdijkstr@arm.com>
18179         * math/test-fenv-return.c: New file.
18180         * math/Makefile: Add new test test-fenv-return.
18182 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18184         [BZ #17042]
18185         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18186         when x - 1 is zero.
18187         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18188         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18189         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18190         0.0L for an argument of 1.0L.
18191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18192         Likewise.
18193         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18194         value when x - 1 is zero.
18195         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18196         * sysdeps/i386/fpu/libm-test-ulps: Update.
18197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18199 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18201         [BZ #15119]
18202         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18204 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18206         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18207         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18209 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18211         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18212         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18214         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18215         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18217         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18218         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18220         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18221         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18223         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18224         if not already defined.
18225         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18226         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18227         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18228         (TLS_INIT_TP): Use it.
18229         (TLS_DEFINE_INIT_TP): New macro.
18230         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18232 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18234         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18235         constant.
18236         [POSIX] (IXANY): Likewise.
18237         [POSIX] (OLCUC): Likewise.
18238         [POSIX || POSIX2008] (CBAUD): Do not allow.
18239         [POSIX || POSIX2008] (DEFECHO): Likewise.
18240         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18241         [POSIX || POSIX2008] (ECHOKE): Likewise.
18242         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18243         [POSIX || POSIX2008] (EXTA): Likewise.
18244         [POSIX || POSIX2008] (EXTB): Likewise.
18245         [POSIX || POSIX2008] (FLUSHO): Likewise.
18246         [POSIX || POSIX2008] (LOBLK): Likewise.
18247         [POSIX || POSIX2008] (PENDIN): Likewise.
18248         [POSIX || POSIX2008] (SWTCH): Likewise.
18249         [POSIX || POSIX2008] (VDISCARD): Likewise.
18250         [POSIX || POSIX2008] (VDSUSP): Likewise.
18251         [POSIX || POSIX2008] (VLNEXT): Likewise.
18252         [POSIX || POSIX2008] (VREPRINT): Likewise.
18253         [POSIX || POSIX2008] (VSTATUS): Likewise.
18254         [POSIX || POSIX2008] (VWERASE): Likewise.
18255         (B*): Change to B[0123456789]*.
18256         * conform/data/time.h-data [POSIX || UNIX98]
18257         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18258         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18259         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18260         [POSIX] (tm_*): Do not allow.
18262 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18264         * Makefile (install): Don't set LANGUAGE.
18265         * Makefile.in (install): Likewise.
18266         * assert/Makefile (test-assert-ENV): Remove variable.
18267         (test-assert-perr-ENV): Likewise.
18268         * elf/Makefile (neededtest4-ENV): Likewise.
18269         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18270         [$(cross-compiling) = no]: Don't set LANGUAGE.
18271         * io/ftwtest-sh (LANG): Remove variable.
18272         * libio/Makefile (tst-widetext-ENV): Likewise.
18273         * manual/install.texi (Running make install): Don't refer to
18274         environment settings for make install.
18275         * INSTALL: Regenerated.
18276         * nptl/tst-tls6.sh: Don't set LANG.
18277         * posix/globtest.sh (LANG): Remove variable.
18278         * string/Makefile (tester-ENV): Likewise.
18279         (inl-tester-ENV): Likewise.
18280         (noinl-tester-ENV): Likewise.
18281         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18282         [$(cross-compiling) = no]: Don't set LANGUAGE.
18283         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18284         without explicit environment settings.
18286 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18288         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18289         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18290         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18291         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18293 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18295         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18296         other files in the crypt directory.
18297         * crypt/crypt.c: Remove duplicate includes.
18298         * crypt/crypt-entry.c: Likewise.
18299         * crypt/crypt_util.c: Likewise.
18301 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18303         * Makeconfig (run-program-env): New variable.
18304         (run-program-prefix-before-env): Likewise.
18305         (run-program-prefix-after-env): Likewise.
18306         (run-program-prefix): Define in terms of new variables.
18307         (built-program-cmd-before-env): New variable.
18308         (built-program-cmd-after-env): Likewise.
18309         (built-program-cmd): Define in terms of new variables.
18310         (test-program-prefix-before-env): New variable.
18311         (test-program-prefix-after-env): Likewise.
18312         (test-program-prefix): Define in terms of new variables.
18313         (test-program-cmd-before-env): New variable.
18314         (test-program-cmd-after-env): Likewise.
18315         (test-program-cmd): Define in terms of new variables.
18316         * Rules (make-test-out): Use $(run-program-env).
18317         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18318         (help): Do not mention environment variables.  Mention
18319         --timeoutfactor option.
18320         (timeoutfactor): New variable.
18321         (blacklist_exports): Remove function.
18322         (exports): Remove variable.
18323         (command): Do not include ${exports}.
18324         * manual/install.texi (Configuring and compiling): Do not mention
18325         test wrappers preserving environment variables.  Mention that last
18326         assignment to a variable must take precedence.
18327         * INSTALL: Regenerated.
18328         * benchtests/Makefile (run-bench): Use $(run-program-env).
18329         * catgets/Makefile ($(objpfx)test1.cat): Use
18330         $(built-program-cmd-before-env), $(run-program-env) and
18331         $(built-program-cmd-after-env).
18332         ($(objpfx)test2.cat): Do not specify environment variables
18333         explicitly.
18334         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18335         $(run-program-env) and $(built-program-cmd-after-env).
18336         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18337         $(run-program-env) and $(test-program-cmd-after-env).
18338         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18339         explicitly.
18340         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18341         run_program_env and test_program_cmd_after_env arguments.
18342         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18343         * elf/tst-pathopt.sh: Use run_program_env argument.
18344         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18345         $(test-wrapper-env) and $(run-program-env).
18346         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18347         run_program_env arguments.
18348         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18349         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18350         $(test-program-prefix-before-env), $(run-program-env) and
18351         $(test-program-prefix-after-env).
18352         ($(objpfx)tst-gettext2.out): Likewise.
18353         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18354         run_program_env and test_program_prefix_after_env arguments.
18355         * intl/tst-gettext2.sh: Likewise.
18356         * intl/tst-gettext4.sh: Do not set environment variables
18357         explicitly.
18358         * intl/tst-gettext6.sh: Likewise.
18359         * intl/tst-translit.sh: Likewise.
18360         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18361         $(test-program-prefix-before-env), $(run-program-env) and
18362         $(test-program-prefix-after-env).
18363         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18364         run_program_env and test_program_prefix_after_env arguments.
18365         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18366         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18367         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18368         explicitly with each use of ${test_wrapper_env}.
18369         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18370         $(test-program-prefix-before-env), $(run-program-env) and
18371         $(test-program-prefix-after-env).
18372         * posix/tst-getconf.sh: Do not set environment variables
18373         explicitly.
18374         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18375         run_program_env and test_program_prefix_after_env arguments.
18376         * stdio-common/tst-printf.sh: Do not set environment variables
18377         explicitly.
18378         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18379         $(test-program-prefix-before-env), $(run-program-env) and
18380         $(test-program-prefix-after-env).
18381         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18382         run_program_env and test_program_prefix_after_env arguments.
18383         Split $test calls into $test_pre and $test.
18384         * timezone/Makefile (build-testdata): Use
18385         $(built-program-cmd-before-env), $(run-program-env) and
18386         $(built-program-cmd-after-env).
18388 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18390         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18391         strlen for non SHARED builds.
18393 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18395         * nptl/allocatestack.c (check_list): Inlined function...
18396         (__reclaim_stacks): ... here.
18398 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18400         [BZ #15698]
18401         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18402         memory overrun.
18404 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18406         * Rules (make-test-out): Include
18407         LOCPATH=$(common-objpfx)localedata in default environment.
18408         * debug/Makefile (tst-chk1-ENV): Remove variable.
18409         (tst-chk2-ENV): Likewise.
18410         (tst-chk3-ENV): Likewise.
18411         (tst-chk4-ENV): Likewise.
18412         (tst-chk5-ENV): Likewise.
18413         (tst-chk6-ENV): Likewise.
18414         (tst-lfschk1-ENV): Likewise.
18415         (tst-lfschk2-ENV): Likewise.
18416         (tst-lfschk3-ENV): Likewise.
18417         (tst-lfschk4-ENV): Likewise.
18418         (tst-lfschk5-ENV): Likewise.
18419         (tst-lfschk6-ENV): Likewise.
18420         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18421         (tst-iconv7-ENV): Likewise.
18422         * intl/Makefile (LOCPATH-ENV): Likewise.
18423         (tst-codeset-ENV): Likewise.
18424         (tst-gettext3-ENV): Likewise.
18425         (tst-gettext5-ENV): Likewise.
18426         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18427         (tst-fopenloc-ENV): Likewise.
18428         (tst-fgetws-ENV): Remove variable.
18429         (tst-ungetwc1-ENV): Likewise.
18430         (tst-ungetwc2-ENV): Likewise.
18431         (bug-ungetwc2-ENV): Likewise.
18432         (tst-swscanf-ENV): Likewise.
18433         (bug-ftell-ENV): Likewise.
18434         (tst-fgetwc-ENV): Likewise.
18435         (tst-fseek-ENV): Likewise.
18436         (tst-ftell-partial-wide-ENV): Likewise.
18437         (tst-ftell-active-handler-ENV): Likewise.
18438         (tst-ftell-append-ENV): Likewise.
18439         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18440         (tst-regexloc-ENV): Likewise.
18441         (bug-regex1-ENV): Likewise.
18442         (tst-regex-ENV): Likewise.
18443         (tst-regex2-ENV): Likewise.
18444         (bug-regex5-ENV): Likewise.
18445         (bug-regex6-ENV): Likewise.
18446         (bug-regex17-ENV): Likewise.
18447         (bug-regex18-ENV): Likewise.
18448         (bug-regex19-ENV): Likewise.
18449         (bug-regex20-ENV): Likewise.
18450         (bug-regex22-ENV): Likewise.
18451         (bug-regex23-ENV): Likewise.
18452         (bug-regex25-ENV): Likewise.
18453         (bug-regex26-ENV): Likewise.
18454         (bug-regex30-ENV): Likewise.
18455         (bug-regex32-ENV): Likewise.
18456         (bug-regex33-ENV): Likewise.
18457         (bug-regex34-ENV): Likewise.
18458         (bug-regex35-ENV): Likewise.
18459         (tst-rxspencer-ENV): Likewise.
18460         (tst-rxspencer-no-utf8-ENV): Likewise.
18461         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18462         (tst-sscanf-ENV): Likewise.
18463         (tst-swprintf-ENV): Likewise.
18464         (tst-swscanf-ENV): Likewise.
18465         (test-vfprintf-ENV): Likewise.
18466         (scanf13-ENV): Likewise.
18467         (bug14-ENV): Likewise.
18468         (tst-grouping-ENV): Likewise.
18469         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18470         (tst-strtod3-ENV): Likewise.
18471         (tst-strtod4-ENV): Likewise.
18472         (tst-strtod5-ENV): Likewise.
18473         (testmb2-ENV): Likewise./
18474         * string/Makefile (tst-strxfrm-ENV): Likewise.
18475         (tst-strxfrm2-ENV): Likewise.
18476         (bug-strcoll1-ENV): Likewise.
18477         (test-strcasecmp-ENV): Likewise.
18478         (test-strncasecmp-ENV): Likewise.
18479         * time/Makefile (tst-strptime-ENV): Likewise.
18480         (tst-ftime_l-ENV): Likewise.
18481         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18482         (tst-mbrtowc-ENV): Likewise.
18483         (tst-wcrtomb-ENV): Likewise.
18484         (tst-mbrtowc2-ENV): Likewise.
18485         (tst-c16c32-1-ENV): Likewise.
18486         (tst-mbsnrtowcs-ENV): Likewise.
18488 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18490         * manual/resource.texi (How to get information about the memory
18491         subsystem?): Fix typo.
18492         Reported by Peon de la Parra Ivan <peon@keba.com>
18494 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18496         [BZ #16882]
18497         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18498         (pthread_spin_lock): Branch out of spin loop to proper location.
18499         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18500         (pthread_spin_lock): Likewise.
18502         * nptl/tst-spin4.c: New test.
18503         * nptl/Makefile (tests): Add tst-spin4.
18505 2014-06-03  Andreas Schwab  <schwab@suse.de>
18507         [BZ #15946]
18508         * resolv/res_send.c (send_dg): Reload file descriptor after
18509         calling reopen.
18511 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18513         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18515 2014-06-03  Richard Henderson  <rth@redhat.com>
18517         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18518         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18519         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18520         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18521         in the SAVE_PID block.
18522         (__libc_vfork): New alias.
18523         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18525         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18526         child in registers, not on the stack.  Remove RESET_PID conditionals.
18527         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18529 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18531         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18533 2014-06-03  Wilco  <wdijkstr@arm.com>
18535         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18536         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18537         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18538         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18539         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18540         Likewise.
18542 2014-06-03  Wilco  <wdijkstr@arm.com>
18544         * sysdeps/aarch64/fpu/math_private.h
18545         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18546         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18547         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18548         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18549         Fix declarations.
18551 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18553         * crypt/crypt-private.h: Include ufc-crypt.h.
18554         (__b64_from_24bit): Declare extern.
18555         * crypt/crypt_util.c(__b64_from_24bit): New function.
18556         (b64t): New static const variable.
18557         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18558         (b64t): Remove variable.
18559         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18560         * crypt/sha256-crypt.c: Include crypt-private.h.
18561         (b64t): Remove variable.
18562         (__sha256_crypt_r): Remove b64_from_24bit and replace
18563         with __b64_from_24bit.
18564         * crypt/sha512-crypt.c: Likewise.
18566 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18568         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18569         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18570         Label the code __libc_vfork rather than __vfork.
18571         [!NOT_IN_libc] (vfork): Define as weak alias.
18572         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18573         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18574         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18576 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18578         * malloc/malloc.c (malloc_info): Fix format specifier for
18579         n_mmaps.
18581 2014-06-02  Wilco  <wdijkstr@arm.com>
18583         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18584         FPCR write.
18586 2014-06-02  Wilco  <wdijkstr@arm.com>
18588         [BZ #17009]
18589         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18590         Rewrite to reduce FPCR/FPSR accesses.
18592 2014-06-01  David S. Miller  <davem@davemloft.net>
18594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18596 2014-05-31  David S. Miller  <davem@davemloft.net>
18598         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18599         to occur in round to nearest mode when |x| >= 2.0
18601 2014-05-30  Richard Henderson  <rth@twiddle.net>
18603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18604         (PSEUDO_RET_NOERRNO): Remove.
18605         (ret): Don't redefine.
18606         (ret_NOERRNO): Define in terms of ret.
18607         (ret_ERRVAL): Likewise.
18609         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18610         use of PSEUDO_RET; perform the error check directly.
18612 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18614         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18615         with __int128_t.
18617 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18619         * malloc/malloc (malloc_info): Fix formatting.
18621 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18622             Roland McGrath  <roland@hack.frob.com>
18624         * malloc/malloc (malloc_info): Also print mmapped statistics.
18626 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18628         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18629         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18631 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18633         * malloc/malloc.c (malloc_info): Inline mi_arena.
18635 2014-05-29  Richard Henderson  <rth@twiddle.net>
18637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18638         Remove comma before expanding ASM_ARGS_##nr.
18639         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18640         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18641         of ASM_ARGS_##nr.
18642         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18643         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18644         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18645         (ASM_ARGS_1): Add leading comma.
18647         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18648         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18649         to __errno_location.
18650         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18651         Remove the expected plt for __errno_location.
18653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18654         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18655         call to __read_tp.
18657         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18658         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18659         it and break it down.
18660         (DOCARGS_0, DOCARGS_1): Do nothing.
18661         (DOCARGS_2): Update to store into the new stack frame.
18662         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18663         (UNDOCARGS_1): Update to restore from the new stack frame.
18664         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18665         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18668         (SINGLE_THREAD_P): New parameter for result regno.
18669         (PSEUDO): Update to match; use cbz instead of beq.
18671         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18672         Use ENTRY to define the _nocancel entry point.  Share the syscall
18673         and syscall error check paths with the cancel path.
18674         (PSEUDO_END): New.
18676         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18677         whitespace; tabs before and after asm mnemonics.
18679 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18681         [BZ #15132]
18682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18683         Call fstat64 or stat64 internally, depending on arguments passed.
18684         Replace stat buffer argument with file descriptor argument.
18685         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18686         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18687         Pass fd to __internal_statvfs instead of calling fstat64.
18688         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18689         Pass fd to __internal_statvfs64 instead of calling fstat64.
18690         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18691         Pass -1 to __internal_statvfs instead of calling stat64.
18692         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18693         Pass -1 to __internal_statvfs64 instead of calling stat64.
18695 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18697         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18698         that was previously under [RESET_PID].
18699         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18701         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18702         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18704 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18706         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18708         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18709         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18711 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18713         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18715 2014-05-27  Andreas Schwab  <schwab@suse.de>
18717         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18718         TLS_INIT_TP macro.
18719         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18720         * elf/rtld.c (init_tls, dl_main): Likewise.
18721         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18722         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18723         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18724         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18725         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18726         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18727         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18728         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18729         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18730         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18731         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18732         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18733         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18734         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18735         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18736         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18737         * sysdeps/generic/tls.h: Update description.
18739 2014-05-27  Will Newton  <will.newton@linaro.org>
18741         [BZ #16990]
18742         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18743         and restore r2 rather than just restoring.
18745 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18747         [BZ #16724]
18748         * libio/tst-ftell-append.c: New test case.
18749         * libio/Makefile (tests): Add test case.
18750         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18751         append mode.
18752         * libio/wfileops.c (do_ftell_wide): Likewise.
18754 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18758         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18759         ...
18760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18762         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18763         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18764         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18765         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18766         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18767         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18769         Moved ...
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18772         Moved ...
18773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18774         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18775         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18776         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18777         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18778         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18779         ...
18780         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18781         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18782         Moved ...
18783         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18784         here.
18785         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18786         ...
18787         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18788         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18789         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18791         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18792         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18793         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18794         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18797         merge into ...
18798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18800         ...
18801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18803         ...
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18805         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18806         Moved ...
18807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18808         here.
18809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18810         Moved ...
18811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18813         Moved ...
18814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18817         conditional [RESET_PID].
18818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18820         removed.
18821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18822         removed.
18824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18825         <tcb-offsets.h>.
18826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18827         (__libc_vfork): New strong alias.
18828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18829         removed.
18830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18831         Removed.
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18834         <tcb-offsets.h>.
18835         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18836         (__libc_vfork): New strong alias.
18837         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18838         removed.
18839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18840         removed.
18842 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18844         * malloc/malloc.c (mi_arena): New function.
18845         (malloc_info): Remove nested function mi_arena. Call non-nosted
18846         function mi_arena.
18848 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18850         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18851         by insrwi.
18852         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18853         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18854         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18855         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18856         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18857         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18858         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18860 2014-05-26  Andreas Schwab  <schwab@suse.de>
18862         [BZ #16984]
18863         * locale/programs/repertoire.c (repertoire_read): Add slash
18864         between I18NPATH element and file name.
18865         * locale/programs/locfile.c (locfile_read): Likewise.
18867 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18869         * nptl/pthread_mutexattr_settype.c
18870         (__pthread_mutexattr_settype):
18871         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18873 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18875         * nptl/tst-mutex5 (do_test):
18876         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18878 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18880         * benchtests/README: Document 'init' directive.
18881         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18882         BENCH_INIT.
18883         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18884         (parse_file): Recognize 'init' directive.
18886 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18888         [BZ #16796]
18889         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18890         alignment of struct pthread.
18892 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18894         [BZ #16878]
18895         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18896         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18897         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18898         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18900 2014-05-25  Richard Henderson  <rth@twiddle.net>
18902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18903         (SINGLE_THREAD_P_PIC): Remove.
18904         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18905         (SINGLE_THREAD_P_PIC): Remove.
18907         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18908         branch to syscall error ...
18909         (PSEUDO): ... here.
18910         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18911         from __local_syscall_error to .Lsyscall_error.
18912         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18913         (SYSCALL_ERROR): Update label name.
18915         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18916         Do not use DOARGS/UNDOARGS.
18917         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18918         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18919         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18920         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18921         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18924         block comment.
18926         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18927         define if !NOT_IN_libc.
18928         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18929         define with non-default symbol versions.
18931 2014-05-23  Richard Henderson  <rth@twiddle.net>
18933         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18934         (vfork, __vfork): Define via compat_symbol.
18936         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18937         [!HAVE_IFUNC] (vfork_compat): Remove.
18938         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18940 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #16978]
18943         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18944         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18945         variable.
18947 2014-05-23  Richard Henderson  <rth@twiddle.net>
18949         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18950         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18951         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18952         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18954         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18955         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18956         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18957         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18958         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18959         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18960         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18961         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18962         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18963         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18964         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18965         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18966         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18967         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18968         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18969         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18970         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18971         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18972         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18973         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18974         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18975         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18976         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18977         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18978         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18979         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18980         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18981         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18982         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18983         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18984         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18985         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18986         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18987         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18988         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18989         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18990         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18991         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18992         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18993         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18994         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18995         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18996         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18997         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18998         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18999         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19001         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19002         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19003         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19004         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19005         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19006         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19007         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19008         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19009         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19011         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19012         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19013         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19014         before exiting on error.
19015         (__libc_vfork): New strong alias.
19016         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19017         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19019         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19020         that was previously under [RESET_PID].
19021         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19025 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19027         [BZ #16977]
19028         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19029         value when x - 1 is zero.
19030         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19031         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19032         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19033         0.0L for an argument of 1.0L.
19034         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19035         Likewise.
19036         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19037         value when x - 1 is zero.
19038         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19039         * sysdeps/i386/fpu/libm-test-ulps: Update.
19040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19042 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19044         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19045         alphasort and versionsort.
19047 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19049         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19050         macro.
19051         [copysignf]: Likewise.
19053 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19055         * crypt/md5-crypt.c: Fix formatting.
19057 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19059         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19060         (b64_from_24bit): New function.
19062 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19064         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19065         libc_hidden_builtin_def to ifunc.
19066         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19067         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19069 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19071         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19072         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19074 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19076         * nscd/Depend (linuxthreads): Remove.
19077         (nptl): Add.
19078         * resolv/Depend (linuxthreads): Remove.
19079         * rt/Depend (linuxthreads): Remove.
19081         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19082         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19083         $(common-objpfx)elf/.
19084         (link-libc-before-gnulib): Likewise.
19085         (elfobjdir): Remove variable.
19086         * Makefile (install): Use $(elf-objpfx) instead of
19087         $(common-objpfx)elf/.
19088         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19089         $(elfobjdir)/.
19090         (link-libc-deps): Likewise.
19091         ($(common-objpfx)libc.so): Likewise.
19092         ($(common-objpfx)linkobj/libc.so): Likewise.
19093         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19094         instead of $(common-objpfx)elf/.
19095         (symbolic-link-list): Likewise.
19096         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19097         [$(cross-compiling) = no]: Likewise.
19098         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19099         $(elfobjdir)/.
19100         (static-gnulib-arch): Likewise.
19101         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19102         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19103         $(common-objpfx)elf/.
19105 2014-05-21  Richard Henderson  <rth@redhat.com>
19107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19108         (SINGLE_THREAD_P): Use the correct width load.  Fold
19109         into the ldr offset.
19111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19112         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19114 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19116         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19117         (libgcc_s_resume): Use __attribute_used__.
19118         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19119         Likewise.
19121 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19123         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19124         optimization when used with float constants.
19126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19128 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19130         [BZ #16915]
19131         * locale/nl_langinfo_l.c: Make direct reference to every
19132         _nl_current_CATEGORY symbol.
19133         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19134         (tests-static): Add tst-langinfo-static.
19135         (tests-special): Add tst-langinfo-static.out.
19136         ($(objpfx)tst-langinfo.out): Redirect output.
19137         ($(objpfx)tst-langinfo-static.out): New.
19138         * localedata/tst-langinfo.sh: Send output to stdout.
19139         * localedata/tst-langinfo-static.c: New file.
19141         [BZ #16965]
19142         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19143         when the shift amount is modulo the limb size.
19145 2014-05-20  Richard Henderson  <rth@redhat.com>
19147         [BZ #16967]
19148         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19149         Change type of sa_flags from unsigned int to int.
19151         [BZ #16966]
19152         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19154         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19156 2014-05-20  Will Newton  <will.newton@linaro.org>
19158         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19159         Test the return value of the system call in the nocancel case.
19161 2014-05-20  Will Newton  <will.newton@linaro.org>
19162             Yvan Roux  <yvan.roux@linaro.org>
19164         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19165         #include of asm/ptrace.h.
19166         (PTRACE_GET_THREAD_AREA): Remove #undef.
19167         (PTRACE_GETHBPREGS): Likewise.
19168         (PTRACE_SETHBPREGS): Likewise.
19169         (struct user_regs_struct): New structure.
19170         (struct user_fpsimd_struct): New structure.
19171         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19172         #include of asm/ptrace.h and second #include of sys/user.h.
19173         (PTRACE_GET_THREAD_AREA): Remove #undef.
19174         (PTRACE_GETHBPREGS): Likewise.
19175         (PTRACE_SETHBPREGS): Likewise.
19176         (ELF_NGREG): Use new struct user_regs_struct.
19177         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19179 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19181         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19182         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19184 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19186         [BZ #16958]
19187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19188         membar to avoid block loads/stores to overlap previous stores.
19190 2014-05-17  Richard Henderson  <rth@redhat.com>
19192         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19193         Create the __##syscall_name##_nocancel entry point.
19194         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19195         Remove; let the sysdep-cancel.h code create it.
19197 2014-05-17  David S. Miller  <davem@davemloft.net>
19199         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19200         Protect with __USE_GNU.
19201         (TIOCSET_TEMPT): Likewise.
19202         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19203         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19204         these are already provided in bits/ioctl-types.h
19206 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19208         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19209         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19211         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19212         Use wait4 regardless of [__NR_waitpid].
19214 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19216         PR libgcc/60166
19217         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19218         (_FP_NANSIGN_Q): Set the quiet bit.
19220 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19222         * benchtests/Makefile
19223         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19224         not $(common-objpfx)math/libm.so.
19225         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19226         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19227         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19228         $(common-objpfx)dlfcn/libdl.so.
19229         ($(objpfx)tst-audit8): Depend on $(libm), not
19230         $(common-objpfx)math/libm.so.
19231         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19232         not $(common-objpfx)dlfcn/libdl.so.
19233         * math/Makefile
19234         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19235         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19236         [$(build-shared) = yes].
19237         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19238         $(common-objpfx)nptl/libpthread.so.
19239         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19240         $(common-objpfx)math/libm.so$(libm.so-version) or
19241         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19242         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19243         $(common-objpfx)dlfcn/libdl.so.
19244         * setjmp/Makefile (link-libm): Remove variable.
19245         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19246         * stdio-common/Makefile (link-libm): Remove variable.
19247         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19248         * stdlib/Makefile (link-libm): Remove variable.
19249         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19250         ($(objpfx)tst-strtod-round): Likewise.
19251         ($(objpfx)tst-tininess): Likewise.
19252         ($(objpfx)tst-strtod-underflow): Likewise.
19253         ($(objpfx)tst-strtod6): Likewise.
19254         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19255         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19256         $(common-objpfx)dlfcn/libdl.so.
19258 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19260         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19261         BSD terminal modes definitions.
19263 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19265         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19266         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19268         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19269         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19270         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19271         Don't do #include_next.
19272         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19273         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19274         Don't do #include_next.
19275         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19276         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19277         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19278         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19280 2014-05-16  Allan McRae  <allan@archlinux.org>
19282         * po/sv.po: Update Swedish translation from translation project.
19284         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19285         in sed expression.
19287 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19289         [BZ #16917]
19290         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19291         errno if the TIOCGPTN ioctl fails with an error different than
19292         EINVAL.
19293         * login/tst-ptsname.c: New file.
19294         * login/Makefile (tests): Add tst-ptsname.
19296         [BZ #16943]
19297         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19298         and prlimit64.
19300 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19302         [BZ #16849]
19303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19304         herrno to return EAI_AGAIN.
19306 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19308         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19309         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19310         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19311         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19312         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19313         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19314         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19315         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19316         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19317         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19318         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19319         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19320         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19321         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19322         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19323         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19324         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19325         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19326         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19327         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19328         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19329         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19330         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19331         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19332         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19333         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19334         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19335         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19336         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19337         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19339         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19341         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19343         Moved ...
19344         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19346         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19348         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19350         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19352         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19354         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19356         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19358         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19360         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19362         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19364         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19366         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19368         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19370         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19372         Moved ...
19373         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19375         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19377         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19379         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19381         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19383         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19385         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19387         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19389         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19391         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19393         Moved ...
19394         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19396         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19399         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19400         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19401         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19402         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19403         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19404         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19405         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19406         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19407         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19408         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19409         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19410         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19411         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19412         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19413         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19414         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19415         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19416         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19417         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19418         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19419         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19420         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19421         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19422         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19423         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19424         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19425         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19426         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19427         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19428         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19430         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19431         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19433         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19434         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19435         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19436         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19437         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19439         Moved ...
19440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19442         Moved ...
19443         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19444         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19445         Moved ...
19446         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19448         Moved ...
19449         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19450         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19451         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19453         Moved ...
19454         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19455         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19456         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19457         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19458         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19459         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19460         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19461         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19462         Moved ...
19463         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19464         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19465         Moved ...
19466         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19467         ... here.
19468         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19469         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19471         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19473         Moved ...
19474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19475         ... here.
19476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19477         Moved ...
19478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19479         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19480         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19481         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19482         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19484         Moved ...
19485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19487         Moved ...
19488         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19489         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19490         Moved ...
19491         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19492         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19493         Moved ...
19494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19496         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19498         Moved ...
19499         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19500         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19501         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19503         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19505         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19506         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19507         Moved ...
19508         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19509         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19510         Moved ...
19511         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19512         ... here.
19513         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19514         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19515         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19516         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19518         Moved ...
19519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19520         ... here.
19521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19522         Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19525         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19527         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19529         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19530         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19531         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19533         Moved ...
19534         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19539         Moved ...
19540         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19541         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19542         Moved ...
19543         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19545         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19547         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19548         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19549         Moved ...
19550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19551         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19552         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19553         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19554         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19555         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19556         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19557         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19558         Moved ...
19559         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19563         ... here.
19564         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19565         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19567         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19569         Moved ...
19570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19571         ... here.
19572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19573         Moved ...
19574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19575         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19576         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19578         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19579         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19580         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19581         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19582         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19583         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19584         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19586         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19587         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19589         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19590         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19592         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19593         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19594         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19596         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19597         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19598         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19599         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19600         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19601         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19602         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19603         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19606         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19608         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19610         Moved ...
19611         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19613         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19615         Moved ...
19616         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19619         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19620         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19621         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19622         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19623         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19624         Moved ...
19625         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19627         Moved ...
19628         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19632         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19634         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19635         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19636         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19637         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19638         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19639         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19640         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19641         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19642         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19643         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19644         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19646         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19647         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19648         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19649         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19650         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19652         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19653         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19654         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19655         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19656         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19657         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19658         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19659         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19660         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19661         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19667         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19668         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19669         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19671         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19672         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19673         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19674         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19675         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19676         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19677         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19678         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19679         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19681         Update #include.
19682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19683         Likewise.
19684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19685         Likewise.
19686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19687         Likewise.
19688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19689         Likewise.
19690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19691         Likewise.
19692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19693         Likewise.
19694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19695         Likewise.
19696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19697         Likewise.
19698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19699         Likewise.
19700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19705         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19706         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19707         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19708         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19710         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19711         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19712         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19713         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19714         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19716         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19717         that was previously under [RESET_PID].
19718         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19719         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19720         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19722         * sysdeps/i386/nptl/Implies: New file.
19723         * sysdeps/x86_64/nptl/Implies: New file.
19724         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19725         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19726         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19727         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19729         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19730         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19731         (__libc_vfork): New strong alias.
19732         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19733         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19735         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19736         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19737         (__libc_vfork): New strong alias.
19738         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19739         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19741         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19742         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19743         (__libc_vfork): New strong alias.
19744         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19745         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19746         * nptl/pt-vfork.c: New file.
19747         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19748         (libpthread: GLIBC_2.20): New version set (empty).
19750 2014-05-14  Will Newton  <will.newton@linaro.org>
19752         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19753         rather than #if.
19755 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19757         [BZ #16564]
19758         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19759         arguments with exponent 65 or above.
19760         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19761         arguments 0x1p113L or above.
19762         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19763         to arguments 0x1p107L or above.
19764         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19765         positive arguments with exponent 65 or above.
19766         * math/auto-libm-test-in: Add more tests of log1p.
19767         * math/auto-libm-test-out: Regenerated.
19769         [BZ #16928]
19770         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19771         non-finite arguments is +0.
19772         * math/s_cacosf.c (__cacosf): Likewise.
19773         * math/s_cacosl.c (__cacosl): Likewise.
19774         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19775         * sysdeps/i386/fpu/libm-test-ulps: Update.
19776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19778         [BZ #16927]
19779         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19780         value.
19781         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19782         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19783         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19784         for explicit high bit of mantissa when testing for argument equal
19785         to 1.
19786         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19787         * sysdeps/i386/fpu/libm-test-ulps: Update.
19788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790         [BZ #16516]
19791         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19792         (__erf): Scale by 16 instead of 8 in potentially underflowing
19793         case.  Ensure exception if result actually underflows.
19794         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19795         (__erff): Scale by 16 instead of 8 in potentially underflowing
19796         case.  Ensure exception if result actually underflows.
19797         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19798         (efx8): Remove variable.
19799         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19800         case.  Ensure exception if result actually underflows.
19801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19802         (efx8): Remove variable.
19803         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19804         case.  Ensure exception if result actually underflows.
19805         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19806         (efx8): Remove variable.
19807         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19808         case.  Ensure exception if result actually underflows.
19809         * math/auto-libm-test-in: Add more tests of erf.
19810         * math/auto-libm-test-out: Regenerated.
19812 2014-05-14  Andreas Schwab  <schwab@suse.de>
19814         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19815         Remove code conditionalized on USE___THREAD.
19817         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19818         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19819         not definedness.
19821 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19823         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19824         Define unconditionally.
19825         (__ASSUME_O_CLOEXEC): Likewise.
19826         (__ASSUME_SOCK_CLOEXEC): Likewise.
19827         (__ASSUME_IN_NONBLOCK): Likewise.
19828         (__ASSUME_PIPE2): Likewise.
19829         (__ASSUME_EVENTFD2): Likewise.
19830         (__ASSUME_SIGNALFD4): Likewise.
19831         (__ASSUME_DUP3): Likewise.
19832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19833         (__ASSUME_DUP3): Do not define.
19834         (__ASSUME_EVENTFD2): Likewise.
19835         (__ASSUME_IN_NONBLOCK): Likewise.
19836         (__ASSUME_O_CLOEXEC): Likewise.
19837         (__ASSUME_PIPE2): Likewise.
19838         (__ASSUME_SIGNALFD4): Likewise.
19839         (__ASSUME_SOCK_CLOEXEC): Likewise.
19840         (__ASSUME_UTIMES): Undefine.
19841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19842         (__ASSUME_UTIMES): Do not define.
19843         (__ASSUME_O_CLOEXEC): Likewise.
19844         (__ASSUME_SOCK_CLOEXEC): Likewise.
19845         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19846         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19847         0x020621].
19848         (__ASSUME_PIPE2): Likewise.
19849         (__ASSUME_EVENTFD2): Likewise.
19850         (__ASSUME_SIGNALFD4): Likewise.
19851         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19852         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19853         Do not define.
19854         (__ASSUME_EVENTFD2): Likewise.
19855         (__ASSUME_SIGNALFD4): Likewise.
19856         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19857         (__ASSUME_32BITUIDS): Likewise.
19858         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19859         (__ASSUME_IPC64): Likewise.
19860         (__ASSUME_ST_INO_64_BIT): Likewise.
19861         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19862         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19863         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19864         (__ASSUME_UTIMES): Do not define.
19865         (__ASSUME_PSELECT): Likewise.
19866         (__ASSUME_PPOLL): Likewise.
19867         (__ASSUME_O_CLOEXEC): Likewise.
19868         (__ASSUME_SOCK_CLOEXEC): Likewise.
19869         (__ASSUME_IN_NONBLOCK): Likewise.
19870         (__ASSUME_PIPE2): Likewise.
19871         (__ASSUME_EVENTFD2): Likewise.
19872         (__ASSUME_SIGNALFD4): Likewise.
19873         (__ASSUME_DUP3): Likewise.
19874         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19875         (__ASSUME_UTIMES): Likewise.
19876         (__ASSUME_O_CLOEXEC): Likewise.
19877         (__ASSUME_SOCK_CLOEXEC): Likewise.
19878         (__ASSUME_IN_NONBLOCK): Likewise.
19879         (__ASSUME_PIPE2): Likewise.
19880         (__ASSUME_EVENTFD2): Likewise.
19881         (__ASSUME_SIGNALFD4): Likewise.
19882         (__ASSUME_DUP3): Likewise.
19883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19884         (__ASSUME_UTIMES): Likewise.
19885         (__ASSUME_O_CLOEXEC): Likewise.
19886         (__ASSUME_SOCK_CLOEXEC): Likewise.
19887         (__ASSUME_IN_NONBLOCK): Likewise.
19888         (__ASSUME_PIPE2): Likewise.
19889         (__ASSUME_EVENTFD2): Likewise.
19890         (__ASSUME_SIGNALFD4): Likewise.
19891         (__ASSUME_DUP3): Likewise.
19892         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19893         Likewise.
19894         (__ASSUME_UTIMES): Likewise.
19895         (__ASSUME_EVENTFD2): Likewise.
19896         (__ASSUME_SIGNALFD4): Likewise.
19897         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19898         (__ASSUME_O_CLOEXEC): Likewise.
19899         (__ASSUME_SOCK_CLOEXEC): Likewise.
19900         (__ASSUME_IN_NONBLOCK): Likewise.
19901         (__ASSUME_PIPE2): Likewise.
19902         (__ASSUME_EVENTFD2): Likewise.
19903         (__ASSUME_SIGNALFD4): Likewise.
19904         (__ASSUME_DUP3): Likewise.
19905         (__ASSUME_UTIMES): Undefine.
19907         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19908         feclearexcept.  Remove symbol versioning code.
19909         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19910         symbol versioning code.
19911         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19912         symbol versioning code.
19913         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19914         feupdateenv.  Remove symbol versioning code.
19915         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19916         fegetexceptflag.  Remove symbol versioning code.
19917         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19918         fesetexceptflag.  Remove symbol versioning code.
19919         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19920         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19921         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19922         (__posix_fadvise64_l32): Remove prototype.
19923         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19924         code.
19926 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19928         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19929         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19930         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19931         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19933 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19935         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19936         current working directory
19938 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19940         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19941         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19942         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19943         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19944         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19945         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19946         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19947         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19948         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19949         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19950         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19951         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19952         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19953         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19954         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19955         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19956         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19957         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19958         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19959         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19960         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19961         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19962         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19963         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19964         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19965         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19966         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19967         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19968         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19969         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19970         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19971         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19972         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19973         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19974         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19975         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19976         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19977         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19978         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19979         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19980         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19981         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19983         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19984         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19986         * sysdeps/unix/sysv/linux/arm/Makefile
19987         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19988         Add rt-aeabi_unwind_cpp_pr1.
19989         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19990         Add nptl-aeabi_unwind_cpp_pr1.
19991         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19992         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19993         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19994         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19995         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19996         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19998         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19999         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20000         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20001         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20003         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20004         Deconditionalize the code that was previously under [RESET_PID].
20005         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20007         * sysdeps/generic/exit-thread.h: New file.
20008         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20009         * include/unistd.h (__exit_thread): Remove declaration.
20010         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20011         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20012         * csu/libc-start.c: Include <exit-thread.h>.
20013         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20014         * nptl/pthread_create.c: Include <exit-thread.h>.
20015         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20016         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20017         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20018         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20019         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20020         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20021         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20022         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20023         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20024         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20025         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20026         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20027         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20028         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20029         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20030         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20031         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20033 2014-05-13  Andreas Schwab  <schwab@suse.de>
20035         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20037 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20039         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20040         (__ASSUME_UTIMES): Do not condition on kernel version.
20041         (__ASSUME_PSELECT): Define unconditionally.
20042         (__ASSUME_PPOLL): Likewise.
20043         (__ASSUME_ATFCTS): Likewise.
20044         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20045         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20046         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20047         (__ASSUME_UTIMENSAT): Define unconditionally.
20048         (__ASSUME_PRIVATE_FUTEX): Likewise.
20049         (__ASSUME_FALLOCATE): Likewise.
20050         (__ASSUME_O_CLOEXEC): Likewise.
20051         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20052         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20053         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20054         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20055         (__ASSUME_IN_NONBLOCK): Likewise.
20056         (__ASSUME_PIPE2): Likewise.
20057         (__ASSUME_EVENTFD2): Likewise.
20058         (__ASSUME_SIGNALFD4): Likewise.
20059         (__ASSUME_DUP3): Likewise.
20060         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20061         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20062         (__ASSUME_AT_RANDOM): Likewise.
20063         (__ASSUME_PREADV): Likewise.
20064         (__ASSUME_PWRITEV): Likewise.
20065         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20066         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20067         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20068         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20069         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20071         (__ASSUME_O_CLOEXEC): Define unconditionally.
20072         (__ASSUME_PSELECT): Do not undefine conditionally.
20073         (__ASSUME_PPOLL): Likewise.
20074         (__ASSUME_ATFCTS): Likewise.
20075         (__ASSUME_SET_ROBUST_LIST): Likewise.
20076         (__ASSUME_UTIMENSAT): Likewise.
20077         (__ASSUME_FDATASYNC): Define unconditionally.
20078         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20079         (__ASSUME_SIGFRAME_V2): Likewise.
20080         )__ASSUME_EVENTFD2): Likewise.
20081         (__ASSUME_SIGNALFD4): Likewise.
20082         (__ASSUME_PSELECT): Do not undefine conditionally.
20083         (__ASSUME_PPOLL): Likewise.
20084         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20085         (__ASSUME_PSELECT): Define unconditionally.
20086         (__ASSUME_PPOLL): Likewise.
20087         (__ASSUME_O_CLOEXEC): Likewise.
20088         (__ASSUME_SOCK_CLOEXEC): Likewise.
20089         (__ASSUME_IN_NONBLOCK): Likewise.
20090         (__ASSUME_PIPE2): Likewise.
20091         (__ASSUME_EVENTFD2): Likewise.
20092         (__ASSUME_SIGNALFD4): Likewise.
20093         (__ASSUME_DUP3): Likewise.
20094         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20095         (__ASSUME_O_CLOEXEC): Likewise.
20096         (__ASSUME_SOCK_CLOEXEC): Likewise.
20097         (__ASSUME_IN_NONBLOCK): Likewise.
20098         (__ASSUME_PIPE2): Likewise.
20099         (__ASSUME_EVENTFD2): Likewise.
20100         (__ASSUME_SIGNALFD4): Likewise.
20101         (__ASSUME_DUP3): Likewise.
20102         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20103         (__ASSUME_EVENTFD2): Likewise.
20104         (__ASSUME_SIGNALFD4): Likewise.
20105         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20107 2014-05-12  Andreas Schwab  <schwab@suse.de>
20109         [BZ #16932]
20110         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20111         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20112         than maximum RPC packet size.
20113         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20114         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20115         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20116         (_nss_nis_getservbyport_r): Likewise.
20118 2014-05-12  Will Newton  <will.newton@linaro.org>
20120         * malloc/Makefile (tests): Add tst-mallopt.
20121         * malloc/tst-mallopt.c: New file.
20123 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20125         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20126         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20128 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20130         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20131         (tst-tlsmod6.so): Likewise.
20133 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20135         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20137 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20139         [BZ #16064]
20140         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20141         and <dl-procinfo.h>.
20142         (__fegetenv): Save SSE state in envp->__eip if supported.
20143         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20144         envp->__eip if supported.
20145         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20146         and <dl-procinfo.h>.
20147         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20148         __data_offset and __data_selector in environment to 0.  Set SSE
20149         state if supported.
20150         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20151         test-fenv-sse.
20152         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20153         -mfpmath=sse.
20154         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20156 2014-05-09  Will Newton  <will.newton@linaro.org>
20158         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20159         and libc_relro_required for ARM.
20160         * sysdeps/arm/preconfigure: Regenerate.
20162 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20163             Stefan Liebler  <stli@linux.vnet.ibm.com>
20165         * config.make.in (enable-lock-elision): New Makefile variable.
20166         * configure.ac: Likewise.
20167         * configure: Regenerate.
20168         * sysdeps/s390/configure.ac:
20169         Add check for gcc transactions support.
20170         * sysdeps/s390/configure: Regenerate.
20171         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20172         Build elision files if enabled.
20173         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20174         Add lock elision support for s390.
20175         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20176         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20177         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20178         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20179         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20180         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20181         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20182         Likewise.
20183         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20184         Likewise.
20185         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20186         Likewise.
20187         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20188         Likewise.
20189         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20190         (__lll_timedlock_elision, __lll_lock_elision)
20191         (__lll_unlock_elision, __lll_trylock_elision)
20192         (lll_timedlock_elision, lll_lock_elision)
20193         (lll_unlock_elision, lll_trylock_elision): Add.
20194         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20195         (pthread_mutex_t): Add lock elision support for s390.
20197 2014-05-14  Wilco  <wdijkstr@arm.com>
20199         * sysdeps/arm/fclrexcpt.c: Cleanup.
20200         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20201         * sysdeps/arm/feenablxcpt.c: Cleanup.
20202         * sysdeps/arm/fegetenv.c: Cleanup.
20203         * sysdeps/arm/fegetexcept.c: Cleanup.
20204         * sysdeps/arm/fegetround.c: Cleanup.
20205         * sysdeps/arm/feholdexcpt.c: Cleanup.
20206         * sysdeps/arm/fesetenv.c: Cleanup.
20207         * sysdeps/arm/fesetround.c: Cleanup.
20208         * sysdeps/arm/feupdateenv.c: Cleanup.
20209         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20210         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20211         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20212         * sysdeps/arm/ftestexcept.c: Cleanup.
20213         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20214         * sysdeps/arm/setfpucw.c: Cleanup.
20216 2014-05-09  Will Newton  <will.newton@linaro.org>
20218         * sysdeps/arm/armv7/strcmp.S: New file.
20219         * NEWS: Mention addition of ARMv7 optimized strcmp.
20221 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20223         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20224         look for %.ac rather than %.in.
20226         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20227         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20228         * sysdeps/mach/hurd/configure: Regenerated.
20229         * sysdeps/unix/sysv/linux/configure: Regenerated.
20231         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20233 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20235         [BZ# 16922]
20236         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20237         (LONG_SUB): Ditto.
20238         (PTR_SUB): Ditto.
20240 2014-05-07  Andreas Schwab  <schwab@suse.de>
20242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20243         when skipping over non-matching result from nscd.
20245 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20247         [BZ #16876]
20248         * nptl/sockperf.c (client): Check socket return value.
20250         [BZ #16877]
20251         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20252         nscd security class.
20254 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20256         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20257         * sysdeps/arm/unwind.h: ... here.
20259 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20261         [BZ# 16916]
20262         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20263         Define.
20265 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20267         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20268         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20269         multiarch strncpy for PPC64.
20270         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20271         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20273         multiarch optimizations.
20274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20275         (__libc_ifunc_impl_list): Likewise.
20276         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20277         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20278         multiarch stpncpy for PPC64.
20279         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20280         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20282 2014-05-06  Andreas Schwab  <schwab@suse.de>
20284         [BZ #16912]
20285         * gmon/mcount.c (_MCOUNT_DECL): Use
20286         atomic_compare_and_exchange_bool_acq instead of
20287         catomic_compare_and_exchange_bool_acq.
20289 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20291         * elf/Makefile (others, install-bin): Remove pldd.
20292         (pldd-modules): Variable removed.
20293         ($(objpfx)pldd): Target removed.
20294         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20295         (others, install-bin): Append pldd here.
20296         ($(objpfx)pldd): New target.
20298         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20299         to 0, so the first #if test emitted later doesn't see it undefined.
20300         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20301         * sysdeps/gnu/errlist.c: Regenerated.
20303 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20305         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20306         [libc_hidden_builtin_def]: Define to empty value.
20307         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20308         [libc_hidden_builtin_def]: Likewise.
20309         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20310         [libc_hidden_builtin_def]: Likewise.
20311         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20312         [libc_hidden_builtin_def]: Likewise.
20313         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20314         __redirect_memcpy and define ifunc as default hidden symbol.
20315         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20316         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20318 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20320         * locale/iso-4217.def: Reintroduce XDR currency.
20322 2014-05-04  Allan McRae  <allan@archlinux.org>
20324         * po/eo.po: Update Esperanto translation from translation project.
20326 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20328         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20329         and FEATURE_INDEX_MAX to 1.
20330         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20332 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20334         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20335         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20336         * iconvdata/big5.c (ONE_DIRECTION): Define.
20337         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20338         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20339         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20340         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20341         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20342         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20343         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20344         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20345         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20346         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20347         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20348         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20349         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20350         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20351         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20352         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20353         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20354         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20355         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20356         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20357         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20358         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20359         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20360         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20361         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20362         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20363         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20364         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20365         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20366         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20367         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20368         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20369         * iconvdata/johab.c (ONE_DIRECTION): Define.
20370         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20371         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20372         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20373         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20374         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20375         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20376         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20377         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20378         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20379         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20381 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20383         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20384         (_IO_JUMPS_OFFSET): Define to 0.
20386         * nptl/sysdeps/pthread/bits/libc-lock.h
20387         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20388         (__libc_lock_define_initialized_recursive): Always define using
20389         initializer.  Modern compilers treat uninitialized (implicit zero) and
20390         explicit zero initializers the same (i.e. put the datum in bss).
20392 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20394         * nscd/nscd-client.h: Include <string.h>.
20396 2014-05-01  David S. Miller  <davem@davemloft.net>
20398         [BZ #16885]
20399         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20400         multiple zero bytes exist at the end of a string.
20401         Reported by Aurelien Jarno <aurelien@aurel32.net>
20403         * string/test-strcmp.c (check): Add explicit test for situations where
20404         there are multiple zero bytes after the first.
20406 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20408         [BZ #16890]
20409         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20410         when compiling wprintf.
20411         * stdio-common/tstdiomisc.c (t3): New function.
20412         (main): Call it.
20414 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20416         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20417         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20418         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20419         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20421 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20423         * stdlib/longlong.h: Updated from GCC.
20425 2014-05-01  Will Newton  <will.newton@linaro.org>
20426             Bernard Ogden  <bernie.ogden@linaro.org>
20428         * NEWS: Update fixed bug list.
20430         [BZ #15119]
20431         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20433 2014-04-30  David S. Miller  <davem@davemloft.net>
20435         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20436         (libc_feholdexcept_setround_sparc_ctx): New function.
20437         (libc_fesetenv_sparc_ctx): Likewise.
20438         (libc_feupdateenv_sparc_ctx): Likewise.
20439         (libc_feholdsetround_sparc_ctx): Likewise.
20440         (libc_feholdexcept_setround_ctx): Define.
20441         (libc_feholdexcept_setroundf_ctx): Likewise.
20442         (libc_feholdexcept_setroundl_ctx): Likewise.
20443         (libc_fesetenv_ctx): Likewise.
20444         (libc_fesetenvf_ctx): Likewise.
20445         (libc_fesetenvl_ctx): Likewise.
20446         (libc_feupdateenv_ctx): Likewise.
20447         (libc_feupdateenvf_ctx): Likewise.
20448         (libc_feupdateenvl_ctx): Likewise.
20449         (libc_feresetround_ctx): Likewise.
20450         (libc_feresetroundf_ctx): Likewise.
20451         (libc_feresetroundl_ctx): Likewise.
20452         (libc_feholdsetround_ctx): Likewise.
20453         (libc_feholdsetroundf_ctx): Likewise.
20454         (libc_feholdsetroundl_ctx): Likewise.
20456         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20457         with __USE_GNU instead of XOPEN cpp guards.
20459         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20460         0.
20462         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20463         with XOPEN cpp guards.
20465 2014-04-30  Julian Brown  <julian@codesourcery.com>
20467         [BZ #16888]
20468         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20469         handling.
20471 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20473         [BZ #9894]
20474         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20475         Change to 2.6.32.
20476         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20477         * sysdeps/unix/sysv/linux/configure: Regenerated.
20478         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20479         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20480         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20481         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20482         * README: Update reference to required Linux kernel version.
20483         * manual/install.texi (Linux): Update reference to required Linux
20484         kernel headers version.
20485         * INSTALL: Regenerated.
20487         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20488         header inclusion.
20489         [POSIX] (limits.h): Likewise.
20490         [POSIX] (math.h): Likewise.
20491         [POSIX] (sys/wait.h): Likewise.
20492         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20493         function.
20494         [POSIX] (stddef.h): Do not allow header inclusion.
20496 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20498         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20500 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20502         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20503         Return immediately after lll_futex_wake.
20505 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20507         [BZ #16791]
20508         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20509         structure.
20510         (datahead_init_pos): Call datahead_init_common early.
20511         (datahead_init_neg): Likewise.
20513         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20514         datahead_init_neg): New functions.
20515         * nscd/aicache.c (addhstaiX): Use them.
20516         * nscd/grpcache.c (cache_addgr): Likewise.
20517         * nscd/hstcache.c (cache_addhst): Likewise.
20518         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20519         * nscd/netgroupcache.c (do_notfound): Likewise.
20520         (addgetnetgrentX): Likewise.
20521         (addinnetgrX): Likewise.
20522         * nscd/pwdcache.c (cache_addpw): Likewise.
20523         * nscd/servicescache.c (cache_addserv): Likewise.
20525 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526             Atsushi Onoe  <atsushi@onoe.org>
20528         [BZ #14308]
20529         [BZ #12994]
20530         [BZ #13651]
20531         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20532         one response is valid.
20533         * resolv/res_send.c (send_dg): Check for validity of other
20534         response if the current response is a referral.
20536 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20538         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20540 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20542         [BZ #16823]
20543         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20544         Always divide by positive zero when computing -Inf result.
20545         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20546         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20548 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20550         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20551         FPSCR if value do not change.
20552         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20553         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20554         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20555         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20556         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20557         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20558         function.
20560 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20562         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20563         * sysdeps/unix/sysv/linux/hppa: Move directory from
20564         ports/systeps/unix/sysv/linux/hppa.
20565         * README: Update listing for hppa-*-linux-gnu.
20567 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20569         [BZ #16754]
20570         * manual/stdio.texi (Hook functions): Fix types of stream hook
20571         functions.
20572         [BZ #16854]
20573         * socket/sys/socket.h: Fix typo in comment.
20575 2014-04-28  Wilco  <wdijkstr@arm.com>
20577         * sysdeps/arm/fenv_private.h: New file.
20578         * sysdeps/arm/math_private.h: New file.
20579         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20581 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20583         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20584         with __int128_t.
20585         (La_x86_64_retval): Likewise.
20587 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20589         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20590         fpsr if value didn't change.
20591         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20592         to fpcr if value didn't change.
20593         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20594         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20595         fpsr or fpcr if value didn't change.
20596         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20597         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20598         fpcr if value didn't change.
20599         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20600         to fpsr if value didn't change.
20602 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20604         * nptl/tst-sem3.c: Use test-skeleton.c
20605         (main): Rename to do_test.  Use return instead of
20606         exit.
20607         * nptl/tst-sem4.c: Use test-skeleton.c
20608         (main): Rename to do_test.
20610 2014-04-22  David S. Miller  <davem@davemloft.net>
20612         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20613         (struct sigaction): New struct member __glibc_reserved0, change
20614         type of sa_flags to int.
20616 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20618         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20619         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20621 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20623         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20624         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20626 2014-04-22  Will Newton  <will.newton@linaro.org>
20627             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20629         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20630         (__longjmp): Add longjmp and longjmp_target SystemTap
20631         probes.
20632         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20633         (__sigsetjmp): Add setjmp SystemTap probe.
20635 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20637         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20638         match manual order.
20640 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20642         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20644         * sysdeps/powerpc/fpu/fenv_private.h
20645         (libc_feholdexcept_setroundl_ctx): Define to
20646         libc_feholdexcept_setround_ppc_ctx.
20647         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20648         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20649         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20650         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20652 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20654         * sysdeps/aarch64/math-tests.h: New file.
20656 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20658         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20659         New.
20660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20661         Check and set bit_AVX2_Usable.
20662         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20663         macro.
20664         (bit_AVX2): Likewise.
20665         (index_AVX2_Usable): Likewise.
20666         (CPUID_AVX2): Likewise.
20667         (HAS_AVX2): Likewise.
20669 2014-04-17  Will Newton  <will.newton@linaro.org>
20671         * manual/setjmp.texi (System V contexts): Add note that
20672         calling setcontext on a context created by a call to a
20673         signal handler is undefined.  Update text to note that
20674         setcontext from a signal handler is possible but not
20675         recommended.
20677         [BZ #16629]
20678         * stdlib/tst-setcontext.c: Include signal.h.
20679         (main): Check that the signal stack before and
20680         after swapcontext is the same.
20682         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20683         Re-implement to restore registers in user code and avoid
20684         rt_sigreturn system call.
20686 2014-04-17  Wilco  <wdijkstr@arm.com>
20688         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20689         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20690         * math/test-fenv.c: Skip exception trap tests on targets which only
20691         support non-stop mode.
20693 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20694             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20696         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20697         (libc_feholdsetround_aarch64_ctx)
20698         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20699         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20700         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20701         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20702         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20703         (libc_feresetround_noexl_ctx): Define.
20705 2014-04-16  Richard Henderson  <rth@redhat.com>
20707         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20709         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20710         unwind tables.
20712         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20713         const from the non-libc, non-ldso copy.
20715         * sysdeps/alpha/libm-test-ulps: Regenerate.
20717 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20718             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20720         * sysdeps/aarch64/fpu/math_private.h: New file.
20722 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20724         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20726 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20728         [BZ #16275]
20729         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20730         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20732         Intel MPX bound registers before _dl_profile_fixup.
20733         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20734         registers after _dl_profile_fixup.  Save and restore bound
20735         registers bnd0/bnd1 when calling _dl_call_pltexit.
20736         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20737         (LR_BND_OFFSET): Likewise.
20738         (LRV_BND0_OFFSET): Likewise.
20739         (LRV_BND1_OFFSET): Likewise.
20741 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20743         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20744         to...
20745         * sysdeps/mach/hurd/i386/tls.h: ... here.
20746         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20747         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20748         fields.
20750 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20752         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20754 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20756         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20758 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20760         [BZ #14770]
20761         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20762         * sysdeps/s390/configure: Regenerate.
20764         [BZ #16824]
20765         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20766         Set round-to-nearest internally to reduce error accumulation.
20768 2014-04-16  Alan Modra  <amodra@gmail.com>
20770         [BZ #16740]
20771         [BZ #16619]
20772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20773         * math/libm-test.inc (frexp_test_data): Add tests.
20774         * NEWS: Update fixed bug list.
20776 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20778         * benchtests/Makefile: Depend on libraries in build directory.
20779         (bench-math): Separate out math tests.
20780         (bench-pthread): Separate out pthread tests.
20781         (bench): Include math and pthread tests.
20783 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20785         [BZ #16831]
20786         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20787         _dl_debug_initialize.
20789         * configure.ac: Remove SELinux header check.
20790         * configure: Regenerate.
20791         * nscd/selinux.c (perms): Array of const char* to permission names.
20792         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20793         default policy. Call string_to_security_class and string_to_av_perm to
20794         translate strings. Enforce default policy and call avs_has_perm with
20795         results of translated strings.
20797 2014-04-13  David S. Miller  <davem@davemloft.net>
20799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20801 2014-04-12  Allan McRae  <allan@archlinux.org>
20803         [BZ #16838]
20804         * manual/string.texi (Collation Functions): Fix qsort argument
20805         order in example.
20806         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20808 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20810         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20811         Make the test a no-op if there are no exceptions defined.
20813 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20815         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20816         enable-hardcoded-path-in-tests
20818 2014-04-11  Will Newton  <will.newton@linaro.org>
20820         * benchtests/Makefile (extra-objs): Add json-lib.o.
20821         (bench-func): Tidy up JSON output.
20822         * benchtests/bench-skeleton.c: Include json-lib.h.
20823         (main): Use JSON library functions to do output of
20824         benchmark results.
20825         * benchtests/bench-timing-type.c (main): Output the
20826         timing type simply, leaving formatting to the user.
20827         * benchtests/json-lib.c: New file.
20828         * benchtests/json-lib.h: Likewise.
20830 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20832         [BZ #15215]
20833         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20834         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20835         memory barriers.  Add comments.
20836         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20837         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20838         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20839         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20840         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20841         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20843 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20845         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20846         * sysdeps/s390/s390-64/configure.ac: ... this ...
20847         * sysdeps/s390/configure.ac: ... to here.
20848         * sysdeps/s390/s390-32/configure: Delete file.
20849         * sysdeps/s390/s390-64/configure: Delete file.
20850         * sysdeps/s390/configure: Regenerate.
20852 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20854         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20856 2014-04-11  Will Newton  <will.newton@linaro.org>
20858         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20859         to zero if it is not defined elsewhere.  (mtrim): Test
20860         the value of MALLOC_DEBUG with #if rather than #ifdef.
20862 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20864         * benchtests/pthread_once-inputs: New file.
20865         * benchtests/pthread_once-source.c: New file.
20866         * benchtests/README: Update documentation.
20868 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20869             H.J. Lu  <hongjiu.lu@intel.com>
20871         [BZ #16275]
20872         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20873         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20874         * sysdeps/x86_64/configure: Regenerated.
20875         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20876         macro.
20877         (REGISTER_SAVE_RAX): Likewise.
20878         (REGISTER_SAVE_RCX): Likewise.
20879         (REGISTER_SAVE_RDX): Likewise.
20880         (REGISTER_SAVE_RSI): Likewise.
20881         (REGISTER_SAVE_RDI): Likewise.
20882         (REGISTER_SAVE_R8): Likewise.
20883         (REGISTER_SAVE_R9): Likewise.
20884         (REGISTER_SAVE_BND0): Likewise.
20885         (REGISTER_SAVE_BND1): Likewise.
20886         (REGISTER_SAVE_BND2): Likewise.
20887         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20888         bound registers when calling _dl_fixup.
20890 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20892         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20893         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20894         of its definition.
20895         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20896         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20897         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20898         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20899         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20900         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20901         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20903 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20905         [BZ #15514]
20906         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20907         pathconf(_PC_NAME_MAX).
20909 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20911         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20912         Remove macro usage.
20913         (__PTHREAD_SPINS): Move definition to ...
20914         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20915         (__PTHREAD_SPINS): ... here.
20916         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20917         (__PTHREAD_SPIN): Likewise.
20918         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20919         (__PTHREAD_SPIN): Likewise.
20920         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20921         (__PTHREAD_SPIN): Likewise.
20922         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20923         (__PTHREAD_SPIN): Likewise.
20924         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20925         (__PTHREAD_SPIN): Likewise.
20926         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20927         (__PTHREAD_SPIN): Likewise.
20928         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20929         (__PTHREAD_SPIN): Likewise.
20930         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20931         (__PTHREAD_SPIN): Likewise.
20932         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20933         (__PTHREAD_SPIN): Likewise.
20934         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20935         (__PTHREAD_SPIN): Likewise.
20936         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20937         (__PTHREAD_SPIN): Likewise.
20938         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20939         (__PTHREAD_SPIN): Likewise.
20941         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20942         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20943         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20944         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20945         imply folder.
20946         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20947         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20948         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20949         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20950         correct imply path.
20951         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20952         strlen symbol for non multi-arch builds.
20953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20954         missing hidden_def and weak_alias.
20956 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20958         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20960 2014-04-07  Will Newton  <will.newton@linaro.org>
20962         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20963         and contents.  [!_LIBC] Remove #ifndef and contents.
20964         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20965         * string/memccpy.c (__memccpy): Use ANSI prototype.
20966         * string/memfrob.c (memfrob): Likewise.
20967         * string/strcoll.c (STRCOLL): Likewise.
20968         * string/strlen.c (strlen): Likewise.
20969         * string/strtok.c (STRTOK): Likewise.
20970         * string/strcat.c: Remove unused #include of memcopy.h.
20971         (strcat): Use ANSI prototype.
20972         * string/strchr.c: Remove unused #include of memcopy.h.
20973         (strchr): Use ANSI prototype.
20974         * string/strcmp.c: Remove unused #include of memcopy.h.
20975         (strcmp): Use ANSI prototype.
20976         * string/strcpy.c: Remove unused #include of memcopy.h.
20977         (strcpy): Use ANSI prototype.
20979 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20981         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20982         * config.make.in (config-extra-cppflags): Set it from
20983         libc_extra_cppflags.
20984         * configure.ac (libc_extra_cflags): Make it accumulate over
20985         configure fragments.
20986         (libc_extra_cppflags): New flag.
20987         * configure. Regenerate.
20988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20989         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20990         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20993         [BZ #16815]
20994         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20995         result for FE_DOWNWARD rounding mode.
20996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20997         Likewise.
20998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21000 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21002         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21003         in function argument name.
21005 2014-04-03  David Svoboda  <svoboda@cert.org>
21007         [BZ #5666]
21008         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21009         explicitly.
21011 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21013         * elf/dl-unmap-segments.h: New file.
21014         * sysdeps/generic/ldsodefs.h
21015         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21016         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21017         * elf/dl-fptr.c: Likewise.
21018         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21019         * sysdeps/aarch64/tlsdesc.c: Likewise.
21020         * sysdeps/arm/tlsdesc.c: Likewise.
21021         * sysdeps/i386/tlsdesc.c: Likewise.
21022         * sysdeps/tile/dl-runtime.c: Likewise.
21023         * sysdeps/x86_64/tlsdesc.c: Likewise.
21024         * elf/dl-load.h: New file.
21025         * elf/dl-load.c: Include it.
21026         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21027         Macros moved to dl-load.h.
21028         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21029         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21030         Use _dl_unmap_segments in place of __munmap.
21031         Break out segment-mapping loop into ...
21032         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21034 2014-04-03  Will Newton  <will.newton@linaro.org>
21036         * elf/dl-lookup.c (do_lookup_x): Remove comment
21037         referring to nested function and move variable
21038         declarations down to before first use.
21040 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21042         [BZ #16799]
21043         [BZ #16800]
21044         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21045         with 0 numerator.
21046         * math/s_catanf.c (__catanf): Likewise.
21047         * math/s_catanh.c (__catanh): Likewise.
21048         * math/s_catanhf.c (__catanhf): Likewise.
21049         * math/s_catanhl.c (__catanhl): Likewise.
21050         * math/s_catanl.c (__catanl): Likewise.
21051         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21052         by positive zero when computing -Inf result.
21053         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21054         (catanh_test): Likewise.
21055         * sysdeps/i386/fpu/libm-test-ulps: Update.
21056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21058         [BZ #16789]
21059         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21060         instead of using underflowing value in computing result.
21061         * math/s_clog10.c (__clog10): Likewise.
21062         * math/s_clog10f.c (__clog10f): Likewise.
21063         * math/s_clog10l.c (__clog10l): Likewise.
21064         * math/s_clogf.c (__clogf): Likewise.
21065         * math/s_clogl.c (__clogl): Likewise.
21066         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21067         (clog10_test): Likewise.
21068         * sysdeps/i386/fpu/libm-test-ulps: Update.
21069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21071 2014-04-02  Alan Modra  <amodra@gmail.com>
21073         [BZ #16739]
21074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21075         output when value is near a power of two.  Use int64_t for lx and
21076         remove casts.  Use decimal rather than hex exponent constants.
21077         Don't use long double multiplication when double will suffice.
21078         * math/libm-test.inc (nextafter_test_data): Add tests.
21079         * NEWS: Add 16739 and 16786 to bug list.
21081         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21083         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21085 2014-04-01  Will Newton  <will.newton@linaro.org>
21087         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21088         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21090 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21092         [BZ #13347]
21093         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21094         * nptl/tst-setuid2.c: New file.
21095         * nptl/Makefile (xtests): Add tst-setuid2.
21097 2014-04-01  Alan Modra  <amodra@gmail.com>
21099         [BZ #16786]
21100         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21102 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21104         [BZ #6803]
21105         [BZ #6804]
21106         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21107         set errno as appropriate.
21108         * math/w_scalbf.c (__scalbf): Likewise.
21109         * math/w_scalbl.c (__scalbl): Likewise.
21110         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21111         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21112         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21113         Add more NaN tests.
21115         [BZ #16349]
21116         * math/w_atan2.c: Include <errno.h>.
21117         (__atan2): Set errno for result underflowing to zero.
21118         * math/w_atan2f.c: Include <errno.h>.
21119         (__atan2f): Set errno for result underflowing to zero.
21120         * math/w_atan2l.c: Include <errno.h>.
21121         (__atan2l): Set errno for result underflowing to zero.
21122         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21123         tests.
21124         * math/auto-libm-test-out: Regenerated.
21126 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21128         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21129         Encode instruction correctly in little endian.
21130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21131         Likewise.
21132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21133         Likewise.
21134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21135         Likewise.
21136         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21137         Likewise.
21139 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21141         [BZ #9894]
21142         * sysdeps/unix/sysv/linux/kernel-features.h
21143         [__sparc__ && !__arch64__ && !__sparc_v9__]
21144         (__ASSUME_SET_ROBUST_LIST): Do not define.
21145         [__sparc__ && !__arch64__ && !__sparc_v9__]
21146         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21147         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21148         Likewise.
21149         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21150         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21151         (__ASSUME_REQUEUE_PI): Likewise.
21152         (__ASSUME_SET_ROBUST_LIST): Likewise.
21153         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21154         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21155         Undefine.
21156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21157         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21158         Likewise.
21159         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21160         Likewise.
21161         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21162         Likewise.
21163         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21164         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21165         Undefine.
21166         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21167         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21168         Likewise.
21170         [BZ #16648]
21171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21172         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21173         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21175 2014-03-31  Will Newton  <will.newton@linaro.org>
21177         * benchtests/Makefile (bench): Add ffs and ffsll to list
21178         of tests.
21179         * benchtests/ffs-inputs: New file.
21180         * benchtests/ffsll-inputs: Likewise.
21182 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21184         [BZ #16770]
21185         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21186         too large before casting to int.
21187         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21188         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21189         * math/libm-test.inc (scalb_test_data): Add more tests.
21191 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193         * benchtests/Makefile (DETAILED_OPT): New make option.
21194         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21195         set.
21196         * benchtests/bench-skeleton.c: Include stdbool.h.
21197         (main): Store and print timings per input.
21198         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21199         member to each argument value.
21200         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21201         (_print_arg_data): Initialize per-input timing to 0.
21203         * benchtests/Makefile (timing-type): New binary.
21204         (bench-clean): Also remove bench-timing-type.
21205         (bench): New target for timing-type.
21206         (bench-func): Print output in JSON format.
21207         * benchtests/bench-skeleton.c (main): Print output in JSON
21208         format.
21209         * benchtests/bench-timing-type.c: New file.
21210         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21211         (TIMING_PRINT_STATS): Remove.
21212         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21213         name separately.
21215         * benchtests/bench-modf.c: Remove.
21216         * benchtests/modf-inputs: New inputs file.
21218 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21220         [BZ #16362]
21221         * math/s_clog10.c (M_PI_LOG10E): New macro.
21222         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21223         imaginary parts are 0.
21224         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21225         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21226         imaginary parts are 0.
21227         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21228         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21229         imaginary parts are 0.
21230         * math/libm-test.inc (clog10_test_data): Update expected results
21231         for when real and imaginary parts are 0.
21233 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21235         * elf/dl-load.c: Finish conversion of __builtin_expect into
21236         __glibc_{un}likely.
21238 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21240         [BZ #16348]
21241         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21242         1+x for argument with exponent below -67.
21243         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21244         Likewise.
21245         * math/auto-libm-test-in: Add more tests of exp.
21246         * math/auto-libm-test-out: Regenerated.
21248 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21250         [BZ #16759]
21251         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21252         (nscd_getnetgrent): Use it.
21254         [BZ #16760]
21255         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21256         of stpcpy.
21258 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21260         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21261         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21262         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21263         (lll_robust_unlock): Remove out of line section. Use cfi
21264         intrinsics.
21265         (LLL_STUB_UNWIND_INFO*): Remove.
21266         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21267         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21268         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21269         (lll_robust_unlock): Remove out of line section. Use cfi
21270         intrinsics.
21271         (LLL_STUB_UNWIND_INFO*): Remove.
21273 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21275         [BZ #16758]
21276         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21277         blank values.
21279 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21281         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21283 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21285         [BZ #16198]
21286         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21287         fnstenv.
21288         * math/test-fenv-preserve.c: New file.
21289         * math/Makefile (tests): Add test-fenv-preserve.
21291 2014-03-26  Will Newton <will.newton@linaro.org>
21293         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21295 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21297         * scripts/versionlist.awk: Partition the version sets and emit all
21298         GLIBC_* (sorted) before all others (sorted).
21300 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21302         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21303         GLIBC_2.2.5 version.
21305 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21307         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21308         calls.
21310         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21311         previous change.
21313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21315 2014-03-25  Andreas Schwab  <schwab@suse.de>
21317         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21318         label to be used after in6ailist is initialized.
21320 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21322         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21323         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21325 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21327         [BZ #16357]
21328         [BZ #16599]
21329         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21330         min_plus_half.
21331         (fp_formats): Update initializers.
21332         (init_fp_formats): Initialize new field.
21333         (output_for_one_input_case): Allow underflow for results up to
21334         min_plus_half.
21335         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21336         * math/auto-libm-test-in: Don't mark some underflows from asin and
21337         atanh as spurious.
21338         * math/auto-libm-test-out: Regenerated.
21339         * sysdeps/i386/fpu/libm-test-ulps: Update.
21340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21342 2014-03-25  Andreas Schwab  <schwab@suse.de>
21344         * libio/Makefile (tst-ftell-partial-wide-ENV)
21345         (tst-ftell-active-handler-ENV): Define.
21347 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21349         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21351 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21353         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21355 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21357         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21358         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21359         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21361 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21363         [BZ #16634]
21364         * elf/dl-load.c (open_verify): Add mode parameter.
21365         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21366         (open_path): Change from boolean 'secure' to complete flag 'mode'
21367         (_dl_map_object): Adjust.
21368         * elf/Makefile (tests): Add tst-dlopen-aout.
21369         * elf/tst-dlopen-aout.c: New test.
21371 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21373         [BZ #16714]
21374         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21375         (struct stat): Rename member pad0 to __glibc_reserved0.
21377         [BZ #16712]
21378         * sysdeps/s390/s390-32/bits/wordsize.h
21379         (__WORDSIZE32_SIZE_ULONG): New define.
21380         * sysdeps/s390/s390-64/bits/wordsize.h
21381         (__WORDSIZE32_SIZE_ULONG): Likewise.
21382         * sysdeps/generic/stdint.h (SIZE_MAX):
21383         Define as UL if __WORDSIZE32_SIZE_ULONG.
21385         [BZ #16713]
21386         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21387         (__glibc_reserved0): New variable.
21388         (sa_flags): Change type to int.
21390         * posix/Makefile (before-compile): Use += before-compile instead
21391         of a :=.
21393         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21394         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21396 2014-03-20  Andreas Schwab  <schwab@suse.de>
21398         [BZ #16743]
21399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21400         non-matching result from nscd.
21402 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21404         * scripts/bench.py: Moved to ...
21405         * benchtests/scripts/bench.py: ... here.
21406         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21408 2014-03-24  Andreas Schwab  <schwab@suse.de>
21410         [BZ #16002]
21411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21412         alloca_account and account alloca use for struct in6ailist.
21414 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21416         [BZ #16284]
21417         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21418         rounding mode to recompute results that overflow to infinity or
21419         underflow to zero.
21420         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21421         bug 16284.
21422         * math/auto-libm-test-out: Regenerated.
21423         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21424         (ccosh_test): Likewise.
21425         (csin_test_data): Use plus_oflow.
21426         (csin_test): Use ALL_RM_TEST.
21427         (csinh_test_data): Use plus_oflow.
21428         (csinh_test): Use ALL_RM_TEST.
21429         * sysdeps/i386/fpu/libm-test-ulps: Update.
21430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21432 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21434         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21435         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21436         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21438         [BZ #16731]
21439         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21440         when x - 1 is zero.
21441         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21442         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21443         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21444         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21445         argument is 1.
21446         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21447         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21448         zero.
21449         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21450         * sysdeps/i386/fpu/libm-test-ulps: Update.
21451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21453 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21455         * scripts/bench.pl: Remove file.
21456         * scripts/bench.py: New benchmark script.
21457         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21458         * benchtests/README: Mention python dependency.
21459         * scripts/pylintrc: New file.
21460         * scripts/pylint: New file.
21462         * bits/mathdef.h: Use #ifdef instead of #if.
21463         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21464         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21465         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21466         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21467         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21468         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21470 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21471             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21473         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21475         and strpbrk-ppc64 objects.
21476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21477         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21478         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21479         multiarch strpbrk for POWER7.
21480         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21481         multiarch strpbrk for PPC64.
21482         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21483         ifunc selector.
21484         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21485         strpbrk for POWER7.
21487 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21489         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21490         (atan_test): Likewise.
21491         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21492         (atanh_test): Use ALL_RM_TEST.
21493         (atan2_test_data): Likewise.
21494         (cabs_test): Likewise.
21495         (cacosh_test): Likewise.
21496         (carg_test): Likewise.
21497         (casin_test): Likewise.
21498         (casinh_test): Likewise.
21499         (cbrt_test): Likewise.
21500         (csqrt_test): Likewise.
21501         (erf_test): Likewise.
21502         (erfc_test): Likewise.
21503         (pow10_test): Likewise.
21504         (exp2_test): Likewise.
21505         (hypot_test): Likewise.
21506         (j0_test): Likewise.
21507         (j1_test): Likewise.
21508         (lgamma_test): Likewise.
21509         (gamma_test): Likewise.
21510         (sincos_test): Likewise.
21511         (tanh_test): Likewise.
21512         (y0_test): Likewise.
21513         (y1_test): Likewise.
21514         * sysdeps/i386/fpu/libm-test-ulps: Update.
21515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21517 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21519         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21521         and strcspn-ppc64 objects.
21522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21523         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21524         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21525         multiarch strcspn for POWER7.
21526         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21527         multiarch strcspn for PPC64.
21528         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21529         ifunc selector.
21530         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21531         strcspn for POWER7.
21533 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21535         * math/gen-libm-test.pl (generate_testfile): Expect only function
21536         name as argument to AUTO_TESTS_* and pass results for all rounding
21537         modes to parse_args.
21538         (parse_auto_input): Separate inputs of automatic tests from
21539         outputs before storing in %auto_tests.
21540         * math/libm-test.inc (acos_test_data): Update call to
21541         AUTO_TESTS_f_f.
21542         (acos_test): Use ALL_RM_TEST.
21543         (acos_tonearest_test_data): Remove.
21544         (acos_test_tonearest): Likewise.
21545         (acos_towardzero_test_data): Likewise.
21546         (acos_test_towardzero): Likewise.
21547         (acos_downward_test_data): Likewise.
21548         (acos_test_downward): Likewise.
21549         (acos_upward_test_data): Likewise.
21550         (acos_test_upward): Likewise.
21551         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21552         (asin_test_data): Likewise.
21553         (asin_test): Use ALL_RM_TEST.
21554         (asin_tonearest_test_data): Remove.
21555         (asin_test_tonearest): Likewise.
21556         (asin_towardzero_test_data): Likewise.
21557         (asin_test_towardzero): Likewise.
21558         (asin_downward_test_data): Likewise.
21559         (asin_test_downward): Likewise.
21560         (asin_upward_test_data): Likewise.
21561         (asin_test_upward): Likewise.
21562         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21563         (atan_test_data): Likewise.
21564         (atanh_test_data): Likewise.
21565         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21566         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21567         (carg_test_data): Likewise.
21568         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21569         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21570         (ccosh_test_data): Likewise.
21571         (cexp_test_data): Likewise.
21572         (clog_test_data): Likewise.
21573         (clog10_test_data): Likewise.
21574         (cos_test_data): Update call to AUTO_TESTS_f_f.
21575         (cos_test): Use ALL_RM_TEST.
21576         (cos_tonearest_test_data): Remove.
21577         (cos_test_tonearest): Likewise.
21578         (cos_towardzero_test_data): Likewise.
21579         (cos_test_towardzero): Likewise.
21580         (cos_downward_test_data): Likewise.
21581         (cos_test_downward): Likewise.
21582         (cos_upward_test_data): Likewise.
21583         (cos_test_upward): Likewise.
21584         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21585         (cosh_test): Use ALL_RM_TEST.
21586         (cosh_tonearest_test_data): Remove.
21587         (cosh_test_tonearest): Likewise.
21588         (cosh_towardzero_test_data): Likewise.
21589         (cosh_test_towardzero): Likewise.
21590         (cosh_downward_test_data): Likewise.
21591         (cosh_test_downward): Likewise.
21592         (cosh_upward_test_data): Likewise.
21593         (cosh_test_upward): Likewise.
21594         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21595         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21596         (ctan_test_data): Likewise.
21597         (ctan_test): Use ALL_RM_TEST.
21598         (ctan_tonearest_test_data): Remove.
21599         (ctan_test_tonearest): Likewise.
21600         (ctan_towardzero_test_data): Likewise.
21601         (ctan_test_towardzero): Likewise.
21602         (ctan_downward_test_data): Likewise.
21603         (ctan_test_downward): Likewise.
21604         (ctan_upward_test_data): Likewise.
21605         (ctan_test_upward): Likewise.
21606         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21607         (ctanh_test): Use ALL_RM_TEST.
21608         (ctanh_tonearest_test_data): Remove.
21609         (ctanh_test_tonearest): Likewise.
21610         (ctanh_towardzero_test_data): Likewise.
21611         (ctanh_test_towardzero): Likewise.
21612         (ctanh_downward_test_data): Likewise.
21613         (ctanh_test_downward): Likewise.
21614         (ctanh_upward_test_data): Likewise.
21615         (ctanh_test_upward): Likewise.
21616         (erf_test_data): Update call to AUTO_TESTS_f_f.
21617         (erfc_test_data): Likewise.
21618         (exp_test_data): Likewise.
21619         (exp_test): Use ALL_RM_TEST.
21620         (exp_tonearest_test_data): Remove.
21621         (exp_test_tonearest): Likewise.
21622         (exp_towardzero_test_data): Likewise.
21623         (exp_test_towardzero): Likewise.
21624         (exp_downward_test_data): Likewise.
21625         (exp_test_downward): Likewise.
21626         (exp_upward_test_data): Likewise.
21627         (exp_test_upward): Likewise.
21628         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21629         (exp10_test): Use ALL_RM_TEST.
21630         (exp10_tonearest_test_data): Remove.
21631         (exp10_test_tonearest): Likewise.
21632         (exp10_towardzero_test_data): Likewise.
21633         (exp10_test_towardzero): Likewise.
21634         (exp10_downward_test_data): Likewise.
21635         (exp10_test_downward): Likewise.
21636         (exp10_upward_test_data): Likewise.
21637         (exp10_test_upward): Likewise.
21638         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21639         (expm1_test_data): Likewise.
21640         (expm1_test): Use ALL_RM_TEST.
21641         (expm1_tonearest_test_data): Remove.
21642         (expm1_test_tonearest): Likewise.
21643         (expm1_towardzero_test_data): Likewise.
21644         (expm1_test_towardzero): Likewise.
21645         (expm1_downward_test_data): Likewise.
21646         (expm1_test_downward): Likewise.
21647         (expm1_upward_test_data): Likewise.
21648         (expm1_test_upward): Likewise.
21649         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21650         (fma_test): Use ALL_RM_TEST.
21651         (fma_towardzero_test_data): Remove.
21652         (fma_test_towardzero): Likewise.
21653         (fma_downward_test_data): Likewise.
21654         (fma_test_downward): Likewise.
21655         (fma_upward_test_data): Likewise.
21656         (fma_test_upward): Likewise.
21657         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21658         (j0_test_data): Update call to AUTO_TESTS_f_f.
21659         (j1_test_data): Likewise.
21660         (jn_test_data): Update call to AUTO_TESTS_if_f.
21661         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21662         (log_test_data): Update call to AUTO_TESTS_f_f.
21663         (log10_test_data): Likewise.
21664         (log1p_test_data): Likewise.
21665         (log2_test_data): Likewise.
21666         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21667         (pow_tonearest_test_data): Likewise.
21668         (sin_test_data): Update call to AUTO_TESTS_f_f.
21669         (sin_test): Use ALL_RM_TEST.
21670         (sin_tonearest_test_data): Remove.
21671         (sin_test_tonearest): Likewise.
21672         (sin_towardzero_test_data): Likewise.
21673         (sin_test_towardzero): Likewise.
21674         (sin_downward_test_data): Likewise.
21675         (sin_test_downward): Likewise.
21676         (sin_upward_test_data): Likewise.
21677         (sin_test_upward): Likewise.
21678         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21679         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21680         (sinh_test): Use ALL_RM_TEST.
21681         (sinh_tonearest_test_data): Remove.
21682         (sinh_test_tonearest): Likewise.
21683         (sinh_towardzero_test_data): Likewise.
21684         (sinh_test_towardzero): Likewise.
21685         (sinh_downward_test_data): Likewise.
21686         (sinh_test_downward): Likewise.
21687         (sinh_upward_test_data): Likewise.
21688         (sinh_test_upward): Likewise.
21689         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21690         (sqrt_test): Use ALL_RM_TEST.
21691         (sqrt_tonearest_test_data): Remove.
21692         (sqrt_test_tonearest): Likewise.
21693         (sqrt_towardzero_test_data): Likewise.
21694         (sqrt_test_towardzero): Likewise.
21695         (sqrt_downward_test_data): Likewise.
21696         (sqrt_test_downward): Likewise.
21697         (sqrt_upward_test_data): Likewise.
21698         (sqrt_test_upward): Likewise.
21699         (tan_test_data): Update call to AUTO_TESTS_f_f.
21700         (tan_test): Use ALL_RM_TEST.
21701         (tan_tonearest_test_data): Remove.
21702         (tan_test_tonearest): Likewise.
21703         (tan_towardzero_test_data): Likewise.
21704         (tan_test_towardzero): Likewise.
21705         (tan_downward_test_data): Likewise.
21706         (tan_test_downward): Likewise.
21707         (tan_upward_test_data): Likewise.
21708         (tan_test_upward): Likewise.
21709         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21710         (tgamma_test_data): Likewise.
21711         (y0_test_data): Likewise.
21712         (y1_test_data): Likewise.
21713         (yn_test_data): Update call to AUTO_TESTS_if_f.
21714         (main): Do not call removed functions.
21716 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21718         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21719         (ldexp_test_data): Remove.
21720         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21721         scalbn_test_data.
21722         (scalb_test): Use ALL_RM_TEST.
21724 2014-03-19  Andreas Schwab  <schwab@suse.de>
21726         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21728 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21730         [BZ #16649]
21731         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21733         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21735         (__ASSUME_PREADV): Undefine.
21736         (__ASSUME_PWRITEV): Likewise.
21738 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21740         * bits/mman-linux.h: Add comment about non-Linux use.
21741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21742         bits/mman-linux.h resting place.
21744         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21745         * bits/mman-linux.h: ... here.
21747 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21749         * conform/conformtest.pl: Add standard definition when calling C
21750         preprocessor on data files.
21751         (checknamespace): Remove unused variable.
21753 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21755         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21756         minus_oflow, plus_uflow and minus_uflow in expected results.
21757         * math/libm-test.inc (scalbn_test_data): Add more tests of
21758         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21759         minus_uflow.
21760         (scalbn_test): Use ALL_RM_TEST.
21761         (scalbln_test_data): Add more tests of negative arguments.  Use
21762         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21763         (scalbln_test): Use ALL_RM_TEST.
21765 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21767         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21769 2014-03-18  Will Newton  <will.newton@linaro.org>
21771         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21772         inaccurate comment.
21774 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21776         * Makerules [!subdir] (check-abi): Exit with error status if a
21777         test failed.
21779 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21781         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21782         for rint.  Include results for all rounding modes.
21783         (nearbyint_test): Use ALL_RM_TEST.
21784         (rint_test_data): Include all tests used for nearbyint.
21786 2014-03-17  Will Newton  <will.newton@linaro.org>
21788         * nptl/sysdeps/pthread/pthread.h: Revert previous
21789         change.
21791         * sysdeps/generic/ldsodefs.h: Revert previous
21792         change.
21794         * libio/genops.c: Revert previous change.
21795         * libio/libioP.h: Likewise.
21796         * stdio-common/vfprintf.c: Likewise.
21798         * sysdeps/generic/math_private.h: Revert previous
21799         change.
21801         * sysdeps/generic/math_private.h: Check whether
21802         HAVE_RM_CTX is defined with #ifdef rather
21803         than #if.
21805         * argp/argp-fmtstream.h: Check whether
21806         __STRICT_ANSI__ is defined with #ifdef rather
21807         than #if.
21808         * argp/argp.h: Likewise.
21810         * libio/genops.c: Check whether
21811         _IO_JUMPS_OFFSET is defined with #ifdef rather
21812         than #if.
21813         * libio/libioP.h: Likewise.
21814         * stdio-common/vfprintf.c: Likewise.
21816         * sysdeps/generic/ldsodefs.h: Check whether
21817         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21818         than #if.
21820         * nptl/sysdeps/pthread/pthread.h: Check
21821         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21822         its value.
21824 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21826         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21827         setting O_APPEND.
21828         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21829         test case.
21831         [BZ #16680]
21832         * libio/fileops.c (_IO_file_open): Seek to end of file but
21833         don't cache the offset.
21834         (get_file_offset): Remove function.
21835         (do_ftell): Use cached offset when available.
21836         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21837         don't cache the offset.
21838         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21839         case.
21840         (do_one_test): Call it.
21841         (do_ftell_test): Fix up expected old offset for a+ mode.
21842         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21843         available.
21845         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21846         up test status with function return status.
21847         (do_write_test): Likewise.
21848         (do_append_test): Likewise.
21850         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21851         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21852         Remove.
21854 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21856         * math/gen-libm-test.pl (parse_args): Handle results specified for
21857         each rounding mode separately.
21858         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21859         tests and results from lrint_tonearest_test_data,
21860         lrint_towardzero_test_data, lrint_downward_test_data and
21861         lrint_upward_test_data.
21862         (lrint_test): Use ALL_RM_TEST.
21863         (lrint_tonearest_test_data): Remove.
21864         (lrint_test_tonearest): Likewise.
21865         (lrint_towardzero_test_data): Likewise.
21866         (lrint_test_towardzero): Likewise.
21867         (lrint_downward_test_data): Likewise.
21868         (lrint_test_downward): Likewise.
21869         (lrint_upward_test_data): Likewise.
21870         (lrint_test_upward): Likewise.
21871         (llrint_test_data): Merge in per-rounding-mode tests and results
21872         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21873         llrint_downward_test_data and llrint_upward_test_data.
21874         (llrint_test): Use ALL_RM_TEST.
21875         (llrint_tonearest_test_data): Remove.
21876         (llrint_test_tonearest): Likewise.
21877         (llrint_towardzero_test_data): Likewise.
21878         (llrint_test_towardzero): Likewise.
21879         (llrint_downward_test_data): Likewise.
21880         (llrint_test_downward): Likewise.
21881         (llrint_upward_test_data): Likewise.
21882         (llrint_test_upward): Likewise.
21883         (rint_test_data): Merge in per-rounding-mode tests and results
21884         from rint_tonearest_test_data, rint_towardzero_test_data,
21885         rint_downward_test_data and rint_upward_test_data.  Add
21886         per-rounding-mode results for tests not in those arrays.
21887         (rint_test): Use ALL_RM_TEST.
21888         (rint_tonearest_test_data): Remove.
21889         (rint_test_tonearest): Likewise.
21890         (rint_towardzero_test_data): Likewise.
21891         (rint_test_towardzero): Likewise.
21892         (rint_downward_test_data): Likewise.
21893         (rint_test_downward): Likewise.
21894         (rint_upward_test_data): Likewise.
21895         (rint_test_upward): Likewise.
21896         (main): Don't call removed functions.
21898 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21900         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21901         "Compiled on ..." crapola.  It is anti-useful.
21903 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21905         * scripts/evaluate-test.sh: Handle fourth argument to determine
21906         whether test run should stop on failure.
21907         * Makeconfig (stop-on-test-failure): New variable.
21908         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21909         $(stop-on-test-failure).
21910         * Makefile (tests): Give a summary of results from testing and
21911         exit with failure status if they include an ERROR or FAIL.
21912         (xtests): Likewise.
21913         * manual/install.texi (Configuring and compiling): Mention
21914         stop-on-test-failure=y.
21915         * INSTALL: Regenerated.
21917 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21919         * scripts/versionlist.awk: New file.
21920         * Makerules [$(build-shared) = yes]
21921         (postclean-generated): Add Versions.def, not Versions.def.v and
21922         Versions.def.v.i.
21923         ($(common-objpfx)Versions.def.v.i): Target removed.
21924         ($(common-objpfx)Versions.def): New target.
21925         ($(common-objpfx)Versions.all): Depend on that rather that
21926         $(common-objpfx)Versions.def.v.
21927         * Versions.def: File removed.
21929         * Makeconfig (+gccwarn): Add -Wundef.
21930         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21931         a dl-sysdep.h breaking its contract.
21932         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21933         * include/stackinfo.h: New file.
21934         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21935         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21936         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21937         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21938         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21939         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21940         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21941         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21942         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21943         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21944         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21945         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21946         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21947         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21948         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21950 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21952         [BZ #16707]
21953         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21954         implementation.
21955         * math/libm-test.inc (round_test_data): Add more tests.
21957         [BZ #16706]
21958         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21959         implementation.
21960         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21962         [BZ #16701]
21963         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21964         implementation.
21965         * math/libm-test.inc (ceil_test_data): Add more tests.
21967         * math/libm-test.inc (trunc_test_data): Add more tests related to
21968         BZ#16414.
21970 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21972         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21973         with #if rather than #ifdef.
21974         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21976 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21978         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21979         first.  Disable AVX-512 GCC support if assembler doesn't support
21980         it.
21981         * sysdeps/x86_64/configure: Regenerated.
21983 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21985         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21986         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21987         (__old_pthread_attr_setstack): Likewise.
21988         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21989         [!_STACK_GROWS_DOWN]: Likewise.
21991 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21993         * config.make.in (have-bash2): Delete.
21994         * configure.ac (libc_cv_have_bash2): Delete.
21995         * configure: Regenerate.
21996         * elf/Makefile (common-ldd-rewrite): Rename to ...
21997         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21998         (sh-ldd-rewrite): Delete.
21999         (bash-ldd-rewrite): Delete.
22000         (have-bash2): Delete checks.
22001         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22002         ldd-rewrite.
22004         * config.make.in (have-ksh): Delete.
22005         (KSH): Delete.
22006         * configure.ac (libc_cv_have_ksh): Delete.
22007         * configure: Regenerate.
22009         * elf/Makefile: Delete $(have-ksh) check.
22010         ($(objpfx)sotruss): Change KSH to BASH.
22011         * elf/sotruss.ksh: Rename to ...
22012         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22013         function style to match POSIX.  Drop ksh vim mode setting.
22015         * manual/time.texi (Specifying the Time Zone with TZ): Change
22016         Tuesday to Thursday.
22018         * debug/tst-longjmp_chk2.c: Update header comment.
22019         (stackoverflow_handler): Add comment.  Call assert on pass value.
22021 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22023         [BZ #16194]
22024         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22025         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22026         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22027         (La_x86_64_vector): Add zmm.
22028         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22029         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22030         ($(objpfx)tst-audit10): New target.
22031         ($(objpfx)tst-audit10.out): Likewise.
22032         (tst-audit10-ENV): New.
22033         (AVX512-CFLAGS): Likewise.
22034         (CFLAGS-tst-audit10.c): Likewise.
22035         (CFLAGS-tst-auditmod10a.c): Likewise.
22036         (CFLAGS-tst-auditmod10b.c): Likewise.
22037         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22038         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22039         * sysdeps/x86_64/configure: Regenerated.
22040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22041         AVX-512 zmm register support.
22042         (_dl_x86_64_save_sse): Likewise.
22043         (_dl_x86_64_restore_sse): Likewise.
22044         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22045         size vector registers.
22046         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22047         (ZMM_SIZE): Likewise.
22048         * sysdeps/x86_64/tst-audit10.c: New file.
22049         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22050         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22052 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22054         * configure.ac (HAVE_EHDR_START): New check.
22055         * configure: Regenerated.
22056         * config.h.in (HAVE_EHDR_START): New #undef.
22057         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22058         assuming the lowest-addressed segment maps the start of the file.
22060 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22062         * INSTALL: Regenerated.
22064 2014-03-13  Will Newton  <will.newton@linaro.org>
22066         * manual/setjmp.texi (System V contexts): Improve
22067         clarity and grammar of documentation.
22069 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22071         [BZ #16381]
22072         * elf/Makefile (tests): Add tst-pie2.
22073         (tests-pie): Add tst-pie2.
22074         * elf/tst-pie2.c: New file.
22075         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22076         for ET_EXEC.
22077         * elf/rtld.c (map_doit): Load executable as lt_executable.
22078         (dl_main): Likewise.
22080 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22082         [BZ #16642]
22083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22084         (__ASSUME_PSELECT): Undefine.
22086 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22088         [BZ #16689]
22089         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22090         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22091         static build.
22092         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22093         selector for static builds.
22095 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22097         [BZ #16695]
22098         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22099         key in the buffer.
22101 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22103         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22104         IFUNC selector for static builds.
22106 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22108         * sysdeps/mips/math_private.h [__mips_hard_float]
22109         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22110         libc_feresetround_mips_ctx.
22111         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22112         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22113         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22115         [BZ #16677]
22116         * math/s_nextafter.c (__nextafter): Do not return value from
22117         overflowing computation.
22118         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22119         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22120         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22121         Likewise.
22122         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22123         Likewise.
22124         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22125         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22127 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22129         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22130         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22131         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22132         the new mov targetting sp.
22134 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22136         [BZ #16683]
22137         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22138         Define it for static builds as well.
22139         (NO_BZERO_IMPL): Likewise.
22141 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22143         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22144         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22145         multiarch strspn for PPC64.
22146         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22147         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22149         (__libc_ifunc_impl_list): Likewise.
22150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22151         multiarch optimizations
22152         * string/strspn.c (strspn): Using macro to redefine symbol name.
22154 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22157         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22158         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22159         multiarch strncat for PPC64.
22160         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22161         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22163         (__libc_ifunc_impl_list): Likewise.
22164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22165         multiarch optimizations
22167 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22169         [BZ #16639]
22170         * nscd/nscd.service: Make service type forking.
22172 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22174         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22175         sign in non default rounding modes.
22176         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22178 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22180         * math/libm-test.inc (ALL_RM_TEST): New macro.
22181         (ceil_test): Use ALL_RM_TEST.
22182         (cimag_test): Likewise.
22183         (conj_test): Likewise.
22184         (copysign_test): Likewise.
22185         (cproj_test): Likewise.
22186         (creal_test): Likewise.
22187         (fabs_test): Likewise.
22188         (floor_test): Likewise.
22189         (fmax_test): Likewise.
22190         (fmin_test): Likewise.
22191         (fmod_test): Likewise.
22192         (fpclassify_test): Likewise.
22193         (frexp_test): Likewise.
22194         (ilogb_test): Likewise.
22195         (isfinite_test): Likewise.
22196         (finite_test): Likewise.
22197         (isgreater_test): Likewise.
22198         (isgreaterequal_test): Likewise.
22199         (isinf_test): Likewise.
22200         (isless_test): Likewise.
22201         (islessequal_test): Likewise.
22202         (islessgreater_test): Likewise.
22203         (isnan_test): Likewise.
22204         (isnormal_test): Likewise.
22205         (issignaling_test): Likewise.
22206         (isunordered_test): Likewise.
22207         (logb_test): Likewise.
22208         (logb_downward_test_data): Remove.
22209         (logb_test_downward): Likewise.
22210         (lround_test): Use ALL_RM_TEST.
22211         (llround_test): Likewise.
22212         (modf_test): Likewise.
22213         (nexttoward_test): Likewise.
22214         (remainder_test): Likewise.
22215         (drem_test): Likewise.
22216         (remainder_tonearest_test_data): Likewise.
22217         (remainder_test_tonearest): Likewise.
22218         (drem_test_tonearest): Likewise.
22219         (remainder_towardzero_test_data): Likewise.
22220         (remainder_test_towardzero): Likewise.
22221         (drem_test_towardzero): Likewise.
22222         (remainder_downward_test_data): Likewise.
22223         (remainder_test_downward): Likewise.
22224         (drem_test_downward): Likewise.
22225         (remainder_upward_test_data): Likewise.
22226         (remainder_test_upward): Likewise.
22227         (drem_test_upward): Likewise.
22228         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22229         (round_test): Use ALL_RM_TEST.
22230         (signbit_test): Likewise.
22231         (trunc_test): Likewise.
22232         (significand_test): Likewise.
22233         (main): Don't call removed functions.
22235 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22237         [BZ #16674]
22238         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22239         || __USE_XOPEN2K8].
22240         (ILL_ILLOPN): Likewise.
22241         (ILL_ILLADR): Likewise.
22242         (ILL_ILLTRP): Likewise.
22243         (ILL_PRVOPC): Likewise.
22244         (ILL_PRVREG): Likewise.
22245         (ILL_COPROC): Likewise.
22246         (ILL_BADSTK): Likewise.
22247         (FPE_INTDIV): Likewise.
22248         (FPE_INTOVF): Likewise.
22249         (FPE_FLTDIV): Likewise.
22250         (FPE_FLTOVF): Likewise.
22251         (FPE_FLTUND): Likewise.
22252         (FPE_FLTRES): Likewise.
22253         (FPE_FLTINV): Likewise.
22254         (FPE_FLTSUB): Likewise.
22255         (SEGV_MAPERR): Likewise.
22256         (SEGV_ACCERR): Likewise.
22257         (BUS_ADRALN): Likewise.
22258         (BUS_ADRERR): Likewise.
22259         (BUS_OBJERR): Likewise.
22260         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22261         (TRAP_TRACE): Likewise.
22262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22263         __USE_XOPEN2K8].
22264         (CLD_KILLED): Likewise.
22265         (CLD_DUMPED): Likewise.
22266         (CLD_TRAPPED): Likewise.
22267         (CLD_STOPPED): Likewise.
22268         (CLD_CONTINUED): Likewise.
22269         (POLL_IN): Likewise.
22270         (POLL_OUT): Likewise.
22271         (POLL_MSG): Likewise.
22272         (POLL_ERR): Likewise.
22273         (POLL_PRI): Likewise.
22274         (POLL_HUP): Likewise.
22275         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22276         Likewise.
22277         (ILL_ILLOPN): Likewise.
22278         (ILL_ILLADR): Likewise.
22279         (ILL_ILLTRP): Likewise.
22280         (ILL_PRVOPC): Likewise.
22281         (ILL_PRVREG): Likewise.
22282         (ILL_COPROC): Likewise.
22283         (ILL_BADSTK): Likewise.
22284         (FPE_INTDIV): Likewise.
22285         (FPE_INTOVF): Likewise.
22286         (FPE_FLTDIV): Likewise.
22287         (FPE_FLTOVF): Likewise.
22288         (FPE_FLTUND): Likewise.
22289         (FPE_FLTRES): Likewise.
22290         (FPE_FLTINV): Likewise.
22291         (FPE_FLTSUB): Likewise.
22292         (SEGV_MAPERR): Likewise.
22293         (SEGV_ACCERR): Likewise.
22294         (BUS_ADRALN): Likewise.
22295         (BUS_ADRERR): Likewise.
22296         (BUS_OBJERR): Likewise.
22297         (BUS_MCEERR_AR): Likewise.
22298         (BUS_MCEERR_AO): Likewise.
22299         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22300         (TRAP_TRACE): Likewise.
22301         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22302         __USE_XOPEN2K8].
22303         (CLD_KILLED): Likewise.
22304         (CLD_DUMPED): Likewise.
22305         (CLD_TRAPPED): Likewise.
22306         (CLD_STOPPED): Likewise.
22307         (CLD_CONTINUED): Likewise.
22308         (POLL_IN): Likewise.
22309         (POLL_OUT): Likewise.
22310         (POLL_MSG): Likewise.
22311         (POLL_ERR): Likewise.
22312         (POLL_PRI): Likewise.
22313         (POLL_HUP): Likewise.
22314         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22315         (ILL_ILLOPN): Likewise.
22316         (ILL_ILLADR): Likewise.
22317         (ILL_ILLTRP): Likewise.
22318         (ILL_PRVOPC): Likewise.
22319         (ILL_PRVREG): Likewise.
22320         (ILL_COPROC): Likewise.
22321         (ILL_BADSTK): Likewise.
22322         (FPE_INTDIV): Likewise.
22323         (FPE_INTOVF): Likewise.
22324         (FPE_FLTDIV): Likewise.
22325         (FPE_FLTOVF): Likewise.
22326         (FPE_FLTUND): Likewise.
22327         (FPE_FLTRES): Likewise.
22328         (FPE_FLTINV): Likewise.
22329         (FPE_FLTSUB): Likewise.
22330         (SEGV_MAPERR): Likewise.
22331         (SEGV_ACCERR): Likewise.
22332         (BUS_ADRALN): Likewise.
22333         (BUS_ADRERR): Likewise.
22334         (BUS_OBJERR): Likewise.
22335         (BUS_MCEERR_AR): Likewise.
22336         (BUS_MCEERR_AO): Likewise.
22337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22338         (TRAP_TRACE): Likewise.
22339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22340         __USE_XOPEN2K8].
22341         (CLD_KILLED): Likewise.
22342         (CLD_DUMPED): Likewise.
22343         (CLD_TRAPPED): Likewise.
22344         (CLD_STOPPED): Likewise.
22345         (CLD_CONTINUED): Likewise.
22346         (POLL_IN): Likewise.
22347         (POLL_OUT): Likewise.
22348         (POLL_MSG): Likewise.
22349         (POLL_ERR): Likewise.
22350         (POLL_PRI): Likewise.
22351         (POLL_HUP): Likewise.
22352         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22353         Likewise.
22354         (ILL_ILLOPN): Likewise.
22355         (ILL_ILLADR): Likewise.
22356         (ILL_ILLTRP): Likewise.
22357         (ILL_PRVOPC): Likewise.
22358         (ILL_PRVREG): Likewise.
22359         (ILL_COPROC): Likewise.
22360         (ILL_BADSTK): Likewise.
22361         (ILL_BADIADDR): Likewise.
22362         (ILL_BREAK): Likewise.
22363         (FPE_INTDIV): Likewise.
22364         (FPE_INTOVF): Likewise.
22365         (FPE_FLTDIV): Likewise.
22366         (FPE_FLTOVF): Likewise.
22367         (FPE_FLTUND): Likewise.
22368         (FPE_FLTRES): Likewise.
22369         (FPE_FLTINV): Likewise.
22370         (FPE_FLTSUB): Likewise.
22371         (FPE_DECOVF): Likewise.
22372         (FPE_DECDIV): Likewise.
22373         (FPE_DECERR): Likewise.
22374         (FPE_INVASC): Likewise.
22375         (FPE_INVDEC): Likewise.
22376         (SEGV_MAPERR): Likewise.
22377         (SEGV_ACCERR): Likewise.
22378         (SEGV_PSTKOVF): 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         (TRAP_BRANCH): Likewise.
22387         (TRAP_HWBKPT): Likewise.
22388         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22389         __USE_XOPEN2K8].
22390         (CLD_KILLED): Likewise.
22391         (CLD_DUMPED): Likewise.
22392         (CLD_TRAPPED): Likewise.
22393         (CLD_STOPPED): Likewise.
22394         (CLD_CONTINUED): Likewise.
22395         (POLL_IN): Likewise.
22396         (POLL_OUT): Likewise.
22397         (POLL_MSG): Likewise.
22398         (POLL_ERR): Likewise.
22399         (POLL_PRI): Likewise.
22400         (POLL_HUP): Likewise.
22401         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22402         (ILL_ILLOPN): Likewise.
22403         (ILL_ILLADR): Likewise.
22404         (ILL_ILLTRP): Likewise.
22405         (ILL_PRVOPC): Likewise.
22406         (ILL_PRVREG): Likewise.
22407         (ILL_COPROC): Likewise.
22408         (ILL_BADSTK): Likewise.
22409         (FPE_INTDIV): Likewise.
22410         (FPE_INTOVF): Likewise.
22411         (FPE_FLTDIV): Likewise.
22412         (FPE_FLTOVF): Likewise.
22413         (FPE_FLTUND): Likewise.
22414         (FPE_FLTRES): Likewise.
22415         (FPE_FLTINV): Likewise.
22416         (FPE_FLTSUB): Likewise.
22417         (SEGV_MAPERR): Likewise.
22418         (SEGV_ACCERR): Likewise.
22419         (BUS_ADRALN): Likewise.
22420         (BUS_ADRERR): Likewise.
22421         (BUS_OBJERR): Likewise.
22422         (BUS_MCEERR_AR): Likewise.
22423         (BUS_MCEERR_AO): Likewise.
22424         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22425         (TRAP_TRACE): Likewise.
22426         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22427         __USE_XOPEN2K8].
22428         (CLD_KILLED): Likewise.
22429         (CLD_DUMPED): Likewise.
22430         (CLD_TRAPPED): Likewise.
22431         (CLD_STOPPED): Likewise.
22432         (CLD_CONTINUED): Likewise.
22433         (POLL_IN): Likewise.
22434         (POLL_OUT): Likewise.
22435         (POLL_MSG): Likewise.
22436         (POLL_ERR): Likewise.
22437         (POLL_PRI): Likewise.
22438         (POLL_HUP): Likewise.
22439         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22440         (ILL_ILLOPN): Likewise.
22441         (ILL_ILLADR): Likewise.
22442         (ILL_ILLTRP): Likewise.
22443         (ILL_PRVOPC): Likewise.
22444         (ILL_PRVREG): Likewise.
22445         (ILL_COPROC): Likewise.
22446         (ILL_BADSTK): Likewise.
22447         (FPE_INTDIV): Likewise.
22448         (FPE_INTOVF): Likewise.
22449         (FPE_FLTDIV): Likewise.
22450         (FPE_FLTOVF): Likewise.
22451         (FPE_FLTUND): Likewise.
22452         (FPE_FLTRES): Likewise.
22453         (FPE_FLTINV): Likewise.
22454         (FPE_FLTSUB): Likewise.
22455         (SEGV_MAPERR): Likewise.
22456         (SEGV_ACCERR): Likewise.
22457         (BUS_ADRALN): Likewise.
22458         (BUS_ADRERR): Likewise.
22459         (BUS_OBJERR): Likewise.
22460         (BUS_MCEERR_AR): Likewise.
22461         (BUS_MCEERR_AO): Likewise.
22462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22463         (TRAP_TRACE): Likewise.
22464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22465         __USE_XOPEN2K8].
22466         (CLD_KILLED): Likewise.
22467         (CLD_DUMPED): Likewise.
22468         (CLD_TRAPPED): Likewise.
22469         (CLD_STOPPED): Likewise.
22470         (CLD_CONTINUED): Likewise.
22471         (POLL_IN): Likewise.
22472         (POLL_OUT): Likewise.
22473         (POLL_MSG): Likewise.
22474         (POLL_ERR): Likewise.
22475         (POLL_PRI): Likewise.
22476         (POLL_HUP): Likewise.
22477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22478         (ILL_ILLOPN): Likewise.
22479         (ILL_ILLADR): Likewise.
22480         (ILL_ILLTRP): Likewise.
22481         (ILL_PRVOPC): Likewise.
22482         (ILL_PRVREG): Likewise.
22483         (ILL_COPROC): Likewise.
22484         (ILL_BADSTK): Likewise.
22485         (FPE_INTDIV): Likewise.
22486         (FPE_INTOVF): Likewise.
22487         (FPE_FLTDIV): Likewise.
22488         (FPE_FLTOVF): Likewise.
22489         (FPE_FLTUND): Likewise.
22490         (FPE_FLTRES): Likewise.
22491         (FPE_FLTINV): Likewise.
22492         (FPE_FLTSUB): Likewise.
22493         (SEGV_MAPERR): Likewise.
22494         (SEGV_ACCERR): Likewise.
22495         (BUS_ADRALN): Likewise.
22496         (BUS_ADRERR): Likewise.
22497         (BUS_OBJERR): Likewise.
22498         (BUS_MCEERR_AR): Likewise.
22499         (BUS_MCEERR_AO): Likewise.
22500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22501         (TRAP_TRACE): Likewise.
22502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22503         __USE_XOPEN2K8].
22504         (CLD_KILLED): Likewise.
22505         (CLD_DUMPED): Likewise.
22506         (CLD_TRAPPED): Likewise.
22507         (CLD_STOPPED): Likewise.
22508         (CLD_CONTINUED): Likewise.
22509         (POLL_IN): Likewise.
22510         (POLL_OUT): Likewise.
22511         (POLL_MSG): Likewise.
22512         (POLL_ERR): Likewise.
22513         (POLL_PRI): Likewise.
22514         (POLL_HUP): Likewise.
22515         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22516         (ILL_ILLOPN): Likewise.
22517         (ILL_ILLADR): Likewise.
22518         (ILL_ILLTRP): Likewise.
22519         (ILL_PRVOPC): Likewise.
22520         (ILL_PRVREG): Likewise.
22521         (ILL_COPROC): Likewise.
22522         (ILL_BADSTK): Likewise.
22523         (ILL_DBLFLT): Likewise.
22524         (ILL_HARDWALL): Likewise.
22525         (FPE_INTDIV): Likewise.
22526         (FPE_INTOVF): Likewise.
22527         (FPE_FLTDIV): Likewise.
22528         (FPE_FLTOVF): Likewise.
22529         (FPE_FLTUND): Likewise.
22530         (FPE_FLTRES): Likewise.
22531         (FPE_FLTINV): Likewise.
22532         (FPE_FLTSUB): Likewise.
22533         (SEGV_MAPERR): Likewise.
22534         (SEGV_ACCERR): Likewise.
22535         (BUS_ADRALN): Likewise.
22536         (BUS_ADRERR): Likewise.
22537         (BUS_OBJERR): Likewise.
22538         (BUS_MCEERR_AR): Likewise.
22539         (BUS_MCEERR_AO): Likewise.
22540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22541         (TRAP_TRACE): Likewise.
22542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22543         __USE_XOPEN2K8].
22544         (CLD_KILLED): Likewise.
22545         (CLD_DUMPED): Likewise.
22546         (CLD_TRAPPED): Likewise.
22547         (CLD_STOPPED): Likewise.
22548         (CLD_CONTINUED): Likewise.
22549         (POLL_IN): Likewise.
22550         (POLL_OUT): Likewise.
22551         (POLL_MSG): Likewise.
22552         (POLL_ERR): Likewise.
22553         (POLL_PRI): Likewise.
22554         (POLL_HUP): Likewise.
22555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22556         (ILL_ILLOPN): Likewise.
22557         (ILL_ILLADR): Likewise.
22558         (ILL_ILLTRP): Likewise.
22559         (ILL_PRVOPC): Likewise.
22560         (ILL_PRVREG): Likewise.
22561         (ILL_COPROC): Likewise.
22562         (ILL_BADSTK): Likewise.
22563         (FPE_INTDIV): Likewise.
22564         (FPE_INTOVF): Likewise.
22565         (FPE_FLTDIV): Likewise.
22566         (FPE_FLTOVF): Likewise.
22567         (FPE_FLTUND): Likewise.
22568         (FPE_FLTRES): Likewise.
22569         (FPE_FLTINV): Likewise.
22570         (FPE_FLTSUB): Likewise.
22571         (SEGV_MAPERR): Likewise.
22572         (SEGV_ACCERR): Likewise.
22573         (BUS_ADRALN): Likewise.
22574         (BUS_ADRERR): Likewise.
22575         (BUS_OBJERR): Likewise.
22576         (BUS_MCEERR_AR): Likewise.
22577         (BUS_MCEERR_AO): Likewise.
22578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22579         (TRAP_TRACE): Likewise.
22580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22581         __USE_XOPEN2K8].
22582         (CLD_KILLED): Likewise.
22583         (CLD_DUMPED): Likewise.
22584         (CLD_TRAPPED): Likewise.
22585         (CLD_STOPPED): Likewise.
22586         (CLD_CONTINUED): Likewise.
22587         (POLL_IN): Likewise.
22588         (POLL_OUT): Likewise.
22589         (POLL_MSG): Likewise.
22590         (POLL_ERR): Likewise.
22591         (POLL_PRI): Likewise.
22592         (POLL_HUP): Likewise.
22593         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22594         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22596         [BZ #16670]
22597         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22598         before #include of <time.h>.
22599         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22600         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22601         (test-xfail-UNIX98/sched.h/conform): Likewise.
22603 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22605         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22606         error absence of trapping exception support.
22607         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22609 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22611         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22612         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22613         * timezone/Makefile (testdata): Move definition above include of
22614         Rules.
22615         (test-zones): New variable.
22616         (tests-special): Add zone files.
22617         (build-testdata): Use $(evaluate-test).
22619         * elf/Makefile (tests-special): Rename tests to end with .out.
22620         ($(objpfx)noload-mem): Likewise.
22621         ($(objpfx)tst-leaks1-mem): Likewise.
22622         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22623         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22624         $(objpfx)test-iconvconfig.out.
22625         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22626         set -e inside subshell and redirect output to file.
22627         * iconvdata/Makefile (generated): Rename tests to end with .out.
22628         Correct type.
22629         (tests-special): Rename tests to end with .out.
22630         ($(objpfx)mtrace-tst-loading): Likewise.
22631         * intl/Makefile (generated): Likewise.
22632         (tests-special): Likewise.
22633         ($(objpfx)mtrace-tst-gettext): Likewise.
22634         * misc/Makefile (generated): Likewise.
22635         (tests-special): Likewise.
22636         ($(objpfx)tst-error1-mem): Likewise.
22637         * nptl/Makefile (tests-special): Likewise.
22638         ($(objpfx)tst-stack3-mem): Likewise.
22639         (generated): Likewise.
22640         * posix/Makefile (generated): Likewise.
22641         (tests-special): Likewise.
22642         (xtests-special): Likewise.
22643         ($(objpfx)tst-fnmatch-mem): Likewise.
22644         ($(objpfx)bug-regex2-mem): Likewise.
22645         ($(objpfx)bug-regex14-mem): Likewise.
22646         ($(objpfx)bug-regex21-mem): Likewise.
22647         ($(objpfx)bug-regex31-mem): Likewise.
22648         ($(objpfx)tst-vfork3-mem): Likewise.
22649         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22650         ($(objpfx)tst-pcre-mem): Likewise.
22651         ($(objpfx)tst-boost-mem): Likewise.
22652         ($(objpfx)bug-ga2-mem): Likewise.
22653         ($(objpfx)bug-glob2-mem): Likewise.
22654         * resolv/Makefile (generate): Likewise.
22655         (tests-special): Likewise.
22656         (xtests-special): Likewise.
22657         (generated): Likewise.
22658         ($(objpfx)mtrace-tst-leaks): Likewise.
22659         ($(objpfx)mtrace-tst-leaks2): Likewise.
22661         * scripts/merge-test-results.sh: New file.
22662         * Makefile (tests-special-notdir): New variable.
22663         (tests): Run merge-test-results.sh.
22664         (xtests): Likewise.
22665         * Rules (tests-special-notdir): New variable.
22666         (xtests-special-notdir): Likewise.
22667         (tests): Run merge-test-results.sh
22668         (xtests): Likewise.
22670         * Makeconfig (test-xfail-name): New variable.
22671         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22672         compute variable name for expected failures.
22673         * conform/Makefile (conformtest-headers-data): New variable.
22674         (conformtest-standards): Likewise.
22675         (conformtest-headers-ISO): Likewise.
22676         (conformtest-headers-ISO99): Likewise.
22677         (conformtest-headers-ISO11): Likewise.
22678         (conformtest-headers-POSIX): Likewise.
22679         (conformtest-headers-XPG3): Likewise.
22680         (conformtest-headers-XPG4): Likewise.
22681         (conformtest-headers-UNIX98): Likewise.
22682         (conformtest-headers-XOPEN2K): Likewise.
22683         (conformtest-headers-POSIX2008): Likewise.
22684         (conformtest-headers-XOPEN2K8): Likewise.
22685         (conformtest-header-list-base): Likewise.
22686         (conformtest-header-list-tests): Likewise.
22687         (conformtest-header-base): Likewise.
22688         (conformtest-header-tests): Likewise.
22689         (tests-special): Add $(conformtest-header-list-tests).  If
22690         [$(fast-check) && !$(cross-compiling)], add
22691         $(conformtest-header-tests) instead of
22692         $(objpfx)run-conformtest.out.
22693         (generated): Add $(conformtest-header-list-base).  If
22694         [$(fast-check) && !$(cross-compiling)], add
22695         $(conformtest-header-base).  Remove previous setting.
22696         ($(conformtest-header-list-tests)): New target.
22697         (test-xfail-run-conformtest): Remove variable.
22698         ($(objpfx)run-conformtest.out): Remove target.
22699         (test-xfail-ISO11/complex.h/conform): New variable.
22700         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22701         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22702         (test-xfail-XPG3/varargs.h/conform): Likewise.
22703         (test-xfail-XPG4/varargs.h/conform): Likewise.
22704         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22705         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22706         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22707         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22708         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22709         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22710         (test-xfail-XPG3/ftw.h/conform): Likewise.
22711         (test-xfail-XPG3/grp.h/conform): Likewise.
22712         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22713         (test-xfail-XPG3/limits.h/conform): Likewise.
22714         (test-xfail-XPG3/pwd.h/conform): Likewise.
22715         (test-xfail-XPG3/search.h/conform): Likewise.
22716         (test-xfail-XPG3/signal.h/conform): Likewise.
22717         (test-xfail-XPG3/stdio.h/conform): Likewise.
22718         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22719         (test-xfail-XPG3/string.h/conform): Likewise.
22720         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22721         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22722         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22723         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22724         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22725         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22726         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22727         (test-xfail-XPG3/termios.h/conform): Likewise.
22728         (test-xfail-XPG3/time.h/conform): Likewise.
22729         (test-xfail-XPG3/unistd.h/conform): Likewise.
22730         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22731         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22732         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22733         (test-xfail-XPG4/netdb.h/conform): Likewise.
22734         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22735         (test-xfail-XPG4/signal.h/conform): Likewise.
22736         (test-xfail-XPG4/stdio.h/conform): Likewise.
22737         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22738         (test-xfail-XPG4/stropts.h/conform): Likewise.
22739         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22740         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22741         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22742         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22743         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22744         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22745         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22746         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22747         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22748         (test-xfail-XPG4/termios.h/conform): Likewise.
22749         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22750         (test-xfail-XPG4/unistd.h/conform): Likewise.
22751         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22752         (test-xfail-POSIX/sched.h/conform): Likewise.
22753         (test-xfail-POSIX/signal.h/conform): Likewise.
22754         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22755         (test-xfail-POSIX/tar.h/conform): Likewise.
22756         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22757         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22758         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22759         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22760         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22761         (test-xfail-UNIX98/sched.h/conform): Likewise.
22762         (test-xfail-UNIX98/signal.h/conform): Likewise.
22763         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22764         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22765         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22766         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22767         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22768         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22769         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22770         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22771         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22772         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22773         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22774         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22775         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22776         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22777         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22778         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22779         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22780         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22781         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22782         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22783         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22784         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22785         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22786         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22787         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22788         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22789         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22790         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22791         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22792         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22793         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22794         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22795         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22796         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22797         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22798         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22799         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22800         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22801         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22802         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22803         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22804         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22805         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22806         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22807         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22808         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22809         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22810         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22811         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22812         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22813         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22814         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22815         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22816         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22817         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22818         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22819         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22820         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22821         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22822         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22823         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22824         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22825         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22826         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22827         (conformtest-cc-flags): Likewise.
22828         ($(conformtest-header-tests): New target.
22829         * conform/check-header-lists.sh: New file.
22830         * conform/run-conformtest.sh: Remove.
22832         * conform/conformtest.pl: Allow ' and \ in values given for
22833         constants.
22834         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22835         inclusion.
22836         [POSIX] (sys/types.h): Likewise.
22837         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22838         inclusion.
22839         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22840         inclusion.
22841         * conform/data/signal.h-data (SIGIO): Remove expectation.
22842         [XPG3] (SIGBUS): Do not expect.
22843         [POSIX || XPG3] (SIGPOLL): Likewise.
22844         [POSIX || XPG3] (SIGPROF): Likewise.
22845         [POSIX || XPG3] (SIGSYS): Likewise.
22846         [XPG3] (SIGTRAP): Likewise.
22847         [POSIX || XPG3] (SIGURG): Likewise.
22848         [POSIX || XPG3] (SIGVTALRM): Likewise.
22849         [POSIX || XPG3] (SIGXCPU): Likewise.
22850         [POSIX || XPG3] (SIGXFSZ): Likewise.
22851         [POSIX] (SA_SIGINFO): Expect.
22852         [XPG3] (siginfo_t): Do not expect type or contents.
22853         [POSIX] (si_pid): Do not expect element.
22854         [POSIX] (si_uid): Likewise.
22855         [POSIX] (si_addr): Likewise.
22856         [POSIX] (si_status): Likewise.
22857         [POSIX] (si_band): Likewise.
22858         [XPG4] (si_value): Likewise.
22859         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22860         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22861         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22862         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22863         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22864         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22865         [POSIX || XPG3] (ILL_COPROC): Likewise.
22866         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22867         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22868         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22869         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22870         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22871         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22872         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22873         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22874         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22875         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22876         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22877         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22878         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22879         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22880         [POSIX || XPG3] (CLD_EXITED): Likewise.
22881         [POSIX || XPG3] (CLD_KILLED): Likewise.
22882         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22883         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22884         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22885         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22886         [POSIX || XPG3] (POLL_IN): Likewise.
22887         [POSIX || XPG3] (POLL_OUT): Likewise.
22888         [POSIX || XPG3] (POLL_MSG): Likewise.
22889         [POSIX || XPG3] (POLL_ERR): Likewise.
22890         [POSIX || XPG3] (POLL_PRI): Likewise.
22891         [POSIX || XPG3] (POLL_HUP): Likewise.
22892         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22893         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22894         (SIG*): Do not allow.
22895         [XPG3] (si_*): Likewise.
22896         [XPG3] (SI_*): Likewise.
22897         [XPG3 || XPG4] (sigev_*): Likewise.
22898         [XPG3 || XPG4] (SIGEV_*): Likewise.
22899         [XPG3 || XPG4] (sival_*): Likewise.
22900         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22901         [POSIX || XPG3] (BUS_*): Likewise.
22902         [POSIX || XPG3] (CLD_*): Likewise.
22903         [POSIX || XPG3] (FPE_*): Likewise.
22904         [POSIX || XPG3] (ILL_*): Likewise.
22905         [POSIX || XPG3] (POLL_*): Likewise.
22906         [POSIX || XPG3] (SEGV_*): Likewise.
22907         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22908         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22909         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22910         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22911         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22912         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22913         Specify type and value.
22914         (TVERSLEN): Likewise.
22915         (REGTYPE): Likewise.
22916         (AREGTYPE): Likewise.
22917         (LNKTYPE): Likewise.
22918         (SYMTYPE): Likewise.
22919         (CHRTYPE): Likewise.
22920         (BLKTYPE): Likewise.
22921         (DIRTYPE): Likewise.
22922         (FIFOTYPE): Likewise.
22923         (CONTTYPE): Likewise.
22924         (TSUID): Likewise.
22925         (TSGID): Likewise.
22926         (TSVTX): Likewise.
22927         (TUREAD): Likewise.
22928         (TUWRITE): Likewise.
22929         (TUEXEC): Likewise.
22930         (TGREAD): Likewise.
22931         (TGWRITE): Likewise.
22932         (TGEXEC): Likewise.
22933         (TOREAD): Likewise.
22934         (TOWRITE): Likewise.
22935         (TOEXEC): Likewise.
22936         [POSIX] (TSVTX): Expect constant.
22938 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22940         * Makefile (tests): Change dependencies to ....
22941         (tests-special): ... additions to this variable.
22942         (tests): Depend on $(tests-special).
22943         * Makerules (check-abi-list): New variable.
22944         (check-abi): Depend on $(check-abi-list).
22945         [$(subdir) = elf] (tests-special): Add
22946         $(objpfx)check-abi-libc.out.
22947         [$(build-shared) = yes && subdir] (tests-special): Add
22948         $(check-abi-list).
22949         [$(build-shared) = yes && subdir] (tests): Do not depend on
22950         check-abi.
22951         * Rules (tests): Depend on $(tests-special).
22952         (xtests): Depend on $(xtests-special).
22953         * catgets/Makefile (tests): Change dependencies to ....
22954         (tests-special): ... additions to this variable.
22955         * conform/Makefile (tests): Change dependencies to ....
22956         (tests-special): ... additions to this variable.
22957         * elf/Makefile (tests): Change dependencies to ....
22958         (tests-special): ... additions to this variable.
22959         * grp/Makefile (tests): Change dependencies to ....
22960         (tests-special): ... additions to this variable.
22961         * iconv/Makefile (xtests): Change dependencies to ....
22962         (xtests-special): ... additions to this variable.
22963         * iconvdata/Makefile (tests): Change dependencies to ....
22964         (tests-special): ... additions to this variable.
22965         * intl/Makefile (tests): Change dependencies to ....
22966         (tests-special): ... additions to this variable.  Also add
22967         $(objpfx)tst-gettext.out.
22968         * io/Makefile (tests): Change dependencies to ....
22969         (tests-special): ... additions to this variable.
22970         * libio/Makefile (tests): Change dependencies to ....
22971         (tests-special): ... additions to this variable.
22972         * malloc/Makefile (tests): Change dependencies to ....
22973         (tests-special): ... additions to this variable.
22974         * misc/Makefile (tests): Change dependencies to ....
22975         (tests-special): ... additions to this variable.
22976         * nptl/Makefile (tests): Change dependencies to ....
22977         (tests-special): ... additions to this variable.
22978         * nptl_db/Makefile (tests): Change dependencies to ....
22979         (tests-special): ... additions to this variable.
22980         * posix/Makefile (tests): Change dependencies to ....
22981         (tests-special): ... additions to this variable.
22982         (xtests): Change dependencies to ....
22983         (xtests-special): ... additions to this variable.
22984         * resolv/Makefile (tests): Change dependencies to ....
22985         (tests-special): ... additions to this variable.
22986         (xtests): Change dependencies to ....
22987         (xtests-special): ... additions to this variable.
22988         * stdio-common/Makefile (tests): Change dependencies to ....
22989         (tests-special): ... additions to this variable.
22990         (do-tst-unbputc): Remove target.
22991         (do-tst-printf): Likewise.
22992         * stdlib/Makefile (tests): Change dependencies to ....
22993         (tests-special): ... additions to this variable.
22994         * string/Makefile (tests): Change dependencies to ....
22995         (tests-special): ... additions to this variable.
22996         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22997         (tests-special): ... additions to this variable.
22999         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23000         whole file.
23001         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23002         whole file.
23003         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23004         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23006         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23007         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23008         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23009         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23010         * conform/data/libgen.h-data [XPG3]: Likewise.
23011         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23012         * conform/data/ndbm.h-data [XPG3]: Likewise.
23013         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23014         * conform/data/netdb.h-data [XPG3]: Likewise.
23015         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23016         * conform/data/poll.h-data [XPG3]: Likewise.
23017         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23018         * conform/data/strings.h-data [XPG3]: Likewise.
23019         * conform/data/stropts.h-data [XPG3]: Likewise.
23020         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23021         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23022         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23023         Likewise.
23024         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23025         * conform/data/sys/time.h-data [XPG3]: Likewise.
23026         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23027         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23028         * conform/data/sys/un.h-data [XPG3]: Likewise.
23029         * conform/data/syslog.h-data [XPG3]: Likewise.
23030         * conform/data/ucontext.h-data [XPG3]: Likewise.
23031         * conform/data/utmpx.h-data [XPG3]: Likewise.
23032         * conform/data/varargs.h-data [UNIX98]: Enable file.
23034         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23036         * math/libm-test.inc (struct test_f_f_data): Move expected results
23037         into structure for each rounding mode.
23038         (struct test_ff_f_data): Likewise.
23039         (struct test_ff_f_data_nexttoward): Likewise.
23040         (struct test_fi_f_data): Likewise.
23041         (struct test_fl_f_data): Likewise.
23042         (struct test_if_f_data): Likewise.
23043         (struct test_fff_f_data): Likewise.
23044         (struct test_c_f_data): Likewise.
23045         (struct test_f_f1_data): Likewise.
23046         (struct test_fF_f1_data): Likewise.
23047         (struct test_ffI_f1_data): Likewise.
23048         (struct test_c_c_data): Likewise.
23049         (struct test_cc_c_data): Likewise.
23050         (struct test_f_i_data): Likewise.
23051         (struct test_ff_i_data): Likewise.
23052         (struct test_f_l_data): Likewise.
23053         (struct test_f_L_data): Likewise.
23054         (struct test_fFF_11_data): Likewise.
23055         (RM_): New macro.
23056         (RM_FE_DOWNWARD): Likewise.
23057         (RM_FE_TONEAREST): Likewise.
23058         (RM_FE_TOWARDZERO): Likewise.
23059         (RM_FE_UPWARD): Likewise.
23060         (RUN_TEST_LOOP_f_f): Update references to expected results.
23061         (RUN_TEST_LOOP_2_f): Likewise.
23062         (RUN_TEST_LOOP_fff_f): Likewise.
23063         (RUN_TEST_LOOP_c_f): Likewise.
23064         (RUN_TEST_LOOP_f_f1): Likewise.
23065         (RUN_TEST_LOOP_fF_f1): Likewise.
23066         (RUN_TEST_LOOP_fI_f1): Likewise.
23067         (RUN_TEST_LOOP_ffI_f1): Likewise.
23068         (RUN_TEST_LOOP_c_c): Likewise.
23069         (RUN_TEST_LOOP_cc_c): Likewise.
23070         (RUN_TEST_LOOP_f_i): Likewise.
23071         (RUN_TEST_LOOP_f_i_tg): Likewise.
23072         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23073         (RUN_TEST_LOOP_f_b): Likewise.
23074         (RUN_TEST_LOOP_f_b_tg): Likewise.
23075         (RUN_TEST_LOOP_f_l): Likewise.
23076         (RUN_TEST_LOOP_f_L): Likewise.
23077         (RUN_TEST_LOOP_fFF_11): Likewise.
23078         * math/gen-libm-test.pl (parse_args): Output four copies of
23079         expected results for each test.
23081         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23082         (__ASSUME_UTIMES): Remove.
23083         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23084         (__ASSUME_UTIMES): Likewise.
23086         * math/gen-auto-libm-tests.c: Update comment on output format.
23087         (output_for_one_input_case): Generate before-rounding and
23088         after-rounding information as conditions on output flags not
23089         floating-point format.
23090         * math/auto-libm-test-out: Regenerated.
23091         * math/gen-libm-test.pl (cond_value): New function.
23092         (or_cond_value): Use cond_value.
23093         (generate_testfile): Handle conditional exceptions.
23095 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23097         * math/libm-test.inc (max_valid_error): New variable.
23098         (init_max_error): Take new argument specifying whether function
23099         results are exactly determined.  Set max_valid_error and bound
23100         other variables for errors based on this argument.
23101         (set_max_error): Do not record results above max_valid_error.
23102         (check_float_internal): Only accept errors of up to 0.5ulps if
23103         also at most max_valid_error.
23104         (START): Take new argument EXACT and pass it to init_max_error.
23105         (acos_test): Update call to START.
23106         (acos_test_tonearest): Likewise.
23107         (acos_test_towardzero): Likewise.
23108         (acos_test_downward): Likewise.
23109         (acos_test_upward): Likewise.
23110         (acosh_test): Likewise.
23111         (asin_test): Likewise.
23112         (asin_test_tonearest): Likewise.
23113         (asin_test_towardzero): Likewise.
23114         (asin_test_downward): Likewise.
23115         (asin_test_upward): Likewise.
23116         (asinh_test): Likewise.
23117         (atan_test): Likewise.
23118         (atanh_test): Likewise.
23119         (atan2_test): Likewise.
23120         (cabs_test): Likewise.
23121         (cacos_test): Likewise.
23122         (cacosh_test): Likewise.
23123         (carg_test): Likewise.
23124         (casin_test): Likewise.
23125         (casinh_test): Likewise.
23126         (catan_test): Likewise.
23127         (catanh_test): Likewise.
23128         (cbrt_test): Likewise.
23129         (ccos_test): Likewise.
23130         (ccosh_test): Likewise.
23131         (ceil_test): Likewise.
23132         (cexp_test): Likewise.
23133         (cimag_test): Likewise.
23134         (clog_test): Likewise.
23135         (clog10_test): Likewise.
23136         (conj_test): Likewise.
23137         (copysign_test): Likewise.
23138         (cos_test): Likewise.
23139         (cos_test_tonearest): Likewise.
23140         (cos_test_towardzero): Likewise.
23141         (cos_test_downward): Likewise.
23142         (cos_test_upward): Likewise.
23143         (cosh_test): Likewise.
23144         (cosh_test_tonearest): Likewise.
23145         (cosh_test_towardzero): Likewise.
23146         (cosh_test_downward): Likewise.
23147         (cosh_test_upward): Likewise.
23148         (cpow_test): Likewise.
23149         (cproj_test): Likewise.
23150         (creal_test): Likewise.
23151         (csin_test): Likewise.
23152         (csinh_test): Likewise.
23153         (csqrt_test): Likewise.
23154         (ctan_test): Likewise.
23155         (ctan_test_tonearest): Likewise.
23156         (ctan_test_towardzero): Likewise.
23157         (ctan_test_downward): Likewise.
23158         (ctan_test_upward): Likewise.
23159         (ctanh_test): Likewise.
23160         (ctanh_test_tonearest): Likewise.
23161         (ctanh_test_towardzero): Likewise.
23162         (ctanh_test_downward): Likewise.
23163         (ctanh_test_upward): Likewise.
23164         (erf_test): Likewise.
23165         (erfc_test): Likewise.
23166         (exp_test): Likewise.
23167         (exp_test_tonearest): Likewise.
23168         (exp_test_towardzero): Likewise.
23169         (exp_test_downward): Likewise.
23170         (exp_test_upward): Likewise.
23171         (exp10_test): Likewise.
23172         (exp10_test_tonearest): Likewise.
23173         (exp10_test_towardzero): Likewise.
23174         (exp10_test_downward): Likewise.
23175         (exp10_test_upward): Likewise.
23176         (pow10_test): Likewise.
23177         (exp2_test): Likewise.
23178         (expm1_test): Likewise.
23179         (expm1_test_tonearest): Likewise.
23180         (expm1_test_towardzero): Likewise.
23181         (expm1_test_downward): Likewise.
23182         (expm1_test_upward): Likewise.
23183         (fabs_test): Likewise.
23184         (fdim_test): Likewise.
23185         (floor_test): Likewise.
23186         (fma_test): Likewise.
23187         (fma_test_towardzero): Likewise.
23188         (fma_test_downward): Likewise.
23189         (fma_test_upward): Likewise.
23190         (fmax_test): Likewise.
23191         (fmin_test): Likewise.
23192         (fmod_test): Likewise.
23193         (fpclassify_test): Likewise.
23194         (frexp_test): Likewise.
23195         (hypot_test): Likewise.
23196         (ilogb_test): Likewise.
23197         (isfinite_test): Likewise.
23198         (finite_test): Likewise.
23199         (isgreater_test): Likewise.
23200         (isgreaterequal_test): Likewise.
23201         (isinf_test): Likewise.
23202         (isless_test): Likewise.
23203         (islessequal_test): Likewise.
23204         (islessgreater_test): Likewise.
23205         (isnan_test): Likewise.
23206         (isnormal_test): Likewise.
23207         (issignaling_test): Likewise.
23208         (isunordered_test): Likewise.
23209         (j0_test): Likewise.
23210         (j1_test): Likewise.
23211         (jn_test): Likewise.
23212         (ldexp_test): Likewise.
23213         (lgamma_test): Likewise.
23214         (gamma_test): Likewise.
23215         (lrint_test): Likewise.
23216         (lrint_test_tonearest): Likewise.
23217         (lrint_test_towardzero): Likewise.
23218         (lrint_test_downward): Likewise.
23219         (lrint_test_upward): Likewise.
23220         (llrint_test): Likewise.
23221         (llrint_test_tonearest): Likewise.
23222         (llrint_test_towardzero): Likewise.
23223         (llrint_test_downward): Likewise.
23224         (llrint_test_upward): Likewise.
23225         (log_test): Likewise.
23226         (log10_test): Likewise.
23227         (log1p_test): Likewise.
23228         (log2_test): Likewise.
23229         (logb_test): Likewise.
23230         (logb_test_downward): Likewise.
23231         (lround_test): Likewise.
23232         (llround_test): Likewise.
23233         (modf_test): Likewise.
23234         (nearbyint_test): Likewise.
23235         (nextafter_test): Likewise.
23236         (nexttoward_test): Likewise.
23237         (pow_test): Likewise.
23238         (pow_test_tonearest): Likewise.
23239         (pow_test_towardzero): Likewise.
23240         (pow_test_downward): Likewise.
23241         (pow_test_upward): Likewise.
23242         (remainder_test): Likewise.
23243         (drem_test): Likewise.
23244         (remainder_test_tonearest): Likewise.
23245         (drem_test_tonearest): Likewise.
23246         (remainder_test_towardzero): Likewise.
23247         (drem_test_towardzero): Likewise.
23248         (remainder_test_downward): Likewise.
23249         (drem_test_downward): Likewise.
23250         (remainder_test_upward): Likewise.
23251         (drem_test_upward): Likewise.
23252         (remquo_test): Likewise.
23253         (rint_test): Likewise.
23254         (rint_test_tonearest): Likewise.
23255         (rint_test_towardzero): Likewise.
23256         (rint_test_downward): Likewise.
23257         (rint_test_upward): Likewise.
23258         (round_test): Likewise.
23259         (scalb_test): Likewise.
23260         (scalbn_test): Likewise.
23261         (scalbln_test): Likewise.
23262         (signbit_test): Likewise.
23263         (sin_test): Likewise.
23264         (sin_test_tonearest): Likewise.
23265         (sin_test_towardzero): Likewise.
23266         (sin_test_downward): Likewise.
23267         (sin_test_upward): Likewise.
23268         (sincos_test): Likewise.
23269         (sinh_test): Likewise.
23270         (sinh_test_tonearest): Likewise.
23271         (sinh_test_towardzero): Likewise.
23272         (sinh_test_downward): Likewise.
23273         (sinh_test_upward): Likewise.
23274         (sqrt_test): Likewise.
23275         (sqrt_test_tonearest): Likewise.
23276         (sqrt_test_towardzero): Likewise.
23277         (sqrt_test_downward): Likewise.
23278         (sqrt_test_upward): Likewise.
23279         (tan_test): Likewise.
23280         (tan_test_tonearest): Likewise.
23281         (tan_test_towardzero): Likewise.
23282         (tan_test_downward): Likewise.
23283         (tan_test_upward): Likewise.
23284         (tanh_test): Likewise.
23285         (tgamma_test): Likewise.
23286         (trunc_test): Likewise.
23287         (y0_test): Likewise.
23288         (y1_test): Likewise.
23289         (yn_test): Likewise.
23290         (significand_test): Likewise.
23292         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23293         individual tests in comment.
23294         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23295         (prev_max_error): New variable.
23296         (prev_real_max_error): Likewise.
23297         (prev_imag_max_error): Likewise.
23298         (compare_ulp_data): Don't refer to test names in comment.
23299         (find_test_ulps): Remove function.
23300         (find_function_ulps): Likewise.
23301         (find_complex_function_ulps): Likewise.
23302         (init_max_error): Take function name as argument.  Look up ulps
23303         for that function.
23304         (print_ulps): Remove function.
23305         (print_max_error): Use prev_max_error instead of calling
23306         find_function_ulps.
23307         (print_complex_max_error): Use prev_real_max_error and
23308         prev_imag_max_error instead of calling find_complex_function_ulps.
23309         (check_float_internal): Take max_ulp parameter instead of calling
23310         find_test_ulps.  Don't call print_ulps.
23311         (check_float): Update call to check_float_internal.
23312         (check_complex): Update calls to check_float_internal.
23313         (START): Pass argument to init_max_error.
23314         * math/gen-libm-test.pl (%results): Don't include "kind"
23315         information.
23316         (parse_ulps): Don't handle ulps of individual tests.
23317         (print_ulps_file): Likewise.
23318         (output_ulps): Likewise.
23319         * math/README.libm-test: Update.
23320         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23321         individual tests.
23322         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23323         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23324         * sysdeps/arm/libm-test-ulps: Likewise.
23325         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23326         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23327         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23328         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23329         * sysdeps/microblaze/libm-test-ulps: Likewise.
23330         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23332         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23333         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23334         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23335         * sysdeps/sh/libm-test-ulps: Likewise.
23336         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23337         * sysdeps/tile/libm-test-ulps: Likewise.
23338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23342         * math/libm-test.inc (print_complex_max_error): Check separately
23343         whether real and imaginary errors are within allowed range and
23344         pass 0 to print_complex_function_ulps instead of value within
23345         allowed range.
23347 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23349         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23350         formatting.
23351         (get_handles_fopen): Likewise.
23352         (do_write_test): Likewise.
23354         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23356         * libio/fileops.c (do_ftell): Use cached offset when
23357         available.
23358         * libio/iofwide.c (do_ftell_wide): Likewise.
23359         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23360         _IO_file_attach.
23361         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23363         [BZ #16532]
23364         * libio/libioP.h (get_file_offset): New function.
23365         * libio/fileops.c (get_file_offset): Likewise.
23366         (do_ftell): Likewise.
23367         (_IO_new_file_seekoff): Split out ftell logic.
23368         * libio/wfileops.c (do_ftell_wide): Likewise.
23369         (_IO_wfile_seekoff): Split out ftell logic.
23370         * libio/tst-ftell-active-handler.c: New test case.
23371         * libio/Makefile (tests): Add it.
23373 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23375         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23376         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23378 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23380         [BZ #16639]
23381         * nscd/connections.c (nscd_init): Call do_exit.
23382         (start_threads): Call do_exit and notify_parent.
23383         (begin_drop_privileges): Call do_exit.
23384         (finish_drop_privileges): Likewise.
23385         * nscd/selinux.c (preserve_capabilities): Likewise.
23386         (install_real_capabilities): Likewise.
23387         (nscd_selinux_enabled): Likewise.
23388         (avc_create_thread): Likewise.
23389         (avc_alloc_lock): Likewise.
23390         (nscd_avc_init): Likewise.
23391         * nscd/nscd.c (parent_fd): New static variable.
23392         (main): Create a pipe between parent and child processes.
23393         Skip closing parent_fd.
23394         (monitor_child): New function.
23395         (do_exit): Likewise.
23396         (notify_parent): Likewise.
23397         * nscd/nscd.h (notify_parent): Likewise.
23398         (do_exit): Likewise.
23400 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23402         * malloc/malloc.c (__libc_calloc): Revert last change.
23404 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23408 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23410         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23412         implementation.
23413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23414         (__libc_ifunc_impl_list): Likewise.
23415         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23416         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23417         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23418         * string/strrchr.c: Define STRRCHR.
23420 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23422         * benchtest/bench-strtok.c (simple_strtok): Delete.
23423         (strtok_string): Use as benchmark.
23424         * string/strtok (STRTOK): New macro.
23426 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23428         * manual/threads.texi: Add header and standard comments to all
23429         functions.
23431         * elf/dl-lookup.c (check_match): New function.
23432         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23433         (do_lookup_x): Remove nested function check_match. Use non-nested
23434         function check_match.
23436 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23438         * csu/Makefile (generated, before-compile): Use += rather than =.
23439         * catgets/Makefile (generated, generated-dirs): Likewise.
23440         * debug/Makefile (generated): Likewise.
23441         * dlfcn/Makefile (generated): Likewise.
23442         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23443         * iconvdata/Makefile (before-compile, generated): Likewise.
23444         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23445         * libio/Makefile (generated): Likewise.
23446         * malloc/Makefile (generated): Likewise.
23447         * manual/Makefile (generated, generated-dirs): Likewise.
23448         * misc/Makefile (generated): Likewise.
23449         * posix/Makefile (generated): Likewise.
23450         * resolv/Makefile (generated): Likewise.
23451         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23452         * timezone/Makefile (generated, generated-dirs): Likewise.
23454         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23456 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23459         power8 implementation.
23460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23461         file: POWER8 llround ifunc implementation.
23462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23463         (__lllround): Add POWER8 implementation.
23464         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23465         POWER8 llround implementation.
23467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23468         power8 implementation.
23469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23470         file: POWER8 llrint ifunc implementation.
23471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23472         Add POWER8 implementation.
23473         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23474         POWER8 llrint implementation.
23476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23477         power8 implementation.
23478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23479         file: POWER8 finite ifunc implementation.
23480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23481         Add POWER8 implementation.
23482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23483         Likewise.
23484         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23485         POWER8 finite implementation.
23486         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23489         power8 implementation.
23490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23491         file: POWER8 isinf ifunc implementation.
23492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23493         POWER8 implementation.
23494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23495         Likewise.
23496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23497         isinf implementation.
23498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23500         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23501         (INIT_ARCH): Add hwcap2 initialization.
23502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23503         power8 implementation.
23504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23505         file: POWER8 isnan ifunc implementation.
23506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23507         POWER8 implementation.
23508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23509         Likewise.
23510         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23511         isnan implementation.
23512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23514 2014-02-27  Joey Ye  <joey.ye@arm.com>
23516         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23517         (_FP_NANFRAC_Q): Set to zero.
23519 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23521         [BZ #16623]
23522         * math/auto-libm-test-in: New test inputs.
23523         * math/auto-libm-test-out: Regenerate.
23524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23525         and DA.
23526         (__cos): Likewise.
23527         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23529 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23531         * scripts/evaluate-test.sh: Take new argument indicating whether
23532         failure is expected.
23533         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23534         indicating whether failure is expected.
23535         * conform/Makefile (test-xfail-run-conformtest): New variable.
23536         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23537         level.
23538         * posix/Makefile (test-xfail-annexc): New variable.
23539         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23541 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23543         * argp/Makefile: Include Makeconfig immediately after defining
23544         subdir.
23545         * assert/Makefile: Likewise.
23546         * benchtests/Makefile: Likewise.
23547         * catgets/Makefile: Likewise.
23548         * conform/Makefile: Likewise.
23549         * crypt/Makefile: Likewise.
23550         * csu/Makefile: Likewise.
23551         (all): Remove target.
23552         * ctype/Makefile: Include Makeconfig immediately after defining
23553         subdir.
23554         * debug/Makefile: Likewise.
23555         * dirent/Makefile: Likewise.
23556         * dlfcn/Makefile: Likewise.
23557         * gmon/Makefile: Likewise.
23558         * gnulib/Makefile: Likewise.
23559         * grp/Makefile: Likewise.
23560         * gshadow/Makefile: Likewise.
23561         * hesiod/Makefile: Likewise.
23562         * hurd/Makefile: Likewise.
23563         (all): Remove target.
23564         * iconvdata/Makefile: Include Makeconfig immediately after
23565         defining subdir.
23566         * inet/Makefile: Likewise.
23567         * intl/Makefile: Likewise.
23568         * io/Makefile: Likewise.
23569         * libio/Makefile: Likewise.
23570         (all): Remove target.
23571         * locale/Makefile: Include Makeconfig immediately after defining
23572         subdir.
23573         * login/Makefile: Likewise.
23574         * mach/Makefile: Likewise.
23575         (all): Remove target.
23576         * malloc/Makefile: Include Makeconfig immediately after defining
23577         subdir.
23578         (all): Remove target.
23579         * manual/Makefile: Include Makeconfig immediately after defining
23580         subdir.
23581         * math/Makefile: Likewise.
23582         * misc/Makefile: Likewise.
23583         * nis/Makefile: Likewise.
23584         * nss/Makefile: Likewise.
23585         * po/Makefile: Likewise.
23586         (all): Remove target.
23587         * posix/Makefile: Include Makeconfig immediately after defining
23588         subdir.
23589         * pwd/Makefile: Likewise.
23590         * resolv/Makefile: Likewise.
23591         * resource/Makefile: Likewise.
23592         * rt/Makefile: Likewise.
23593         * setjmp/Makefile: Likewise.
23594         * shadow/Makefile: Likewise.
23595         * signal/Makefile: Likewise.
23596         * socket/Makefile: Likewise.
23597         * soft-fp/Makefile: Likewise.
23598         * stdio-common/Makefile: Likewise.
23599         * stdlib/Makefile: Likewise.
23600         * streams/Makefile: Likewise.
23601         * string/Makefile: Likewise.
23602         * sunrpc/Makefile: Likewise.
23603         (all): Remove target.
23604         * sysvipc/Makefile: Include Makeconfig immediately after defining
23605         subdir.
23606         * termios/Makefile: Likewise.
23607         * time/Makefile: Likewise.
23608         * timezone/Makefile: Likewise.
23609         (all): Remove target.
23610         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23611         subdir.
23612         * wctype/Makefile: Likewise.
23614 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23616         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23617         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23618         (libc_feholdexcept_setround_mips): Ditto.
23619         (libc_feholdsetround): New.
23620         (libc_feholdsetroundf): New.
23621         (libc_feholdsetroundl): New.
23622         (libc_feupdateenv_test_mips): New.
23623         (libc_feupdateenv_test): New.
23624         (libc_feupdateenv_testf): New.
23625         (libc_feupdateenv_testl): New.
23626         (libc_feresetround): New.
23627         (libc_feresetroundf): New.
23628         (libc_feresetroundl): New.
23629         (libc_fetestexcept_mips): New.
23630         (libc_fetestexcept): New.
23631         (libc_fetestexceptf): New.
23632         (libc_fetestexceptl): New.
23633         (HAVE_RM_CTX): New.
23634         (libc_feholdexcept_setround_mips_ctx): New.
23635         (libc_feholdexcept_setround_ctx): New.
23636         (libc_feholdexcept_setroundf_ctx): New.
23637         (libc_feholdexcept_setroundl_ctx): New.
23638         (libc_fesetenv_mips_ctx): New.
23639         (libc_fesetenv_ctx): New.
23640         (libc_fesetenv_ctxf): New.
23641         (libc_fesetenv_ctxl): New.
23642         (libc_feupdateenv_mips_ctx): New.
23643         (libc_feupdateenv_ctx): New.
23644         (libc_feupdateenvf_ctx): New.
23645         (libc_feupdateenvl_ctx): New.
23646         (libc_feholdsetround_mips_ctx): New.
23647         (libc_feholdsetround_ctx): New.
23648         (libc_feholdsetroundf_ctx): New.
23649         (libc_feholdsetroundl_ctx): New.
23650         (libc_feresetround_mips_ctx): New.
23651         (libc_feresetround_ctx): New.
23652         (libc_feresetroundf_ctx): New.
23653         (libc_feresetroundl_ctx): New.
23655 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23657         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23659         * manual/ipc.texi: New file.
23660         * manual/Makefile (chapters): Add ipc.
23661         * manual/job.texi: Add "Inter-Process Communication" to next.
23662         * manual/process.texi: Add "Inter-Process Communication" to prev.
23664 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23668 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23670         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23672         * manual/arith.texi: Fix spaces after sentences.
23673         * manual/charset.texi: Likewise.
23674         * manual/errno.texi: Likewise.
23675         * manual/install.texi: Likewise.
23676         * manual/llio.texi: Likewise.
23677         * manual/locale.texi: Likewise.
23678         * manual/maint.texi: Likewise.
23679         * manual/math.texi: Likewise.
23680         * manual/memory.texi: Likewise.
23681         * manual/message.texi: Likewise.
23682         * manual/probes.texi: Likewise.
23683         * manual/resource.texi: Likewise.
23684         * manual/signal.texi: Likewise.
23685         * manual/socket.texi: Likewise.
23686         * manual/stdio.texi: Likewise.
23687         * manual/string.texi: Likewise.
23688         * manual/time.texi: Likewise.
23689         * manual/users.texi: Likewise.
23691 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23693         [BZ #16632]
23694         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23695         _DEFAULT_SOURCE is defined.
23697 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23698             Carlos O'Donell  <carlos@redhat.com>
23700         [BZ #16613]
23701         * elf/dl-tls.c (_dl_count_modids): New function.
23702         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23703         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23704         audit library and increment generation counter.
23705         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23706         * elf/tst-audit9.c: New file.
23707         * elf/tst-auditmod9a.c: New file.
23708         * elf/tst-auditmod9b.c: New file.
23709         * elf/Makefile: Add rules to build and run tst-audit9.
23711 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23713         [BZ #15347]
23714         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23716 2014-02-25  Will Newton  <will.newton@linaro.org>
23718         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23719         (__longjmp): Restore sp and lr before restoring callee
23720         saved registers.  Add longjmp and longjmp_target
23721         SystemTap probe point.
23722         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23723         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23724         Define to zero to match jmpbuf layout.
23725         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23726         (__sigsetjmp): Save sp and lr before saving callee
23727         saved registers.  Add setjmp SystemTap probe point.
23729 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23731         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23733 2014-02-24  Andreas Schwab  <schwab@suse.de>
23735         [BZ #15804]
23736         * elf/pldd.c (wait_for_ptrace_stop): New function.
23737         (main): Call it after attaching.
23739 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23741         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23742         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23743         Versions files is now verboten.
23744         * hurd/Versions (libc: GLIBC_2.0):
23745         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23746         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23747         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23748         * mach/Versions: Likewise.
23750         * csu/Versions: Remove unused %include.
23751         * resolv/Versions: Likewise.
23753 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23755         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23756         ($(objpfx)check-local-headers.out): Likewise.
23757         ($(objpfx)begin-end-check.out): Likewise.
23758         * Makerules (check-abi-%.out): Likewise.
23759         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23760         ($(objpfx)test2.cat): Likewise.
23761         ($(objpfx)de/libc.cat): Likewise.
23762         ($(objpfx)test-gencat.out): Likewise.
23763         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23764         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23765         ($(objpfx)noload-mem): Likewise.
23766         ($(objpfx)tst-pathopt.out): Likewise.
23767         ($(objpfx)tst-rtld-load-self.out): Likewise.
23768         ($(objpfx)tst-array1-cmp.out): Likewise.
23769         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23770         ($(objpfx)tst-array2-cmp.out): Likewise.
23771         ($(objpfx)tst-array3-cmp.out): Likewise.
23772         ($(objpfx)tst-array4-cmp.out): Likewise.
23773         ($(objpfx)tst-array5-cmp.out): Likewise.
23774         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23775         ($(objpfx)check-textrel.out): Likewise.
23776         ($(objpfx)check-execstack.out): Likewise.
23777         ($(objpfx)check-localplt.out): Likewise.
23778         ($(objpfx)order2-cmp.out): Likewise.
23779         ($(objpfx)tst-leaks1-mem): Likewise.
23780         ($(objpfx)tst-leaks1-static-mem): Likewise.
23781         ($(objpfx)tst-initorder-cmp.out): Likewise.
23782         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23783         ($(objpfx)tst-unused-dep.out): Likewise.
23784         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23785         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23786         * iconv/Makefile (test-iconvconfig): Likewise.
23787         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23788         ($(objpfx)iconv-test.out): Likewise.
23789         ($(objpfx)tst-tables.out): Likewise.
23790         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23791         ($(objpfx)tst-gettext.out): Likewise.
23792         ($(objpfx)tst-translit.out): Likewise.
23793         ($(objpfx)tst-gettext2.out): Likewise.
23794         ($(objpfx)tst-gettext4.out): Likewise.
23795         ($(objpfx)tst-gettext6.out): Likewise.
23796         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23797         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23798         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23799         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23800         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23801         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23802         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23803         ($(objpfx)wordexp-tst.out): Likewise.
23804         ($(objpfx)annexc.out): Likewise.
23805         ($(objpfx)tst-fnmatch-mem): Likewise.
23806         ($(objpfx)bug-regex2-mem): Likewise.
23807         ($(objpfx)bug-regex14-mem): Likewise.
23808         ($(objpfx)bug-regex21-mem): Likewise.
23809         ($(objpfx)bug-regex31-mem): Likewise.
23810         ($(objpfx)tst-vfork3-mem): Likewise.
23811         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23812         ($(objpfx)tst-pcre-mem): Likewise.
23813         ($(objpfx)tst-boost-mem): Likewise.
23814         ($(objpfx)tst-getconf.out): Likewise.
23815         ($(objpfx)bug-ga2-mem): Likewise.
23816         ($(objpfx)bug-glob2-mem): Likewise.
23817         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23818         ($(objpfx)mtrace-tst-leaks2): Likewise.
23819         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23820         ($(objpfx)tst-printf.out): Likewise.
23821         ($(objpfx)tst-setvbuf1.out): Likewise.
23822         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23823         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23824         ($(objpfx)tst-fmtmsg.out): Likewise.
23825         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23826         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23828         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23829         * bits/sigaction.h [__USE_MISC]: Likewise.
23830         * bits/waitstatus.h: Update #endif comments.
23831         * ctype/ctype.h: Likewise.
23832         * dirent/dirent.h: Likewise.
23833         [__USE_MISC]: Remove redundant conditionals.
23834         * grp/grp.h: Update #endif comments.
23835         [__USE_GNU]: Remove redundant conditionals.
23836         [__USE_MISC]: Likewise.
23837         * inet/netinet/in.h [__USE_GNU]: Likewise.
23838         * io/sys/stat.h [__USE_MISC]: Likewise.
23839         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23840         * libio/bits/stdio.h: Update #endif comments.
23841         [__USE_MISC]: Remove redundant conditionals.
23842         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23843         * libio/stdio.h: Update #endif comments.
23844         [__USE_MISC]: Remove redundant conditionals.
23845         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23846         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23847         * math/math.h: Update #else and #endif comments.
23848         [__USE_MISC]: Remove redundant conditionals.
23849         * misc/sys/uio.h: Update #endif comments.
23850         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23851         * posix/glob.h [__USE_MISC]: Likewise.
23852         * posix/sys/types.h: Update #endif comments.
23853         [__USE_MISC]: Remove redundant conditionals.
23854         * posix/sys/wait.h: Update #endif comments.
23855         [__USE_MISC]: Remove redundant conditionals.
23856         * posix/unistd.h: Update #endif comments.
23857         [__USE_MISC]: Remove redundant conditionals.
23858         * pwd/pwd.h [__USE_GNU]: Likewise.
23859         [__USE_MISC]: Likewise.
23860         * resolv/netdb.h [__USE_GNU]: Likewise.
23861         * signal/signal.h: Update #endif comments.
23862         [__USE_MISC]: Remove redundant conditionals.
23863         * stdlib/stdlib.h: Update #else and #endif comments.
23864         [__USE_MISC]: Remove redundant conditionals.
23865         [__USE_GNU]: Likewise.
23866         * string/bits/string2.h [__USE_MISC]: Likewise.
23867         * string/string.h: Update #endif comments.
23868         [__USE_MISC]: Remove redundant conditionals.
23869         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23870         Likewise.
23871         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23872         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23873         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23876         Likewise.
23877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23878         comments.
23879         [__USE_MISC]: Remove redundant conditionals.
23880         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23881         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23882         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23883         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23884         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23885         Likewise.
23886         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23887         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23888         Likewise.
23889         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23890         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23891         Likewise.
23892         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23893         Likewise.
23894         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23895         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23896         Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23900         * sysdeps/x86/bits/string.h: Update #endif comments.
23901         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23902         conditionals.
23903         * time/sys/time.h: Update #endif comments.
23904         * time/time.h: Likewise.
23905         [__USE_MISC]: Remove redundant conditionals.
23907 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23909         [BZ #16600]
23910         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23912 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23914         * Versions.def (librt): Add GLIBC_2.17.
23916 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23918         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23919         synonym for _SYS_AUXV_H to allow direct inclusion.
23920         * sysdeps/sparc/bits/hwcap.h: Likewise.
23921         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23922         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23923         * sysdeps/sparc/sysdep.h: Likewise.
23925 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23927         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23929 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23931         * benchtests/bench-strrchr.c: Print length instead of position.
23933 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #16611]
23936         * sysdeps/unix/sysv/linux/kernel-features.h
23937         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23938         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23939         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23940         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23941         Likewise.
23942         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23943         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23944         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23945         (__ASSUME_SENDMMSG): Define instead of using previous
23946         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23947         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23948         (__ASSUME_SENDMMSG_SYSCALL): Define.
23949         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23950         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23951         Likewise.
23952         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23953         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23954         Likewise.
23955         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23956         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23957         Likewise.
23958         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23959         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23960         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23961         [__ASSUME_SENDMMSG]: Change conditionals to
23962         [__ASSUME_SENDMMSG_SOCKETCALL].
23963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23964         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23965         Define.
23966         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23967         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23968         Likewise.
23969         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23970         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23971         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23972         [!__ASSUME_SENDMMSG]: Change conditional to
23973         [!__ASSUME_SENDMMSG_SOCKETCALL].
23974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23975         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23976         Define.
23978         [BZ #16610]
23979         * sysdeps/unix/sysv/linux/kernel-features.h
23980         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23981         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23982         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23983         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23984         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23985         [__i386__ || __sparc__]
23986         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23987         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23988         (__ASSUME_RECVMMSG): Define instead of using previous
23989         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23990         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23991         (__ASSUME_RECVMMSG_SYSCALL): Define.
23992         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23994         Likewise.
23995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23996         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23997         Likewise.
23998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23999         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24000         Likewise.
24001         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24002         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24003         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24004         [__ASSUME_RECVMMSG]: Change condition to
24005         [__ASSUME_RECVMMSG_SOCKETCALL].
24006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24007         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24008         Define.
24009         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24011         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24012         Likewise.
24013         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24014         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24015         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24016         [!__ASSUME_RECVMMSG]: Change condition to
24017         [!__ASSUME_RECVMMSG_SOCKETCALL].
24018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24019         (__ASSUME_RECVMMSG_SYSCALL): Define.
24021         [BZ #16609]
24022         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24023         __powerpc__ || __s390__ || __sh__ || __sparc__]
24024         (__ASSUME_SOCKETCALL): Define.
24025         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24026         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24027         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24028         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24029         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24030         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24031         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24032         (__ASSUME_ACCEPT4): Define instead of using previous
24033         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24034         __powerpc__ || __sparc__ || __s390__)] condition.
24035         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24036         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24037         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24038         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24039         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24040         [!__ASSUME_ACCEPT4]: Change condition to
24041         [!__ASSUME_ACCEPT4_SOCKETCALL].
24042         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24043         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24044         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24046         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24047         __ASSUME_ACCEPT4_SYSCALL.
24048         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24049         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24050         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24051         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24052         __ASSUME_ACCEPT4_SYSCALL.
24053         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24054         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24055         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24056         [__ASSUME_ACCEPT4]: Change condition to
24057         [__ASSUME_ACCEPT4_SOCKETCALL].
24058         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24059         (__ASSUME_SOCKETCALL): Define.
24060         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24062         (__ASSUME_SOCKETCALL): Define.
24063         (__ASSUME_ACCEPT4): Remove.
24064         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24065         Define.
24066         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24067         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24068         Likewise.
24069         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24070         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24072         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24073         macro.
24074         (HWCAP_ARM_LPAE): Likewise.
24075         (HWCAP_ARM_EVTSTRM): Likewise.
24076         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24077         Add vpfd32, lpae and evtstrm.
24078         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24079         Increase to 22.
24081 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24083         * math/auto-libm-test-in: Add tests of clog10.
24084         * math/auto-libm-test-out: Regenerated.
24085         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24086         * sysdeps/i386/fpu/libm-test-ulps: Update.
24087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24089 2014-02-18  Andreas Schwab  <schwab@suse.de>
24091         [BZ #16574]
24092         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24093         Store non-zero if the second buffer was newly allocated.
24094         (send_dg): Likewise.
24095         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24096         to send_vc and send_dg.
24097         (res_nsend): Pass NULL for ansp2_malloced.
24098         * resolv/res_query.c (__libc_res_nquery): Add parameter
24099         answerp2_malloced and pass it down to __libc_res_nsend.
24100         (res_nquery): Pass additional NULL to __libc_res_nquery.
24101         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24102         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24103         second answer buffer if answerp2_malloced was set.
24104         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24105         (__libc_res_nquerydomain): Add parameter
24106         answerp2_malloced and pass it down to __libc_res_nquery.
24107         (res_nquerydomain): Pass additional NULL to
24108         __libc_res_nquerydomain.
24109         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24110         additional NULL to __libc_res_nsend and __libc_res_nquery.
24111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24112         additional NULL to __libc_res_nsearch.
24113         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24114         parameter of __libc_res_nsearch to check for separately allocated
24115         second buffer.
24116         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24117         __libc_res_nquery.
24118         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24119         additional NULL to __libc_res_nquery.
24120         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24121         __libc_res_nsearch.
24122         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24123         * include/resolv.h: Update prototypes of __libc_res_nquery,
24124         __libc_res_nsearch, __libc_res_nsend.
24126 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24128         * math/auto-libm-test-in: Add tests of fma.
24129         * math/auto-libm-test-out: Regenerated.
24130         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24131         (fma_towardzero_test_data): Likewise.
24132         (fma_downward_test_data): Likewise.
24133         (fma_upward_test_data): Likewise.
24134         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24135         mpc_mode.
24136         (rounding_modes): Add values for new field.
24137         (func_calc_method): Add value mpfr_fff_f.
24138         (func_calc_desc): Add mpfr_fff_f union field.
24139         (test_function): Add field exact_args.
24140         (FUNC): Add macro argument EXACT_ARGS.
24141         (FUNC_mpfr_f_f): Update call to FUNC.
24142         (FUNC_mpfr_f_f): Likewise.
24143         (FUNC_mpfr_ff_f): Likewise.
24144         (FUNC_mpfr_if_f): Likewise.
24145         (FUNC_mpc_c_f): Likewise.
24146         (FUNC_mpc_c_c): Likewise.
24147         (test_functions): Add fma.  Update calls to FUNC.
24148         (handle_input_arg): Add argument exact_args.
24149         (add_test): Update call to handle_input_arg.
24150         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24151         (output_for_one_input_case): Update call to calc_generic_results.
24152         Recalculate exact zero results in each rounding mode.
24154         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24155         non-negative before setting low bit.
24156         * math/auto-libm-test-in: Mark one asin test possibly having
24157         spurious underflow.
24158         * math/auto-libm-test-out: Regenerated.
24159         * sysdeps/i386/fpu/libm-test-ulps: Update.
24160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24162 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24164         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24165         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24166         ports/sysdeps/unix/sysv/linux/microblaze.
24167         * README: Add missing listing for microblaze*-*-linux-gnu.
24169 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24171         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24172         duplicate code
24174 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24176         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24177         * sysdeps/unix/sysv/linux/ia64: Move directory from
24178         ports/sysdeps/unix/sysv/linux/ia64.
24179         * README: Update listing for ia64-*-linux-gnu.
24181 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24182             Joseph Myers  <joseph@codesourcery.com>
24184         * Makeconfig (test-name): New variable.
24185         (evaluate-test): Likewise.
24186         * Makerules (do-test-clean): Remove .test-result files.
24187         (common-mostlyclean): Likewise.
24188         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24189         * scripts/evaluate-test.sh: New file.
24191 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24193         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24194         separate $(objpfx)tst-fopenloc-cmp.out and
24195         $(objpfx)tst-fopenloc-mem.out targets.
24196         (tests): Update dependencies.
24197         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24198         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24199         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24200         (tst-rxspencer-no-utf8-ARGS): New variable.
24201         (tst-rxspencer-no-utf8-ENV): Likewise.
24202         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24203         instead of $(objpfx)tst-rxspencer-mem.
24204         ($(objpfx)tst-rxspencer-mem): Change target to
24205         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24206         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24207         * posix/tst-rxspencer-no-utf8.c: New file.
24209         * elf/Makefile ($(objpfx)order.out): Remove rule.
24210         [$(run-built-tests) = yes] (tests): Depend on
24211         $(objpfx)order-cmp.out.
24212         ($(objpfx)order-cmp.out): New rule.
24213         [$(run-built-tests) = yes] (tests): Depend on
24214         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24215         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24216         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24217         $(objpfx)tst-array5-static-cmp.out.
24218         ($(objpfx)tst-array1.out): Remove rule.
24219         ($(objpfx)tst-array1-cmp.out): New rule.
24220         ($(objpfx)tst-array1-static.out): Remove rule.
24221         ($(objpfx)tst-array1-static-cmp.out): New rule.
24222         ($(objpfx)tst-array2.out): Remove rule.
24223         ($(objpfx)tst-array2-cmp.out): New rule.
24224         ($(objpfx)tst-array3.out): Remove rule.
24225         ($(objpfx)tst-array3-cmp.out): New rule.
24226         ($(objpfx)tst-array4.out): Remove rule.
24227         ($(objpfx)tst-array4-cmp.out): New rule.
24228         ($(objpfx)tst-array5.out): Remove rule.
24229         ($(objpfx)tst-array5-cmp.out): New rule.
24230         ($(objpfx)tst-array5-static.out): Remove rule.
24231         ($(objpfx)tst-array5-static-cmp.out): New rule.
24232         [$(run-built-tests) = yes] (tests): Depend on
24233         $(objpfx)order2-cmp.out.
24234         ($(objpfx)order2.out): Remove rule.
24235         ($(objpfx)order2-cmp.out): New rule.
24236         ($(objpfx)tst-initorder.out): Remove rule.
24237         [$(run-built-tests) = yes] (tests): Depend on
24238         $(objpfx)tst-initorder-cmp.out.
24239         ($(objpfx)tst-initorder-cmp.out): New rule.
24240         ($(objpfx)tst-initorder2.out): Remove rule.
24241         [$(run-built-tests) = yes] (tests): Depend on
24242         $(objpfx)tst-initorder2-cmp.out.
24243         ($(objpfx)tst-initorder2-cmp.out): New rule.
24244         [$(run-built-tests) = yes] (tests): Depend on
24245         $(objpfx)tst-unused-dep-cmp.out.
24246         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24247         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24248         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24249         on $(objpfx)tst-setvbuf1-cmp.out.
24250         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24251         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24252         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24253         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24254         ($(objpfx)tst-svc.out): Remove rule.
24255         ($(objpfx)tst-svc-cmp.out): New rule.
24257 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24259         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24260         * ctype/ctype.h [__USE_MISC]: Likewise.
24261         * dirent/dirent.h [__USE_MISC]: Likewise.
24262         * grp/grp.h [__USE_MISC]: Likewise.
24263         * io/fcntl.h [__USE_MISC]: Likewise.
24264         * io/sys/stat.h [__USE_MISC]: Likewise.
24265         * libio/stdio.h [__USE_MISC]: Likewise.
24266         * posix/unistd.h [__USE_MISC]: Likewise.
24267         * pwd/pwd.h [__USE_MISC]: Likewise.
24268         * stdlib.h [__USE_MISC]: Likewise.
24269         * string/bits/string2.h [__USE_MISC]: Likewise.
24270         * string/string.h [__USE_MISC]: Likewise.
24271         * time/time.h [__USE_MISC]: Likewise.
24273 2014-02-13  Andreas Schwab  <schwab@suse.de>
24275         [BZ #16574]
24276         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24277         second answer buffer if it was separately allocated.
24279 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24281         * sysdeps/mips/math-tests.h: Include <features.h>.
24282         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24283         (ROUNDING_TESTS_long_double): Do not define.
24284         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24285         (EXCEPTION_TESTS_long_double): Likewise.
24286         * sysdeps/mips/mips64/libm-test-ulps: Update.
24288         * include/features.h (__USE_BSD): Remove macro definitions.
24289         (__USE_SVID): Likewise.
24290         (_BSD_SOURCE): Likewise.
24291         (_SVID_SOURCE): Likewise.
24292         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24293         from definition of _DEFAULT_SOURCE.
24294         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24295         [_DEFAULT_SOURCE].
24296         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24297         * bits/mman.h [__USE_BSD]: Likewise.
24298         * bits/termios.h [__USE_BSD]: Likewise.
24299         * bits/waitstatus.h [__USE_BSD]: Likewise.
24300         * ctype/ctype.h [__USE_SVID]: Likewise.
24301         * dirent/dirent.h [__USE_BSD]: Likewise.
24302         * grp/grp.h [__USE_SVID]: Likewise.
24303         [__USE_BSD]: Likewise.
24304         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24305         * io/fcntl.h [__USE_BSD]: Likewise.
24306         * io/ftw.h [__USE_BSD]: Likewise.
24307         * io/sys/stat.h [__USE_BSD]: Likewise.
24308         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24309         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24310         * libio/stdio.h [__USE_SVID]: Likewise.
24311         [__USE_BSD]: Likewise.
24312         * math/math.h [__USE_SVID]: Likewise.
24313         [__USE_BSD]: Likewise.
24314         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24315         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24316         * misc/search.h [__USE_SVID]: Likewise.
24317         * misc/sys/mman.h [__USE_BSD]: Likewise.
24318         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24319         * misc/sys/uio.h [__USE_BSD]: Likewise.
24320         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24321         * posix/glob.h [__USE_BSD]: Likewise.
24322         * posix/regex.h [__USE_BSD]: Likewise.
24323         * posix/sys/types.h [__USE_BSD]: Likewise.
24324         [__USE_SVID]: Likewise.
24325         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24326         * posix/sys/wait.h [__USE_BSD]: Likewise.
24327         [__USE_SVID]: Likewise.
24328         * posix/unistd.h [__USE_BSD]: Likewise.
24329         [__USE_SVID]: Likewise.
24330         * pwd/pwd.h [__USE_SVID]: Likewise.
24331         * resolv/netdb.h [__USE_BSD]: Likewise.
24332         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24333         * signal/signal.h [__USE_BSD]: Likewise.
24334         [__USE_SVID]: Likewise.
24335         * socket/sys/socket.h [__USE_BSD]: Likewise.
24336         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24337         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24338         [__USE_SVID]: Likewise.
24339         * string/bits/string2.h [__USE_BSD]: Likewise.
24340         [__USE_SVID]: Likewise.
24341         * string/bits/string3.h [__USE_BSD]: Likewise.
24342         * string/endian.h [__USE_BSD]: Likewise.
24343         * string/string.h [__USE_SVID]: Likewise.
24344         [__USE_BSD]: Likewise.
24345         * string/strings.h [__USE_BSD]: Likewise.
24346         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24347         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24348         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24349         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24350         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24351         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24352         Likewise.
24353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24354         Likewise.
24355         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24356         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24357         Likewise.
24358         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24359         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24360         Likewise.
24361         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24362         Likewise.
24363         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24364         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24365         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24366         Likewise.
24367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24368         Likewise.
24369         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24370         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24371         * termios/termios.h [__USE_BSD]: Likewise.
24372         * time/sys/time.h [__USE_BSD]: Likewise.
24373         * time/time.h [__USE_BSD]: Likewise.
24374         [__USE_SVID]: Likewise.
24376         * Makefile (subdir_targets): Remove subdir_lint.out.
24378         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24379         (do-tst-printf): Likewise.
24380         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24381         $(objpfx)tst-printf.out.
24383         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24385         * Makerules (check-abi-%): Change target to
24386         $(objpfx)check-abi-%.out.
24387         (check-abi target): Update dependencies.
24388         (check-abi-pattern variable): Redirect output of diff to $@.
24389         (check-abi variable): Likewise.
24390         * elf/Makefile (check-abi): Update dependencies.
24392         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24393         unused.
24394         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24395         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24396         subnormal range.
24397         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24398         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24399         value has largest subnormal exponent.
24400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24401         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24402         * sysdeps/aarch64/soft-fp/sfp-machine.h
24403         (_FP_TININESS_AFTER_ROUNDING): New macro.
24404         * sysdeps/alpha/soft-fp/sfp-machine.h
24405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24406         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24407         Likewise.
24408         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24409         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24410         * sysdeps/mips/soft-fp/sfp-machine.h
24411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24412         * sysdeps/powerpc/soft-fp/sfp-machine.h
24413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24414         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24415         Likewise.
24416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24417         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24419         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24420         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24421         Likewise.
24423 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24425         [BZ #16545]
24426         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24427         model 1.
24429 2014-02-12  Richard Henderson  <rth@redhat.com>
24431         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24432         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24433         * sysdeps/unix/sysv/linux/alpha: Move directory from
24434         ports/sysdeps/unix/sysv/linux/alpha.
24435         * README: Update listing for alpha-*-linux-gnu.
24437 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24439         * include/features.h: Update comment documenting feature test
24440         macros.
24441         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24442         _DEFAULT_SOURCE.
24443         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24444         (_SVID_SOURCE): Likewise.
24445         (_DEFAULT_SOURCE): Update description of default features.
24446         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24447         with _GNU_SOURCE.
24448         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24449         (S_ISVTX): Likewise.
24450         * manual/math.texi (Mathematical Constants): Likewise.
24451         * manual/signal.texi (Interrupted Primitives): Likewise.
24452         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24453         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24454         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24455         Don't refer to _SVID_SOURCE in warning text.
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24459         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24460         already defined.
24461         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24462         * sysdeps/mips/dl-lookup.c: Remove.
24463         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24465 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24467         [BZ #16447]
24468         * math/auto-libm-test-in: Add testcase for expl.
24469         * math/auto-libm-test-out: Regenerate.
24470         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24471         calculation of unsafe.
24472         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24474 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24476         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24477         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24478         ports/sysdeps/unix/sysv/linux/aarch64.
24479         * README: Update listing for aarch64*-*-linux-gnu.
24481 2014-02-11  Will Newton  <will.newton@linaro.org>
24483         * manual/probes.texi (Mathematical Function Probes): Use
24484         "triggered" instead of "hit".
24486         * manual/probes.texi (Internal Probes): Add documentation
24487         of setjmp, longjmp and longjmp_target probes.
24489         * include/stap-probe.h: Add comment about probe argument
24490         format.
24492         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24493         definition.  (tr_where, tr_freehook, tr_mallochook,
24494         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24496 2014-02-11  David S. Miller  <davem@davemloft.net>
24498         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24499         processing int_tests.
24501 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24503         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24504         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24505         * sysdeps/unix/sysv/linux/mips: Move directory from
24506         ports/sysdeps/unix/sysv/linux/mips.
24507         * README: Update listing for mips-*-linux-gnu and
24508         mips64-*-linux-gnu.
24510 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24512         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24513         * sysdeps/unix/sysv/linux/m68k: Move directory from
24514         ports/sysdeps/unix/sysv/linux/m68k.
24515         * README: Update listing for m68k-*-linux-gnu.
24517 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24519         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24520         * sysdeps/unix/sysv/linux/generic: Move directory from
24521         ports/sysdeps/unix/sysv/linux/generic.
24522         * sysdeps/unix/sysv/linux/tile: Move directory from
24523         ports/sysdeps/unix/sysv/linux/tile.
24524         * README: Update listing for tile*-*-linux-gnu.
24526 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24528         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24529         __builtin_expect.
24530         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24531         * catgets/open_catalog.c (__open_catalog): Likewise.
24532         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24533         * debug/confstr_chk.c: Likewise.
24534         * debug/fread_chk.c (__fread_chk): Likewise.
24535         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24536         * debug/getgroups_chk.c: Likewise.
24537         * debug/mbsnrtowcs_chk.c: Likewise.
24538         * debug/mbsrtowcs_chk.c: Likewise.
24539         * debug/mbstowcs_chk.c: Likewise.
24540         * debug/memcpy_chk.c: Likewise.
24541         * debug/memmove_chk.c: Likewise.
24542         * debug/mempcpy_chk.c: Likewise.
24543         * debug/memset_chk.c: Likewise.
24544         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24545         * debug/strcat_chk.c (__strcat_chk): Likewise.
24546         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24547         * debug/strncat_chk.c (__strncat_chk): Likewise.
24548         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24549         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24550         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24551         * debug/wcpncpy_chk.c: Likewise.
24552         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24553         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24554         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24555         * debug/wcsncpy_chk.c: Likewise.
24556         * debug/wcsnrtombs_chk.c: Likewise.
24557         * debug/wcsrtombs_chk.c: Likewise.
24558         * debug/wcstombs_chk.c: Likewise.
24559         * debug/wmemcpy_chk.c: Likewise.
24560         * debug/wmemmove_chk.c: Likewise.
24561         * debug/wmempcpy_chk.c: Likewise.
24562         * debug/wmemset_chk.c: Likewise.
24563         * dirent/scandirat.c (SCANDIRAT): Likewise.
24564         * dlfcn/dladdr1.c (dladdr1): Likewise.
24565         * dlfcn/dladdr.c (dladdr): Likewise.
24566         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24567         * dlfcn/dlerror.c (__dlerror): Likewise.
24568         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24569         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24570         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24571         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24572         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24573         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24574         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24575         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24576         Likewise.
24577         * elf/dl-conflict.c: Likewise.
24578         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24579         * elf/dl-dst.h: Likewise.
24580         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24581         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24582         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24583         * elf/dl-init.c (call_init, _dl_init): Likewise.
24584         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24585         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24586         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24587         Likewise.
24588         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24589         Likewise.
24590         * elf/dl-minimal.c (__libc_memalign): Likewise.
24591         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24592         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24593         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24594         * elf/dl-sym.c (do_sym): Likewise.
24595         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24596         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24597         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24598         * elf/dl-writev.h (_dl_writev): Likewise.
24599         * elf/ldconfig.c (search_dir): Likewise.
24600         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24601         (dl_main): Likewise.
24602         * elf/setup-vdso.h (setup_vdso): Likewise.
24603         * grp/compat-initgroups.c (compat_call): Likewise.
24604         * grp/fgetgrent.c (fgetgrent): Likewise.
24605         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24606         * grp/putgrent.c (putgrent): Likewise.
24607         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24608         Likewise.
24609         * hurd/hurdinit.c: Likewise.
24610         * iconvdata/8bit-gap.c (struct): Likewise.
24611         * iconvdata/ansi_x3.110.c : Likewise.
24612         * iconvdata/big5.c : Likewise.
24613         * iconvdata/big5hkscs.c : Likewise.
24614         * iconvdata/cp1255.c: Likewise.
24615         * iconvdata/cp1258.c : Likewise.
24616         * iconvdata/cp932.c : Likewise.
24617         * iconvdata/euc-cn.c: Likewise.
24618         * iconvdata/euc-jisx0213.c : Likewise.
24619         * iconvdata/euc-jp.c: Likewise.
24620         * iconvdata/euc-jp-ms.c : Likewise.
24621         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24622         * iconvdata/gb18030.c : Likewise.
24623         * iconvdata/gbbig5.c (const): Likewise.
24624         * iconvdata/gbgbk.c: Likewise.
24625         * iconvdata/gbk.c : Likewise.
24626         * iconvdata/ibm1364.c : Likewise.
24627         * iconvdata/ibm930.c : Likewise.
24628         * iconvdata/ibm932.c: Likewise.
24629         * iconvdata/ibm933.c : Likewise.
24630         * iconvdata/ibm935.c : Likewise.
24631         * iconvdata/ibm937.c : Likewise.
24632         * iconvdata/ibm939.c : Likewise.
24633         * iconvdata/ibm943.c: Likewise.
24634         * iconvdata/iso_11548-1.c: Likewise.
24635         * iconvdata/iso-2022-cn.c : Likewise.
24636         * iconvdata/iso-2022-cn-ext.c : Likewise.
24637         * iconvdata/iso-2022-jp-3.c: Likewise.
24638         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24639         * iconvdata/iso-2022-kr.c : Likewise.
24640         * iconvdata/iso646.c (gconv_end): Likewise.
24641         * iconvdata/iso_6937-2.c : Likewise.
24642         * iconvdata/iso_6937.c : Likewise.
24643         * iconvdata/iso8859-1.c: Likewise.
24644         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24645         * iconvdata/shift_jisx0213.c : Likewise.
24646         * iconvdata/sjis.c : Likewise.
24647         * iconvdata/t.61.c : Likewise.
24648         * iconvdata/tcvn5712-1.c : Likewise.
24649         * iconvdata/tscii.c: Likewise.
24650         * iconvdata/uhc.c : Likewise.
24651         * iconvdata/unicode.c (gconv_end): Likewise.
24652         * iconvdata/utf-16.c (gconv_end): Likewise.
24653         * iconvdata/utf-32.c (gconv_end): Likewise.
24654         * iconvdata/utf-7.c (base64): Likewise.
24655         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24656         * iconv/gconv_close.c (__gconv_close): Likewise.
24657         * iconv/gconv_open.c (__gconv_open): Likewise.
24658         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24659         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24660         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24661         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24662         (ucs4le_internal_loop_single): Likewise.
24663         * iconv/iconv.c (iconv): Likewise.
24664         * iconv/iconv_close.c: Likewise.
24665         * iconv/loop.c (SINGLE): Likewise.
24666         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24667         * include/atomic.h: Likewise.
24668         * inet/inet6_option.c (option_alloc): Likewise.
24669         * intl/bindtextdom.c (set_binding_values): Likewise.
24670         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24671         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24672         * intl/localealias.c (read_alias_file): Likewise.
24673         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24674         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24675         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24676         * libio/fmemopen.c (fmemopen): Likewise.
24677         * libio/iofgets.c (_IO_fgets): Likewise.
24678         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24679         * libio/iofgetws.c (fgetws): Likewise.
24680         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24681         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24682         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24683         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24684         * locale/findlocale.c (_nl_find_locale): Likewise.
24685         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24686         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24687         Likewise.
24688         * locale/setlocale.c (setlocale): Likewise.
24689         * login/programs/pt_chown.c (main): Likewise.
24690         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24691         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24692         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24693         (mmap, mmap64, mremap, munmap): Likewise.
24694         * math/e_exp2l.c: Likewise.
24695         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24696         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24697         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24698         * math/s_catan.c (__catan): Likewise.
24699         * math/s_catanf.c (__catanf): Likewise.
24700         * math/s_catanh.c (__catanh): Likewise.
24701         * math/s_catanhf.c (__catanhf): Likewise.
24702         * math/s_catanhl.c (__catanhl): Likewise.
24703         * math/s_catanl.c (__catanl): Likewise.
24704         * math/s_ccosh.c (__ccosh): Likewise.
24705         * math/s_ccoshf.c (__ccoshf): Likewise.
24706         * math/s_ccoshl.c (__ccoshl): Likewise.
24707         * math/s_cexp.c (__cexp): Likewise.
24708         * math/s_cexpf.c (__cexpf): Likewise.
24709         * math/s_cexpl.c (__cexpl): Likewise.
24710         * math/s_clog10.c (__clog10): Likewise.
24711         * math/s_clog10f.c (__clog10f): Likewise.
24712         * math/s_clog10l.c (__clog10l): Likewise.
24713         * math/s_clog.c (__clog): Likewise.
24714         * math/s_clogf.c (__clogf): Likewise.
24715         * math/s_clogl.c (__clogl): Likewise.
24716         * math/s_csin.c (__csin): Likewise.
24717         * math/s_csinf.c (__csinf): Likewise.
24718         * math/s_csinh.c (__csinh): Likewise.
24719         * math/s_csinhf.c (__csinhf): Likewise.
24720         * math/s_csinhl.c (__csinhl): Likewise.
24721         * math/s_csinl.c (__csinl): Likewise.
24722         * math/s_csqrt.c (__csqrt): Likewise.
24723         * math/s_csqrtf.c (__csqrtf): Likewise.
24724         * math/s_csqrtl.c (__csqrtl): Likewise.
24725         * math/s_ctan.c (__ctan): Likewise.
24726         * math/s_ctanf.c (__ctanf): Likewise.
24727         * math/s_ctanh.c (__ctanh): Likewise.
24728         * math/s_ctanhf.c (__ctanhf): Likewise.
24729         * math/s_ctanhl.c (__ctanhl): Likewise.
24730         * math/s_ctanl.c (__ctanl): Likewise.
24731         * math/w_pow.c: Likewise.
24732         * math/w_powf.c: Likewise.
24733         * math/w_powl.c: Likewise.
24734         * math/w_scalb.c (sysv_scalb): Likewise.
24735         * math/w_scalbf.c (sysv_scalbf): Likewise.
24736         * math/w_scalbl.c (sysv_scalbl): Likewise.
24737         * misc/error.c (error_tail): Likewise.
24738         * misc/pselect.c (__pselect): Likewise.
24739         * nis/nis_callback.c (__nis_create_callback): Likewise.
24740         * nis/nis_call.c (__nisfind_server): Likewise.
24741         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24742         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24743         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24744         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24745         * nis/nis_lookup.c (nis_lookup): Likewise.
24746         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24747         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24748         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24749         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24750         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24751         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24752         * nis/nss_compat/compat-initgroups.c (add_group)
24753         (internal_getgrent_r): Likewise.
24754         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24755         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24756         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24757         (internal_getspnam_r): Likewise.
24758         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24759         (_nss_nis_getaliasbyname_r): Likewise.
24760         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24761         (_nss_nis_getntohost_r): Likewise.
24762         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24763         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24764         (_nss_nis_getgrgid_r): Likewise.
24765         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24766         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24767         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24768         (_nss_nis_gethostbyname4_r): Likewise.
24769         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24770         (initgroups_netid): Likewise.
24771         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24772         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24773         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24774         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24775         (_nss_nis_getprotobynumber_r): Likewise.
24776         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24777         (_nss_nis_getsecretkey): Likewise.
24778         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24779         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24780         (_nss_nis_getpwuid_r): Likewise.
24781         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24782         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24783         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24784         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24785         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24786         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24787         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24788         Likewise.
24789         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24790         (_nss_nisplus_getntohost_r): Likewise.
24791         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24792         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24793         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24794         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24795         Likewise.
24796         * nis/nss_nisplus/nisplus-initgroups.c
24797         (_nss_nisplus_initgroups_dyn): Likewise.
24798         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24799         (_nss_nisplus_getnetbyaddr_r): Likewise.
24800         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24801         (_nss_nisplus_getprotobynumber_r): Likewise.
24802         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24803         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24804         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24805         Likewise.
24806         * nis/nss_nisplus/nisplus-service.c
24807         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24808         (_nss_nisplus_getservbyport_r): Likewise.
24809         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24810         (_nss_nisplus_getspnam_r): Likewise.
24811         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24812         Likewise.
24813         * nscd/aicache.c (addhstaiX): Likewise.
24814         * nscd/cache.c (cache_search, prune_cache): Likewise.
24815         * nscd/connections.c (register_traced_file, send_ro_fd)
24816         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24817         (main_loop_epoll): Likewise.
24818         * nscd/grpcache.c (addgrbyX): Likewise.
24819         * nscd/hstcache.c (addhstbyX): Likewise.
24820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24821         * nscd/mem.c (gc, mempool_alloc): Likewise.
24822         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24823         (addinnetgrX): Likewise.
24824         * nscd/nscd-client.h (__nscd_acquire_maplock)
24825         (__nscd_drop_map_ref): Likewise.
24826         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24827         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24828         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24829         Likewise.
24830         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24831         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24832         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24833         (__nscd_get_map_ref): Likewise.
24834         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24835         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24836         Likewise.
24837         * nscd/pwdcache.c (addpwbyX): Likewise.
24838         * nscd/selinux.c (preserve_capabilities): Likewise.
24839         * nscd/servicescache.c (addservbyX): Likewise.
24840         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24841         * posix/fnmatch.c (fnmatch): Likewise.
24842         * posix/getopt.c (_getopt_internal_r): Likewise.
24843         * posix/glob.c (glob, glob_in_dir): Likewise.
24844         * posix/wordexp.c (exec_comm_child): Likewise.
24845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24846         (getanswer_r, gaih_getanswer_slice): Likewise.
24847         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24848         * resolv/res_init.c: Likewise.
24849         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24850         * resolv/res_query.c (__libc_res_nquery): Likewise.
24851         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24852         Likewise.
24853         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24854         * stdio-common/perror.c (perror): Likewise.
24855         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24856         * stdio-common/tmpnam.c (tmpnam): Likewise.
24857         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24858         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24859         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24860         Likewise.
24861         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24862         * stdlib/putenv.c (putenv): Likewise.
24863         * stdlib/setenv.c (__add_to_environ): Likewise.
24864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24865         * stdlib/strtol_l.c (INTERNAL): Likewise.
24866         * string/memmem.c (memmem): Likewise.
24867         * string/strerror.c (strerror): Likewise.
24868         * string/strnlen.c (__strnlen): Likewise.
24869         * string/test-memmem.c (simple_memmem): Likewise.
24870         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24871         * sunrpc/pm_getport.c (__get_socket): Likewise.
24872         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24873         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24874         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24875         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24876         Likewise.
24877         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24878         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24879         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24880         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24881         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24882         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24883         Likewise.
24884         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24885         Likewise.
24886         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24887         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24888         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24889         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24890         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24892         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24893         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24894         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24895         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24896         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24897         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24898         Likewise.
24899         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24900         Likewise.
24901         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24902         Likewise.
24903         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24904         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24905         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24906         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24907         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24909         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24911         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24913         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24915         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24916         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24918         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24919         Likewise.
24920         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24921         Likewise.
24922         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24923         Likewise.
24924         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24925         Likewise.
24926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24928         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24929         Likewise.
24930         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24931         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24932         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24933         * sysdeps/posix/sleep.c: Likewise.
24934         * sysdeps/posix/tempname.c: Likewise.
24935         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24936         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24937         Likewise.
24938         * sysdeps/powerpc/powerpc32/dl-machine.h
24939         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24940         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24942         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24943         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24944         Likewise.
24945         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24947         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24949         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24950         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24951         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24952         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24953         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24954         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24955         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24956         (elf_machine_lazy_rel): Likewise.
24957         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24959         (elf_machine_lazy_rel): Likewise.
24960         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24961         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24962         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24963         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24964         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24965         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24966         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24967         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24968         Likewise.
24969         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24970         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24971         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24972         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24973         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24974         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24975         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24976         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24977         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24979         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24980         Likewise.
24981         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24982         (__posix_fallocate64_l64): Likewise.
24983         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24984         (posix_fallocate): Likewise.
24985         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24986         Likewise.
24987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24988         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24989         (getifaddrs_internal): Likewise.
24990         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24991         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24992         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24993         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24994         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24995         (__posix_fallocate64_l64): Likewise.
24996         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24997         Likewise.
24998         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25000         (__get_clockfreq): Likewise.
25001         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25002         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25003         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25004         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25006         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25007         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25008         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25009         Likewise.
25010         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25011         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25012         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25013         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25014         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25015         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25016         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25017         Likewise.
25018         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25019         (posix_fallocate): Likewise.
25020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25021         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25022         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25023         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25024         (elf_machine_rela, elf_machine_rela_relative)
25025         (elf_machine_lazy_rel): Likewise.
25026         * time/asctime.c (asctime_internal): Likewise.
25027         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25028         * time/tzset.c (__tzset_parse_tz): Likewise.
25029         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25030         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25031         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25032         * wcsmbs/wcsmbsload.h: Likewise.
25034         [BZ #15894]
25035         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25037         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25038         (arena_get2): Remove THREAD_STATS conditionals.
25039         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25040         (__malloc_stats, int): Likewise.
25042 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25044         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25045         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25047         * manual/setjmp.texi: Fix typos/grammar errors.
25049         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25050         Only return early when n is <= 0.  Delete unused return statement.
25052         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25053         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25054         * debug/tst-longjmp_chk3.c: New file.
25056         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25057         (test_main): Replace code with set_fortify_handler call.
25058         * debug/test-strcpy_chk.c: Likewise.
25059         * debug/tst-chk1.c: Likewise.
25060         * debug/tst-longjmp_chk.c: Likewise.
25061         * test-skeleton.c: Include fcntl.h & paths.h
25062         (set_fortify_handler): Define.
25064         * debug/tst-longjmp_chk.c: Add header comment and include
25065         ../test-skeleton.c.
25066         (do_test): Mark static.
25067         (TEST_FUNCTION): Define.
25069         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25070         (IP_PMTUDISC_INTERFACE): Likewise.
25071         (IP_MULTICAST_IF): Likewise.
25072         (IP_MULTICAST_TTL): Likewise.
25073         (IP_MULTICAST_LOOP): Likewise.
25074         (IP_ADD_MEMBERSHIP): Likewise.
25075         (IP_DROP_MEMBERSHIP): Likewise.
25076         (IP_UNBLOCK_SOURCE): Likewise.
25077         (IP_BLOCK_SOURCE): Likewise.
25078         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25079         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25080         (IP_MSFILTER): Likewise.
25081         (MCAST_JOIN_GROUP): Likewise.
25082         (MCAST_BLOCK_SOURCE): Likewise.
25083         (MCAST_UNBLOCK_SOURCE): Likewise.
25084         (MCAST_LEAVE_GROUP): Likewise.
25085         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25086         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25087         (MCAST_MSFILTER): Likewise.
25088         (IP_MULTICAST_ALL): Likewise.
25089         (IP_UNICAST_IF): Likewise.
25091         * timezone/Makefile: Delete $(have-ksh) check.
25092         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25093         * timezone/tzselect.ksh: Add +x mode bits.
25095         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25096         (ANON_INODE_FS_MAGIC): Likewise.
25097         (BDEVFS_MAGIC): Likewise.
25098         (BINFMTFS_MAGIC): Likewise.
25099         (BTRFS_TEST_MAGIC): Likewise.
25100         (CRAMFS_MAGIC_WEND): Likewise.
25101         (DEBUGFS_MAGIC): Likewise.
25102         (ECRYPTFS_SUPER_MAGIC): Likewise.
25103         (EXT3_SUPER_MAGIC): Likewise.
25104         (EXT4_SUPER_MAGIC): Likewise.
25105         (FUTEXFS_SUPER_MAGIC): Likewise.
25106         (HOSTFS_SUPER_MAGIC): Likewise.
25107         (HUGETLBFS_MAGIC): Likewise.
25108         (MINIX3_SUPER_MAGIC): Likewise.
25109         (MTD_INODE_FS_MAGIC): Likewise.
25110         (NILFS_SUPER_MAGIC): Likewise.
25111         (OPENPROM_SUPER_MAGIC): Likewise.
25112         (PIPEFS_MAGIC): Likewise.
25113         (PSTOREFS_MAGIC): Likewise.
25114         (QNX6_SUPER_MAGIC): Likewise.
25115         (RAMFS_MAGIC): Likewise.
25116         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25117         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25118         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25119         (SECURITYFS_MAGIC): Likewise.
25120         (SELINUX_MAGIC): Likewise.
25121         (SMACK_MAGIC): Likewise.
25122         (SOCKFS_MAGIC): Likewise.
25123         (SQUASHFS_MAGIC): Likewise.
25124         (STACK_END_MAGIC): Likewise.
25125         (TMPFS_MAGIC): Likewise.
25126         (USBDEVICE_SUPER_MAGIC): Likewise.
25127         (V9FS_MAGIC): Likewise.
25128         (XENFS_SUPER_MAGIC): Likewise.
25129         (CRAMFS_MAGIC): Fix typo in comment.
25130         (EXT2_SUPER_MAGIC): Update comment.
25131         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25133 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25135         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25136         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25137         * sysdeps/unix/sysv/linux/arm: Move directory from
25138         ports/sysdeps/unix/sysv/linux/arm.
25139         * README: Update listing for arm-*-linux-gnueabi.
25141         * README: Remove mention of am33.
25143 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25145         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25146         than the comma operator, to avoid "rhs of comma has no effect"
25147         compiler warnings.
25148         (__sigfillset, __sigandset, __sigorset): Likewise.
25149         * include/signal.h (__sigemptyset): Likewise.
25150         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25152 2014-02-07  Allan McRae  <allan@archlinux.org>
25154         * version.h (RELEASE): Set to "development".
25155         (VERSION): Set to "2.19.90"
25156         * NEWS: Add 2.20 section.
25158 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25160         [BZ #16529]
25161         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25163 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25165         * manual/contrib.texi: Update entry for Carlos O'Donell,
25166         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25168 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25170         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25172         * sysdeps/unix/sysv/linux/kernel-features.h
25173         [__LINUX_KERNEL_VERSION >= 0x020621]
25174         (__ASSUME_PROC_PID_TASK_COMM): Define.
25176 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25178         [BZ #16398]
25179         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25180         conversion when destination buffer does not have enough space.
25181         * libio/tst-ftell-partial-wide.c: New test case.
25182         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25184         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25185         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25186         Leonard and Allan McRae.
25188 2014-02-04  David S. Miller  <davem@davemloft.net>
25190         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25191         32-bit.
25193 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25196         New file
25197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25198         New file
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25200         New file.
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25202         New file.
25203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25204         New file.
25205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25206         New file.
25207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25208         New file.
25209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25210         New file.
25211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25212         New file.
25213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25214         New file.
25215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25216         New file.
25217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25218         New file.
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25220         New file.
25222 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25224         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25225         * shlib-versions: Likewise.
25227 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25228             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25230         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25231         (abilist-pattern): New variable, set to %-le.abilist.
25233         * Makerules (abilist-pattern): New variable.
25234         (vpath): Use $(abilist-pattern) in place of %.abilist.
25235         (check-abi-% pattern rule): Likewise.
25236         (check-abi, update-abi): Likewise.
25238 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25242 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25244         * manual/startup.texi: Add next, previous, and top entries for
25245         the `Program Arguments' and `Environment Variables' nodes.
25247 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25249         * manual/macros.texi: Add comments before MTASC-safety macros.
25251         * manual/users.texi: Document MTASC-safety properties.
25253         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25254         (pthread_getspecific, pthread_setspecific): Format with
25255         @deftypefun, and add @safety note.
25256         * manual/signal.texi: Move comments that analyze the above
25257         functions to their home place.
25259 2014-02-03  Allan McRae  <allan@archlinux.org>
25261         * po/sl.po: Update Slovenian translation from translation project.
25263 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25265         * manual/time.texi (timegm): Add missing blank after @c.
25266         Reported by Joseph Myers <joseph@codesourcery.com>.
25268 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25270         * manual/check-safety.sh: New.
25271         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25273         * manual/terminal.texi: Document MTASC-safety properties.
25275         * manual/filesys.texi: Document MTASC-safety properties.
25277         * manual/errno.texi: Document MTASC-safety properties.
25279         * manual/intro.texi: Document safety identifiers and
25280         conditionals.
25282         * manual/string.texi (wcstok): Fix prototype.
25283         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25285         * manual/time.texi: Document MTASC-safety properties.
25287         * manual/string.texi: Document MTASC-safety properties.
25289         * manual/threads.texi: Document MTASC-safety properties.
25291         * manual/stdio.texi: Document MTASC-safety properties.
25293         * manual/syslog.texi: Document MTASC-safety properties.
25295         * manual/sysinfo.texi: Document MTASC-safety properties.
25297         * manual/startup.texi: Document MTASC-safety properties.
25299         * manual/socket.texi: Document MTASC-safety properties.
25301         * manual/signal.texi: Document MTASC-safety properties.
25303 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25305         * manual/setjmp.texi: Document MTASC-safety properties.
25307         * manual/search.texi: Document MTASC-safety properties.
25309         * manual/resource.texi: Document MTASC-safety properties.
25311         * manual/process.texi: Document MTASC-safety properties.
25313         * manual/platform.texi: Document MTASC-safety properties.
25315         * manual/pipe.texi: Document MTASC-safety properties.
25317         * manual/pattern.texi: Document MTASC-safety properties.
25319         * manual/message.texi: Document MTASC-safety properties.
25321         [BZ #12751]
25322         * manual/memory.texi: Document MTASC-safety properties.
25324         * manual/math.texi: Document MTASC-safety properties.
25326         * manual/locale.texi: Document MTASC-safety properties.
25328         * manual/llio.texi: Document MTASC-safety properties.
25330         * manual/libdl.texi: New.
25332         * manual/lang.texi: Document MTASC-safety properties.
25334         * manual/job.texi: Document MTASC-safety properties.
25336         * manual/getopt.texi: Document MTASC-safety properties.
25338         * manual/ctype.texi: Document MTASC-safety properties.
25340 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25342         [BZ #16046]
25343         * csu/libc-tls.c (static_map): Remove variable.
25344         (__libc_setup_tls): Use main executable's link map for TLS data.
25345         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25346         casing for LM_ID_BASE and GL(dl_nns).
25347         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25348         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25349         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25350         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25351         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25352         member.
25353         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25354         l_phnum members.
25356 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25358         * manual/debug.texi: Document MTASC-safety properties.
25360 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25362         [BZ #16510]
25363         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25364         of __x86_64__ when disabling x87 inline functions.
25366 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25368         * manual/charset.texi: Document MTASC-safety properties.
25370         * manual/crypt.texi: Document MTASC-safety properties.
25372         * manual/conf.texi: Document MTASC-safety properties.
25374         * manual/arith.texi: Document MTASC-safety properties.
25376         * manual/argp.texi: Document MTASC-safety properties.
25378         * manual/macros.texi: Introduce macros to document multi
25379         thread, asynchronous signal and asynchronous cancellation
25380         safety properties.
25381         * manual/intro.texi: Introduce the properties themselves.
25383 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25385         * sysdeps/sh/sh4/Makefile: New file.
25387 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25389         * math/gen-libm-test.pl ($srcdir): New variable.
25390         ($auto_input): Use it.
25392 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25394         [BZ #16506]
25395         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25396         access beyond array bounds when parsing netgroups file.
25398         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25399         the old buffer before realloc.
25401 2014-01-27  Allan McRae  <allan@archlinux.org>
25403         * po/fr.po: Update French translation from translation project.
25405 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25407         * sysdeps/sh/libm-test-ulps: Regenerate.
25409 2014-01-24  David S. Miller  <davem@davemloft.net>
25411         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25413 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25415         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25416         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25418 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25420         [BZ #16474]
25421         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25422         string pointers after reallocation.
25424 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25426         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25427         __SH4A__ instead of __SH_FPU_ANY__.
25429 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25431         * sysdeps/sh/fpu_control.h: New file.
25432         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25433         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25434         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25435         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25436         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25437         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25438         * sysdeps/sh/sys/ucontext.h: Remove.
25439         * sysdeps/sh/sys: Remove directory.
25441 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25443         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25444         s390/sys/ucontext.h.
25445         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25446         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25448 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25450         [BZ #15605]
25451         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25453 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25455         [BZ#16431]
25456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25457         Adjust the vDSO correctly for internal calls.
25458         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25460 2014-01-20  Allan McRae  <allan@archlinux.org>
25462         * po/ca.po: Update Catalan translation from translation project.
25464 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25466         * sysdeps/s390/sotruss-lib.c: New file.
25468 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25470         [BZ#16430]
25471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25472         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25473         local calls issues by not having a PLT stub required for IFUNC calls.
25474         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25476 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25478         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25479         * math/test-fpucw-static.c: Likewise.
25481 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25483         [BZ #16453]
25484         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25486 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25488         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25489         implementation for powerpc.
25491 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25493         [BZ #14782]
25494         * sysdeps/posix/system.c (__libc_system): Do not enable
25495         asynchronous cancellation.
25497 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25499         [BZ #16427]
25500         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25501         handling only for numbers special also in the IEEE case.
25503 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25505         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25507 2014-01-11  Allan McRae  <allan@archlinux.org>
25509         * po/bg.po: Update Bulgarian translation from translation project.
25511         * po/de.po: Update German translation from translation project.
25513 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25515         * sysdeps/generic/gcc-compat.h: New file.
25517 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25519         * benchtests/asin-inputs: Correct slow inputs.
25520         * benchtests/acos-inputs: Likewise.
25522 2014-01-10  Allan McRae  <allan@archlinux.org>
25524         * po:sv.po: Update Swedish translation from translation project.
25526         * po/vi.po: Update Vietnamese translation from translation project.
25528         * po/eo.po: Update Esperanto translation from translation project.
25530         * po/cs.po: Update Czech translation from translation project.
25532         * po/nl.po: Update Dutch translation from translation project.
25534         * po/pl.po: Update Polish translation from translation project.
25536         * po/ru.po: Update Russian translation from translation project.
25538         * po/uk.po: Update Ukrainian translation from translation project.
25540 2014-01-08  Brooks Moses  <bmoses@google.com>
25542         * elf/dl-load.c: Fix comment typo.
25544 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25546         * po/header.pot: Rename to...
25547         * po/pot.header: ... this.
25548         * po/Makefile: Use pot.header.
25550 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25551             Maxim Kuvyrkov  <maxim@kugelworks.com>
25553         [BZ #16394]
25554         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25555         SRC and DEST against LEN.
25557 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25559         [BZ #16414]
25560         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25561         implementation.
25562         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25564 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25568 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25570         [BZ #16408]
25571         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25572         for large positive arguments.
25574 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25576         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25578         * math/auto-libm-test-in: Mark various tests with
25579         xfail-rounding:ldbl-128ibm.
25580         * math/auto-libm-test-out: Regenerated.
25582         [BZ #16407]
25583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25584         Increase overflow threshold.
25586 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25588         [BZ #14286]
25589         * stdio-common/vfprintf.c: Check for integer overflow.
25591 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25593         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25594         the first argument and return value of __tls_get_addr_internal.
25596 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25598         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25599         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25601 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25603         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25604         * sysdeps/s390/rtld-global-offsets.sym: New file.
25605         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25606         GLIBC_2.19 symbol.
25607         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25608         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25609         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25610         ... this.
25611         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25613         ... this.
25614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25615         Regenerate.
25616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25617         Regenerate.
25618         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25619         halfs of GPRs for high_gprs contexts.
25620         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25621         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25622         field.
25623         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25624         uc_flags field.
25625         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25626         64 bit versions:
25627         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25628         for high GPRs (uc_high_gprs) and for future extensions
25629         (__reserved).
25630         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25631         for future extensions (__reserved).
25632         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25633         64 bit versions:
25634         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25635         SC_HIGHGPRS offset definition.
25636         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25637         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25639         * Versions.def: Add GLIBC_2.19 for libpthread.
25640         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25641         siglongjmp for libpthread with GLIBC_2.19 symver.
25642         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25643         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25644         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25645         * sysdeps/s390/__longjmp.c: New file.
25646         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25647         * sysdeps/s390/longjmp.c: New file.
25648         * sysdeps/s390/setjmp.S: New file.
25649         * sysdeps/s390/sigjmp.S: New file.
25650         * sysdeps/s390/v1-longjmp.c: New file.
25651         * sysdeps/s390/v1-setjmp.h: New file.
25652         * sysdeps/s390/v1-sigjmp.c: New file.
25653         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25654         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25655         GLIBC_2.19 version.
25656         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25658         versioned symbols for ____longjmp_chk.
25659         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25660         Likewise.
25661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25662         Regenerate.
25663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25664         Regenerate.
25665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25666         Regenerate.
25667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25668         Regenerate.
25669         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25670         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25671         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25672         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25673         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25674         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25675         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25676         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25677         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25678         * sysdeps/s390/rtld-__longjmp.c: New file.
25679         * sysdeps/s390/rtld-setjmp.S: New file.
25681 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25683         [BZ #16400]
25684         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25685         Return -__logl (x) for small positive arguments without evaluating
25686         a polynomial.
25688 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25690         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25691         Rename to ...
25692         (__ptrace_peeksiginfo_args): ... this.
25693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25697 2014-01-06  Allan McRae  <allan@archlinux.org>
25699         * inet/netinet/in.h: Fix typo in comment.
25701 2014-01-05  Andreas Jaeger  <aj@suse.de>
25703         * sysdeps/i386/fpu/libm-test-ulps: Update.
25705 2014-01-05  Allan McRae  <allan@archlinux.org>
25707         * po/libc.pot: Regenerated.
25709         * malloc/memusagestat.c: Fix gettext call formatting.
25711 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25713         * nscd/nscd.c: Improve usage() output.
25715 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25717         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25718         * sysdeps/unix/sysv/linux/configure: Regenerated.
25719         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25720         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25722 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25724         [BZ #16390]
25725         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25726         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25728 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25730         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25731         extra tokens at end of #undef directive.
25732         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25733         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25734         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25736 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25740         * math/auto-libm-test-in: Mark various tests with
25741         xfail-rounding:ldbl-128ibm.
25742         * math/auto-libm-test-out: Regenerated.
25744 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25746         [BZ #16386]
25747         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25748         numbers with subnormal high part when calculating exponent.
25750         [BZ #16385]
25751         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25752         fabs.
25754         [BZ #16384]
25755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25756         M_LN2l.
25757         (__ieee754_acoshl): Use __log1pl not __log1p.
25759 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25761         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25762         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25763         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25764         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25765         (reused_arena, arena_get2): Convert to GNU style.
25766         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25767         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25768         (memalign_check, __malloc_set_state): Likewise.
25769         * malloc/mallocbug.c (main): Likewise.
25770         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25771         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25772         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25773         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25774         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25775         (__posix_memalign, malloc_info): Likewise.
25776         * malloc/malloc.h: Likewise.
25777         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25778         (mallochook, memalignhook, reallochook, mabort): Likewise.
25779         * malloc/mcheck.h: Likewise.
25780         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25781         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25782         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25783         * malloc/morecore.c (__default_morecore): Likewise.
25784         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25785         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25786         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25787         (print_and_abort): Likewise.
25788         * malloc/obstack.h: Likewise.
25789         * malloc/set-freeres.c (__libc_freeres): Likewise.
25790         * malloc/tst-mallocstate.c (main): Likewise.
25791         * malloc/tst-mtrace.c (main): Likewise.
25792         * malloc/tst-realloc.c (do_test): Likewise.
25794 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25796         [BZ #16366]
25797         * nscd/netgroupcache.c (do_notfound): New function.
25798         (addgetnetgrentX): Use it.
25800         [BZ # 16365]
25801         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25802         NSS_STATUS_NOTFOUND.
25804 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25806         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25809 2014-01-01  Allan McRae  <allan@archlinux.org>
25811         * scripts/update-copyrights: Update configure input file suffix.
25813         * NEWS: Update copyright year.
25814         * catgets/gencat.c: Likewise.
25815         * csu/version.c: Likewise.
25816         * debug/catchsegv.sh: Likewise.
25817         * debug/pcprofiledump.c: Likewise.
25818         * debug/xtrace.sh: Likewise.
25819         * elf/ldconfig.c: Likewise.
25820         * elf/ldd.bash.in: Likewise.
25821         * elf/pldd.c: Likewise.
25822         * elf/sotruss.ksh: Likewise.
25823         * elf/sprof.c: Likewise.
25824         * iconv/iconv_prog.c: Likewise.
25825         * iconv/iconvconfig.c: Likewise.
25826         * locale/programs/locale.c: Likewise.
25827         * locale/programs/localedef.c: Likewise.
25828         * login/programs/pt_chown.c: Likewise.
25829         * malloc/memusage.sh: Likewise.
25830         * malloc/memusagestat.c: Likewise.
25831         * malloc/mtrace.pl: Likewise.
25832         * manual/libc.texinfo: Likewise.
25833         * nscd/nscd.c: Likewise.
25834         * nss/getent.c: Likewise.
25835         * nss/makedb.c: Likewise.
25836         * posix/getconf.c: Likewise.
25837         * scripts/test-installation.pl: Likewise.
25839         * All files with FSF copyright notices: Update copyright dates
25840         using scripts/update-copyrights.
25841         * intl/plural.c: Regenerated.
25842         * locale/programs/charmap-kw.h: Likewise.
25843         * locale/programs/locfile-kw.h: Likewise.
25845 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25847         * sysdeps/unix/sysv/linux/configure: Regenerated.
25848         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25849         the linux/fanotify.h header.
25850         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25851         HAVE_LINUX_FANOTIFY_H is defined.
25853 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25855         * benchtests/cos-inputs: New inputs.
25856         * benchtests/sin-inputs: Likewise.
25858         * benchtests/atan-inputs: New inputs. Fix name of multiple
25859         precision fallback inputs.
25861         * benchtests/atanh-inputs: New inputs.
25862         * benchtests/tanh-inputs: Likewise.
25864         * benchtests/acosh-inputs: New inputs.
25865         * benchtests/asinh-inputs: Likewise.
25867         * benchtests/cosh-inputs: New inputs.
25868         * benchtests/sinh-inputs: Likewise.
25870         * benchtests/acos-inputs: Add more inputs.
25871         * benchtests/asin-inputs: Likewise.
25873 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25875         [BZ #16375]
25876         * manual/arith.texi: Fix spelling.
25877         * manual/charset.texi: Likewise.
25878         * manual/errno.texi: Likewise.
25879         * manual/filesys.texi: Likewise.
25880         * manual/lang.texi: Likewise.
25881         * manual/llio.texi: Likewise.
25882         * manual/locale.texi: Likewise.
25883         * manual/message.texi: Likewise.
25884         * manual/resource.texi: Likewise.
25885         * manual/search.texi: Likewise.
25886         * manual/setjmp.texi: Likewise.
25887         * manual/stdio.texi: Likewise.
25888         * manual/string.texi: Likewise.
25889         * manual/sysinfo.texi: Likewise.
25890         * manual/time.texi: Likewise.
25892 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25894         * po/sl.po: New file.
25896 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25898         * .gitignore: Add core/.gdbinit/.gdb_history.
25900 2013-12-27  Allan McRae  <allan@archlinux.org>
25902         [BZ #16369]
25903         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25904         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25906 2013-12-24  Brooks Moses  <bmoses@google.com>
25908         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25909         all compilers that claim C++98 compliance, not just GCC.
25910         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25911         Likewise.
25913 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25915         * NEWS: Restore accidentally deleted bug-fix entries.
25917 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25918             Ondřej Bílka  <neleai@seznam.cz>
25920         [BZ #15073]
25921         * malloc/malloc.c (_int_free): Perform sanity check only if we
25922         have_lock.
25924 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25926         [BZ #12986]
25927         * manual/stdio.texi (String Input Conversions): Clarify that character
25928         classes are not supported.
25930 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25934 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25936         [BZ #16337]
25937         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25938         Calculate results for small negative arguments directly rather
25939         than using reflection formula with special underflow handling.
25941         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25942         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25943         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25944         (fchflags): Likewise.
25945         (revoke): Likewise.
25946         (setlogin): Likewise.
25947         (sigaltstack): Likewise.
25948         (wait4): Likewise.
25949         (sigblock): Remove.
25950         (sigsetmask): Likewise.
25951         (wait3): Likewise.
25952         (waitpid): Likewise.
25953         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25954         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25955         file.
25956         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25957         * sysdeps/unix/bsd/Makefile: ... here.
25958         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25959         * sysdeps/unix/bsd/Versions: ... here.
25960         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25961         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25962         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25963         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25964         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25965         * sysdeps/unix/bsd/sigblock.c: ... here.
25966         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25967         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25968         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25969         * sysdeps/unix/bsd/sigvec.c: ... here.
25970         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25971         * sysdeps/unix/bsd/tcdrain.c: ... here.
25972         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25973         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25974         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25975         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25976         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25977         * sysdeps/unix/bsd/wait.c: ... here.
25978         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25979         * sysdeps/unix/bsd/wait3.c: ... here.
25980         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25981         * sysdeps/unix/bsd/waitpid.c: ... here.
25983 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25985         [BZ #16356]
25986         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25987         round-to-nearest for [!USE_AS_EXPM1L].
25988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25989         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25990         more tests of exp and exp10.  Expect some exp10 tests to miss
25991         exceptions or fail in directed rounding modes.
25992         * math/auto-libm-test-out: Regenerated.
25993         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25994         (exp10_test_tonearest): New function.
25995         (exp10_towardzero_test_data): New array.
25996         (exp10_test_towardzero): New function.
25997         (exp10_downward_test_data): New array.
25998         (exp10_test_downward): New function.
25999         (exp10_upward_test_data): New array.
26000         (exp10_test_upward): New function.
26001         (main): Call the new functions.
26002         * sysdeps/i386/fpu/libm-test-ulps: Update.
26003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26005 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26007         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26008         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26009         * math/auto-libm-test-out: Regenerated.
26010         * math/libm-test.inc (acosh_test_data): Add more tests.
26011         (atanh_test_data): Likewise.
26012         (ceil_test_data): Likewise.
26013         (copysign_test_data): Likewise.
26014         * sysdeps/i386/fpu/libm-test-ulps: Update.
26015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26017         * timezone/checktab.awk: Update from tzcode 2013i.
26018         * timezone/private.h: Likewise.
26019         * timezone/scheck.c: Likewise.
26020         * timezone/tzfile.h: Likewise.
26021         * timezone/tzselect.ksh: Likewise.
26022         * timezone/zdump.c: Likewise.
26023         * timezone/zic.c: Likewise.
26025         * math/auto-libm-test-in: Add tests of cpow.
26026         * math/auto-libm-test-out: Regenerated.
26027         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26029         mpc_cc_c.
26030         (func_calc_desc): Add mpc_cc_c union field.
26031         (test_functions): Add cpow.
26032         (special_fill_2pi): New function.
26033         (special_real_inputs): Add 2pi.
26034         (calc_generic_results): Handle mpc_cc_c.
26035         * sysdeps/i386/fpu/libm-test-ulps: Update.
26036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26038         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26039         csqrt, ctan and ctanh.
26040         * math/auto-libm-test-out: Regenerated.
26041         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26042         (TEST_COND_x86): Likewise.
26043         (ccos_test_data): Use AUTO_TESTS_c_c.
26044         (ccosh_test_data): Likewise.
26045         (cexp_test_data): Likewise.
26046         (clog_test_data): Likewise.
26047         (csqrt_test_data): Likewise.
26048         (ctan_test_data): Likewise.
26049         (ctan_tonearest_test_data): Likewise.
26050         (ctan_towardzero_test_data): Likewise.
26051         (ctan_downward_test_data): Likewise.
26052         (ctan_upward_test_data): Likewise.
26053         (ctanh_test_data): Likewise.
26054         (ctanh_tonearest_test_data): Likewise.
26055         (ctanh_towardzero_test_data): Likewise.
26056         (ctanh_downward_test_data): Likewise.
26057         (ctanh_upward_test_data): Likewise.
26058         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26059         mpc_c_c.
26060         (func_calc_desc): Add mpc_c_c union field.
26061         (FUNC_mpc_c_c): New macro.
26062         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26063         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26064         ctanh.
26065         (special_fill_min_subnorm_p120): New function.
26066         (special_real_inputs): Add min_subnorm_p120.
26067         (calc_generic_results): Handle mpc_c_c.
26068         * sysdeps/i386/fpu/libm-test-ulps: Update.
26069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26074         (do_sin_slow): New functions.
26075         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26076         (cslow2, csloww1, csloww2): Use the new functions.
26078         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26079         Use M to change sign of result instead of X.  Assume X is
26080         positive.
26081         (csloww1): Likewise.
26082         (__sin): Adjust.
26083         (__cos): Adjust.
26085         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26086         arguments A and DA.
26087         (__sin): Adjust.
26088         (__cos): Likewise.
26090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26091         (__cos): Likewise.
26092         (sloww1): Don't adjust sign of DX.
26093         (csloww1): Likewise.
26094         (sloww2): Use X directly and don't adjust sign of DX.
26095         (csloww2): Likewise.
26097 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26099         * math/auto-libm-test-in: Add tests of cabs and carg.
26100         * math/auto-libm-test-out: Regenerated.
26101         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26102         (carg_test_data): Likewise.
26103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26104         mpc_c_f.
26105         (func_calc_desc): Add mpc_c_f union field.
26106         (test_functions): Add cabs and carg.
26107         (calc_generic_results): Handle mpc_c_f.
26109         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26110         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26111         as a macro and a compat symbol.
26112         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26113         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26114         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26115         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26116         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26117         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26118         not use .hidden.
26119         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26120         Likewise.
26121         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26122         Likewise.
26123         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26124         Likewise.
26125         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26126         Likewise.
26127         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26128         Likewise.
26129         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26130         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26131         from GLIBC_2.3.2.
26133 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26137 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26139         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26140         trailing whitespace removed.
26141         * scripts/config.guess: Update to version 2013-11-29.
26142         * scripts/config.sub: Update to version 2013-10-01.
26144         * math/auto-libm-test-in: Add tests of sincos.
26145         * math/auto-libm-test-out: Regenerated.
26146         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26148         mpfr_f_11.
26149         (func_calc_desc): Add mpfr_f_11 union field.
26150         (test_functions): Add sincos.
26151         (calc_generic_results): Handle mpfr_f_11.
26152         * sysdeps/i386/fpu/libm-test-ulps: Update.
26153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26155 2013-12-19  Andreas Schwab  <schwab@suse.de>
26157         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26158         CALL_MCOUNT.
26159         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26160         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26161         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26163 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26165         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26166         * sysdeps/i386/fpu/libm-test-ulps: Update.
26167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26169         [BZ #16293]
26170         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26171         round-to-nearest mode when using frndint.
26172         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26173         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26174         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26175         Likewise.
26176         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26177         sinh test to fail.
26178         * math/auto-libm-test-out: Regenerated.
26179         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26180         (TEST_COND_x86): Likewise.
26181         (expm1_tonearest_test_data): New array.
26182         (expm1_test_tonearest): New function.
26183         (expm1_towardzero_test_data): New array.
26184         (expm1_test_towardzero): New function.
26185         (expm1_downward_test_data): New array.
26186         (expm1_test_downward): New function.
26187         (expm1_upward_test_data): New array.
26188         (expm1_test_upward): New function.
26189         (main): Run the new test functions.
26190         * sysdeps/i386/fpu/libm-test-ulps: Update.
26191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26193         * include/features.h: Update comment documenting feature test
26194         macros.  Mention _DEFAULT_SOURCE in comment.
26195         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26196         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26197         _BSD_SOURCE and _SVID_SOURCE.
26198         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26199         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26200         !_SVID_SOURCE]: Likewise.
26201         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26202         (__USE_POSIX_IMPLICITLY): Define.
26203         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26204         (_POSIX_SOURCE): Undefine and redefine.
26205         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26206         (_POSIX_C_SOURCE): Likewise.
26207         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26208         (Feature Test Macros): Update documentation of default features.
26210 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26212         * benchtests/Makefile: Add bench-strtok.
26213         * benchtests/bench-strtok.c: New file: strtok benchtest.
26215 2013-12-19  Allan McRae  <allan@archlinux.org>
26217         * manual/install.texi: Suppress menu for plain text output.
26218         * INSTALL: Regenerated.
26220 2013-12-18  Brooks Moses  <bmoses@google.com>
26222         [BZ #15846]
26223         * misc/getauxval.c: Include errno.h.
26224         (__getauxval): Set errno to ENOENT if the requested type is not
26225         found.
26226         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26227         don't declare with __attribute_const__.
26228         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26229         * manual/startup.texi: Document that getauxval sets errno.
26231 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26233         * math/auto-libm-test-in: Add tests of jn and yn.
26234         * math/auto-libm-test-out: Regenerated.
26235         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26236         (yn_test_data): Likewise.
26237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26238         mpfr_if_f.
26239         (func_calc_desc): Add mpfr_if_f union field.
26240         (FUNC_mpfr_if_f): New macro.
26241         (test_functions): Add jn and yn.
26242         (calc_generic_results): Assert type of second input for
26243         mpfr_ff_f.  Handle mpfr_if_f.
26244         (output_for_one_input_case): Disable all checking for arguments
26245         fitting floating-point types in case of an integer argument.
26246         * sysdeps/i386/fpu/libm-test-ulps: Update.
26247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26250         Don't expect fegetround reference in libm.so.
26252 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26254         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26255         $(config-cflags-nofma).
26257 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26259         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26260         * math/auto-libm-test-out: Regenerated.
26262         [BZ #16338]
26263         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26264         to determine exponent and adjust argument to have exponent of -1.
26265         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26266         log2.
26267         * math/auto-libm-test-out: Regenerated.
26268         * sysdeps/i386/fpu/libm-test-ulps: Update.
26269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26271 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26273         * manual/probes.texi: Remove cases when per-thread arenas are
26274         disabled.
26276 2013-12-18  Andreas Schwab  <schwab@suse.de>
26278         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26279         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26280         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26281         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26282         * sysdeps/i386/i686/multiarch/Makefile: Update.
26283         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26285 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26287         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26288         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26290 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26292         [BZ #15968]
26293         Support TZ transition times < 00:00:00.
26294         This is needed for version-3 tz-format files; it supports time
26295         stamps past 2037 for America/Godthab (the only entry in the tz
26296         database for which this change is relevant).
26297         * manual/time.texi (TZ Variable): Document transition times
26298         from -167:59:59 through -00:00:01.
26299         * time/tzset.c (tz_rule): Time of day is now signed.
26300         (__tzset_parse_tz): Parse negative time of day.
26302         Document TZ transition times >= 25:00:00.
26303         * manual/time.texi (TZ Variable): Document transition times from
26304         25:00:00 through 167:59:59.  These are already supported, and this
26305         support will help with version-3 tz-format files.
26307         * manual/time.texi (TZ Variable): Modernize North America example
26308         to reflect current (i.e., 2007-and-later) daylight saving rules.
26310         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26312 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26314         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26315         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26318         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26319         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26320         * sysdeps/unix/bsd/clock.c: Likewise.
26321         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26322         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26323         * sysdeps/unix/bsd/init-posix.c: Likewise.
26324         * sysdeps/unix/bsd/poll.c: Likewise.
26325         * sysdeps/unix/bsd/ptsname.c: Likewise.
26326         * sysdeps/unix/bsd/seekdir.c: Likewise.
26327         * sysdeps/unix/bsd/setegid.c: Likewise.
26328         * sysdeps/unix/bsd/seteuid.c: Likewise.
26329         * sysdeps/unix/bsd/setgid.c: Likewise.
26330         * sysdeps/unix/bsd/setrgid.c: Likewise.
26331         * sysdeps/unix/bsd/setruid.c: Likewise.
26332         * sysdeps/unix/bsd/setsid.c: Likewise.
26333         * sysdeps/unix/bsd/setuid.c: Likewise.
26334         * sysdeps/unix/bsd/sigaction.c: Likewise.
26335         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26336         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26337         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26338         * sysdeps/unix/bsd/telldir.c: Likewise.
26339         * sysdeps/unix/bsd/times.c: Likewise.
26340         * sysdeps/unix/bsd/usleep.c: Likewise.
26342         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26343         ($(objpfx)libbsd-compat.a): Remove rule.
26345         * include/features.h (__FAVOR_BSD): Do not define.
26346         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26347         features conflicting with POSIX.
26348         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26349         (_BSD_SOURCE): Remove description of not being a subset of other
26350         feature test macros.
26351         * manual/job.texi (getpgrp): Do not document BSD version.
26352         (getpgid): Do not document by reference to BSD getpgrp.
26353         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26354         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26355         * signal/signal.h [__FAVOR_BSD]: Likewise.
26356         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26357         instead of making contents conditional on [__FAVOR_BSD].
26358         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26360 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26364 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26366         [BZ #16314]
26367         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26368         values below 2**-450, not 2**-500.
26369         * math/auto-libm-test-in: Don't allow spurious underflow from
26370         hypot.
26371         * math/auto-libm-test-out: Regenerated.
26373         [BZ #16316]
26374         [BZ #16330]
26375         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26376         values of ha and hb and sort them after adjusting subnormal
26377         arguments.
26378         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26379         Likewise.
26380         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26381         values of ea and eb and sort them after adjusting subnormal
26382         arguments.
26383         * math/auto-libm-test-in: Do not expect some hypot tests of
26384         subnormals to fail.  Add more hypot tests.
26385         * math/auto-libm-test-out: Regenerated.
26387 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26389         [BZ #13304]
26390         * sysdeps/sh/s_fma.c: New file.
26391         * sysdeps/sh/s_fmaf.c: New file.
26392         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26393         version.
26394         * sysdeps/sh/Implies: Add sh/soft-fp.
26396 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26398         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26399         level of indirection to members `objname', `errstring', `malloced'.
26400         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26401         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26402         it as the __longjmp argument (just pass 1 instead).
26403         (_dl_catch_error): Initialize C with argument pointers and address of
26404         volatile local ERRCODE rather than copying values out of C at return.
26406 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26408         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26409         * math/auto-libm-test-out: Regenerated.
26410         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26411         (hypot_test_data): Likewise.
26412         (pow_test_data): Likewise.
26413         (pow_tonearest_test_data): Likewise.
26414         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26415         mpfr_ff_f.
26416         (func_calc_desc): Add mpfr_ff_f union field.
26417         (FUNC_mpfr_ff_f): New macro.
26418         (test_functions): Add atan2, hypot and pow.
26419         (special_fill_min): New function.
26420         (special_fill_minus_min): Likewise.
26421         (special_fill_min_subnorm): Likewise.
26422         (special_fill_minus_min_subnorm): Likewise.
26423         (special_real_inputs): Add min, -min, min_subnorm and
26424         -min_subnorm.
26425         (calc_generic_results): Handle mpfr_ff_f.
26426         * sysdeps/i386/fpu/libm-test-ulps: Update.
26427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429 2013-12-16  Will Newton  <will.newton@linaro.org>
26431         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26432         (Aligned Memory Blocks): Add documentation for aligned_alloc
26433         and suggest it as an alternative to posix_memalign.
26434         (Hooks for Malloc): Document __memalign_hook is also called
26435         for aligned_alloc.  (Summary of Malloc): Add summary for
26436         aligned alloc.  Document __memalign_hook is also called
26437         for aligned_alloc.
26439 2013-12-16  Will Newton  <will.newton@linaro.org>
26441         * manual/memory.texi (Malloc Examples): Clarify default
26442         alignment documentation.  Suggest posix_memalign rather
26443         than memalign or valloc.
26444         (Aligned Memory Blocks): Remove suggestion to use memalign
26445         or valloc.  Remove obsolete comment about BSD.
26446         Document memalign errno values and mark the function obsolete.
26447         Document posix_memalign returned error codes.  Mark valloc
26448         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26449         called for posix_memalign and valloc.
26450         (Summary of Malloc): Add posix_memalign to function summary.
26451         __memalign_hook is also called for posix_memalign and valloc.
26453 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26455         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26456         TAYLOR_SIN.
26457         (__sin): Adjust.
26458         (__cos): Likewise.
26459         (sloww): Use mynumber union.  Expand ternary operator into
26460         if-else statements.
26461         (cslow): use mynumber union.
26463 2013-12-16  Allan McRae  <allan@archlinux.org>
26465         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26466         * configure: Regenerated.
26468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26470         [BZ #14120]
26471         * configure.ac: Added --enable-maintainer-mode. Check for
26472         autoconf when enabled.
26473         * configure: Regenerated.
26475         * nscd/nscd.service: New file.
26476         * nscd/nscd.tmpfiles: New file.
26478 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26480         [BZ #12100]
26481         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26482         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26483         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26484         (strstr): Add __strstr_sse2_unaligned ifunc.
26485         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26486         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26487         (strcasestr): Remove __strcasestr_sse42 ifunc.
26488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26492 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26494         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26495         * sysdeps/sh/bits/fenv.h: ... here.
26496         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26498 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26500         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26503         hypotf multiarch implementations.
26504         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26505         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26506         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26507         multiarch hypot for PPC64.
26508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26509         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26510         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26511         multiarch hypotf for PPC64.
26513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26514         modff multiarch implementations.
26515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26518         multiarch modf for PPC64.
26519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26522         multiarch modff for PPC64.
26524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26525         and logl multiarch implementations.
26526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26529         multiarch logb for PPC64.
26530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26533         multiarch logb for PPC64.
26534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26537         multiarch logb for PPC64.
26539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26540         isinff multiarch implementation.
26541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26542         file.
26543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26545         multiarch isinf for PPC64.
26546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26547         file.
26548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26549         multiarch isinff for PPC64.
26551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26552         finitef multiarch implementation.
26553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26554         file.
26555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26557         multiarch finite for PPC64.
26558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26559         file.
26560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26561         multiarch finitef for PPC64.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26564         lrint multiarch implementation.
26565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26566         file.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26569         multiarch llrint for PPC64.
26570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26571         multiarch lrint for PPC64.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26574         copysignf multiarch implementation.
26575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26576         file.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26578         file.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26580         multiarch copysign for PPC64.
26581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26582         multiarch copysignf for PPC64.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26585         multiarch implementation.
26586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26587         file.
26588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26589         file.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26591         file.
26592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26593         file.
26594         multiarch llround for PPC64.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26596         multiarch trunc for PPC64.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26598         multiarch truncf for PPC64.
26600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26601         multiarch implementation.
26602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26603         file.
26604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26605         file.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26607         file.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26609         file.
26610         multiarch llround for PPC64.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26612         multiarch round for PPC64.
26613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26614         multiarch roundf for PPC64.
26616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26617         multiarch implementation.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26619         file.
26620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26621         file.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26623         file.
26624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26625         file.
26626         multiarch llround for PPC64.
26627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26628         multiarch floor for PPC64.
26629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26630         multiarch floorf for PPC64.
26632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26633         multiarch implementation.
26634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26635         file.
26636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26637         file.
26638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26639         file.
26640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26641         file.
26642         multiarch llround for PPC64.
26643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26644         multiarch ceil for PPC64.
26645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26646         multiarch ceilf for PPC64.
26648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26649         multiarch implementation.
26650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26651         file.
26652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26653         file.
26654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26655         file.
26656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26657         multiarch llround for PPC64.
26658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26659         multiarch lround for PPC64.
26661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26662         multiarch implementation.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26666         file.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26670         multiarch isnan for PPC64.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26672         multiarch isnanf for PPC64.
26674         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26675         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26676         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26677         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26678         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26681         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26682         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26687         multiarch implementations.
26688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26689         (__libc_ifunc_impl_list): Likewise.
26690         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26693         multiarch stpcpy for PPC64.
26695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26696         multiarch implementations.
26697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26698         (__libc_ifunc_impl_list): Likewise.
26699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26701         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26702         multiarch strcpy for PPC64.
26704         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26705         redefine function name.
26706         (_wordcopy_fwd_dest_aligned): Likewise.
26707         (_wordcopy_bwd_aligned): Likewise.
26708         (_wordcopy_bwd_dest_aligned): Likewise.
26709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26710         multiarch implementations.
26711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26712         (__libc_ifunc_impl_list): Likewise.
26713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26714         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26715         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26717         multiarch wcscpy for PPC64.
26719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26720         multiarch implementations.
26721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26722         (__libc_ifunc_impl_list): Likewise.
26723         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26724         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26725         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26726         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26727         multiarch wcscpy for PPC64.
26729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26730         multiarch implementations.
26731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26732         (__libc_ifunc_impl_list): Likewise.
26733         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26734         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26735         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26736         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26737         multiarch wcsrchr for PPC64.
26739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26740         multiarch implementations.
26741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26742         (__libc_ifunc_impl_list): Likewise.
26743         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26744         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26745         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26746         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26747         multiarch wcschr for PPC64.
26749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26750         multiarch implementations.
26751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26752         (__libc_ifunc_impl_list): Likewise.
26753         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26754         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26755         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26756         multiarch strchrnul for PPC64.
26758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26759         implementations.
26760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26761         (__libc_ifunc_impl_list): Likewise.
26762         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26763         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26764         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26765         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26766         strchr for PPC64.
26768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26769         implementations.
26770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26771         (__libc_ifunc_impl_list): Likewise.
26772         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26773         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26775         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26776         strncmp for PPC64.
26778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26779         multiarch implementations.
26780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26781         (__libc_ifunc_impl_list): Likewise.
26782         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26783         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26784         strncasecmp for PPC64.
26785         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26786         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26787         multiarch strncasecmp_l for PPC64.
26789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26790         multiarch implementations.
26791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26792         (__libc_ifunc_impl_list): Likewise.
26793         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26794         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26795         multiarch strcasecmp for PPC64.
26796         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26797         file.
26798         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26799         multiarch strcasecmp_l for PPC64.
26801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26802         implementations.
26803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26804         (__libc_ifunc_impl_list): Likewise.
26805         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26806         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26807         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26808         strnlen for PPC64.
26810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26811         implementations.
26812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26813         (__libc_ifunc_impl_list): Likewise.
26814         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26815         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26816         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26817         strlen for PPC64.
26819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26820         implementations.
26821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26822         (__libc_ifunc_impl_list): Likewise.
26823         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26824         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26825         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26826         rawmemrchr for PPC64.
26828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26829         implementation.
26830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26831         (__libc_ifunc_impl_list): Likewise.
26832         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26833         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26834         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26835         memrchr for PPC64.
26837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26838         implementation.
26839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26840         (__libc_ifunc_impl_list): Likewise.
26841         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26842         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26843         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26844         memchr for PPC64.
26846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26847         implementation.
26848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26849         (__libc_ifunc_impl_list): Likewise.
26850         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26851         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26853         mempcpy for PPC64.
26855         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26856         avoid cretion of __bzero symbol.
26857         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26858         Likewise.
26859         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26860         Likewise.
26861         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26862         Likewise.
26863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26864         multiarch implementations.
26865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26866         (__libc_ifunc_impl_list): Likewise.
26867         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26868         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26869         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26870         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26871         bzero for PPC32.
26872         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26873         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26874         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26875         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26876         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26877         memset for PPC64.
26878         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26880         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26882         implementations.
26883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26884         (__libc_ifunc_impl_list): Likewise.
26885         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26886         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26887         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26888         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26889         memcmp for PPC64.
26891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26892         multiarch for POWER/PPC64.
26893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26894         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26895         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26896         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26897         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26898         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26900         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26901         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26902         memcpy for PPC64.
26904         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26905         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26906         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26907         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26908         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26909         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26910         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26911         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26912         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26913         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26914         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26915         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26916         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26917         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26918         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26927 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26931 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933         * benchtests/Makefile (bench): Add exp2 and log2.
26934         (LDLIBS-bench-exp2): Add -lm.
26935         (LDLIBS-bench-log2): Likewise.
26936         * benchtests/exp2-inputs: New inputs file.
26937         * benchtests/log2-inputs: New inputs file.
26938         * benchtests/log-inputs: Add new inputs.
26939         * benchtests/tan-inputs: Likewise.
26941 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26943         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26944         definition...
26945         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26946         (csloww2): ... from here.
26948         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26949         instead of structures.
26950         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26951         (POLYNOMIAL): Likewise.
26952         (TAYLOR_SLOW): Likewise.
26953         (__sin): Likewise.
26954         (__cos): Likewise.
26955         (slow1): Likewise.
26956         (slow2): Likewise.
26957         (sloww): Likewise.
26958         (sloww1); Likewise.
26959         (sloww2): Likewise.
26960         (bsloww1): Likewise.
26961         (bsloww2): Likewise.
26962         (cslow2): Likewise.
26963         (csloww): Likewise.
26964         (csloww1): Likewise.
26965         (csloww2): Likewise.
26967 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26969         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26970         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26971         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26972         * malloc/hooks.c (realloc_check): Likewise.
26974         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26975         * malloc/arena.c: Remove PER_THREAD conditional.
26976         [!PER_THREAD]: Remove code.
26977         (ptmalloc_unlock_all2): Likewise.
26978         (ptmalloc_init): Likewise.
26979         (_int_new_arena): Likewise.
26980         (arena_get2): Likewise.
26981         * malloc/hooks.c (__malloc_get_state): Likewise.
26982         (__malloc_set_state): Likewise.
26983         * malloc/malloc.c: Likewise.
26984         (struct malloc_state): Likewise.
26985         (struct malloc_par): Likewise.
26986         (__libc_realloc): Likewise.
26987         (__libc_mallopt): Likewise.
26989 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26991         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26993 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26995         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26996         macro to a function.  Check for zero perturb_byte.
26997         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26999         * malloc/malloc.c: (force_reg): Remove.
27000         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27001         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27002         force_reg by atomic_forced_read.
27003         * malloc/arena.c (ptmalloc_init): Likewise.
27004         * malloc/hooks.c (top_check): Likewise.
27006 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27010 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27014 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27016         * math/auto-libm-test-in: Add tests of lgamma.
27017         * math/auto-libm-test-out: Regenerated.
27018         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27019         (M_LOG_2_SQRT_PIl): Likewise.
27020         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27021         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27022         mpfr_f_f1.
27023         (func_calc_desc): Add mpfr_f_f1 union field.
27024         (ARGS1): New macro.
27025         (ARGS2): Likewise.
27026         (ARGS3): Likewise.
27027         (ARGS4): Likewise.
27028         (RET1): Likewise.
27029         (RET2): Likewise.
27030         (CALC): Likewise.
27031         (FUNC): Likewise.
27032         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27033         (test_functions): Add lgamma.
27034         (calc_generic_results): Handle mpfr_f_f1.
27035         * sysdeps/i386/fpu/libm-test-ulps: Update.
27036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27038 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27040         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27041         __mpn_add_n for PowerPC64/POWER7.
27042         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27043         __mpn_sub_n for PowerPC64/POWER7.
27045         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27046         __mpn_addmul_1 for PowerPC64.
27047         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27048         __mpn_submul_1 for PowerPC64.
27049         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27050         for PowerPC64.
27051         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27052         for PowerPC64.
27054 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27056         [BZ #15089]
27057         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27061         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27063         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27064         add multiarch folders.
27065         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27066         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27067         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27068         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27069         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27070         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27071         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27072         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27073         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27074         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27075         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27084         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27086         New file.
27087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27088         New file.
27089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27090         multiarch __ieee754_hypot for PowerPC32.
27091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27092         New file.
27093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27094         New file.
27095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27096         multiarch __ieee754_hypotf for PowerPC32.
27098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27099         long_double_symbol only if __logbl is defined.
27100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27101         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27103         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27105         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27106         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27107         path for implementation.
27108         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27111         logb, and logbl multiarch implementations for PowerPC32.
27112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27113         file.
27114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27115         file.
27116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27117         multiarch logb for PowerPC32.
27118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27119         file.
27120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27121         file.
27122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27123         multiarch logbf for PowerPC32.
27124         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27126         file.
27127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27128         multiarch logbl implementation for PowerPC32.
27130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27131         and modff multiarch implementations.
27132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27133         New file.
27134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27135         New file.
27136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27137         multiarch modf for PowerPC32.
27138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27139         New file.
27140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27141         New file.
27142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27143         multiarch modff for PowerPC32.
27145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27146         and lrintf multiarch implementations.
27147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27148         New file.
27149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27150         New file.
27151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27152         multiarch lrint for PowerPC32.
27153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27154         file: multiarch lrintf for PowerPC32.
27156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27157         and lroundf multiarch implementations.
27158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27159         New file.
27160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27161         New file.
27162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27163         New file.
27164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27165         multiarch lround for PowerPC32.
27166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27167         file: multiarch lroundf for PowerPC32.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27170         copysign and copysignf multiarch implementations.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27172         New file.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27174         New file.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27176         file: multiarch copysign for PowerPC32.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27178         file: multiarch copysignf for PowerPC32.
27180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27181         and truncf multiarch implementations.
27182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27183         New file.
27184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27185         file.
27186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27187         multiarch trunc for PowerPC32.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27189         New file.
27190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27191         New file.
27192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27193         multiarch truncf for PowerPC32.
27195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27196         and roundf multiarch implementations.
27197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27198         New file.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27200         file.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27202         multiarch round for PowerPC32.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27204         New file.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27206         New file.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27208         multiarch roundf for PowerPC32.
27210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27211         and floorf multiarch implementations.
27212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27213         New file.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27215         file.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27217         multiarch floor for PowerPC32.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27219         New file.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27221         New file.
27222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27223         multiarch floorf for PowerPC32.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27226         and ceilf multiarch implementations.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27228         New file.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27230         file.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27232         multiarch ceil for PowerPC32.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27234         New file.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27236         file.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27238         multiarch ceilf for PowerPC32.
27240         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27241         is defined.
27242         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27243         FINITEF is defined.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27245         and finitef multiarch implementations.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27247         New file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27249         file.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27251         multiarch finite for PowerPC32.
27252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27253         New file.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27255         file: multiarch finitef for PowerPC32.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27258         and isinff multiarch implementations.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27260         file.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27262         file.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27264         multiarch isinf for PowerPC32.
27265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27266         New file.
27267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27268         multiarch isinff for PowerPC32.
27270         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27271         alias when __isnan is defined.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27273         and isnanf multiarch implementations.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27275         file.
27276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27277         file.
27278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27279         file.
27280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27281         file.
27282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27283         multiarch isnan for PowerPC32.
27284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27285         New file.
27286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27287         New file.
27288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27289         multiarch isnanf for PowerPC32.
27291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27292         and sqrtf multiarch implementations.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27294         file.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27296         file.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27298         multiarch sqrt for PowerPC32.
27299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27300         file.
27301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27302         file.
27303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27304         multiarch sqrtf for PowerPC32.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27307         and llroundf multiarch implementations.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27309         New file.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27311         New file.
27312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27313         New file.
27314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27315         file: multiarch llround for PowerPC32.
27316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27317         file: multiarch llroundf for PowerPC32.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27320         multiarch PowerPC32 fpu implementations.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27322         New file.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27324         New file.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27326         multiarch llrint for PowerPC32.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27328         New file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27330         New file.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27332         file.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27336         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27337         file.
27338         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27339         file.
27340         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27341         file.
27342         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27343         multiarch wordcopy for PPC32.
27344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27345         wordcopy objects.
27346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27347         (__libc_ifunc_impl_list): Likewise.
27348         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27349         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27350         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27351         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27352         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27353         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27355         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27357         file.
27358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27359         file.
27360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27361         file.
27362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27363         multiarch wcscpy for PPC32.
27364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27365         multiarch objects.
27366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27367         (__libc_ifunc_impl_list): Likewise.
27368         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27369         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27370         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27371         sysdeps/powerpc/power6/wcscpy.c.
27373         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27375         file.
27376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27377         file.
27378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27379         file.
27380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27381         multiarch wcsrchr for PPC32.
27382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27383         multiarch objects.
27384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27385         (__libc_ifunc_impl_list): Likewise.
27386         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27387         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27388         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27389         sysdeps/powerpc/power6/wcsrchr.c.
27391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27392         file.
27393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27394         file.
27395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27397         multiarch wcschr for PPc32.
27398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27399         multiarch objects.
27400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27401         (__libc_ifunc_impl_list): Likewise.
27402         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27403         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27404         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27405         sysdeps/powerpc/power6/wcschr.c.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27408         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27409         file.
27410         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27411         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27412         file: multiarch strchr for PPC32.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27414         multiarch objects.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27416         (__libc_ifunc_impl_list): Likewise.
27418         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27419         name.
27420         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27421         file.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27423         file.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27425         multiarch strchrnul for PPC32.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27427         multiarch objects.
27428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27429         (__libc_ifunc_impl_list): Likewise.
27431         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27432         file.
27433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27434         multiarch strncasecmp for PPC32.
27435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27436         file.
27437         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27438         multiarch strncasecmp_l for PPC32.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27440         strncasecmp multiarch objects.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27442         (__libc_ifunc_impl_list): Likewise.
27444         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27445         file.
27446         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27447         multiarch strncasecmp for PPC32.
27448         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27449         New file.
27450         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27451         multiarch strcasecmp_l for PPC32.
27452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27453         multiarch objects.
27454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27455         (__libc_ifunc_impl_list): Likewise.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27458         file.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27460         file.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27462         multiarch strncmp for PPC32.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27464         multiarch objects.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27466         (__libc_ifunc_impl_list): Likewise.
27468         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27469         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27470         file.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27474         multiarch objects.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27476         (__libc_ifunc_impl_list): Likewise.
27478         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27479         file.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27481         file.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27484         multiarch objects.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27486         (__libc_ifunc_impl_list): Likewise.
27488         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27489         file.
27490         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27491         file.
27492         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27493         multiarch rawmemchr for PPC32.
27494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27495         multiarch objects.
27496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27497         (__libc_ifunc_impl_list): Likewise.
27499         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27500         file.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27502         file.
27503         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27504         file: memrchr multiarch for PPC32.
27505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27506         multiarch objects.
27507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27508         (__libc_ifunc_impl_list): Likewise.
27510         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27512         file.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27515         multiarch memchr for PPC32.
27516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27517         multiarch objects.
27518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27519         (__libc_ifunc_impl_list): Likewise.
27521         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27522         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27523         file.
27524         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27525         file.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27527         file: multiarch mempcpy for PPC32.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27529         multiarch objects.
27530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27531         (__libc_ifunc_impl_list): Likewise.
27533         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27534         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27536         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27537         multiarch bzero for PPC32.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27539         file.
27540         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27541         file.
27542         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27543         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27544         file: multiarch memset for PPC32.
27545         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27547         memset multiarch objects.
27548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27549         (__libc_ifunc_impl_list): Likewise.
27551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27552         file.
27553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27555         memcmp for PPC32.
27556         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27558         multiarch objects.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27560         (__libc_ifunc_impl_list): Likewise.
27562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27565         file.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27567         file.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27569         file.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27571         multiarch memcpy for PPC32.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27573         multiarch objects.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27575         (__libc_ifunc_impl_list): Likewise.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27578         support multiarch for POWER/PPC32.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27580         Likewise.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27583         Implies file to make multiarch folder appers before the fpu and
27584         default folder for power4 configuration.
27586 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588         * scripts/bench.pl: Append volatile keyword to type.
27590 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27592         * sysdeps/sh/sotruss-lib.c: New file.
27593         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27595 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27599 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27601         [BZ #6810]
27602         * math/w_tgamma.c: Include <errno.h>.
27603         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27604         * math/w_tgammaf.c: Include <errno.h>.
27605         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27606         * math/w_tgammal.c: Include <errno.h>.
27607         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27608         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27609         underflow.  Add more tgamma tests.
27610         * math/auto-libm-test-out: Regenerated.
27611         * sysdeps/i386/fpu/libm-test-ulps: Update.
27612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27614         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27615         sin, sinh, tan, tanh, tgamma, y0 and y1.
27616         * math/auto-libm-test-out: Regenerated.
27617         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27618         (TEST_COND_x86): Likewise.
27619         (M_E2l): Remove macro.
27620         (M_E3l): Likewise.
27621         (M_2_SQRT_PIl): Likewise.
27622         (M_SQRT_PIl): Likewise.
27623         (M_1_DIV_El): Likewise.
27624         (log_test_data): Use AUTO_TESTS_f_f.
27625         (log10_test_data): Likewise.
27626         (log1p_test_data): Likewise.
27627         (log2_test_data): Likewise.
27628         (sin_test_data): Likewise.
27629         (sin_tonearest_test_data): Likewise.
27630         (sin_towardzero_test_data): Likewise.
27631         (sin_downward_test_data): Likewise.
27632         (sin_upward_test_data): Likewise.
27633         (sinh_test_data): Likewise.
27634         (sinh_tonearest_test_data): Likewise.
27635         (sinh_towardzero_test_data): Likewise.
27636         (sinh_downward_test_data): Likewise.
27637         (sinh_upward_test_data): Likewise.
27638         (tan_test_data): Likewise.
27639         (tan_tonearest_test_data): Likewise.
27640         (tan_towardzero_test_data): Likewise.
27641         (tan_downward_test_data): Likewise.
27642         (tan_upward_test_data): Likewise.
27643         (tanh_test_data): Likewise.
27644         (tgamma_test_data): Likewise.
27645         (y0_test_data): Likewise.
27646         (y1_test_data): Likewise.
27647         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27648         (special_real_inputs): Add pi/4.
27649         * sysdeps/i386/fpu/libm-test-ulps: Update.
27650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27654         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27655         "longjmp_target" static probes.
27656         (__longjmp): Rename to __longjmp_symbol.
27657         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27658         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27659         on which longjmp to generate.
27660         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27662         probe.
27663         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27664         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27665         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27666         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27667         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27668         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27670         __longjmp_symbol based on which __longjmp to generate.
27671         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27672         probe.
27673         (setjmp): Rename to setjmp_symbol.
27674         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27675         (_setjmp): Rename to _setjmp_symbol.
27676         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27677         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27678         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27679         which setjmp to generate.
27680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27681         "longjmp_target" static probes.
27683 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27685         * benchtests/README: Add note about output arguments.
27686         * benchtests/bench-sincos.c: Remove file.
27687         * benchtests/sincos-inputs: New file.
27688         * scripts/bench.pl: Identify output arguments and define
27689         static variables for them.
27691         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27693         [BZ #15941]
27694         * Makefile (INSTALL): Add install-plain.texi as the primary
27695         dependency.
27696         * manual/install-plain.texi: New file.
27697         * manual/install.texi: Include node directive only for
27698         non-plaintext output.
27700 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27702         * stdlib/longlong.h: Update from GCC.
27704         [BZ #6807]
27705         [BZ #15901]
27706         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27707         * math/w_j0f.c (y0f): Likewise.
27708         * math/w_j0l.c (__y0l): Likewise.
27709         * math/w_j1.c (y1): Likewise.
27710         * math/w_j1f.c (y1f): Likewise.
27711         * math/w_j1l.c (__y1l): Likewise
27712         * math/w_jn.c (yn): Likewise.
27713         * math/w_jnf.c (ynf): Likewise.
27714         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27715         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27716         value for Bessel function domain errors outside _SVID_ mode.
27717         Adjust sign of return value for yn (negative integer, 0).
27718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27719         by zero in return for negative x and set sign appropriately for
27720         negative n.
27721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27722         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27723         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27724         expectations in error cases.
27725         (y1_test_data): Likewise.
27726         (yn_test_data): Likewise.
27727         * sysdeps/i386/fpu/libm-test-ulps: Update.
27728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27730 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27732         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27733         "64" to "64-v1".  Add "64-v2".
27734         (abi-64-options): Rename to ...
27735         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27736         (abi-64-condition): Rename to ...
27737         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27738         (abi-64-ld-soname): Rename to ...
27739         (abi-64-v1-ld-soname): ... this.
27740         (abi-64-v2-options): Define.
27741         (abi-64-v2-condition): Likewise.
27742         (abi-64-v2-ld-soname): Likewise.
27743         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27744         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27749 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27750             Alan Modra  <amodra@gmail.com>
27752         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27753         New versions for use with the ELFv2 ABI.
27754         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27755         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27756         declaration.
27757         (struct La_ppc64v2_retval): Likewise.
27758         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27759         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27760         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27761         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27762         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27763         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27764         Do not save or restore CR.
27765         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27766         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27767         return values for ELFv2 ABI.  Fix location of FPR return registers.
27768         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27769         updated values for _CALL_ELF == 2.
27770         (La_regs, La_retval, int_retval): Likewise.
27772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27774         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27775         (FRAME_MIN_SIZE_PARM): Likewise.
27776         (FRAME_BACKCHAIN): Likewise.
27777         (FRAME_CR_SAVE): Likewise.
27778         (FRAME_LR_SAVE): Likewise.
27779         (FRAME_TOC_SAVE): Likewise.
27780         (FRAME_PARM_SAVE): Likewise.
27781         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27782         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27783         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27784         (call_mcount_parm_offset): New macro.
27785         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27786         (PROF): Use symbolic stack frame offsets.
27787         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27788         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27789         Redefine in terms of FRAME_MIN_SIZE.
27790         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27791         (_dl_profile_resolve): Likewise.  Update comment.
27792         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27793         symbols stack frame offsets.
27794         (__sigsetjmp): Likewise.
27795         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27796         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27797         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27798         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27801         (FRAME_BACKCHAIN): Remove.
27802         (FRAME_CR_SAVE): Likewise.
27803         (FRAME_LR_SAVE): Likewise.
27804         (FRAME_COMPILER_DW): Likewise.
27805         (FRAME_LINKER_DW): Likewise.
27806         (FRAME_TOC_SAVE): Likewise.
27807         (FRAME_PARM_SAVE): Likewise.
27808         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27809         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27810         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27812         (CHECK_SP): Use symbolic stack frame offsets.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27814         zone" instead of caller's parameter save area for temp storage.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27816         Likewise.  Also, use symbolic stack frame offsets.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27818         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27819         our own stack frame instead of the caller's.
27820         (__socket): Use symbolic stack frame offsets.
27822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27823             Alan Modra  <amodra@gmail.com>
27825         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27826         Define.
27827         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27828         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27829         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27830         New function.
27831         (elf_machine_fixup_plt): Call it.
27832         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27833         reloc arguments.
27834         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27836         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27837         r2 before calling target.
27839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27840             Alan Modra  <amodra@gmail.com>
27842         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27843         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27844         versions of macros to support ELFv2 ABI.
27845         (LOCALENTRY): New macro.
27846         (ENTRY, EALIGN): Use it.
27847         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27848         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27849         fall through into ENTRY entry point.
27850         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27851         Only define if _CALL_ELF != 2.
27853         (elf_machine_matches_host): Verify ABI version matches.
27854         (RTLD_START): Use LOCALENTRY.
27855         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27856         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27857         (PLT_ENTRY_WORDS): New macro.
27858         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27859         (elf_machine_runtime_setup): Support ELFv2 ABI.
27860         (elf_machine_fixup_plt): Likewise.
27861         (elf_machine_plt_conflict): Likewise.
27862         (resolve_ifunc): Likewise.
27863         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27865         Likewise.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27867         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27869         (makecontext): Support ELFv2 ABI.
27870         * elf/elf.h (EF_PPC64_ABI): Define.
27872 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27874         * sysdeps/powerpc/powerpc64/sysdep.h
27875         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27876         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27877         (ENTRY) [ASSEMBLER]: ... but instead here ...
27878         (EALIGN) [ASSEMBLER]: ... and here.
27879         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27880         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27881         (ENTRY_2) [!ASSEMBLER]: Use it.
27882         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27883         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27884         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27885         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27886         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27888         Use PPC64_LOAD_FUNCPTR.
27890         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27892 2013-12-04  Alan Modra  <amodra@gmail.com>
27894         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27895         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27896         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27897         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27899         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27900         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27901         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27902         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27903         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27904         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27906 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27909         (__makecontext): Fix incorrect CFI when backtracing out of
27910         context created via makecontext.
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27912         (__setcontext): Fix incorrect CFI during switch to new context.
27913         (__novec_setcontext): Likewise.
27915 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27917         [BZ #4772]
27918         * time/strptime_l.c (__strptime_internal): Allow modifiers
27919         in strptime.
27920         * time/tst-strptime.c (day_tests): Add testcase.
27922 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27924         * scripts/bench.pl: Skip over blank lines.
27926 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27928         [BZ #926]
27929         * manual/time.texi (Calendar Time): Clarify what timezone functions
27930         use.
27932 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27936 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27938         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27939         implementation.
27940         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27941         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27942         * debug/memset_chk.c (__memset_chk): Likewise.
27943         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27944         * debug/strncpy_chk.c: Likewise.
27946 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27948         [BZ #15268]
27949         [BZ #15425]
27950         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27951         (__ieee754_exp): For possibly underflowing results, check size of
27952         result and force underflow exception if required.
27953         * math/auto-libm-test-in: Add more tests of exp.
27954         * math/auto-libm-test-out: Regenerated.
27955         * sysdeps/i386/fpu/libm-test-ulps: Update.
27956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27958         [BZ #16283]
27959         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27960         * math/w_exp2f.c (__exp2f): Likewise.
27961         * math/w_exp2l.c (__exp2l): Likewise.
27962         * math/auto-libm-test-in: Do not allow missing errno on exp2
27963         underflow.
27964         * math/auto-libm-test-out: Regenerated.
27966 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27968         [BZ #16274]
27969         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27970         handle filename validation.
27971         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27972         (do_open): Delete.
27974 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27976         [BZ #6786]
27977         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27978         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27979         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27980         <float.h>.
27981         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27982         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27983         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27985         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27986         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27987         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27988         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27989         Add more erfc tests.
27990         * math/auto-libm-test-out: Regenerated.
27991         * sysdeps/i386/fpu/libm-test-ulps: Update.
27992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27994         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27995         exp2, expm1, j0 and j1.
27996         * math/auto-libm-test-out: Regenerated.
27997         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27998         (erfc_test_data): Likewise.
27999         (exp_test_data): Likewise.
28000         (exp_tonearest_test_data): Likewise.
28001         (exp_towardzero_test_data): Likewise.
28002         (exp_downward_test_data): Likewise.
28003         (exp_upward_test_data): Likewise.
28004         (exp10_test_data): Likewise.
28005         (exp2_test_data): Likewise.
28006         (expm1_test_data): Likewise.
28007         (j0_test_data): Likewise.
28008         (j1_test_data): Likewise.
28009         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28010         (input_flag_type): Add flag_xfail_rounding.
28011         (input_flags): Add xfail-rounding.
28012         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28013         (output_for_one_input_case): Handle flag_xfail_rounding.
28014         * sysdeps/i386/fpu/libm-test-ulps: Update.
28015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28017 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28019         [BZ #16289]
28020         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28021         division by 0.
28023 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28025         [BZ #16195]
28026         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28027         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28028         (STAP_PROBE0): New macro.
28029         (STAP_PROBE1): Likewise.
28030         (STAP_PROBE2): Likewise.
28031         (STAP_PROBE3): Likewise.
28032         (STAP_PROBE4): Likewise.
28034 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28036         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28038 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28040         * benchtests/Makefile (bench): Add sqrt.
28041         (LDLIBS-bench-sqrt): New.
28042         * benchtests/sqrt-input: New.
28044 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28046         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28047         (GAIH_EAI): Likewise.
28048         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28049         (gaih_inet): Likewise.
28050         (getaddrinfo): Don't use GAIH_EAI.
28052         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28053         (struct gaih): Remove definition.
28055 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28057         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28058         Use HERRNOP directly.
28060 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28064 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28066         * math/gen-auto-libm-tests.c (test_functions): Add more
28067         single-argument functions.
28068         (special_fill_pi_2): New function.
28069         (special_fill_minus_pi_2): Likewise.
28070         (special_fill_pi_6): Likewise.
28071         (special_fill_minus_pi_6): Likewise.
28072         (special_fill_pi_3): Likewise.
28073         (special_fill_2pi_3): Likewise.
28074         (special_fill_e): Likewise.
28075         (special_fill_1_e): Likewise.
28076         (special_fill_e_minus_1): Likewise.
28077         (special_real_inputs): Add more special inputs.
28078         (output_for_one_input_case): Do not require ERANGE on underflow to
28079         zero if round-to-nearest result does not underflow to zero, unless
28080         exact results required.
28081         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28082         atan, atanh, cbrt, cos and cosh.
28083         * math/auto-libm-test-out: Regenerated.
28084         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28085         (acos_tonearest_test_data): Likewise.
28086         (acos_towardzero_test_data): Likewise.
28087         (acos_downward_test_data): Likewise.
28088         (acos_upward_test_data): Likewise.
28089         (acosh_test_data): Likewise.
28090         (asin_test_data): Likewise.
28091         (asin_tonearest_test_data): Likewise.
28092         (asin_towardzero_test_data): Likewise.
28093         (asin_upward_test_data): Likewise.
28094         (asinh_test_data): Likewise.
28095         (atan_test_data): Likewise.
28096         (atanh_test_data): Likewise.
28097         (cbrt_test_data): Likewise.
28098         (cos_test_data): Likewise.
28099         (cos_tonearest_test_data): Likewise.
28100         (cos_towardzero_test_data): Likewise.
28101         (cos_downward_test_data): Likewise.
28102         (cos_upward_test_data): Likewise.
28103         (cosh_test_data): Likewise.
28104         (cosh_tonearest_test_data): Likewise.
28105         (cosh_towardzero_test_data): Likewise.
28106         (cosh_downward_test_data): Likewise.
28107         (cosh_upward_test_data): Likewise.
28108         * sysdeps/i386/fpu/libm-test-ulps: Update.
28109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28111 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28113         [BZ #6787]
28114         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28115         * math/w_exp10f.c (__exp10f): Likewise.
28116         * math/w_exp10l.c (__exp10l): Likewise.
28117         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28118         errno settings in existing tests.
28120         [BZ #14032]
28121         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28122         precision control set to double precision.
28123         * sysdeps/i386/fpu/w_sqrt.c: New file.
28124         * math/auto-libm-test-in: Add more tests.
28125         * math/auto-libm-test-out: Update.
28127         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28128         (sqrt_test_tonearest): New function.
28129         (sqrt_towardzero_test_data): New variable.
28130         (sqrt_test_towardzero): New function.
28131         (sqrt_downward_test_data): New variable.
28132         (sqrt_test_downward): New function.
28133         (sqrt_upward_test_data): New variable.
28134         (sqrt_test_upward): New function.
28135         (main): Call the new functions.
28137         * math/gen-auto-libm-tests.c: New file.
28138         * math/auto-libm-test-in: Likewise.
28139         * math/auto-libm-test-out: New generated file.
28140         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28141         variables.
28142         (%beautify): Add generated representations of zero.
28143         (top level): Set $auto_input and call parse_auto_input.
28144         (beautify): Remove trailing "f" from hex float constants.
28145         (parse_args): Handle XFAIL_TEST.
28146         (convert_condition): New function.
28147         (or_value): Likewise.
28148         (or_cond_value): Likewise.
28149         (generate_testfile): Handle AUTO_TESTS_* lines.
28150         (parse_auto_input): New function.
28151         * math/libm-test.inc (XFAIL_TEST): New macro.
28152         (ERRNO_UNCHANGED): Update value.
28153         (ERRNO_EDOM): Likewise.
28154         (ERRNO_ERANGE): Likewise.
28155         (IGNORE_RESULT): Likewise.
28156         (TEST_COND_flt_32): New macro.
28157         (TEST_COND_dbl_64): Likewise.
28158         (TEST_COND_ldbl_96_intel): Likewise.
28159         (TEST_COND_ldbl_96_m68k): Likewise.
28160         (TEST_COND_ldbl_128): Likewise.
28161         (TEST_COND_ldbl_128ibm): Likewise.
28162         (TEST_COND_long32): Likewise.
28163         (TEST_COND_long64): Likewise.
28164         (TEST_COND_before_rounding): Likewise.
28165         (TEST_COND_after_rounding): Likewise.
28166         (enable_test): Handle XFAIL_TEST flag.
28167         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28168         with finite results.
28169         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28170         auto-libm-test-out.
28172 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28173             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28175         [BZ #16214]
28176         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28177         __tls_get_addr_internal instead of __tls_get_offset in order to
28178         avoid GOT pointer dependency.  Make rtld export
28179         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28180         __tls_get_addr since we are a __tls_get_offset platform.
28181         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28182         GOT pointer being set up before.
28183         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28185 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28187         * manual/math.texi (Errors in Math Functions): Document accuracy
28188         goals.
28190         [BZ #15004]
28191         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28192         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28193         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28194         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28195         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28196         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28197         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28198         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28199         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28200         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28201         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28203         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28204         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28205         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28206         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28208         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28209         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28210         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28211         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28212         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28213         Likewise.
28214         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28215         Likewise.
28216         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28217         Likewise.
28218         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28219         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28220         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28221         atomic-feupdateenv and flt-rounds.
28222         * sysdeps/powerpc/nofpu/Versions (libc): Add
28223         __atomic_feholdexcept, __atomic_feclearexcept,
28224         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28225         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28226         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28227         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28228         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28229         here.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28231         Update.
28233         * manual/arith.texi (FP Exceptions): Document that exceptions may
28234         not be raised when matherr is used.
28235         (Math Error Reporting): Document overflow in directed rounding
28236         modes.  Document that errno may not be set when finite values are
28237         returned on overflow.  Document intent to set errno on underflow
28238         only for underflow to zero.
28240         [BZ #16271]
28241         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28242         round-to-nearest then adjust result for other rounding modes.
28243         * include/fenv.h (fegetround): Use libm_hidden_proto.
28244         * math/fegetround.c (fegetround): Use libm_hidden_def.
28245         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28246         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28247         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28249         Likewise.
28250         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28252         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28253         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28255 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28257         [BZ #16077]
28258         * nss/Versions (libnss_files): Add
28259         _nss_files_gethostbyname3_r.
28260         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28261         New function.
28262         (HOST_DB_LOOKUP): Remove macro.
28263         (_nss_files_gethostbyname_r): Implement function without the
28264         HOST_DB_LOOKUP macro.
28265         (_nss_files_gethostbyname2_r): Likewise.
28267 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28269         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28271 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28273         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28274         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28275         warning.
28277 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28280         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28281         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28282         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28283         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28284         __fe_nomask_env_priv and attribute_hidden.
28285         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28286         (libc_feupdateenv_test_ppc): Likewise.
28287         (libc_feresetround_ppc): Likewise.
28288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28289         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28290         compat_symbol macro.
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28292         (__fe_nomask_env): Likewise.
28293         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28295 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28297         * string/Makefile: Remove ifunc tests.
28298         * string/test-string.h: Define TEST_IFUNC.
28299         * string/test-bcopy-ifunc.c: Remove.
28300         * string/test-bzero-ifunc.c: Likewise.
28301         * string/test-memccpy-ifunc.c: Likewise.
28302         * string/test-memchr-ifunc.c: Likewise.
28303         * string/test-memcmp-ifunc.c: Likewise.
28304         * string/test-memcpy-ifunc.c: Likewise.
28305         * string/test-memmem-ifunc.c: Likewise.
28306         * string/test-memmove-ifunc.c: Likewise.
28307         * string/test-mempcpy-ifunc.c: Likewise.
28308         * string/test-memrchr-ifunc.c: Likewise.
28309         * string/test-memset-ifunc.c: Likewise.
28310         * string/test-rawmemchr-ifunc.c: Likewise.
28311         * string/test-stpcpy-ifunc.c: Likewise.
28312         * string/test-stpncpy-ifunc.c: Likewise.
28313         * string/test-strcasecmp-ifunc.c: Likewise.
28314         * string/test-strcasestr-ifunc.c: Likewise.
28315         * string/test-strcat-ifunc.c: Likewise.
28316         * string/test-strchr-ifunc.c: Likewise.
28317         * string/test-strchrnul-ifunc.c: Likewise.
28318         * string/test-strcmp-ifunc.c: Likewise.
28319         * string/test-strcpy-ifunc.c: Likewise.
28320         * string/test-strcspn-ifunc.c: Likewise.
28321         * string/test-strlen-ifunc.c: Likewise.
28322         * string/test-strncasecmp-ifunc.c: Likewise.
28323         * string/test-strncat-ifunc.c: Likewise.
28324         * string/test-strncmp-ifunc.c: Likewise.
28325         * string/test-strncpy-ifunc.c: Likewise.
28326         * string/test-strnlen-ifunc.c: Likewise.
28327         * string/test-strpbrk-ifunc.c: Likewise.
28328         * string/test-strrchr-ifunc.c: Likewise.
28329         * string/test-strspn-ifunc.c: Likewise.
28330         * string/test-strstr-ifunc.c: Likewise.
28332 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28334         * benchtests/Makefile: Remove ifunc tests.
28335         * benchtests/bench-string.h: Define TEST_IFUNC.
28336         * benchtests/bench-bcopy-ifunc.c: Remove.
28337         * benchtests/bench-bzero-ifunc.c: Likewise.
28338         * benchtests/bench-memccpy-ifunc.c: Likewise.
28339         * benchtests/bench-memchr-ifunc.c: Likewise.
28340         * benchtests/bench-memcmp-ifunc.c: Likewise.
28341         * benchtests/bench-memcpy-ifunc.c: Likewise.
28342         * benchtests/bench-memmem-ifunc.c: Likewise.
28343         * benchtests/bench-memmove-ifunc.c: Likewise.
28344         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28345         * benchtests/bench-memrchr-ifunc.c: Likewise.
28346         * benchtests/bench-memset-ifunc.c: Likewise.
28347         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28348         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28349         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28350         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28351         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28352         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28353         * benchtests/bench-strcat-ifunc.c: Likewise.
28354         * benchtests/bench-strchr-ifunc.c: Likewise.
28355         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28356         * benchtests/bench-strcmp-ifunc.c: Likewise.
28357         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28358         * benchtests/bench-strcpy-ifunc.c: Likewise.
28359         * benchtests/bench-strcspn-ifunc.c: Likewise.
28360         * benchtests/bench-strlen-ifunc.c: Likewise.
28361         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28362         * benchtests/bench-strncat-ifunc.c: Likewise.
28363         * benchtests/bench-strncmp-ifunc.c: Likewise.
28364         * benchtests/bench-strncpy-ifunc.c: Likewise.
28365         * benchtests/bench-strnlen-ifunc.c: Likewise.
28366         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28367         * benchtests/bench-strrchr-ifunc.c: Likewise.
28368         * benchtests/bench-strsep-ifunc.c: Likewise.
28369         * benchtests/bench-strspn-ifunc.c: Likewise.
28370         * benchtests/bench-strstr-ifunc.c: Likewise.
28372 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28374         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28376 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28378         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28379         * rt/aio.h: Likewise.
28380         * sysdeps/gnu/bits/utmp.h: Likewise.
28381         * sysdeps/gnu/bits/utmpx.h: Likewise.
28382         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28383         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28384         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28385         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28386         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28387         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28388         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28389         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28390         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28391         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28392         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28393         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28394         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28396         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28397         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28398         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28399         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28400         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28401         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28402         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28403         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28404         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28405         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28406         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28408         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28409         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28410         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28411         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28412         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28413         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28414         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28415         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28416         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28417         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28418         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28419         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28420         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28421         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28422         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28423         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28425 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28427         [BZ #16245]
28428         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28429         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28431 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28433         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28434         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28435         Likewise.
28437 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28439         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28440         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28441         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28442         (__fesetround): Remove define.
28443         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28444         rounding and exceptions handling.
28445         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28446         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28447         (__fe_nomask_env): Likewise.
28448         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28449         __fegetround instead of fegetround.
28450         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28451         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28453 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28455         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28456         it's there.
28458         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28460 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28462         [BZ #11157]
28463         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28464         (encrypt_r): Likewise.
28465         * malloc/obstack.h (obstack_free): Likewise.
28466         * posix/unistd.h (encrypt): Likewise.
28468 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28470         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28471         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28472         DL_CALL_DT_FINI() that call the functions directly.
28473         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28474         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28475         * elf/dl-fini.c: Likewise.
28477 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28479         * malloc/hooks.c (memalign_check): Add alignment rounding.
28480         * malloc/malloc.c (_mid_memalign): New function.
28481         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28482         Implement by calling _mid_memalign.
28483         * manual/probes.texi (Memory Allocation Probes): Remove
28484         memory_valloc_retry and memory_pvalloc_retry.
28486 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         * locale/programs/locarchive.c (open_archive): Add const
28489         qualifier to ARCHIVEFNAME and copy default fname to
28490         DEFAULT_FNAME.
28492         [BZ #15601]
28493         * libio/tst-widetext.input: Rename Oriya to Odia.
28494         * locale/iso-639.def: Likewise.
28496         * manual/probes.texi (Mathematical Function Probes): Add
28497         documentation for sin, cos, asin and acos probes.
28498         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28499         (__sin32): Add slowasin probe.
28500         (__cos32): Add slowacos probe.
28501         (__mpsin): Add slowsin probe.
28502         (__mpcos): Add slowcos probe.
28504 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28506         [BZ #15483]
28507         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28508         thread-local __sim_exceptions_thread and global
28509         __sim_exceptions_global.
28510         (__sim_disabled_exceptions): Change to thread-local
28511         __sim_disabled_exceptions_thread and global
28512         __sim_disabled_exceptions_global.
28513         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28514         and global __sim_round_mode_global.
28515         (__simulate_exceptions): Use thread-local floating-point state and
28516         set global state from it as needed.
28517         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28518         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28519         __sim_round_mode_thread.
28520         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28521         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28522         and global __sim_exceptions_global.
28523         (__sim_disabled_exceptions): Change to thread-local
28524         __sim_disabled_exceptions_thread and global
28525         __sim_disabled_exceptions_global.
28526         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28527         and global __sim_round_mode_global.
28528         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28529         (SIM_SET_GLOBAL): Likewise.
28530         * sysdeps/powerpc/soft-fp/sfp-machine.h
28531         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28532         __sim_round_mode_thread.
28533         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28534         __sim_disabled_exceptions_thread.
28535         (__sim_exceptions): Change to __sim_exceptions_thread.
28536         (__sim_disabled_exceptions): Change to
28537         __sim_disabled_exceptions_thread.
28538         (__sim_round_mode): Change to __sim_round_mode_thread.
28539         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28540         thread-local floating-point state and set global state from it as
28541         needed.
28542         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28543         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28544         (__sim_disabled_exceptions): Remove extern declaration.
28545         (feenableexcept): Use thread-local floating-point state and set
28546         global state from it as needed.
28547         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28548         extern declaration.
28549         (__sim_disabled_exceptions): Likewise.
28550         (__sim_round_mode): Likewise.
28551         (__fegetenv): Use thread-local floating-point state.
28552         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28553         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28554         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28555         floating-point state and set global state from it as needed.
28556         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28557         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28558         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28559         Likewise.
28560         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28561         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28562         Likewise.
28563         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28564         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28565         Use __sim_round_mode_thread.
28566         * math/test-fenv-tls.c: New file.
28567         * math/Makefile (tests): Add test-fenv-tls.
28568         ($(objpfx)test-fenv-tls): Depend on
28569         $(common-objpfx)nptl/libpthread.so.
28571 2013-11-19  Andreas Schwab  <schwab@suse.de>
28573         * locale/programs/locale.c (show_info): Decode wordarray elements.
28574         * locale/categories.def (LC_MONETARY): Add element for
28575         _NL_MONETARY_CRNCYSTR.
28576         * locale/C-monetary.c (conversion_rate): New variable.
28577         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28578         element.
28580 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28582         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28583         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28585 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28587         * elf/Makefile (tst-auxv): New test.
28588         * elf/tst-auxv.c: New
28589         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28591 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28593         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28594         (hidden_proto): Caller changed.
28595         (hidden_tls_proto): New macro.
28596         (libc_hidden_tls_proto): Likewise.
28597         (rtld_hidden_tls_proto): Likewise.
28598         (libm_hidden_tls_proto): Likewise.
28599         (libresolv_hidden_tls_proto): Likewise.
28600         (librt_hidden_tls_proto): Likewise.
28601         (libdl_hidden_tls_proto): Likewise.
28602         (libnss_files_hidden_tls_proto): Likewise.
28603         (libnsl_hidden_tls_proto): Likewise.
28604         (libnss_nisplus_hidden_tls_proto): Likewise.
28605         (libutil_hidden_tls_proto): Likewise.
28607 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28609         [BZ #10253]
28610         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28611         (decompose_rpath): Defer expansion to fillin_rpath.
28612         (_dl_init_paths): Pass linkmap to fillin_rpath.
28614 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28616         * benchtests/Makefile: Add strsep.
28617         * benchtests/bench-strsep.c: New file: strsep benchtest.
28618         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28620 2013-11-18  Andreas Schwab  <schwab@suse.de>
28622         * locale/programs/locale.c (show_info) [case byte]: Check for
28623         '\377' instead of '\177'.
28624         * locale/C-monetary.c (not_available): Always use "\377".
28625         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28626         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28627         detect unavailable sign_posn locale elements.
28628         * locale/localeconv.c (__localeconv): For grouping and
28629         mon_grouping handle "\177" and "\377" like no grouping.
28630         (INT_ELEM): New macro.  Use it to set all numeric members.
28631         * locale/programs/ld-monetary.c (monetary_read)
28632         <tok_mon_grouping>: Normalize single -1 to the empty string.
28633         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28634         Likewise.
28636 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28638         [BZ #16055]
28639         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28640         when we match (nil).
28641         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28643 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28645         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28646         (NO_TEST_INLINE): Update value.
28647         (ERRNO_UNCHANGED): Likewise.
28648         (ERRNO_EDOM): Likewise.
28649         (ERRNO_ERANGE): Likewise.
28650         (IGNORE_RESULT): Likewise.
28651         (check_float_internal): Check signs of NaN results if
28652         TEST_NAN_SIGN used.
28653         (check_complex): Pass TEST_NAN_SIGN flag through to second
28654         check_float_internal call.
28655         (copysign_test_data): Add tests with quiet NaNs as second
28656         argument.  Use TEST_NAN_SIGN.
28657         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28658         TEST_NAN_SIGN.
28659         (signbit_test_data): Add tests of quiet NaN argument.
28660         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28662         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28663         $ignore_result.
28664         (parse_args): Handle function results specified as IGNORE.
28665         * math/libm-test.inc (IGNORE_RESULT): New macro.
28666         (check_float_internal): Do not check numerical result if flag
28667         IGNORE_RESULT set.
28668         (check_complex): Pass through IGNORE_RESULT to second
28669         check_float_internal call.
28670         (check_int): Do not check numerical result if flag IGNORE_RESULT
28671         set.
28672         (check_long): Likewise.
28673         (check_bool): Likewise.
28674         (check_longlong): Likewise.
28675         (lrint_test_data): Add tests of infinite and NaN arguments.
28676         (lrint_tonearest_test_data): Likewise.
28677         (lrint_towardzero_test_data): Likewise.
28678         (lrint_downward_test_data): Likewise.
28679         (lrint_upward_test_data): Likewise.
28680         (llrint_test_data): Likewise.
28681         (llrint_tonearest_test_data): Likewise.
28682         (llrint_towardzero_test_data): Likewise.
28683         (llrint_downward_test_data): Likewise.
28684         (llrint_upward_test_data): Likewise.
28685         (lround_test_data): Likewise.
28686         (llround_test_data): Likewise.
28688         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28689         (ERRNO_UNCHANGED): Update value.
28690         (ERRNO_EDOM): Likewise.
28691         (ERRNO_ERANGE): Likewise.
28692         (NO_TEST_INLINE_FLOAT): New macro.
28693         (NO_TEST_INLINE_DOUBLE): Likewise.
28694         (enable_test): New function.
28695         (RUN_TEST_f_f): Check enable_test before running test.
28696         (RUN_TEST_2_f): Likewise.
28697         (RUN_TEST_fff_f): Likewise.
28698         (RUN_TEST_c_f): Likewise.
28699         (RUN_TEST_f_f1): Likewise.
28700         (RUN_TEST_fF_f1): Likewise.
28701         (RUN_TEST_fI_f1): Likewise.
28702         (RUN_TEST_ffI_f1): Likewise.
28703         (RUN_TEST_c_c): Likewise.
28704         (RUN_TEST_cc_c): Likewise.
28705         (RUN_TEST_f_i): Likewise.
28706         (RUN_TEST_f_i_tg): Likewise.
28707         (RUN_TEST_ff_i_tg): Likewise.
28708         (RUN_TEST_f_b): Likewise.
28709         (RUN_TEST_f_b_tg): Likewise.
28710         (RUN_TEST_f_l): Likewise.
28711         (RUN_TEST_f_L): Likewise.
28712         (RUN_TEST_fFF_11): Likewise.
28713         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28714         conditionals.
28715         (cosh_test_data): Likewise.
28716         (exp_test_data): Likewise.
28717         (expm1_test_data): Likewise.
28718         (hypot_test_data): Likewise.
28719         (pow_test_data): Likewise.
28720         (sinh_test_data): Likewise.
28721         (tanh_test_data): Likewise.
28722         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28723         flags argument.
28725         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28726         tests with quiet NaN input and output.
28727         (acosh_test_data): Likewise.
28728         (asin_test_data): Likewise.
28729         (asinh_test_data): Likewise.
28730         (atan_test_data): Likewise.
28731         (atanh_test_data): Likewise.
28732         (atan2_test_data): Likewise.
28733         (cbrt_test_data): Likewise.
28734         (cos_test_data): Likewise.
28735         (cosh_test_data): Likewise.
28736         (erf_test_data): Likewise.
28737         (erfc_test_data): Likewise.
28738         (exp_test_data): Likewise.
28739         (exp10_test_data): Likewise.
28740         (exp2_test_data): Likewise.
28741         (expm1_test_data): Likewise.
28742         (hypot_test_data): Likewise.
28743         (j0_test_data): Likewise.
28744         (j1_test_data): Likewise.
28745         (jn_test_data): Likewise.
28746         (lgamma_test_data): Likewise.
28747         (log_test_data): Likewise.
28748         (log10_test_data): Likewise.
28749         (log1p_test_data): Likewise.
28750         (log2_test_data): Likewise.
28751         (pow_test_data): Likewise.
28752         (scalb_test_data): Likewise.
28753         (sin_test_data): Likewise.
28754         (sincos_test_data): Likewise.
28755         (sinh_test_data): Likewise.
28756         (tan_test_data): Likewise.
28757         (tanh_test_data): Likewise.
28758         (tgamma_test_data): Likewise.
28759         (y0_test_data): Likewise.
28760         (y1_test_data): Likewise.
28761         (yn_test_data): Likewise.
28763         [BZ #16167]
28764         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28765         argument being NaN and avoid computations with second argument in
28766         that case.
28767         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28768         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28769         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28771 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28773         * locale/iso-639.def: Add Chitwani Tharu (the).
28775 2013-11-14  Andreas Schwab  <schwab@suse.de>
28777         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28778         word instead of empty string.
28780 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28783         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28785         (__fe_nomask_env): Likewise.
28787 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28789         * benchtests/bench-timing.h: Include time.h.
28791 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28793         [BZ #15997]
28794         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28795         to 3.4.0 for x32.
28796         * sysdeps/unix/sysv/linux/configure: Regenerated.
28798 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28800         [BZ #16151]
28801         * stdlib/strtod_l.c (round_and_return): Do not consider
28802         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28803         exponent one less than half the least subnormal exponent.
28804         * stdlib/test-strtod-round-data: Add more tests.
28805         * stdlib/tst-strtod-round.c (tests): Regenerated.
28807 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28809         [BZ #14143]
28810         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28811         (__fe_mask_env): Likewise.
28812         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28813         libm_hidden_proto and add function prototype.
28814         (__fe_mask_env): Add function prototype.
28815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28816         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28818         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28820         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28822 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28824         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28825         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28827 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28829         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28830         of htab_find_slot().
28832 2013-11-11  David S. Miller  <davem@davemloft.net>
28834         [BZ #16150]
28835         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28836         symbol in the non-vis3 case in static builds.
28837         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28838         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28839         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28840         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28842 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28844         [BZ #387]
28845         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28846         it is empty.
28848 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28850         * benchtests/Makefile: Add bench-strtod.
28851         * benchtests/bench-strtod.c: New file: strtod benchtest
28853 2013-11-11  Andreas Schwab  <schwab@suse.de>
28855         [BZ #16153]
28856         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28857         terminating NUL in key length.
28859 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28861         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28862         Add artificial ODP entry for vDSO symbol for PPC64.
28863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28864         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28866 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28868         [BZ #15374]
28869         * nss/getent.c (services_keys): Recognize services starting with digit.
28871 2013-11-06  David S. Miller  <davem@davemloft.net>
28873         [BZ #15985]
28874         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28875         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28877 2013-11-06  Will Newton  <will.newton@linaro.org>
28879         * manual/memory.texi (Malloc Examples): Remove register
28880         keyword from examples.
28882 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28884         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28886 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28888         [BZ #6981]
28889         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28890         depending on [__GCC_IEC_559 > 0].
28891         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28892         depending on [__GCC_IEC_559_COMPLEX > 0].
28894 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28896         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28897         to iso-639.def.
28899 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28901         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28903 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28905         [BZ #16112]
28906         * malloc/malloc (malloc_info): Do not handle first bin as
28907         special case.
28909 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28911         * locale/iso-639.def: Add Central Nahuatl (nhn).
28913 2013-11-01  Bruno Haible  <bruno@clisp.org>
28915         [BZ #7003]
28916         * manual/math.texi (BSD Random): Specify range upper bound as
28917         in POSIX.
28919 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28921         * locale/iso-639.def: Add Meadow Mari (mhr).
28923 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28925         [BZ #14752], [BZ #15763]
28926         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28927         Validate name.
28928         * rt/tst_shm.c: Add test for escaping directory.
28930 2013-10-31  Andreas Schwab  <schwab@suse.de>
28932         [BZ #15917]
28933         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28934         followed by 'x' as part of digit sequence.
28935         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28937 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28939         [BZ #16037]
28940         * configure.ac: allow GNU Make 4.0 and greater.
28941         * configure: Regenerated.
28943 2013-10-30  Will Newton  <will.newton@linaro.org>
28945         [BZ #16038]
28946         * malloc/hooks.c (memalign_check): Limit alignment to the
28947         maximum representable power of two.
28948         * malloc/malloc.c (__libc_memalign): Likewise.
28949         * malloc/tst-memalign.c (do_test): Add test for very
28950         large alignment values.
28951         * malloc/tst-posix_memalign.c (do_test): Likewise.
28953 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28955         [BZ #11087]
28956         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28957         (munmap_chunk): Likewise.
28958         (mremap_chunk): Likewise.
28960 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28962         [BZ #15799]
28963         * stdlib/div.c (div): Remove obsolete code.
28964         * stdlib/ldiv.c (ldiv): Likewise.
28965         * stdlib/lldiv.c (lldiv): Likewise.
28967 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28969         [BZ #16071]
28970         * nss/nss_files/files-XXX.c (get_contents_ret): New
28971         enumerator.
28972         (get_contents): New function.
28973         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28975 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28977         * configure.in: Moved to ...
28978         * configure.ac: ... here. Change reference to configure.in
28979         to configure.ac.
28980         * sysdeps/arm/preconfigure.ac: ... here.
28981         configure.in to configure.ac.
28982         * sysdeps/gnu/configure.in: Moved to ...
28983         * sysdeps/gnu/configure.ac: ... here.
28984         * sysdeps/i386/configure.in: Moved to ...
28985         * sysdeps/i386/configure.ac: ... here.
28986         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28987         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28988         * sysdeps/mach/configure.in: Moved to ...
28989         * sysdeps/mach/configure.ac: ... here.
28990         * sysdeps/mach/hurd/configure.in: Moved to ...
28991         * sysdeps/mach/hurd/configure.ac: ... here.
28992         * sysdeps/powerpc/configure.in: Moved to ...
28993         * sysdeps/powerpc/configure.ac: ... here.
28994         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28995         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28996         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28997         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28998         * sysdeps/s390/s390-32/configure.in: Moved to ...
28999         * sysdeps/s390/s390-32/configure.ac: ... here.
29000         * sysdeps/s390/s390-64/configure.in: Moved to ...
29001         * sysdeps/s390/s390-64/configure.ac: ... here.
29002         * sysdeps/sh/configure.in: Moved to ...
29003         * sysdeps/sh/configure.ac: ... here.
29004         * sysdeps/sparc/configure.in: Moved to ...
29005         * sysdeps/sparc/configure.ac: ... here.
29006         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29007         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29008         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29009         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29010         * sysdeps/x86_64/configure.in: Moved to ...
29011         * sysdeps/x86_64/configure.ac: ... here.
29012         * sysdeps/x86_64/preconfigure.in: Moved to ...
29013         * sysdeps/x86_64/preconfigure.ac: ... here.
29014         * aclocal.m4: Change reference to configure.in to configure.ac.
29015         * config.h.in: Likewise.
29016         * manual/install.texi: Likewise.
29017         * manual/maint.texi: Likewise.
29018         * Makefile: Likewise.
29019         * malloc/Makefile: Likewise.
29020         * nscd/Makefile: Likewise.
29021         * Makeconfig: Change reference to configure.in and
29022         preconfigure.in to configure.ac and preconfigure.ac
29023         respectively.
29024         * INSTALL: Regenerated.
29025         * configure: Likewise.
29026         * sysdeps/gnu/configure: Likewise.
29027         * sysdeps/i386/configure: Likewise.
29028         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29029         * sysdeps/mach/configure: Likewise.
29030         * sysdeps/mach/hurd/configure: Likewise.
29031         * sysdeps/powerpc/configure: Likewise.
29032         * sysdeps/powerpc/powerpc32/configure: Likewise.
29033         * sysdeps/powerpc/powerpc64/configure: Likewise.
29034         * sysdeps/s390/s390-32/configure: Likewise.
29035         * sysdeps/s390/s390-64/configure: Likewise.
29036         * sysdeps/sh/configure: Likewise.
29037         * sysdeps/sparc/configure: Likewise.
29038         * sysdeps/unix/sysv/linux/configure: Likewise.
29039         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29040         * sysdeps/x86_64/configure: Likewise.
29041         * sysdeps/x86_64/preconfigure: Likewise.
29043 2013-10-29  Andreas Schwab  <schwab@suse.de>
29045         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29047 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29049         * benchtests/pow-inputs: Add new inputs.
29051         * benchtests/exp-inputs: Add new inputs.
29053         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29054         conditional check for return value.
29055         (__cos32): Likewise.
29057 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29059         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29060         to provide a boost for large inputs with word alignment.
29061         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29062         implementation based on optimized PPC64 strcpy.
29063         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29064         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29065         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29066         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29068 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29070         [BZ #2801]
29071         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29073 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29075         [BZ #14876]
29076         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29077         * time/tst-strptime.c (day_tests): Add testcase.
29079 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29081         [BZ #14029]
29082         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29084 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29086         [BZ #16074]
29087         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29088         MAP_FAILED on error.
29090 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29092         [BZ #16072]
29093         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29094         heap for large requests.
29096 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29098         [BZ #9954]
29099         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29100         result if the result has no associated interface.
29101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29102         interface for all 127.X.Y.Z addresses.
29104 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29106         * locale/iso-639.def: Add Ligurian (lij)
29108 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29110         [BZ #15825]
29111         * sunrpc/rpc_main.c: Document rpcgen -5.
29113 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29115         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29117 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29119         [BZ #10278]
29120         * posix/glob.c: Match only directories when trailing slash is present.
29121         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29122         (main): Add testcase.
29124 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29126         [BZ #15670]
29127         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29129 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29131         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29132         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29133         AUTH_DES and cindex for FIPS 140-2.
29134         (DES Encryption): Add cindex FIPS 46-3.
29136         * locale/locarchive.h (struct locarhandle): Add fname.
29137         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29138         if an optional argument was specified to --list-archive,
29139         otherwise NULL.
29140         * locale/programs/locarchive.c (show_archive_content): Take new
29141         argument fname and pass it via ah.fname to open_archive.
29142         * locale/programs/localedef.h: Update decl.
29143         (open_archive): If AH->fname is non-null, open that file
29144         rather than the default file name, and don't ignore ENOENT.
29145         (create_archive): Set AH.fname to NULL.
29146         (delete_locales_from_archive): Likewise.
29147         (add_locales_to_archive): Likewise.
29148         * locale/programs/locfile.c (write_all_categories): Likewise.
29150 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29151             Aldy Hernandez  <aldyh@redhat.com>
29153         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29154         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29155         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29156         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29157         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29160         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29161         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29162         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29164         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29166         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29167         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29168         Likewise.
29169         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29170         Likewise.
29171         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29172         Likewise.
29173         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29174         Likewise.
29175         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29176         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29177         Likewise.
29178         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29179         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29180         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29181         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29182         Likewise.
29183         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29184         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29185         * sysdeps/powerpc/preconfigure: Likewise.
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29187         Likewise.
29188         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29189         Replace contents of file by #include of <fenv_libc.h>.
29190         * sysdeps/powerpc/soft-fp/sfp-machine.h
29191         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29192         and <sys/prctl.h>.
29193         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29197         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29198         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29200         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29201         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29203         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29204         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29206         Allow copysignl PLT reference to be missing.
29208 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29209             Joseph Myers  <joseph@codesourcery.com
29211         [BZ #15948]
29212         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29213         single character.
29214         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29216 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29218         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29219         * elf/tst-tls1.c: Likewise.
29220         * elf/tst-tls10.h: Likewise.
29221         * elf/tst-tls14.c: Likewise.
29222         * elf/tst-tls2.c: Likewise.
29223         * elf/tst-tls3.c: Likewise.
29224         * elf/tst-tls4.c: Likewise.
29225         * elf/tst-tls5.c: Likewise.
29226         * elf/tst-tls6.c: Likewise.
29227         * elf/tst-tls7.c: Likewise.
29228         * elf/tst-tls8.c: Likewise.
29229         * elf/tst-tls9.c: Likewise.
29230         * elf/tst-tlsmod1.c: Likewise.
29231         * elf/tst-tlsmod13.c: Likewise.
29232         * elf/tst-tlsmod13a.c: Likewise.
29233         * elf/tst-tlsmod14a.c: Likewise.
29234         * elf/tst-tlsmod16a.c: Likewise.
29235         * elf/tst-tlsmod16b.c: Likewise.
29236         * elf/tst-tlsmod2.c: Likewise.
29237         * elf/tst-tlsmod3.c: Likewise.
29238         * elf/tst-tlsmod4.c: Likewise.
29239         * elf/tst-tlsmod5.c: Likewise.
29240         * elf/tst-tlsmod6.c: Likewise.
29242 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29244         [BZ #12486]
29245         * malloc/malloc.c: remove checks for statistics.
29247 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29249         [BZ #15277]
29250         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29251         * inet/tst-network.c: Add testcase.
29253 2013-10-17  Andreas Schwab  <schwab@suse.de>
29255         [BZ #15218]
29256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29257         to determine canonical name.
29259 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29261         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29262         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29263         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29265         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29266         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29267         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29268         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29269         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29270         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29271         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29272         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29273         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29274         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29275         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29276         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29279         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29280         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29281         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29284         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29285         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29286         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29287         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29288         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29289         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29290         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29291         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29293         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29294         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29295         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29296         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29297         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29298         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29299         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29301         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29302         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29303         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29304         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29305         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29306         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29308         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29309         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29310         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29311         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29312         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29313         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29314         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29315         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29316         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29318         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29320 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #16041]
29323         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29324         make result into a quiet NaN.
29326 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29328         * soft-fp/adddf3.c: Fix horizontal whitespace.
29329         * soft-fp/addsf3.c: Likewise.
29330         * soft-fp/addtf3.c: Likewise.
29331         * soft-fp/divdf3.c: Likewise.
29332         * soft-fp/divsf3.c: Likewise.
29333         * soft-fp/divtf3.c: Likewise.
29334         * soft-fp/double.h: Likewise.
29335         * soft-fp/eqdf2.c: Likewise.
29336         * soft-fp/eqsf2.c: Likewise.
29337         * soft-fp/eqtf2.c: Likewise.
29338         * soft-fp/extenddftf2.c: Likewise.
29339         * soft-fp/extended.h: Likewise.
29340         * soft-fp/extendsfdf2.c: Likewise.
29341         * soft-fp/extendsftf2.c: Likewise.
29342         * soft-fp/extendxftf2.c: Likewise.
29343         * soft-fp/fixdfdi.c: Likewise.
29344         * soft-fp/fixdfsi.c: Likewise.
29345         * soft-fp/fixdfti.c: Likewise.
29346         * soft-fp/fixsfdi.c: Likewise.
29347         * soft-fp/fixsfsi.c: Likewise.
29348         * soft-fp/fixsfti.c: Likewise.
29349         * soft-fp/fixtfdi.c: Likewise.
29350         * soft-fp/fixtfsi.c: Likewise.
29351         * soft-fp/fixtfti.c: Likewise.
29352         * soft-fp/fixunsdfdi.c: Likewise.
29353         * soft-fp/fixunsdfsi.c: Likewise.
29354         * soft-fp/fixunsdfti.c: Likewise.
29355         * soft-fp/fixunssfdi.c: Likewise.
29356         * soft-fp/fixunssfsi.c: Likewise.
29357         * soft-fp/fixunssfti.c: Likewise.
29358         * soft-fp/fixunstfdi.c: Likewise.
29359         * soft-fp/fixunstfsi.c: Likewise.
29360         * soft-fp/fixunstfti.c: Likewise.
29361         * soft-fp/floatdidf.c: Likewise.
29362         * soft-fp/floatdisf.c: Likewise.
29363         * soft-fp/floatditf.c: Likewise.
29364         * soft-fp/floatsidf.c: Likewise.
29365         * soft-fp/floatsisf.c: Likewise.
29366         * soft-fp/floatsitf.c: Likewise.
29367         * soft-fp/floattidf.c: Likewise.
29368         * soft-fp/floattisf.c: Likewise.
29369         * soft-fp/floattitf.c: Likewise.
29370         * soft-fp/floatundidf.c: Likewise.
29371         * soft-fp/floatundisf.c: Likewise.
29372         * soft-fp/floatunditf.c: Likewise.
29373         * soft-fp/floatunsidf.c: Likewise.
29374         * soft-fp/floatunsisf.c: Likewise.
29375         * soft-fp/floatunsitf.c: Likewise.
29376         * soft-fp/floatuntidf.c: Likewise.
29377         * soft-fp/floatuntisf.c: Likewise.
29378         * soft-fp/floatuntitf.c: Likewise.
29379         * soft-fp/fmadf4.c: Likewise.
29380         * soft-fp/fmasf4.c: Likewise.
29381         * soft-fp/fmatf4.c: Likewise.
29382         * soft-fp/gedf2.c: Likewise.
29383         * soft-fp/gesf2.c: Likewise.
29384         * soft-fp/getf2.c: Likewise.
29385         * soft-fp/ledf2.c: Likewise.
29386         * soft-fp/lesf2.c: Likewise.
29387         * soft-fp/letf2.c: Likewise.
29388         * soft-fp/muldf3.c: Likewise.
29389         * soft-fp/mulsf3.c: Likewise.
29390         * soft-fp/multf3.c: Likewise.
29391         * soft-fp/negdf2.c: Likewise.
29392         * soft-fp/negsf2.c: Likewise.
29393         * soft-fp/negtf2.c: Likewise.
29394         * soft-fp/op-1.h: Likewise.
29395         * soft-fp/op-2.h: Likewise.
29396         * soft-fp/op-4.h: Likewise.
29397         * soft-fp/op-8.h: Likewise.
29398         * soft-fp/op-common.h: Likewise.
29399         * soft-fp/quad.h: Likewise.
29400         * soft-fp/single.h: Likewise.
29401         * soft-fp/soft-fp.h: Likewise.
29402         * soft-fp/sqrtdf2.c: Likewise.
29403         * soft-fp/sqrtsf2.c: Likewise.
29404         * soft-fp/sqrttf2.c: Likewise.
29405         * soft-fp/subdf3.c: Likewise.
29406         * soft-fp/subsf3.c: Likewise.
29407         * soft-fp/subtf3.c: Likewise.
29408         * soft-fp/truncdfsf2.c: Likewise.
29409         * soft-fp/trunctfdf2.c: Likewise.
29410         * soft-fp/trunctfsf2.c: Likewise.
29411         * soft-fp/trunctfxf2.c: Likewise.
29412         * soft-fp/unorddf2.c: Likewise.
29413         * soft-fp/unordsf2.c: Likewise.
29414         * soft-fp/unordtf2.c: Likewise.
29416 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29418         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29419         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29421 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29423         * elf/dl-libc.c: Clear initfini list after freeing.
29425 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29427         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29428         * soft-fp/addsf3.c: Likewise.
29429         * soft-fp/addtf3.c: Likewise.
29430         * soft-fp/divdf3.c: Likewise.
29431         * soft-fp/divsf3.c: Likewise.
29432         * soft-fp/divtf3.c: Likewise.
29433         * soft-fp/double.h: Likewise.
29434         * soft-fp/eqdf2.c: Likewise.
29435         * soft-fp/eqsf2.c: Likewise.
29436         * soft-fp/eqtf2.c: Likewise.
29437         * soft-fp/extenddftf2.c: Likewise.
29438         * soft-fp/extended.h: Likewise.
29439         * soft-fp/extendsfdf2.c: Likewise.
29440         * soft-fp/extendsftf2.c: Likewise.
29441         * soft-fp/extendxftf2.c: Likewise.
29442         * soft-fp/fixdfdi.c: Likewise.
29443         * soft-fp/fixdfsi.c: Likewise.
29444         * soft-fp/fixdfti.c: Likewise.
29445         * soft-fp/fixsfdi.c: Likewise.
29446         * soft-fp/fixsfsi.c: Likewise.
29447         * soft-fp/fixsfti.c: Likewise.
29448         * soft-fp/fixtfdi.c: Likewise.
29449         * soft-fp/fixtfsi.c: Likewise.
29450         * soft-fp/fixtfti.c: Likewise.
29451         * soft-fp/fixunsdfdi.c: Likewise.
29452         * soft-fp/fixunsdfsi.c: Likewise.
29453         * soft-fp/fixunsdfti.c: Likewise.
29454         * soft-fp/fixunssfdi.c: Likewise.
29455         * soft-fp/fixunssfsi.c: Likewise.
29456         * soft-fp/fixunssfti.c: Likewise.
29457         * soft-fp/fixunstfdi.c: Likewise.
29458         * soft-fp/fixunstfsi.c: Likewise.
29459         * soft-fp/fixunstfti.c: Likewise.
29460         * soft-fp/floatdidf.c: Likewise.
29461         * soft-fp/floatdisf.c: Likewise.
29462         * soft-fp/floatditf.c: Likewise.
29463         * soft-fp/floatsidf.c: Likewise.
29464         * soft-fp/floatsisf.c: Likewise.
29465         * soft-fp/floatsitf.c: Likewise.
29466         * soft-fp/floattidf.c: Likewise.
29467         * soft-fp/floattisf.c: Likewise.
29468         * soft-fp/floattitf.c: Likewise.
29469         * soft-fp/floatundidf.c: Likewise.
29470         * soft-fp/floatundisf.c: Likewise.
29471         * soft-fp/floatunsidf.c: Likewise.
29472         * soft-fp/floatunsisf.c: Likewise.
29473         * soft-fp/floatuntidf.c: Likewise.
29474         * soft-fp/floatuntisf.c: Likewise.
29475         * soft-fp/floatuntitf.c: Likewise.
29476         * soft-fp/fmadf4.c: Likewise.
29477         * soft-fp/fmasf4.c: Likewise.
29478         * soft-fp/fmatf4.c: Likewise.
29479         * soft-fp/gedf2.c: Likewise.
29480         * soft-fp/gesf2.c: Likewise.
29481         * soft-fp/getf2.c: Likewise.
29482         * soft-fp/ledf2.c: Likewise.
29483         * soft-fp/lesf2.c: Likewise.
29484         * soft-fp/letf2.c: Likewise.
29485         * soft-fp/muldf3.c: Likewise.
29486         * soft-fp/mulsf3.c: Likewise.
29487         * soft-fp/multf3.c: Likewise.
29488         * soft-fp/negdf2.c: Likewise.
29489         * soft-fp/negsf2.c: Likewise.
29490         * soft-fp/negtf2.c: Likewise.
29491         * soft-fp/op-1.h: Likewise.
29492         * soft-fp/op-2.h: Likewise.
29493         * soft-fp/op-4.h: Likewise.
29494         * soft-fp/op-8.h: Likewise.
29495         * soft-fp/op-common.h: Likewise.
29496         * soft-fp/quad.h: Likewise.
29497         * soft-fp/single.h: Likewise.
29498         * soft-fp/soft-fp.h: Likewise.
29499         * soft-fp/sqrtdf2.c: Likewise.
29500         * soft-fp/sqrtsf2.c: Likewise.
29501         * soft-fp/sqrttf2.c: Likewise.
29502         * soft-fp/subdf3.c: Likewise.
29503         * soft-fp/subsf3.c: Likewise.
29504         * soft-fp/subtf3.c: Likewise.
29505         * soft-fp/truncdfsf2.c: Likewise.
29506         * soft-fp/trunctfdf2.c: Likewise.
29507         * soft-fp/trunctfsf2.c: Likewise.
29508         * soft-fp/trunctfxf2.c: Likewise.
29509         * soft-fp/unorddf2.c: Likewise.
29510         * soft-fp/unordsf2.c: Likewise.
29511         * soft-fp/unordtf2.c: Likewise.
29513 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29515         [BZ #15672]
29516         * misc/error.c (error_tail): Fix possible buffer overflow.
29518 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29520         [BZ #13028]
29521         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29522         address.
29524 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29526         [BZ #832]
29527         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29528         testing pipefail option.
29530 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29532         * soft-fp/double.h: Indent preprocessor directives inside #if.
29533         * soft-fp/extended.h: Likewise.
29534         * soft-fp/op-2.h: Likewise.
29535         * soft-fp/op-4.h: Likewise.
29536         * soft-fp/op-common.h: Likewise.
29537         * soft-fp/quad.h: Likewise.
29538         * soft-fp/single.h: Likewise.
29539         * soft-fp/soft-fp.h: Likewise.
29541 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29543         * iconv/iconv_prog.c: Fix typos.
29544         * stdio-common/psiginfo-data.h: Likewise.
29546 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29548         [BZ #15764]
29549         * locale/setlocale.c: Fix typo.
29551 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29553         [BZ #16036]
29554         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29555         signaling NaN arguments.
29556         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29557         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29559         [BZ #14910]
29560         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29561         unordered operands.
29562         * soft-fp/gesf2.c (__gesf2): Likewise.
29563         * soft-fp/getf2.c (__getf2): Likewise.
29564         * soft-fp/ledf2.c (__ledf2): Likewise.
29565         * soft-fp/lesf2.c (__lesf2): Likewise.
29566         * soft-fp/letf2.c (__letf2): Likewise.
29568         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29569         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29570         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29571         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29572         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29573         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29574         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29575         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29576         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29577         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29578         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29579         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29580         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29581         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29582         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29583         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29584         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29585         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29586         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29587         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29588         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29589         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29590         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29591         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29592         * soft-fp/floattidf.c (__floattidf): Likewise.
29593         * soft-fp/floattisf.c (__floattisf): Likewise.
29594         * soft-fp/floattitf.c (__floattitf): Likewise.
29595         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29596         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29597         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29598         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29599         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29600         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29601         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29602         * soft-fp/gesf2.c (__gesf2): Likewise.
29603         * soft-fp/getf2.c (__getf2): Likewise.
29604         * soft-fp/ledf2.c (__ledf2): Likewise.
29605         * soft-fp/lesf2.c (__lesf2): Likewise.
29606         * soft-fp/letf2.c (__letf2): Likewise.
29608         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29609         Undefine and redefine.
29610         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29611         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29612         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29613         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29614         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29615         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29616         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29617         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29618         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29619         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29620         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29621         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29622         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29623         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29624         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29626         [BZ #16032]
29627         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29628         without decrementing exponent if mantissa >= that for the
29629         denominator, not >.
29630         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29631         denominator, not >.  Decrement exponent in < case instead of
29632         incrementing in >= case.
29633         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29634         without decrementing exponent if mantissa >= that for the
29635         denominator, not >.
29637         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29638         computing saturated result for unsigned overflow.
29640 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29641             Jeff Law  <law@redhat.com>
29643         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29644         (atan2Mp): Add systemtap probe marker.
29645         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29646         (__ieee754_log): Add systemtap probe marker.
29647         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29648         (atanMp): Add systemtap probe marker.
29649         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29650         (tanMp): Add systemtap probe marker.
29651         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29652         (__slowexp): Add systemtap probe marker.
29653         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29654         (__slowpow): Add systemtap probe marker.
29655         * manual/probes.texi: Document probes.
29657 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29659         [BZ #15362]
29660         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29661         written.
29662         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29663         written.
29664         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29665         written to buffer but not flushed.
29666         * libio/iofwrite_u.c:  Likewise.
29667         * libio/iopadn.c:  Return bytes returned even if EOF was
29668         encountered.
29669         * libio/iowpadn.c:  Likewise.
29670         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29671         if _IO_padn does not write the whole buffer.
29672         [!COMPILE_WPRINTF] (PAD): Likewise.
29674 2013-10-10  David S. Miller  <davem@davemloft.net>
29676         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29677         directory block.
29679 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29681         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29682         instead of FSF address.
29683         * soft-fp/fixdfti.c: Likewise.
29684         * soft-fp/fixsfti.c: Likewise.
29685         * soft-fp/fixtfti.c: Likewise.
29686         * soft-fp/fixunsdfti.c: Likewise.
29687         * soft-fp/fixunssfti.c: Likewise.
29688         * soft-fp/fixunstfti.c: Likewise.
29689         * soft-fp/floattidf.c: Likewise.
29690         * soft-fp/floattisf.c: Likewise.
29691         * soft-fp/floattitf.c: Likewise.
29692         * soft-fp/floatuntidf.c: Likewise.
29693         * soft-fp/floatuntisf.c: Likewise.
29694         * soft-fp/floatuntitf.c: Likewise.
29695         * soft-fp/trunctfxf2.c: Likewise.
29697         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29698         * soft-fp/fixdfti.c: Likewise.
29699         * soft-fp/fixsfti.c: Likewise.
29700         * soft-fp/fixtfti.c: Likewise.
29701         * soft-fp/fixunsdfti.c: Likewise.
29702         * soft-fp/fixunssfti.c: Likewise.
29703         * soft-fp/fixunstfti.c: Likewise.
29704         * soft-fp/floattidf.c: Likewise.
29705         * soft-fp/floattisf.c: Likewise.
29706         * soft-fp/floattitf.c: Likewise.
29707         * soft-fp/floatuntidf.c: Likewise.
29708         * soft-fp/floatuntisf.c: Likewise.
29709         * soft-fp/floatuntitf.c: Likewise.
29710         * soft-fp/trunctfxf2.c: Likewise.
29712 2013-10-10  David S. Miller  <davem@davemloft.net>
29714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29716 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29718         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29719         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29720         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29721         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29722         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29723         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29724         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29727         for NaNs before doing comparisons on argument.
29728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29729         Likewise.
29731 2013-10-10  Will Newton  <will.newton@linaro.org>
29733         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29734         passed to _int_memalign does not overflow.
29736 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29738         * scripts/bench.pl: Add include-sources directive.
29739         * benchtests/README: Update documentation.
29741 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29743         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29744         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29745         instead of FP_INIT_ROUNDMODE.
29746         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29747         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29749         [BZ #16034]
29750         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29751         copy class of input value.
29752         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29753         not handle exceptions.
29754         * soft-fp/negsf2.c (__negsf2): Likewise.
29755         * soft-fp/negtf2.c (__negtf2): Likewise.
29756         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29758 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29760         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29761         semicolon.  From Linux kernel.
29763 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29765         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29767 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29769         [BZ #156]
29770         * manual/socket.texi: Added statement about buffer
29771         for gethostbyname2_r.
29773 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29775         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29776         Use .p2align directive instead, throughout.
29777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29778         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29779         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29780         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29781         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29782         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29783         * sysdeps/x86_64/strchr.S: Likewise.
29784         * sysdeps/x86_64/strrchr.S: Likewise.
29786 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29788         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29790         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29792         * sysdeps/generic/math_private.h (__mpsin1): Remove
29793         declaration.
29794         (__mpcos1): Likewise.
29795         (__mpsin): New argument __range_reduce.
29796         (__mpcos): Likewise.
29797         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29798         (slow): Use __mpsin and __mpcos.
29799         (slow1): Likewise.
29800         (slow2): Likewise.
29801         (sloww): Likewise.
29802         (sloww1): Likewise.
29803         (sloww2): Likewise.
29804         (bsloww): Likewise.
29805         (bsloww1): Likewise.
29806         (bsloww2): Likewise.
29807         (cslow2): Likewise.
29808         (csloww): Likewise.
29809         (csloww1): Likewise.
29810         (csloww2): Likewise.
29811         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29812         range_reduce.  Merge in __mpsin1.
29813         (__mpcos): Likewise.
29814         (__mpsin1): Remove.
29815         (__mpcos1): Likewise.
29817 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29819         * locale/loadlocale.c (_nl_intern_locale_data): Use
29820         LOCFILE_ALIGNED_P.
29821         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29822         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29823         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29824         obstack data is appropriately aligned.
29825         (obstack_int32_grow_fast): Likewise.
29826         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29827         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29828         (add_locale_uint32_array): Likewise.
29830 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29832         * benchtests/Makefile: Remove ARGLIST and RET variables.
29833         ($(objpfx)bench-%.c): Pass only function name to the script.
29834         * benchtests/README: Update documentation.
29835         * benchtests/acos-inputs: Add new directives.
29836         * benchtests/acosh-inputs: Likewise.
29837         * benchtests/asin-inputs: Likewise.
29838         * benchtests/asinh-inputs: Likewise.
29839         * benchtests/atan-inputs: Likewise.
29840         * benchtests/atanh-inputs: Likewise.
29841         * benchtests/cos-inputs: Likewise.
29842         * benchtests/cosh-inputs: Likewise.
29843         * benchtests/exp-inputs: Likewise.
29844         * benchtests/log-inputs: Likewise.
29845         * benchtests/pow-inputs: Likewise.
29846         * benchtests/rint-inputs: Likewise.
29847         * benchtests/sin-inputs: Likewise.
29848         * benchtests/sinh-inputs: Likewise.
29849         * benchtests/tan-inputs: Likewise.
29850         * benchtests/tanh-inputs: Likewise.
29851         * scripts/bench.pl: Add support for new directives.
29853 2013-10-07  Alan Modra  <amodra@gmail.com>
29855         * README: Fix careless merge.
29857 2013-10-05  Alan Modra  <amodra@gmail.com>
29859         * NEWS: Mention powerpc64le support and bugs fixed.
29860         * README: Both big-endian and little-endian powerpc64 supported.
29862 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29864         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29865         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29866         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29867         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29869 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29871         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29872         match prototype.
29874 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29876         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29877         Move -mhard-float appending from
29878         ports/sysdeps/powerpc/powerpc32/Makefile.
29879         [$(with-fp) = yes] (ASFLAGS): Likewise.
29880         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29881         * sysdeps/powerpc/nofpu: Move directory from
29882         ports/sysdeps/powerpc/nofpu.
29883         * sysdeps/powerpc/soft-fp: Move directory from
29884         ports/sysdeps/powerpc/soft-fp.
29885         * sysdeps/powerpc/powerpc32/405: Move directory from
29886         ports/sysdeps/powerpc/powerpc32/405.
29887         * sysdeps/powerpc/powerpc32/440: Move directory from
29888         ports/sysdeps/powerpc/powerpc32/440.
29889         * sysdeps/powerpc/powerpc32/464: Move directory from
29890         ports/sysdeps/powerpc/powerpc32/464.
29891         * sysdeps/powerpc/powerpc32/476: Move directory from
29892         ports/sysdeps/powerpc/powerpc32/476.
29893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29894         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29896         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29898         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29900         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29902         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29903         * README: Update for powerpc-*-linux-gnu software floating point
29904         support in libc.
29906         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29907         case to powerpc/powerpc32*.
29908         * sysdeps/unix/sysv/linux/configure: Regenerated.
29910         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29911         (_FPU_MASK_OM): Define as 0x04.
29912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29914         0x00c10080.
29915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29916         0x0000003c.
29917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29920         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29921         getcontext_e500.
29922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29923         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29924         setcontext_e500.
29925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29926         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29927         and setcontext_e500.
29929 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29931         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29933 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29935         * manual/threads.texi (Default Thread Attributes): Fix typo.
29937 2013-10-04  Will Newton  <will.newton@linaro.org>
29939         * malloc/Makefile: Add tst-memalign.
29940         * malloc/tst-memalign.c: New file.
29942         * malloc/tst-posix_memalign.c: Add comments.
29943         (do_test): Add comments and call free on all potentially
29944         allocated pointers. Add space after cast.
29946         * malloc/tst-pvalloc.c: Add comments.
29947         (do_test): Add comments and call free on all potentially
29948         allocated pointers. Remove duplicate check for NULL pointer.
29949         Add space after cast.
29951         * malloc/tst-valloc.c: Add comments.
29952         (do_test): Add comments and call free on all potentially
29953         allocated pointers. Remove duplicate check for NULL pointer.
29954         Add space after cast.
29956 2013-10-04  Alan Modra  <amodra@gmail.com>
29958         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29959         Use stdint types in rather than __attribute__((mode())).
29960         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29962 2013-10-04  Alan Modra  <amodra@gmail.com>
29964         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29965         Correct handling of unaligned relocs for little-endian.
29966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29968 2013-10-04  Alan Modra  <amodra@gmail.com>
29970         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29971         * configure: Regenerate.
29972         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29973         * shlib-versions: Likewise.
29975 2013-10-04  Alan Modra  <amodra@gmail.com>
29977         * string/tester.c (test_memrchr): Increment reported test cycle.
29979 2013-10-04  Alan Modra  <amodra@gmail.com>
29981         * string/test-memcpy.c (do_one_test): When reporting errors, print
29982         string address and don't overrun end of string.
29984 2013-10-04  Alan Modra  <amodra@gmail.com>
29986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29987         insrdi.  Make better use of reg selection to speed exit slightly.
29988         Schedule entry path a little better.  Remove useless "are we done"
29989         checks on entry to main loop.  Handle wrapping around zero address.
29990         Correct main loop count.  Handle single left-over word from main
29991         loop inline rather than by using loop_small.  Remove extra word
29992         case in loop_small caused by wrong loop count.  Add little-endian
29993         support.
29994         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29996         cache hint.
29997         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29998         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29999         support.  Avoid rlwimi.
30000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30002 2013-10-04  Alan Modra  <amodra@gmail.com>
30004         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30005         insrdi.  Formatting.
30006         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30007         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30008         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30009         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30010         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30011         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30013 2013-10-04  Alan Modra  <amodra@gmail.com>
30015         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30017         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30018         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30019         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30020         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30023         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30024         use of regs.  Use power7 mtocrf.  Tidy function tails.
30026 2013-10-04  Alan Modra  <amodra@gmail.com>
30028         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30029         Formatting.  Consistently use rXXX register defines or rN defines.
30030         Use early exit labels that avoid restoring unused non-volatile regs.
30031         Make cr field use more consistent with rWORDn compares.  Rename
30032         regs used as shift registers for unaligned loop, using rN defines
30033         for short lifetime/multiple use regs.
30034         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30036         addi 1,1,64 to pop stack frame.  Simplify return value code.
30037         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30039 2013-10-04  Alan Modra  <amodra@gmail.com>
30041         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30042         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30043         rather than rlwimi.
30044         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30045         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30046         little-endian support.  Correct typos.
30047         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30048         rather than rlwimi.
30049         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30050         in loop and entry code to keep "and." results.
30051         (strchr): Add little-endian support.  Comment.  Move cntlzd
30052         earlier in tail.
30053         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30055 2013-10-04  Alan Modra  <amodra@gmail.com>
30057         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30058         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30059         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30060         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30062 2013-10-04  Alan Modra  <amodra@gmail.com>
30064         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30065         (rTMP): Define as r11.
30066         (strcmp): Add little-endian support.  Optimise tail.
30067         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30068         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30069         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30070         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30071         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30075 2013-10-04  Alan Modra  <amodra@gmail.com>
30077         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30078         little-endian support.  Remove unnecessary "are we done" tests.
30079         Handle "s" wrapping around zero and extremely large "size".
30080         Correct main loop count.  Handle single left-over word from main
30081         loop inline rather than by using small_loop.  Correct comments.
30082         Delete "zero" tail, use "end_max" instead.
30083         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30085 2013-10-04  Alan Modra  <amodra@gmail.com>
30087         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30088         support.  Don't branch over align.
30089         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30090         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30091         support.  Rearrange tmp reg use to suit.  Comment.
30092         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30094 2013-10-04  Alan Modra  <amodra@gmail.com>
30096         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30098 2013-10-04  Alan Modra  <amodra@gmail.com>
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30101         conditional form of branch and link when obtaining pc.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30104 2013-10-04  Alan Modra  <amodra@gmail.com>
30106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30107         HIWORD/LOWORD.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30111 2013-10-04  Alan Modra  <amodra@gmail.com>
30113         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30114         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30115         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30116         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30117         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30119         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30120         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30121         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30122         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30125             Alistair Popple <alistair@ozlabs.au.ibm.com>
30126             Alan Modra <amodra@gmail.com>
30128         [BZ #15723]
30129         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30131         _dl_hwcap access for little-endian.
30132         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30133         destroy vmx regs when saving unaligned.
30134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30135         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30136         destroy vmx regs when saving unaligned.
30138 2013-10-04  Alan Modra  <amodra@gmail.com>
30140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30141         Don't use a union to pack hi/low value.
30143 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30145         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30146         for little-endian.
30147         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30149         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30150         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30151         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30153 2013-10-04  Alan Modra  <amodra@gmail.com>
30155         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30156         constants to usual value for .cst8 section, and remove redundant
30157         high address load.
30158         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30159         constant for 0x1p52.  Load little-endian words of double from
30160         correct stack offsets.
30162 2013-10-04  Alan Modra  <amodra@gmail.com>
30164         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30165         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30166         words of double from correct stack offsets.
30167         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30168         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30169         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30170         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30171         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30172         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30173         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30174         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30175         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30178         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30179         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30180         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30181         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30182         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30183         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30185 2013-10-04  Alan Modra  <amodra@gmail.com>
30187         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30188         64-bit int/double union.
30189         (_FPU_SETCW): Likewise.
30190         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30191         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30193 2013-10-04  Alan Modra  <amodra@gmail.com>
30195         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30196         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30198 2013-10-04  Alan Modra  <amodra@gmail.com>
30200         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30201         use vector int constants.
30202         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30206         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30207         array with long long.
30208         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30209         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30210         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30211         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30212         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30213         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30214         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30215         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30216         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30217         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30218         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30219         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30220         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30222 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30224         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30225         (__signbit): Likewise.  Correct for little-endian.
30226         (__signbitl): Call __signbit.
30227         (lrint): Correct for little-endian.
30228         (lrintf): Call lrint.
30230 2013-10-04  Alan Modra  <amodra@gmail.com>
30232         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30233         union 32-bit int array member with 64-bit int array.
30234         (t515, tm256): Double rather than long double.
30235         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30237 2013-10-04  Alan Modra  <amodra@gmail.com>
30239         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30240         Delete.
30241         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30243         version of math_ldbl.h.
30245 2013-10-04  Alan Modra  <amodra@gmail.com>
30247         [BZ #15734], [BZ #15735]
30248         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30249         all uses of ieee875 long double macros and unions.  Simplify test
30250         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30251         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30252         normalize after ldbl_extract_mantissa, and don't add hidden bit
30253         already handled.  Don't treat low word of ieee854 mantissa like
30254         low word of IBM long double and mask off bit when testing for
30255         zero.
30256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30257         all uses of ieee875 long double macros and unions.  Simplify tests
30258         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30259         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30260         two1022, instead use their values.  Recognise that tests for large
30261         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30262         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30263         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30264         test for 0.0L and nan.  Correct negation.
30265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30266         ieee875 long double macros and unions.  Correct output for large
30267         magnitude x.  Correct absolute value calculation.
30268         (__erfcl): Likewise.
30269         * math/libm-test.inc: Add tests for errors discovered in IBM long
30270         double versions of fmodl, remainderl, erfl and erfcl.
30272 2013-10-04  Alan Modra  <amodra@gmail.com>
30274         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30275         all uses of ieee854 long double macros and unions.  Simplify tests
30276         for long doubles that are fully specified by the high double.
30277         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30278         Likewise.
30279         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30280         Remove dead code too.
30281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30282         (__ieee754_ynl): Likewise.
30283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30286         Remove dead code too.
30287         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30288         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30289         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30291         Simplify.
30292         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30293         Simplify.
30294         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30297         Comment on variable precision.
30298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30299         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30300         Likewise.
30301         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30305         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30307 2013-10-04  Alan Modra  <amodra@gmail.com>
30309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30311         all uses of ieee854 long double macros and unions.
30312         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30317         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30318         Likewise.
30319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30323         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30324         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30325         Simplify sign and nan test too.
30326         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30327         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30328         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30330         Likewise.
30331         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30332         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30333         Likewise.
30334         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30335         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30336         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30337         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30338         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30341 2013-10-04  Alan Modra  <amodra@gmail.com>
30343         * stdio-common/printf_size.c (__printf_size): Don't use
30344         union ieee854_long_double in fpnum union.
30345         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30346         signbit macro to retrieve sign from long double.
30347         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30348         retrieve sign from long double.
30349         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30350         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30351         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30352         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30353         * math/test-misc.c (main): Don't use union ieee854_long_double.
30355 2013-10-04  Alan Modra  <amodra@gmail.com>
30357         [BZ #15680]
30358         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30359         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30360         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30361         calculation.  Remove unnecessary test for denormal exponent.
30362         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30363         Correct handling of denormals.  Avoid undefined shift behaviour.
30364         Correct normalisation of low mantissa when low double is denormal.
30365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30366         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30367         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30368         Correct normalisation of low mantissa.  Test for overflow of high
30369         mantissa and normalise.
30370         (ldbl_nearbyint): Use more readable constant for two52.
30371         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30372         (__mpn_construct_long_double): Fix test for overflow of high
30373         mantissa and correct normalisation.  Avoid undefined shift.
30375 2013-10-04  Alan Modra  <amodra@gmail.com>
30377         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30378         (union ibm_extended_long_double): Define as an array of ieee754_double.
30379         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30380         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30381         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30382         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30384         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30386         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30388         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30389         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30391 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30393         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30394         page size instead of calling getpagesize.
30396         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30397         (LOCFILE_ALIGN_MASK): Likewise.
30398         (LOCFILE_ALIGN_UP): Likewise.
30399         (LOCFILE_ALIGNED_P): Likewise.
30400         * locale/programs/ld-collate.c (collate_output): Use the new
30401         macros instead of __alignof__ (int32_t).
30402         * locale/weight.h (findidx): Likewise.
30404 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30406         [BZ #431]
30407         * manual/string.texi: Fix strncat and wcsncat.
30409 2013-10-03  Brooks Moses  <bmoses@google.com>
30411         [BZ #15915]
30412         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30413         * Makerules: ...here, and adjust associated comments.
30415 2013-10-02  Will Newton  <will.newton@linaro.org>
30417         * malloc/Makefile: Add tst-pvalloc.
30418         * malloc/tst-pvalloc.c: New file.
30420 2013-10-02  Will Newton  <will.newton@linaro.org>
30422         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30423         improve test coverage.
30425 2013-10-02  Will Newton  <will.newton@linaro.org>
30427         * malloc/Makefile: Add tst-posix_memalign.
30428         * malloc/tst-posix_memalign.c: New file.
30430 2013-10-01  Eric Blake  <eblake@redhat.com>
30432         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30433         Use __THROWNL rather than __THROW on static functions.
30435 2013-09-30  Petr Machata  <pmachata@redhat.com>
30437         * elf/elf.h (R_AARCH64_ABS16): New macro.
30438         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30439         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30440         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30441         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30442         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30443         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30444         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30445         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30446         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30447         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30448         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30449         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30450         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30451         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30452         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30453         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30454         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30455         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30456         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30457         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30458         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30459         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30460         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30461         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30462         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30463         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30464         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30465         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30466         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30467         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30468         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30469         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30470         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30471         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30472         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30473         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30474         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30475         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30476         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30477         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30478         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30479         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30480         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30481         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30482         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30483         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30484         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30485         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30486         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30487         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30488         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30489         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30490         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30491         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30492         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30493         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30494         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30495         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30496         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30497         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30498         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30499         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30500         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30501         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30502         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30503         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30504         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30505         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30506         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30507         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30508         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30509         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30510         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30511         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30512         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30513         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30514         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30515         (R_AARCH64_TLSDESC_LDR): Likewise.
30516         (R_AARCH64_TLSDESC_ADD): Likewise.
30517         (R_AARCH64_TLSDESC_CALL): Likewise.
30519 2013-09-30  Andreas Schwab  <schwab@suse.de>
30521         [BZ #15048]
30522         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30523         the nss database lookup.
30524         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30527 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30529         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30531 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30534         ${Bash-specific parameter/pattern/string} parameter expansion.
30535         * sysdeps/unix/make-syscalls.sh: Likewise.
30537 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30539         * sysdeps/sh/stackguard-macros.h: New file.
30541 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30545         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30546         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30547         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30548         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30550 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30552         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30553         Fix thread ID register.
30555 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30557         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30558         [POSIX || UNIX98]: Require rather than permitting all symbols from
30559         <time.h>.
30560         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30561         element of struct sched_param.
30562         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30563         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30564         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30565         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30566         constant.
30568 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30570         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30571         argument calculation.
30573 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30575         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30576         Expect macro.
30577         [POSIX] (pthread_attr_t): Do not require type.
30578         [POSIX] (pthread_cond_t): Likewise.
30579         [POSIX] (pthread_condattr_t): Likewise.
30580         [POSIX] (pthread_key_t): Likewise.
30581         [POSIX] (pthread_mutex_t): Likewise.
30582         [POSIX] (pthread_mutexattr_t): Likewise.
30583         [POSIX] (pthread_once_t): Likewise.
30584         [POSIX] (pthread_t): Likewise.
30585         [POSIX-based standards] (pthread_atfork): Expect function.
30587 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30588             Richard Sandiford  <richard@codesourcery.com>
30590         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30591         (swap_endianness_p): New extern variable.
30592         (set_big_endian): New inline function.
30593         (maybe_swap_uint32): Likewise.
30594         (maybe_swap_uint32_array): Likewise.
30595         (maybe_swap_uint32_obstack): Likewise.
30596         * locale/programs/locfile.c: Include <stdbool.h>.
30597         (swap_endianness_p): New variable.
30598         (add_locale_uint32): Call maybe_swap_uint32.
30599         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30600         (write_locale_data): Call maybe_swap_uint32_array.
30601         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30602         maybe_swap_uint32.
30603         (obstack_int32_grow_fast): Likewise.
30604         (output_weightwc): Call maybe_swap_uint32_obstack.
30605         (collate_output): Likewise.
30606         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30607         (OPT_LITTLE_ENDIAN): Likewise.
30608         (options): Add --little-endian and --big-endian options.
30609         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30610         * locale/programs/locarchive.c: Include "locfile.h".
30611         (GET): New macro.
30612         (SET): Likewise.
30613         (INC): Likewise.
30614         (create_archive): Use the new macros to access fields of
30615         structures directly mapped from or written to locale archives.
30616         (oldlocrecentcmp): Likewise.
30617         (enlarge_archive): Likewise.
30618         (insert_name): Likewise.
30619         (add_alias): Likewise.
30620         (add_locale): Likewise.
30621         (delete_locales_from_archive): Likewise.
30622         (show_archive_content): Likewise.
30623         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30624         locale data.
30626 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30628         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30629         http://www.gnu.org/doc/freemanuals.texi.
30630         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30632 2013-09-24  Will Newton  <will.newton@linaro.org>
30634         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30635         macro.
30637 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30639         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30640         unsigned char.
30642 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30644         * manual/threads.texi (POSIX Threads): Fix a typo.
30646 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30648         [BZ #14547]
30649         * string/tst-strcoll-overflow.c: New test case.
30650         * string/Makefile (xtests): Add tst-strcoll-overflow.
30651         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30652         cache if string sizes may cause integer overflow.
30654         [BZ #14547]
30655         * string/strcoll_l.c (coll_seq): New members rule, idx,
30656         save_idx and back_us.
30657         (get_next_seq_nocache): New function.
30658         (do_compare_nocache): New function.
30659         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30660         when malloc fails.
30662 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30664         [BZ #15754]
30665         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30666         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30667         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30669         [BZ #15754]
30670         * elf/Makefile (tests): Add tst-ptrguard1.
30671         (tests-static): Add tst-ptrguard1-static.
30672         (tst-ptrguard1-ARGS): Define.
30673         (tst-ptrguard1-static-ARGS): Define.
30674         * elf/tst-ptrguard1.c: New file.
30675         * elf/tst-ptrguard1-static.c: New file.
30676         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30677         * sysdeps/i386/stackguard-macros.h: Likewise.
30678         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30679         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30680         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30681         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30682         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30683         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30685 2013-09-23  Hector Marco  <hecmargi@upv.es>
30686             Ismael Ripoll  <iripoll@disca.upv.es>
30687             Carlos O'Donell  <carlos@redhat.com>
30689         [BZ #15754]
30690         * sysdeps/generic/stackguard-macros.h: Define
30691         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30692         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30693         Define __pointer_chk_guard_local.
30694         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30695         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30697 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30699         [BZ #15859]
30700         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30702 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30704         * include/string.h (__ffs): Declare as hidden.
30705         * string/ffs.c (__ffs): Define as hidden.
30706         * sysdeps/i386/ffs.c (__ffs): Likewise.
30707         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30708         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30709         * sysdeps/s390/ffs.c (__ffs): Likewise.
30710         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30712 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30714         * NEWS: Mention malloc probes.
30716         * malloc/arena.c (new_heap): New memory_heap_new probe.
30717         (grow_heap): New memory_heap_more probe.
30718         (shrink_heap): New memory_heap_less probe.
30719         (heap_trim): New memory_heap_free probe.
30720         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30721         (systrim): New memory_sbrk_less probe.
30722         * manual/probes.texi: Document them.
30724         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30725         * manual/probes.texi: Document it.
30727         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30728         (__libc_realloc): Add memory_realloc_retry probe.
30729         (__libc_memalign): Add memory_memalign_retry probe.
30730         (__libc_valloc): Add memory_valloc_retry probe.
30731         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30732         (__libc_calloc): Add memory_calloc_retry probe.
30733         * manual/probes.texi: Document them.
30735         * malloc/arena.c (get_free_list): Add probe
30736         memory_arena_reuse_free_list.
30737         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30738         and memory_arena_reuse.
30739         (arena_get2) [!PER_THREAD]: Likewise.
30740         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30741         memory_arena_reuse_realloc.
30742         * manual/probes.texi: Document them.
30744         * malloc/malloc.c (__libc_free): Add
30745         memory_mallopt_free_dyn_thresholds probe.
30746         (__libc_mallopt): Add multiple memory_mallopt probes.
30747         * manual/probes.texi: Document them.
30749         * malloc/malloc.c: Include stap-probe.h.
30750         (__libc_mallopt): Add memory_mallopt probe.
30751         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30752         * manual/probes.texi: New.
30753         * manual/Makefile (chapters): Add probes.
30754         * manual/threads.texi: Set next node.
30756 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30758         [BZ #15963, #13985]
30759         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30760         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30761         Add `Chinese' to `nan' entry name.
30763 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30765         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30766         (POLYNOMIAL): Likewise.
30767         (TAYLOR_SINCOS): Likewise.
30768         (TAYLOR_SLOW): Likewise.
30769         (__sin): Use TAYLOR_SINCOS.
30770         (__cos): Likewise.
30771         (slow): Use TAYLOR_SLOW.
30772         (sloww): Likewise.
30773         (bsloww): Likewise.
30774         (csloww): Likewise.
30776 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30778         * stdlib/strtod_l.c: Fix buffer overrun.
30780 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30782         * benchtests/Makefile (bench): Add sincos.
30783         * benchtests/bench-sincos.c: New file.
30785         * math/libm-test.inc (cos_test_data): New test inputs.
30786         (sin_test_data): Likewise.
30788         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30789         macro.
30790         (__sin): Use it.
30791         (__cos): Likewise.
30792         (slow1): Likewise.
30793         (slow2): Likewise.
30794         (sloww1): Likewise.
30795         (sloww2): Likewise.
30796         (bsloww1): Likewise.
30797         (bsloww2): Likewise.
30798         (cslow2): Likewise.
30799         (csloww1): Likewise.
30800         (csloww2): Likewise.
30802         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30803         function.
30804         (__sin): Use it.
30805         (__cos): Likewise.
30807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30808         gotos.
30809         (__cos): Likewise.
30811 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30813         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30814         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30815         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30816         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30817         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30818         * elf/cache.c (print_entry): Handle the new cache flags.
30820 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30821             Aldy Hernandez  <aldyh@redhat.com>
30823         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30824         Change condition to [_SOFT_FLOAT].
30825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30837         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30840         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30841         declaration.
30843 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30845         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30846         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30847         (__longjmp): Use LOAD_GP to load saved GPRs.
30848         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30849         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30850         (__sigsetjmp): Use SAVE_GP to save GPRs.
30852         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30853         Do not append -msoft-float.
30854         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30856 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30858         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30860 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30862         [BZ #15966]
30863         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30864         (_FPU_GETCW): Use initial "__" on variable and field names but not
30865         on macro parameter name.
30866         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30867         parentheses around reference to macro parameter.
30869 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30871         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30872         prototype.
30873         (ctype_startup): Use uint32_t in cast and sizeof for
30874         ctype->charnames.
30876 2013-09-11  Jia Liu  <proljc@gmail.com>
30878         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30879         __daddr_t_defined.
30880         [__FreeBSD__]: Likewise.
30882 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30885         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30886         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30887         (strchr): Remove __strchr_sse42 ifunc selection.
30888         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30889         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30891 2013-09-11  Will Newton  <will.newton@linaro.org>
30893         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30894         parameter to RES. Remove hardcoded 1000 value.
30895         * benchtests/bench-skeleton.c (main): Pass RES parameter
30896         to TIMING_INIT and multiply result by 1000.
30898 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30902 2013-09-11  Andreas Schwab  <schwab@suse.de>
30904         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30905         if not defined.
30906         (O_TMPFILE) [__USE_GNU]: Define.
30907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30908         Define.
30910 2013-09-11  Will Newton  <will.newton@linaro.org>
30912         [BZ #15857]
30913         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30914         does not overflow.
30916 2013-09-11  Will Newton  <will.newton@linaro.org>
30918         [BZ #15856]
30919         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30920         does not overflow.
30922 2013-09-11  Will Newton  <will.newton@linaro.org>
30924         [BZ #15855]
30925         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30926         does not overflow.
30928 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30930         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30931         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30932         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30933         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30934         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30936 2013-09-10  Allan McRae  <allan@archlinux.org>
30938         [BZ #15748]
30939         * manual/arith.texi (Parsing of Floats): Clarify
30940         cross-reference.
30942         [BZ #15849]
30943         * manual/install.texi (Running make install): Mention
30944         --enable-pt-chown.
30945         * INSTALL: Regenerated.
30947 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30949         * csu/init-first.c (_init): Remove the !SHARED condition around
30950         FPU control word initialization.
30951         * elf/dl-support.c (_dl_fpu_control): New variable.
30952         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30953         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30954         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30955         * math/test-fpucw-static.c: New file.
30956         * math/test-fpucw-ieee.c: New file.
30957         * math/test-fpucw-ieee-static.c: New file.
30958         * math/Makefile (tests): Add `test-fpucw-ieee' and
30959         `$(tests-static)'.
30960         (tests-static): New variable.
30961         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30962         dependency to...
30963         [($(build-shared),yes)]
30964         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30965         ... this.
30966         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30967         New dependency.
30969 2013-09-09  Allan McRae  <allan@archlinux.org>
30971         [BZ #15939]
30972         * manual/string.texi (Collation Functions): Fix typo in
30973         strcoll example.
30974         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30976         [BZ #15893]
30977         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30979         [BZ #15892]
30980         * libio/memstream.c (open_memstream): Fix memory leak.
30981         * libio/wmemstream.c (open_wmemstream): Likewise.
30983         [BZ #15895]
30984         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30986 2013-09-09  Will Newton  <will.newton@linaro.org>
30988         * malloc/Makefile: Add tst-realloc to tests.
30989         * malloc/tst-realloc.c: New file.
30991 2013-09-09  Allan McRae  <allan@archlinux.org>
30993         [BZ #15844]
30994         * COPYING: Update from GNU website to fix FSF address.
30995         * COPYING.LIB: Likewise.
30997 2013-09-06  David S. Miller  <davem@davemloft.net>
30999         * po/zh_TW.po: Update Chinese (traditional) translation from
31000         translation project.
31002 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31003             Joseph Myers  <joseph@codesourcery.com>
31005         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31006         "localeinfo.h".
31007         (obstack_chunk_alloc): New macro.
31008         (obstack_chunk_free): Likewise.
31009         (record_offset): New function.
31010         (init_locale_data): Likewise.
31011         (align_locale_data): Likewise.
31012         (add_locale_empty): Likewise.
31013         (add_locale_raw_data): Likewise.
31014         (add_locale_raw_obstack): Likewise.
31015         (add_locale_string): Likewise.
31016         (add_locale_wstring): Likewise.
31017         (add_locale_uint32): Likewise.
31018         (add_locale_uint32_array): Likewise.
31019         (add_locale_char): Likewise.
31020         (start_locale_structure): Likewise.
31021         (end_locale_structure): Likewise.
31022         (start_locale_prelude): Likewise.
31023         (end_locale_prelude): Likewise.
31024         (write_locale_data): Take locale_file structure rather than an
31025         iovec.
31026         * locale/programs/locfile.h: Include "obstack.h".
31027         (struct locale_file): Change to store locale file contents instead
31028         of header.
31029         (init_locale_data): New prototype.
31030         (align_locale_data): Likewise.
31031         (add_locale_empty): Likewise.
31032         (add_locale_raw_data): Likewise.
31033         (add_locale_raw_obstack): Likewise.
31034         (add_locale_string): Likewise.
31035         (add_locale_wstring): Likewise.
31036         (add_locale_uint32): Likewise.
31037         (add_locale_uint32_array): Likewise.
31038         (add_locale_char): Likewise.
31039         (start_locale_structure): Likewise.
31040         (end_locale_structure): Likewise.
31041         (start_locale_prelude): Likewise.
31042         (end_locale_prelude): Likewise.
31043         (write_locale_data): Update prototype.
31044         * locale/programs/3level.h (struct TABLE): Remove result field.
31045         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31046         Use new locale_file interface.
31047         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31048         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31049         * locale/programs/ld-address.c (address_output): Use new
31050         locale_file interface.
31051         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31052         NO_ADD_LOCALE.
31053         (collate_finish): Don't call collseq_table_finalize.
31054         (collate_output): Use new locale_file interface.
31055         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31056         in file.
31057         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31058         (TABLE): Move defines earlier in file.
31059         (ELEMENT): Likewise.
31060         (DEFAULT): Likewise.
31061         (wctrans_table_add): Move macro and inline function earlier in
31062         file.
31063         (struct wctype_table): Move type earlier in file.
31064         (add_locale_wctype_table): New static prototype.
31065         (struct locale_ctype_t): Use logical types instead of struct iovec
31066         pointers for members.
31067         (ctype_output): Use new locale_file interface.
31068         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31069         new locale_file interface.
31070         (allocate_arrays): Update for use of new locale_file interface.
31071         * locale/programs/ld-identification.c (identification_output): Use
31072         new locale_file interface.
31073         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31074         * locale/programs/ld-messages.c (messages_output): Likewise.
31075         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31076         * locale/programs/ld-name.c (name_output): Likewise.
31077         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31078         * locale/programs/ld-paper.c (paper_output): Likewise.
31079         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31080         * locale/programs/ld-time.c (time_output): Likewise.
31082 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31084         * benchtests/Makefile: Add memrchr benchmark.
31085         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31086         benchmark as memrchr.
31087         * benchtests/bench-memrchr-ifunc.c: New file.
31088         * benchtests/bench-memrchr.c: New file.
31090 2013-09-06   Will Newton  <will.newton@linaro.org>
31092         * benchtests/Makefile (string-bench): Add memcpy.
31094 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31095             Cong Wang  <amwang@redhat.com>
31097         [BZ #15850]
31098         * sysdeps/unix/sysv/linux/bits/in.h
31099         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31100         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31101         before __USE_KERNEL_IPV6_DEFS uses.
31102         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31103         IPPROTO_BEETPH.
31104         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31105         sockaddr_in6, or ipv6_mreq.
31107 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31109         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31110         memory access for final bytes in some large inputs.
31111         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31113 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31115         * string/test-memrchr.c: New file.
31116         * string/test-memrchr-ifunc.c: New file.
31117         * string/Makefile: Add new memrchr testcase.
31119 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31121         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31122         fanotify_init returns EPERM.
31124 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31126         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31127         errors.
31128         (top level): Treat second token from macro or constant entries for
31129         allowed headers as allowed.
31130         * include/complex.h: Condition internal declarations on
31131         [!_ISOMAC].
31132         * include/fenv.h: Condition include of <stdbool.h> and internal
31133         declarations on [!_ISOMAC].
31135 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31137         [BZ #15923]
31138         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31140 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31142         * configure.in (--enable-versioning): Remove configure option.
31143         (libc_cv_asm_symver_directive): Remove configure test.
31144         (libc_cv_ld_version_script_option): Likewise.
31145         (VERSIONING): Remove variable and AC_SUBST.
31146         (DO_VERSIONING): Remove AC_DEFINE.
31147         * configure: Regenerated.
31148         * config.h.in (DO_VERSIONING): Remove macro.
31149         * Makerules [$(versioning) = yes]: Change conditionals to
31150         [$(build-shared) = yes].
31151         * config.make.in (versioning): Remove variable.
31152         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31153         [$(build-shared) = yes].
31154         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31155         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31156         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31157         [$(build-shared) = yes].
31158         * extra-lib.mk [$(versioning) = yes]: Likewise.
31159         * hurd/Makefile [$(versioning) = yes]: Likewise.
31160         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31161         [SHARED].
31162         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31163         [SHARED].
31164         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31165         [SHARED && !NO_HIDDEN].
31166         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31167         [SHARED].
31168         [SHARED && DO_VERSIONING]: Likewise..
31169         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31170         [$(build-shared) = yes].
31171         * manual/install.texi (--disable-versioning): Remove
31172         documentation.
31173         * INSTALL: Regenerated.
31174         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31175         to [SHARED].
31176         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31177         [$(build-shared) = yes].
31178         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31179         * sysdeps/i386/i686/multiarch/strstr-c.c
31180         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31181         [SHARED && !NO_HIDDEN].
31182         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31183         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31184         * sysdeps/powerpc/powerpc32/dl-machine.c
31185         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31186         * sysdeps/powerpc/powerpc32/sysdep.h
31187         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31188         to [SHARED && PIC && !NO_HIDDEN].
31189         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31190         conditional to [SHARED].
31192 2013-09-04   Will Newton  <will.newton@linaro.org>
31194         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31195         * benchtests/bench-string.h: Include bench-timing.h instead
31196         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31197         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31198         call to HP_TIMING_DIFF_INIT.
31199         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31200         instead of hp-timing.h macros.
31201         * benchtests/bench-memchr.c: Likewise.
31202         * benchtests/bench-memcmp.c: Likewise.
31203         * benchtests/bench-memcpy.c: Likewise.
31204         * benchtests/bench-memmem.c: Likewise.
31205         * benchtests/bench-memmove.c: Likewise.
31206         * benchtests/bench-memset.c: Likewise.
31207         * benchtests/bench-rawmemchr.c: Likewise.
31208         * benchtests/bench-strcasecmp.c: Likewise.
31209         * benchtests/bench-strcasestr.c: Likewise.
31210         * benchtests/bench-strcat.c: Likewise.
31211         * benchtests/bench-strchr.c: Likewise.
31212         * benchtests/bench-strcmp.c: Likewise.
31213         * benchtests/bench-strcpy.c: Likewise.
31214         * benchtests/bench-strcpy_chk.c: Likewise.
31215         * benchtests/bench-strlen.c: Likewise.
31216         * benchtests/bench-strncasecmp.c: Likewise.
31217         * benchtests/bench-strncat.c: Likewise.
31218         * benchtests/bench-strncmp.c: Likewise.
31219         * benchtests/bench-strncpy.c: Likewise.
31220         * benchtests/bench-strnlen.c: Likewise.
31221         * benchtests/bench-strpbrk.c: Likewise.
31222         * benchtests/bench-strrchr.c: Likewise.
31223         * benchtests/bench-strspn.c: Likewise.
31224         * benchtests/bench-strstr.c: Likewise.
31226 2013-09-04  Will Newton  <will.newton@linaro.org>
31228         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31230 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31232         [BZ #15427]
31233         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31234         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31235         * math/libm-test.inc (lgamma_test_data): Add more tests.
31236         * sysdeps/i386/fpu/libm-test-ulps: Update.
31237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31239 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31241         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31243         Add ifunc.
31244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31245         Add strcmp-sse2-unaligned
31246         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31248 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31250         * Versions.def (libc): Add GLIBC_2.19.
31252 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31254         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31255         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31257 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31259         [BZ #14155]
31260         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31261         intermediate calculations in recurrence.
31262         (__ieee754_ynf): Likewise.
31263         * math/libm-test.inc (jn_test_data): Do not allow spurious
31264         underflow exception.  Add more tests.
31265         (yn_test_data): Add more tests.
31266         * sysdeps/i386/fpu/libm-test-ulps: Update.
31267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31269 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31271         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31273 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31275         * csu/init-first.c: Fix then/than typos.
31276         * locale/programs/ld-collate.c: Likewise.
31277         * locale/programs/linereader.h: Likewise.
31278         * manual/charset.texi: Likewise.
31279         * manual/filesys.texi: Likewise.
31280         * manual/stdio.texi: Likewise.
31281         * manual/string.texi: Likewise.
31282         * stdlib/fmtmsg.c: Likewise.
31283         * sysdeps/i386/stpncpy.S: Likewise.
31284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31285         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31286         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31287         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31289 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31291         * elf/dl-open.c: Fix typos.
31292         * iconvdata/gbbig5.c: Likewise.
31293         * iconvdata/iso-2022-jp.c: Likewise.
31294         * iconv/gconv_int.h: Likewise.
31295         * iconv/loop.c: Likewise.
31296         * nis/rpcsvc/nis.h: Likewise.
31297         * resolv/ns_name.c: Likewise.
31298         * stdio-common/vfscanf.c: Likewise.
31299         * streams/stropts.h: Likewise.
31300         * sunrpc/rpc_thread.c: Likewise.
31301         * sysdeps/i386/strpbrk.S: Likewise.
31302         * sysdeps/ieee754/k_standard.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31305         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31306         * sysdeps/mach/hurd/profil.c: Likewise.
31307         * sysdeps/s390/dl-procinfo.h: Likewise.
31308         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31309         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31310         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31311         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31314 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31316         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31319 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31321         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31322         aix specific files.
31323         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31324         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31325         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31326         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31327         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31328         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31329         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31330         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31332 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31333             Roland McGrath  <roland@hack.frob.com>
31335         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31336         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31338 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31340         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31341         __executable_start symbol instead of _start.
31343 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31345         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31346         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31347         Move macros to...
31348         * sysdeps/gnu/ldsodefs.h: ... this new file.
31350         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31351         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31352         instead of ELFOSABI_LINUX.
31354         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31355         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31356         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31357         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31358         Likewise.
31359         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31360         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31361         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31362         Likewise.
31363         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31364         (ibm_extended_long_double): Add ieee_nan member.
31365         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31366         (do_test): New function.
31368         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31369         TEST_TRUNC.
31370         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31371         functions, renamed from truncdfsf_test, trunctfsf_test,
31372         trunctfdf_test.
31373         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31374         functions.
31375         (do_test): Run all these.
31377 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31379         * argp/argp-help.c: Fix typos.
31380         * argp/argp-parse.c: Likewise.
31381         * debug/backtracesyms.c: Likewise.
31382         * elf/elf.h: Likewise.
31383         * malloc/malloc.c: Likewise.
31384         * nis/nis_print.c: Likewise.
31385         * resolv/res_comp.c: Likewise.
31386         * stdlib/stdlib.h: Likewise.
31387         * sunrpc/clnt_tcp.c: Likewise.
31388         * sunrpc/clnt_udp.c: Likewise.
31389         * sunrpc/clnt_unix.c: Likewise.
31390         * sysdeps/unix/bsd/ptsname.c: Likewise.
31391         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31394         Likewise.
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31396         Likewise.
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31398         Likewise.
31399         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31401 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31403         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31406 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31408         [BZ #15897]
31409         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31410         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31411         ($(objpfx)bug-dl-leaf): New rule.
31412         ($(objpfx)bug-dl-leaf.so): Likewise.
31413         ($(objpfx)bug-dl-leaf.out): Likewise.
31414         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31415         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31416         * dlfcn/bug-dl-leaf.c: New test.
31417         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31418         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31419         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31420         (dlclose): Likewise.
31421         (dlmopen): Likewise.
31423 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31425         * include/netdb.h [!_ISOMAC]:
31426         Don't include <tls.h>.
31427         (h_errno, __libc_h_errno): Move declaration and macros out of
31428         [_LIBC_REENTRANT].
31430         * include/resolv.h [_RESOLV_H_]:
31431         Don't include <tls.h>.
31432         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31433         * resolv/res_libc.c: Don't include <tls.h>.
31434         (_res): Use __attribute__ ((nocommon)) in place of
31435         __attribute__ ((section (".bss"))).
31437         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31438         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31440         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31442         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31443         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31445         * resolv/res_mkquery.c: Include <sys/time.h>.
31447         * inet/ifreq.c: Moved to ...
31448         * sysdeps/unix/ifreq.c: ... here.
31449         * inet/ifreq.c: New file, true stub version.
31451         * socket/sa_len.c: New file.
31452         * socket/Makefile (aux): Add it.
31453         * sysdeps/unix/sysv/linux/Makefile
31454         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31455         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31456         and #include <socket/sa_len.c>.
31457         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31458         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31460         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31461         * bits/socket.h: ... here.
31463         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31464         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31465         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31467 2013-08-27  Andreas Schwab  <schwab@suse.de>
31469         [BZ #15736]
31470         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31471         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31472         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31473         * string/test-strcasecmp.c (test_main): Run tests in several
31474         locales.
31475         * string/test-strncasecmp.c (test_main): Likewise.
31477         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31478         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31479         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31481         (__strncasecmp_ssse3) [PIC]: Likewise.
31483 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31485         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31487         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31488         instead of explicitly declaring xdecrypt.
31489         * nis/nss_nis/nis-publickey.c: Likewise.
31491 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31493         [BZ #15890]
31494         * nscd/aicache.c: Include res_hconf.h.
31495         (addhstaiX): Initialize res_hconf.
31497 2013-08-26  Andreas Schwab  <schwab@suse.de>
31499         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31500         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31502 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31504         * nscd/aicache.c (addhstaiX): Fix indentation.
31506 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31508         * configure.ac: Quote $build_pt_chown test.
31509         * configure: Regenerated.
31511 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31513         [BZ #15532]
31514         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31515         * math/s_cexpf.c (__cexpf): Likewise.
31516         * math/s_cexpl.c (__cexpl): Likewise.
31517         * math/libm-test.inc (cexp_test_data): Correct expected return
31518         value for NaN + i0.  Add another test.
31520 2013-08-22  David S. Miller  <davem@davemloft.net>
31522         * po/ca.po: Update Catalan translation from translation project.
31523         * po/uk.po: Add Ukrainian translations from translation project.
31525 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31527         [BZ #15797]
31528         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31529         is infinite, not alongside NaN test.
31530         * math/s_fdimf.c (__fdimf): Likewise.
31531         * math/s_fdiml.c (__fdiml): Likewise.
31532         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31533         errno is unchanged.
31535 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31537         * argp/argp-help.c: Fix typos.
31538         * crypt/speeds.c: Likewise.
31539         * csu/check_fds.c: Likewise.
31540         * elf/dl-load.c: Likewise.
31541         * elf/dl-open.c: Likewise.
31542         * elf/reldep3.c: Likewise.
31543         * elf/reldep.c: Likewise.
31544         * elf/sprof.c: Likewise.
31545         * iconv/iconv_charmap.c: Likewise.
31546         * iconv/skeleton.c: Likewise.
31547         * iconv/strtab.c: Likewise.
31548         * io/lockf64.c: Likewise.
31549         * libio/libioP.h: Likewise.
31550         * resolv/gai_notify.c: Likewise.
31551         * resolv/ns_name.c: Likewise.
31552         * resolv/ns_samedomain.c: Likewise.
31553         * resolv/res_send.c: Likewise.
31554         * stdlib/random.c: Likewise.
31555         * sunrpc/rpc/xdr.h: Likewise.
31556         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31557         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31558         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31559         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31560         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31564         * sysdeps/mach/hurd/check_fds.c: Likewise.
31565         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31566         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31568         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31570         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31571         * sysdeps/pthread/aio_notify.c: Likewise.
31572         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31573         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31575         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31576         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31578 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31580         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31581         version if bit_Slow_SSE4_2 is set.
31582         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31583         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31585 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31587         [BZ #15867]
31588         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31589         trampoline stack frame information.
31590         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31591         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31592         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31593         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31594         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31595         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31596         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31597         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31598         sa_flags value.
31599         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31600         interrupting a syscall and set with option SA_SIGINFO.
31602 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31604         [BZ #15531]
31605         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31606         argument is infinite.
31607         * math/s_cprojf.c (__cprojf): Likewise.
31608         * math/s_cprojl.c (__cprojl): Likewise.
31609         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31610         * math/libm-test.inc (cproj_test_data): Add more tests.
31612         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31614         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31615         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31616         size.  Use __ffs to determine corresponding shift.
31618 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31619             Roland McGrath  <roland@hack.frob.com>
31621         * Makefile (INSTALL): Remove trailing blank lines from output of
31622         makeinfo.
31624 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31626         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31627         Align 32 bit compat elf_greg to 8 bytes.
31629 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31631         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31633 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31635         * string/strcoll_l.c (coll_seq): New structure.
31636         (get_next_seq_cached): New function.
31637         (get_next_seq): New function.
31638         (do_compare): New function.
31639         (STRCOLL): Use GNU style definition.  Simplify implementation
31640         by using get_next_seq, get_next_seq_cached and do_compare.
31642 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31644         [BZ #14699]
31645         CVE-2013-4237
31646         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31647         member.
31648         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31649         member.
31650         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31651         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31652         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31653         conditional.
31654         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31655         GETDENTS_64BIT_ALIGNED.
31656         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31657         * manual/filesys.texi (Reading/Closing Directory): Document
31658         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31659         strongly.
31660         * manual/conf.texi (Limits for Files): Add portability note to
31661         NAME_MAX, PATH_MAX.
31662         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31664 2013-08-13  Andreas Schwab  <schwab@suse.de>
31666         [BZ #15749]
31667         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31668         of fabs.
31669         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31670         LDBL_MAX_EXP >= 16384]: Add tests for it.
31672 2013-08-12  David S. Miller  <davem@davemloft.net>
31674         * version.h (RELEASE): Set to "development".
31675         (VERSION): Set to "2.18.90".
31676         * NEWS: Add 2.19 section.
31678 2013-08-03  David S. Miller  <davem@davemloft.net>
31680         * po/ko.po: Update Korean translation from translation project.
31682 2013-08-01  David S. Miller  <davem@davemloft.net>
31684         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31685         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31686         Bilka.
31688 2013-07-30  David S. Miller  <davem@davemloft.net>
31690         * po/fr.po: Update French translation from translation project.
31692 2013-07-28  David S. Miller  <davem@davemloft.net>
31694         * po/cs.po: Update Czech translation from translation project.
31696         * po/sv.po: Update Swedish translation from translation project.
31698 2013-07-27  David S. Miller  <davem@davemloft.net>
31700         * po/eo.po: Update Esperanto translation from translation project.
31702         * po/vi.po: Update Vietnamese translation from translation project.
31704         * po/de.po: Update German translation from translation project.
31706 2013-07-26  David S. Miller  <davem@davemloft.net>
31708         * po/bg.po: Update Bulgarian translation from translation project.
31710         * po/nl.po: Update Dutch translation from translation project.
31711         * po/pl.po: Update Polish translation from translation project.
31712         * po/ru.po: Update Russian translation from translation project.
31714 2013-07-24  David S. Miller  <davem@davemloft.net>
31716         * po/libc.pot: Update.
31718 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31720         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31721         variable page size.
31722         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31723         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31724         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31726 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31728         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31730 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31731             Andreas Schwab  <schwab@suse.de>
31732             Roland McGrath  <roland@hack.frob.com>
31733             Joseph Myers  <joseph@codesourcery.com>
31734             Carlos O'Donell  <carlos@redhat.com>
31736         [BZ #15755]
31737         * config.h.in: Define HAVE_PT_CHOWN.
31738         * config.make.in (build-pt-chown): New variable.
31739         * configure.in (--enable-pt_chown): New configure option.
31740         * configure: Regenerate.
31741         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31742         build-pt-chown is enabled.
31743         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31744         pt_chown to fix pty ownership.
31745         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31746         CLOSE_ALL_FDS.
31747         * manual/install.texi (Configuring and compiling): Mention
31748         --enable-pt_chown. Add @findex for grantpt.
31749         * INSTALL: Regenerate.
31751 2013-07-20  David S. Miller  <davem@davemloft.net>
31753         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31754         difference between 32-bit and 64-bit.
31756 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31758         [BZ #15711]
31759         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31760         Avoid system header dependency with -ffreestanding.
31761         ($(objpfx)bits/syscall%d): Likewise.
31763 2013-07-13  David S. Miller  <davem@davemloft.net>
31765         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31766         underflows from atanl/atan2l due to bug 15319.
31767         (casinh_test_data): Likewise.
31769 2013-07-07  David S. Miller  <davem@davemloft.net>
31771         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31773 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31775         * sysdeps/i386/fpu/libm-test-ulps: Update.
31776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31780         * configure.in (--enable-lock-elision): Fix message text.
31781         * INSTALL: Regenerate.
31782         * configure: Regenerate.
31784 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31788 2013-07-03  Andreas Jaeger  <aj@suse.de>
31790         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31791         define.
31792         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31793         (ptrace_peeksiginfo_args): Add.
31794         (__ptrace_peeksiginfo_flags): Add.
31795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31797         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31799 2013-07-03  Allan McRae  <allan@archlinux.org>
31801         * sysdeps/i386/fpu/libm-test-ulps: Update.
31803 2013-07-02  David S. Miller  <davem@davemloft.net>
31805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31807 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31811 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31813         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31816 2013-07-02  Andi Kleen <ak@linux.intel.com>
31818         * config.h.in (ENABLE_LOCK_ELISION): Add.
31819         * configure.in (--enable-lock-elision): Add option.
31820         * manual/install.texi: Document --enable lock elision.
31821         * configure: Regenerate
31822         * INSTALL: Regenerate.
31824 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31826         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31827         SSE4.2 strcasecmp for libc.a.
31828         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31830 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #13304]
31833         * soft-fp/op-common.h (_FP_FMA): New macro.
31834         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31835         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31836         (_FP_MUL_MEAT_1_imm): ... here.
31837         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31838         (_FP_MUL_MEAT_1_wide): ... here.
31839         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31840         (_FP_MUL_MEAT_1_hard): ... here.
31841         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31842         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31843         (_FP_MUL_MEAT_2_wide): ... here.
31844         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31845         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31846         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31847         (_FP_MUL_MEAT_2_gmp): ... here.
31848         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31849         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31850         (_FP_MUL_MEAT_4_wide): ... here.
31851         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31852         (_FP_MUL_MEAT_4_gmp): ... here.
31853         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31854         (_FP_WFRACBITS_DW_S): Likewise.
31855         (_FP_WFRACXBITS_DW_S): Likewise.
31856         (_FP_HIGHBIT_DW_S): Likewise.
31857         (FP_FMA_S): Likewise.
31858         (_FP_FRAC_HIGH_DW_S): Likewise.
31859         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31860         (_FP_WFRACBITS_DW_D): Likewise.
31861         (_FP_WFRACXBITS_DW_D): Likewise.
31862         (_FP_HIGHBIT_DW_D): Likewise.
31863         (FP_FMA_D): Likewise.
31864         (_FP_FRAC_HIGH_DW_D): Likewise.
31865         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31866         (_FP_WFRACBITS_DW_E): Likewise.
31867         (_FP_WFRACXBITS_DW_E): Likewise.
31868         (_FP_HIGHBIT_DW_E): Likewise.
31869         (FP_FMA_E): Likewise.
31870         (_FP_FRAC_HIGH_DW_E): Likewise.
31871         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31872         (_FP_WFRACBITS_DW_Q): Likewise.
31873         (_FP_WFRACXBITS_DW_Q): Likewise.
31874         (_FP_HIGHBIT_DW_Q): Likewise.
31875         (FP_FMA_Q): Likewise.
31876         (_FP_FRAC_HIGH_DW_Q): Likewise.
31877         * soft-fp/fmasf4.c: New file.
31878         * soft-fp/fmadf4.c: Likewise.
31879         * soft-fp/fmatf4.c: Likewise.
31881 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31884         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31885         Silvermont.
31886         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31887         macro.
31888         (index_Slow_SSE4_2): Likewise.
31889         (index_Prefer_PMINUB_for_stringop): Likewise.
31890         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31891         bit_Slow_SSE4_2 is set.
31892         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31893         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31895 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31897         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31898         rtld_global._dl_hwcap2.
31899         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31900         POWER8.
31901         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31902         POWER8 feature descriptions defined in _dl_hwcap2.
31903         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31904         string handling for POWER8 feature bits.
31905         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31906         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31907         _dl_powerpc_cap_flags.
31908         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31909         * sysdeps/powerpc/rtld-global-offsets.sym
31910         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31911         _dl_hwcap2 in the rtld_global_ro structure.
31913 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31915         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31916         hardware capabilities in support of AT_HWCAP2.
31917         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31918         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31919         GLRO(dl_hwcap2).
31920         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31921         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31922         explicitly the unknown a_type display mechanism is used.
31923         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31924         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31925         struct member.
31926         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31927         to macro prototype for AT_HWCAP2 support.
31928         * sysdeps/i386/dl-procinfo.h: Likewise.
31929         * sysdeps/s390/dl-procinfo.h: Likewise.
31930         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31931         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31932         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31933         return -1 for unknown a_type display fallback.
31934         * sysdeps/sparc/dl-procinfo.h: Likewise.
31935         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31936         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31938 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31940         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31941         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31943 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31945         [BZ #12492]
31946         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31947         mprotect making __stack_prot writable.
31949 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31950             Joseph Myers  <joseph@codesourcery.com>
31952         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31953         as being properly aligned.
31955 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31957         * dlfcn/modstatic5.c: New file.
31958         * dlfcn/tststatic5.c: New file.
31959         * dlfcn/Makefile (tests): Add tststatic5.
31960         (tests-static): Likewise.
31961         (modules-names): Add modstatic5.
31962         (tststatic5-ENV): New variable.
31963         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31965         [BZ #15022]
31966         * elf/dl-support.c (_dl_main_map): New variable.
31967         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31968         (_dl_nns, _dl_load_adds): Set to 1.
31969         (_dl_initial_searchlist): Refer to _dl_main_map.
31970         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31971         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31972         call to _dl_get_origin.
31973         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31974         around call_map.
31975         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31976         * dlfcn/modstatic3.c: New file.
31977         * dlfcn/tststatic3.c: New file.
31978         * dlfcn/tststatic4.c: New file.
31979         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31980         (tests-static): Likewise.
31981         (modules-names): Add modstatic3.
31982         (tststatic3-ENV, tststatic4-ENV): New variables.
31983         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31984         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31986 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31988         * configure.in (CC): Require GCC version 4.4 or later.
31989         * configure: Regenerated.
31990         * manual/install.texi (Tools for Compilation): Update GCC version
31991         requirement.
31992         * INSTALL: Regenerated.
31994 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31996         [BZ #15674]
31997         * string/test-memcmp.c (check2): New.
31998         (main): Call check2.
32000         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32002 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32004         [BZ #15022]
32005         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32006         over to...
32007         (dl_open_worker) [!SHARED]: ... here.
32009 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32011         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32013 2013-06-25  Richard Henderson  <rth@redhat.com>
32015         * locale/programs/locarchive.c: Include <libc-internal.h>
32017 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32019         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32020         trailing whitespace removed.
32022 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32024         [BZ #10283]
32025         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32026         * locale/programs/locarchive.c: Include libc-mmap.h.
32027         (prepare_address_space): Take two new outputs (the mmap base and len).
32028         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32029         values.
32030         (create_archive): Declare new mmap base and len values for
32031         prepare_address_space, and store the result in ah.
32032         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32033         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32034         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32035         Declare new mmap base and len values for
32036         prepare_address_space, and store the result in new_ah.
32037         (open_archive): Declare new mmap base and len values for
32038         prepare_address_space, and store the result in ah.
32039         (close_archive): If ah->mmap_base is not NULL, use that and
32040         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32041         * sysdeps/generic/libc-mmap.h: New file.
32043 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32045         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32046         (ALIGN_UP): Likewise.
32047         (PTR_ALIGN_DOWN): Likewise.
32048         (PTR_ALIGN_UP): Likewise.
32050 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32052         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32053         entry mapped to PPC_PLATFORM_POWER8.
32054         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32055         POWER8.
32056         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32057         (_dl_string_platform): Add case for exporting platform position for
32058         POWER8.
32059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32060         search path to sysdeps/powerpc/powerpc32/power8 directory.
32061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32062         search path to sysdeps/powerpc/powerpc64/power8 directory.
32063         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32064         power7 directories.
32065         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32066         power7 directories.
32068 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32070         * INSTALL: Regenerate.
32072         * nscd/connections.c (nscd_init): Fix comment.
32074 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32076         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32078         [BZ #15667]
32079         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32080         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32082 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32084         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32085         DL_DST_REQ_STATIC.
32086         (DL_DST_REQ_STATIC): Remove macro.
32088 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32090         [BZ #7006]
32091         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32092         with a shift of 0 bits.
32094 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32096         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32097         $(tststatic-ENV).
32099 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32101         [BZ #15655]
32102         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32104 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32106         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32107         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32108         accepts -fno-tree-loop-distribute-patterns.
32109         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32110         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32111         recursive call.
32112         * string/memset.c (memset): Likewise.
32113         * string/test-memmove.c (simple_memmove): Disable loop transformation
32114         to library calls.
32115         * string/test-memset.c (simple_memset): Likewise.
32116         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32117         * benchtests/bench-memset.c (simple_memset): Likewise.
32118         * configure: Regenerated.
32120 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32122         * math/test-misc.c (main): Ignore fesetround failure when failures
32123         of subsequent rounding tests would be ignored.
32125         [BZ #15654]
32126         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32127         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32128         * math/fegetenv.c (__fegetenv): Return 0.
32129         * math/fegetexcept.c (fegetexcept): Return 0.
32130         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32131         FE_TONEAREST.
32132         * math/feholdexcpt.c (feholdexcept): Return 0.
32133         * math/fesetenv.c (__fesetenv): Return 0.
32134         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32135         argument FE_TONEAREST.
32136         * math/feupdateenv.c (__feupdateenv): Return 0.
32137         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32139 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32141         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32142         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32143         ($(objpfx)rtld-%.os rules): Use them.
32145 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32147         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32148         fields.
32150 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32152         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32153         length of target pattern, then descending length of dependency pattern.
32154         * configure.in (AWK): Require gawk 3.1.2 or newer.
32155         * manual/install.texi (Tools for Compilation): Say that we do.
32156         * configure: Regenerated.
32158         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32159         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32160         * scripts/sysd-rules.awk: ... this new script.
32161         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32162         than a glob-style pattern.
32164 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32166         * math/test-misc.c (main): Do not treat incorrectly rounded
32167         conversions as failure unless ROUNDING_TESTS passes.
32169 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32171         [BZ #15631]
32172         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32173         restore exception state around main square root computation, then
32174         check for inexactness explicitly.
32176         * math/libm-test.inc (fma_test_data): Add another test.
32178 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32180         * manual/threads.texi (Non-POSIX Extensions): New document
32181         node.  Document pthread_getattr_default_np and
32182         pthread_setattr_default_np.
32184         * Versions.def (libpthread): Add GLIBC_2.18.
32185         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32187         Likewise.
32188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32189         Likewise.
32190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32191         Likewise.
32192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32193         Likewise.
32194         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32195         Likewise.
32196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32197         Likewise.
32198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32199         Likewise.
32200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32201         Likewise.
32202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32203         Likewise.
32205 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32208         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32210 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32211             H.J. Lu  <hjl.tools@gmail.com>
32213         [BZ #15627]
32214         * sysdeps/x86_64/rtld-memset.c: Remove file.
32215         * sysdeps/x86_64/rtld-memset.S: New file.
32217 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32219         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32220         (test_in_one_mode): Take arguments for whether the rounding mode
32221         is supported for each floating-point type.
32222         (do_test): Pass new arguments to test_in_one_mode using
32223         ROUNDING_TESTS.
32225 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32227         * posix/tst-waitid.c (do_test): Distinguish different instances of
32228         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32229         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32230         before entering the kernel for waitpid.
32232 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32234         * NEWS: Fix note on clock function precision.  Text by Roland
32235         McGrath.
32237 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32239         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32240         it into place only when and if the sanity check passes.
32242 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32244         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32245         output for whether conversion result is exact.  Take argument
32246         indicating whether type is IBM long double.
32247         (round_for_all): Change need_exact field to ibm_ld.
32248         * stdlib/tst-strtod-round.c (struct exactness): New type.
32249         (struct test): Change bool ld_ok field to struct exactness exact.
32250         (TEST): Update all definitions for change to field.
32251         (tests): Regenerate array contents.
32252         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32253         field value.  Check for IBM long double here.
32254         (do_test): Update calls to test_in_one_mode.
32256 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32258         [BZ #12515]
32259         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32260         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32262 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32264         [BZ #15605]
32265         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32266         generated by the compiler on loop optimizations.
32267         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32268         general definitions.
32270 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32272         * math/bug-nextafter.c: Include <math-tests.h>.
32273         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32274         the relevant type.
32275         * math/bug-nexttoward.c: Include <math-tests.h>.
32276         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32277         the relevant type.
32278         * math/test-misc.c: Include <math-tests.h>.
32279         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32280         the relevant type.
32282 2013-06-12  Andreas Jaeger  <aj@suse.de>
32284         * po/ia.po: Update Interlingua translation from translation
32285         project.
32287 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32289         * include/fenv.h: Include stdbool.h.
32290         (struct rm_ctx): New structure.
32291         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32292         Define macro.
32293         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32294         (SET_RESTORE_ROUNDF): Likewise.
32295         (SET_RESTORE_ROUNDL): Likewise.
32296         (SET_RESTORE_ROUND_NOEX): Likewise.
32297         (SET_RESTORE_ROUND_NOEXF): Likewise.
32298         (SET_RESTORE_ROUND_NOEXL): Likewise.
32299         (SET_RESTORE_ROUND_53BIT): Likewise.
32300         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32301         (libc_feresetround_noexf_ctx): Likewise.
32302         (libc_feresetround_noexl_ctx): Likewise.
32303         (libc_feholdsetround_53bit_ctx): Likewise.
32304         (libc_feresetround_53bit_ctx): Likewise.
32305         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32306         (libc_feholdexcept_setround_sse_ctx): New function.
32307         (libc_fesetenv_sse_ctx): Likewise.
32308         (libc_feupdateenv_sse_ctx): Likewise.
32309         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32310         (libc_feholdexcept_setround_387_ctx): Likewise.
32311         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32312         (libc_feholdsetround_387_prec_ctx): Likewise.
32313         (libc_feholdsetround_387_ctx): Likewise.
32314         (libc_feholdsetround_387_53bit_ctx): Likewise.
32315         (libc_feholdsetround_sse_ctx): Likewise.
32316         (libc_feresetround_sse_ctx): Likewise.
32317         (libc_feresetround_387_ctx): Likewise.
32318         (libc_feupdateenv_387_ctx): Likewise.
32319         (libc_feholdexcept_setroundf_ctx): Define macro.
32320         (libc_fesetenvf_ctx): Likewise.
32321         (libc_feupdateenvf_ctx): Likewise.
32322         (libc_feholdsetroundf_ctx): Likewise.
32323         (libc_feresetroundf_ctx): Likewise.
32324         (libc_feholdexcept_setround_ctx): Likewise.
32325         (libc_fesetenv_ctx): Likewise.
32326         (libc_feupdateenv_ctx): Likewise.
32327         (libc_feholdsetround_ctx): Likewise.
32328         (libc_feresetround_ctx): Likewise.
32329         (libc_feholdexcept_setroundl_ctx): Likewise.
32330         (libc_feupdateenvl_ctx): Likewise.
32331         (libc_feholdsetroundl_ctx): Likewise.
32332         (libc_feresetroundl_ctx): Likewise.
32333         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32334         (libc_feresetround_53bit_ctx): Likewise.
32336 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * locale/iso-639.def: Convert to UTF-8.
32340 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32342         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32343         (EXCEPTION_TESTS_double): Likewise.
32344         (EXCEPTION_TESTS_long_double): Likewise.
32345         (EXCEPTION_TESTS): Likewise.
32346         * math/libm-test.inc (test_exceptions): Only test exceptions if
32347         EXCEPTION_TESTS (FLOAT).
32349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32351         * benchtests/Makefile (string-bench): Add strcpy_chk and
32352         stpcpy_chk.
32353         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32354         * benchtests/bench-stpcpy_chk.c: New file.
32355         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32356         * benchtests/bench-strcpy_chk.c: New file.
32357         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32358         code.
32359         (do_test): Likewise.
32361 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32363         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32364         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32365         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32366         with tabs where appropriate.
32367         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32368         dl-procinfo.h.
32369         [PPC_PLATFORM_PPC440]: Likewise.
32370         [PPC_PLATFORM_PPC464]: Likewise.
32371         [PPC_PLATFORM_PPC476]: Likewise.
32372         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32373         ppc464, and ppc476 platform strings merging from ports/
32374         dl-procinfo.h.
32376 2013-06-11  Andreas Schwab  <schwab@suse.de>
32378         [BZ #14991]
32379         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32380         (from_ucs4_idx): Regenerate.
32381         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32382         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32383         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32384         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32385         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32386         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32387         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32388         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32389         from FROM_LOOP and TO_LOOP specific macros.
32390         (BODY): Handle combining characters.
32391         * iconvdata/BIG5HKSCS.irreversible: Update.
32392         * iconvdata/BIG5HKSCS.precomposed: New file.
32393         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32394         characters.
32395         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32397 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32399         * include/sys/time.h: Fix indentation and add copyright header.
32401         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32402         (do_test): Likewise.
32403         * string/test-memchr.c (do_one_test): Likewise.
32404         (do_test): Likewise.
32405         * string/test-memcmp.c (do_one_test): Likewise.
32406         (do_test): Likewise.
32407         * string/test-memcpy.c (do_one_test): Likewise.
32408         (do_test): Likewise.
32409         * string/test-memmem.c (do_one_test): Likewise.
32410         (do_test): Likewise.
32411         (do_random_tests): Likewise.
32412         * string/test-memmove.c (do_one_test): Likewise.
32413         (do_test): Likewise.
32414         * string/test-memset.c (do_one_test): Likewise.
32415         (do_test): Likewise.
32416         * string/test-rawmemchr.c (do_one_test): Likewise.
32417         (do_test): Likewise.
32418         * string/test-strcasecmp.c (do_one_test): Likewise.
32419         (do_test): Likewise.
32420         * string/test-strcasestr.c (do_one_test): Likewise.
32421         (do_test): Likewise.
32422         * string/test-strcat.c (do_one_test): Likewise.
32423         (do_test): Likewise.
32424         * string/test-strchr.c (do_one_test): Likewise.
32425         (do_test): Likewise.
32426         * string/test-strcmp.c (do_one_test): Likewise.
32427         (do_test): Likewise.
32428         * string/test-strcpy.c (do_one_test): Likewise.
32429         (do_test): Likewise.
32430         * string/test-string.h: Likewise.
32431         (test_init): Likewise.
32432         * string/test-strlen.c (do_one_test): Likewise.
32433         (do_test): Likewise.
32434         * string/test-strncasecmp.c (do_one_test): Likewise.
32435         (do_test): Likewise.
32436         * string/test-strncat.c (do_one_test): Likewise.
32437         (do_test): Likewise.
32438         * string/test-strncmp.c (do_one_test): Likewise.
32439         (do_test_limit): Likewise.
32440         (do_test): Likewise.
32441         * string/test-strncpy.c (do_one_test): Likewise.
32442         (do_test): Likewise.
32443         * string/test-strnlen.c (do_one_test): Likewise.
32444         (do_test): Likewise.
32445         * string/test-strpbrk.c (do_one_test): Likewise.
32446         (do_test): Likewise.
32447         * string/test-strrchr.c (do_one_test): Likewise.
32448         (do_test): Likewise.
32449         * string/test-strspn.c (do_one_test): Likewise.
32450         (do_test): Likewise.
32451         * string/test-strstr.c (do_one_test): Likewise.
32452         (do_test): Likewise.
32454         * benchtests/Makefile (string-bench): Add string benchmarks.
32455         * benchtests/bench-bcopy-ifunc.c: New file.
32456         * benchtests/bench-bcopy.c: New file.
32457         * benchtests/bench-bzero-ifunc.c: New file.
32458         * benchtests/bench-bzero.c: New file.
32459         * benchtests/bench-memccpy-ifunc.c: New file.
32460         * benchtests/bench-memccpy.c: New file.
32461         * benchtests/bench-memchr-ifunc.c: New file.
32462         * benchtests/bench-memchr.c: New file.
32463         * benchtests/bench-memcmp-ifunc.c: New file.
32464         * benchtests/bench-memcmp.c: New file.
32465         * benchtests/bench-memmem-ifunc.c: New file.
32466         * benchtests/bench-memmem.c: New file.
32467         * benchtests/bench-memmove-ifunc.c: New file.
32468         * benchtests/bench-memmove.c: New file.
32469         * benchtests/bench-mempcpy-ifunc.c: New file.
32470         * benchtests/bench-mempcpy.c: New file.
32471         * benchtests/bench-memset-ifunc.c: New file.
32472         * benchtests/bench-memset.c: New file.
32473         * benchtests/bench-rawmemchr-ifunc.c: New file.
32474         * benchtests/bench-rawmemchr.c: New file.
32475         * benchtests/bench-stpcpy-ifunc.c: New file.
32476         * benchtests/bench-stpcpy.c: New file.
32477         * benchtests/bench-stpncpy-ifunc.c: New file.
32478         * benchtests/bench-stpncpy.c: New file.
32479         * benchtests/bench-strcasecmp-ifunc.c: New file.
32480         * benchtests/bench-strcasecmp.c: New file.
32481         * benchtests/bench-strcasestr-ifunc.c: New file.
32482         * benchtests/bench-strcasestr.c: New file.
32483         * benchtests/bench-strcat-ifunc.c: New file.
32484         * benchtests/bench-strcat.c: New file.
32485         * benchtests/bench-strchr-ifunc.c: New file.
32486         * benchtests/bench-strchr.c: New file.
32487         * benchtests/bench-strchrnul-ifunc.c: New file.
32488         * benchtests/bench-strchrnul.c: New file.
32489         * benchtests/bench-strcmp-ifunc.c: New file.
32490         * benchtests/bench-strcmp.c: New file.
32491         * benchtests/bench-strcpy-ifunc.c: New file.
32492         * benchtests/bench-strcpy.c: New file.
32493         * benchtests/bench-strcspn-ifunc.c: New file.
32494         * benchtests/bench-strcspn.c: New file.
32495         * benchtests/bench-strlen-ifunc.c: New file.
32496         * benchtests/bench-strlen.c: New file.
32497         * benchtests/bench-strncasecmp-ifunc.c: New file.
32498         * benchtests/bench-strncasecmp.c: New file.
32499         * benchtests/bench-strncat-ifunc.c: New file.
32500         * benchtests/bench-strncat.c: New file.
32501         * benchtests/bench-strncmp-ifunc.c: New file.
32502         * benchtests/bench-strncmp.c: New file.
32503         * benchtests/bench-strncpy-ifunc.c: New file.
32504         * benchtests/bench-strncpy.c: New file.
32505         * benchtests/bench-strnlen-ifunc.c: New file.
32506         * benchtests/bench-strnlen.c: New file.
32507         * benchtests/bench-strpbrk-ifunc.c: New file.
32508         * benchtests/bench-strpbrk.c: New file.
32509         * benchtests/bench-strrchr-ifunc.c: New file.
32510         * benchtests/bench-strrchr.c: New file.
32511         * benchtests/bench-strspn-ifunc.c: New file.
32512         * benchtests/bench-strspn.c: New file.
32513         * benchtests/bench-strstr-ifunc.c: New file.
32514         * benchtests/bench-strstr.c: New file.
32516         * benchtests/Makefile: Disable parallel execution of targets.
32517         (string-bench): Add memcpy.
32518         (benchset): New variable to store a list of benchmark sets.
32519         (bench-func): Renamed from bench.
32520         (bench-set): New target.
32521         (bench): Depend on bench-func and bench-set.
32522         * benchtests/README: Add section on benchmark sets.
32523         * benchtests/bench-memcpy-ifunc.c: New file.
32524         * benchtests/bench-memcpy.c: New file.
32525         * benchtests/bench-string.h: New file.
32527 2013-06-11  Andreas Schwab  <schwab@suse.de>
32529         [BZ #15577]
32530         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32531         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32532         values in the triple.
32533         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32534         terminator in the group key.
32536 2013-06-11  Andreas Jaeger  <aj@suse.de>
32538         * po/zh_TW.po: Update Chinese (traditional) translation from
32539         translation project.
32541 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32543         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32544         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32545         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32547         (clock_getcpuclockid): Likewise.
32548         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32549         Add weak_alias and libc_hidden_def.
32550         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32551         * rt/clock_gettime.c (clock_gettime): Rename to
32552         __clock_gettime.  Add weak_alias and libc_hidden_def.
32553         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32554         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32555         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32556         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32557         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32558         Likewise.
32559         * rt/clock_settime.c (clock_settime): Rename to
32560         __clock_settime.  Add weak_alias and libc_hidden_def.
32561         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32563 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32565         * mach/err_boot.sub: Remove trailing whitespace.
32566         * mach/err_ipc.sub: Likewise.
32567         * mach/err_mach.sub: Likewise.
32569         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32570         (ROUNDING_TESTS_double): Likewise.
32571         (ROUNDING_TESTS_long_double): Likewise.
32572         (ROUNDING_TESTS): Likewise.
32573         * math/libm-test.inc: Include <math-tests.h>.
32574         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32575         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32576         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32577         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32579 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32581         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32582         of assigning.
32584 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32586         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32587         otherwise empty TRANS lines.
32588         * sysdeps/gnu/errlist.c: Regenerated.
32590         * catgets/gencat.c (error_print): Use (void) in function
32591         definition.
32592         * crypt/crypt_util.c (__init_des): Likewise.
32593         * crypt/speeds.c (Stop): Likewise.
32594         (main): Likewise.
32595         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32596         * inet/ruserpass.c (token): Likewise.
32597         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32598         * intl/localealias.c (extend_alias_table): Likewise.
32599         * intl/plural-exp.c (init_germanic_plural): Likewise.
32600         * libio/fcloseall.c (__fcloseall): Likewise.
32601         * libio/genops.c (_IO_flush_all): Likewise.
32602         (_IO_flush_all_linebuffered): Likewise.
32603         (_IO_cleanup): Likewise.
32604         (_IO_iter_begin): Likewise.
32605         (_IO_iter_end): Likewise.
32606         (_IO_list_lock): Likewise.
32607         (_IO_list_unlock): Likewise.
32608         (_IO_list_resetlock): Likewise.
32609         * libio/getchar.c (getchar): Likewise.
32610         * libio/getchar_u.c (getchar_unlocked): Likewise.
32611         * libio/getwchar.c (getwchar): Likewise.
32612         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32613         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32614         * login/getpt.c (__getpt): Likewise.
32615         * login/tst-utmp.c (main): Likewise.
32616         * malloc/hooks.c (__malloc_check_init): Likewise.
32617         * malloc/malloc.c (__malloc_stats): Likewise.
32618         * malloc/mtrace.c (tr_break): Likewise.
32619         (mtrace): Likewise.
32620         (muntrace): Likewise.
32621         * misc/fstab.c (endfsent): Likewise.
32622         * misc/getclktck.c (__getclktck): Likewise.
32623         * misc/getdtsz.c (__getdtablesize): Likewise.
32624         * misc/gethostid.c (gethostid): Likewise.
32625         * misc/getpagesize.c (__getpagesize): Likewise.
32626         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32627         (__get_nprocs): Likewise.
32628         (__get_phys_pages): Likewise.
32629         (__get_avphys_pages): Likewise.
32630         * misc/getttyent.c (getttyent): Likewise.
32631         (setttyent): Likewise.
32632         (endttyent): Likewise.
32633         * misc/getusershell.c (getusershell): Likewise.
32634         (endusershell): Likewise.
32635         (setusershell): Likewise.
32636         (initshells): Likewise.
32637         * misc/hsearch.c (__hdestroy): Likewise.
32638         * misc/sync.c (sync): Likewise.
32639         * misc/syslog.c (closelog_internal): Likewise.
32640         (closelog): Likewise.
32641         * misc/ttyslot.c (ttyslot): Likewise.
32642         * misc/vhangup.c (vhangup): Likewise.
32643         * posix/fork.c (__fork): Likewise.
32644         * posix/getegid.c (__getegid): Likewise.
32645         * posix/geteuid.c (__geteuid): Likewise.
32646         * posix/getgid.c (__getgid): Likewise.
32647         * posix/getpid.c (__getpid): Likewise.
32648         * posix/getppid.c (__getppid): Likewise.
32649         * posix/getuid.c (__getuid): Likewise.
32650         * posix/pause.c (pause): Likewise.
32651         * posix/setpgrp.c (setpgrp): Likewise.
32652         * posix/setsid.c (__setsid): Likewise.
32653         * posix/test-vfork.c (noop): Likewise.
32654         * resolv/gethnamaddr.c (_endhtent): Likewise.
32655         (_gethtent): Likewise.
32656         (ht_endhostent): Likewise.
32657         (gethostent): Likewise.
32658         (dns_service): Likewise.
32659         * stdlib/drand48.c (drand48): Likewise.
32660         * stdlib/lrand48.c (lrand48): Likewise.
32661         * stdlib/mrand48.c (mrand48): Likewise.
32662         * stdlib/rand.c (rand): Likewise.
32663         * stdlib/random.c (__random): Likewise.
32664         * stdlib/setenv.c (clearenv): Likewise.
32665         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32666         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32667         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32668         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32669         (__get_nprocs): Likewise.
32670         (__get_phys_pages): Likewise.
32671         (__get_avphys_pages): Likewise.
32672         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32673         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32674         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32675         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32676         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32677         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32678         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32679         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32680         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32681         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32682         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32683         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32684         * sysdeps/posix/clock.c (clock): Likewise.
32685         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32686         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32687         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32688         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32689         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32691         (__get_nprocs_conf): Likewise.
32692         (__get_phys_pages): Likewise.
32693         (__get_avphys_pages): Likewise.
32694         * time/clock.c (clock): Likewise.
32695         * time/tzset.c (__tzname_max): Likewise.
32697 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32699         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32700         (__bswap_32): Do not use "register".
32701         * crypt/crypt.c (_ufc_doit_r): Likewise.
32702         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32703         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32704         * gmon/gmon.c (__monstartup): Likewise.
32705         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32706         * hurd/hurdmalloc.c (more_memory): Likewise.
32707         (malloc): Likewise.
32708         (free): Likewise.
32709         (realloc): Likewise.
32710         (malloc_fork_prepare): Likewise.
32711         (malloc_fork_parent): Likewise.
32712         (malloc_fork_child): Likewise.
32713         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32714         (_svcauth_des): Likewise.
32715         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32716         * inet/inet_net.c (inet_network): Likewise.
32717         * inet/inet_netof.c (inet_netof): Likewise.
32718         * inet/rcmd.c (__validuser2_sa): Likewise.
32719         * io/fts.c (fts_open): Likewise.
32720         (fts_load): Likewise.
32721         (fts_close): Likewise.
32722         (fts_read): Likewise.
32723         (fts_children): Likewise.
32724         (fts_build): Likewise.
32725         (fts_stat): Likewise.
32726         (fts_sort): Likewise.
32727         (fts_alloc): Likewise.
32728         (fts_lfree): Likewise.
32729         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32730         (_IO_file_xsgetn): Likewise.
32731         (_IO_file_xsgetn_mmap): Likewise.
32732         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32733         (_IO_cookie_write): Likewise.
32734         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32735         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32736         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32737         * malloc/obstack.c (_obstack_begin): Likewise.
32738         (_obstack_begin_1): Likewise.
32739         (_obstack_newchunk): Likewise.
32740         (_obstack_allocated_p): Likewise.
32741         (obstack_free): Likewise.
32742         (_obstack_memory_used): Likewise.
32743         * misc/getttyent.c (getttynam): Likewise.
32744         (getttyent): Likewise.
32745         (skip): Likewise.
32746         (value): Likewise.
32747         * misc/getusershell.c (initshells): Likewise.
32748         * misc/syslog.c (__vsyslog_chk): Likewise.
32749         * misc/ttyslot.c (ttyslot): Likewise.
32750         * nis/nis_hash.c (__nis_hash): Likewise.
32751         * posix/fnmatch_loop.c (FCT): Likewise.
32752         * posix/getconf.c (print_all): Likewise.
32753         (main): Likewise.
32754         * posix/getopt.c (exchange): Likewise.
32755         * posix/glob.c (globfree): Likewise.
32756         (prefix_array): Likewise.
32757         (__glob_pattern_type): Likewise.
32758         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32759         (NS_GET32): Likewise.
32760         (NS_PUT16): Likewise.
32761         (NS_PUT32): Likewise.
32762         * resolv/gethnamaddr.c (getanswer): Likewise.
32763         (gethostbyname2): Likewise.
32764         (gethostbyaddr): Likewise.
32765         (_gethtent): Likewise.
32766         (_gethtbyname2): Likewise.
32767         (_gethtbyaddr): Likewise.
32768         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32769         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32770         * resolv/res_init.c (__res_vinit): Likewise.
32771         (net_mask): Likewise.
32772         * resolv/res_mkquery.c (outchar): Likewise.
32773         (PRINT): Likewise.
32774         * stdio-common/printf_fp.c (outchar): Likewise.
32775         (PRINT): Likewise.
32776         * stdio-common/printf_fphex.c (outchar): Likewise.
32777         (PRINT): Likewise.
32778         * stdio-common/printf_size.c (outchar): Likewise.
32779         (PRINT): Likewise.
32780         * stdio-common/test_rdwr.c (main): Likewise.
32781         * stdio-common/tfformat.c (matches): Likewise.
32782         * stdio-common/vfprintf.c (outchar): Likewise.
32783         (printf_unknown): Likewise.
32784         (buffered_vfprintf): Likewise.
32785         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32786         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32787         (ReadFile): Likewise.
32788         * stdlib/qsort.c (SWAP): Likewise.
32789         (_quicksort): Likewise.
32790         * stdlib/setenv.c (__add_to_environ): Likewise.
32791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32792         * stdlib/strtol_l.c (__strtol_l): Likewise.
32793         * stdlib/tst-strtod.c (main): Likewise.
32794         * stdlib/tst-strtol.c (main): Likewise.
32795         * stdlib/tst-strtoll.c (main): Likewise.
32796         * string/bits/string2.h (__strcmp_cc): Likewise.
32797         (__strcmp_cg): Likewise.
32798         (__strcspn_c1): Likewise.
32799         (__strcspn_c2): Likewise.
32800         (__strcspn_c3): Likewise.
32801         (__strspn_c1): Likewise.
32802         (__strspn_c2): Likewise.
32803         (__strspn_c3): Likewise.
32804         (__strsep_1c): Likewise.
32805         (__strsep_2c): Likewise.
32806         (__strsep_3c): Likewise.
32807         * string/memccpy.c (__memccpy): Likewise.
32808         * string/stpcpy.c (__stpcpy): Likewise.
32809         * string/strcmp.c (strcmp): Likewise.
32810         * string/strrchr.c (strrchr): Likewise.
32811         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32812         Likewise.
32813         * sysdeps/mach/hurd/getcwd.c
32814         (_hurd_canonicalize_directory_name_internal): Likewise.
32815         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32816         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32817         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32818         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32819         Likewise, in both definitions.
32820         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32821         definitions.
32822         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32823         64] (__bswap_64): Likewise.
32824         * time/test_time.c (main): Likewise.
32825         * time/tzfile.c (__tzfile_read): Likewise.
32826         (__tzfile_compute): Likewise.
32827         * time/tzset.c (__tzset_parse_tz): Likewise.
32828         (tzset_internal): Likewise.
32829         (compute_change): Likewise.
32830         * wcsmbs/wcscat.c (__wcscat): Likewise.
32831         * wcsmbs/wcschr.c (wcschr): Likewise.
32832         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32833         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32834         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32835         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32836         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32837         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32838         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32839         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32840         * wcsmbs/wmemset.c (wmemset): Likewise.
32842 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32844         * scripts/config.guess: Update to version 2013-05-16.
32845         * scripts/config.sub: Update to version 2013-04-24.
32846         * scripts/install-sh: Update to version 2011-11-20.07.
32847         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32848         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32850 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32852         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32853         * elf/sln.c: Likewise.
32854         * hurd/hurd/ioctl.h: Likewise.
32855         * hurd/hurdmalloc.c: Likewise.
32856         * hurd/xattr.c: Likewise.
32857         * include/shlib-compat.h: Likewise.
32858         * inet/ruserpass.c: Likewise.
32859         * libio/iofgets_u.c: Likewise.
32860         * libio/iofgetws_u.c: Likewise.
32861         * locale/programs/ld-identification.c: Likewise.
32862         * locale/programs/ld-time.c: Likewise.
32863         * mach/msg-destroy.c: Likewise.
32864         * nss/nss_files/files-netgrp.c: Likewise.
32865         * resolv/res_data.c: Likewise.
32866         * soft-fp/op-1.h: Likewise.
32867         * soft-fp/op-2.h: Likewise.
32868         * soft-fp/op-4.h: Likewise.
32869         * soft-fp/op-common.h: Likewise.
32870         * stdio-common/printf_fphex.c: Likewise.
32871         * stdlib/strtod_l.c: Likewise.
32872         * sunrpc/rpc/clnt.h: Likewise.
32873         * sysdeps/generic/framestate.c: Likewise.
32874         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32875         * sysdeps/i386/bsd-setjmp.S: Likewise.
32876         * sysdeps/i386/__longjmp.S: Likewise.
32877         * sysdeps/i386/setjmp.S: Likewise.
32878         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32879         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32880         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32883         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32885         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32886         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32887         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32888         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32889         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32890         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32891         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32892         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32894         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32895         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32896         * sysdeps/ieee754/support.c: Likewise.
32897         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32898         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32899         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32900         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32901         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32902         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32903         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32904         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32905         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32906         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32907         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32908         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32909         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32910         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32911         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32912         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32913         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32916 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32918         * posix/transbug.c: Remove executable mode.
32920 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32922         * crypt/speeds.c: Remove trailing whitespace.
32923         * dlfcn/default.c: Likewise.
32924         * elf/ifuncdep2.c: Likewise.
32925         * elf/ifuncmain1.c: Likewise.
32926         * elf/ifuncmain1vis.c: Likewise.
32927         * elf/testobj.h: Likewise.
32928         * elf/tst-stackguard1.c: Likewise.
32929         * gmon/sys/gmon.h: Likewise.
32930         * hurd/hurdmsg.c: Likewise.
32931         * hurd/new-fd.c: Likewise.
32932         * hurd/ports-get.c: Likewise.
32933         * iconvdata/ibm1008_420.c: Likewise.
32934         * inet/tst-getni1.c: Likewise.
32935         * inet/tst-getni2.c: Likewise.
32936         * libio/ioungetc.c: Likewise.
32937         * libio/wfiledoalloc.c: Likewise.
32938         * manual/libm-err-tab.pl: Likewise.
32939         * math/w_dremf.c: Likewise.
32940         * misc/ftruncate.c: Likewise.
32941         * posix/bug-glob2.c: Likewise.
32942         * posix/tst-pcre.c: Likewise.
32943         * posix/wait4.c: Likewise.
32944         * resolv/README: Likewise.
32945         * resolv/res_debug.h: Likewise.
32946         * resolv/tst-inet_ntop.c: Likewise.
32947         * setjmp/bug269-setjmp.c: Likewise.
32948         * soft-fp/extended.h: Likewise.
32949         * soft-fp/op-1.h: Likewise.
32950         * soft-fp/op-2.h: Likewise.
32951         * soft-fp/op-4.h: Likewise.
32952         * soft-fp/op-8.h: Likewise.
32953         * soft-fp/testit.c: Likewise.
32954         * stdio-common/bug16.c: Likewise.
32955         * stdlib/random.c: Likewise.
32956         * sunrpc/rpcsvc/rquota.x: Likewise.
32957         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32964         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32965         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32966         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32968         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32970         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32971         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32972         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32973         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32974         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32975         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32976         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32977         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32978         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32979         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32980         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32986         * sysdeps/ieee754/s_lib_version.c: Likewise.
32987         * sysdeps/mach/hurd/check_fds.c: Likewise.
32988         * sysdeps/mach/hurd/getsockname.c: Likewise.
32989         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32990         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32991         * sysdeps/powerpc/bits/link.h: Likewise.
32992         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32993         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32994         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32995         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32996         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32997         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32998         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32999         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33000         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33001         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33002         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33003         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33004         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33005         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33006         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33007         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33011         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33012         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33013         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33014         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33015         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33016         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33017         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33018         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33019         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33020         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33022         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33023         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33025         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33026         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33027         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33029         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33030         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33031         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33032         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33033         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33034         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33035         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33036         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33037         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33038         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33039         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33040         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33041         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33042         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33044         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33045         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33046         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33047         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33048         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33049         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33050         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33051         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33052         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33053         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33054         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33055         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33056         * sysdeps/powerpc/sysdep.h: Likewise.
33057         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33058         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33059         * sysdeps/sh/dl-trampoline.S: Likewise.
33060         * sysdeps/sh/memset.S: Likewise.
33061         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33062         * sysdeps/sh/strlen.S: Likewise.
33063         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33064         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33065         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33066         * sysdeps/sparc/sparc32/rem.S: Likewise.
33067         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33068         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33069         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33070         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33071         * sysdeps/sparc/sparc32/urem.S: Likewise.
33072         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33073         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33074         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33075         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33076         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33077         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33078         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33079         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33080         * sysdeps/unix/bsd/times.c: Likewise.
33081         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33082         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33086         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33087         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33088         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33089         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33090         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33091         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33092         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33093         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33094         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33095         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33096         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33097         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33098         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33099         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33100         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33101         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33102         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33103         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33104         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33105         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33106         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33107         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33109         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33110         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33111         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33112         * sysdeps/x86_64/strcspn.S: Likewise.
33114 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33116         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33117         generated file.  Regenerate properly from gen-translit.pl.
33118         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33119         locale/C-translit.h.
33121 2013-06-05  Andreas Schwab  <schwab@suse.de>
33123         [BZ #15100]
33124         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33125         week as 6 instead of -1.
33126         * time/tst-strptime.c (day_tests): Add test case.
33128 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33130         * sysdeps/generic/math_private.h
33131         (libc_feholdexcept_setround_53bit): Replace with
33132         libc_feholdsetround_53bit.
33133         (libc_feupdateenv_53bit): Replace with
33134         libc_feresetround_53bit.
33135         (SET_RESTORE_ROUND_53BIT): Adjust.
33137 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33139         * string/test-strchrnul.c: Add copyright header.
33141         * posix/tst-getaddrinfo4.c: Increase test timeout.
33143 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33145         [BZ #15536]
33146         * math/libm-test.inc (MAX_EXP): Remove
33147         (MIN_EXP): Define.
33148         (ulp): Use MIN_EXP - MANT_DIG.
33149         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33151 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33153         * po/be.po: Revert last change.
33154         * po/zh_CN.po: Likewise.
33155         * po/header.pot: Likewise.
33157 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33159         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33160         link-libc-deps to empty as target-specific variable.
33161         * Makerules (link-libc-args): New variable.
33162         (libc-for-link): Likewise.
33163         (link-libc-deps): Likewise.
33164         (lib%.so): Depend on $(link-libc-deps).  Link with
33165         $(link-libc-args).
33166         (build-module): Link with $(link-libc-args).
33167         (build-module-asneeded): Likewise.
33168         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33169         list of objects.
33170         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33171         target-specific variable.
33172         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33173         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33174         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33175         libc.
33176         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33177         libc and ld.so.
33178         ($(objpfx)libpcprofile.so): Likewise.
33179         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33180         libc_nonshared.a.
33181         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33182         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33184         $(link-libc-deps).
33185         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33186         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33187         * login/Makefile ($(objpfx)libutil.so): Likewise.
33188         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33189         * math/Makefile ($(objpfx)libm.so): Likewise.
33190         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33191         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33192         variable instead of depending directly on libc.
33193         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33194         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33195         $(link-libc-deps).
33196         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33197         libc.
33198         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33199         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33200         ($(objpfx)libanl.so): Likewise.
33201         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33202         ld.so.
33203         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33204         $(link-libc-deps).
33205         * sysdeps/i386/fpu/Makefile: Remove file.
33206         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33207         ($(objpfx)libm.so): Remove dependency on ld.so.
33209 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33211         [BZ # 15553]
33212         * nis/yp_xdr.c (XDRMAXNAME): Define.
33213         (XDRMAXRECORD): Define.
33214         (xdr_domainname): Use XDRMAXNAME.
33215         (xdr_mapname): Likewise.
33216         (xdr_peername): Likewise.
33217         (xdr_keydat): Use XDRMAXRECORD.
33218         (xdr_valdat): Likewise.
33220 2013-05-30  Jeff Law  <law@redhat.com>
33222         [BZ #14256]
33223         * manual/errno.texi (ESTALE): Update to account for more than
33224         just NFS file systems.
33225         * sysdeps/gnu/errlist.c: Regenerated.
33227 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229         [BZ #15465]
33230         * elf/Makefile (tests): Add tst-null-argv.
33231         (modules-names):  Add tst-null-argv-lib.
33232         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33233         (tst-null-argv-ENV): Set environment for tst-null-argv.
33234         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33235         (RTLD_PROGNAME): New macro.
33236         * elf/tst-null-argv.c: New test case.
33237         * elf/tst-null-argv-lib.c: Library for test case.
33238         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33239         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33240         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33241         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33242         * elf/dl-init.c (call_init): Likewise.
33243         (_dl_init): Likewise.
33244         * elf/dl-load.c (print_search_path): Likewise.
33245         (_dl_map_object): Likewise.
33246         * elf/dl-lookup.c (do_lookup_x): Likewise.
33247         (add_dependency): Likewise.
33248         (_dl_lookup_symbol_x): Likewise.
33249         (_dl_debug_bindings): Likewise.
33250         * elf/dl-open.c (_dl_show_scope): Likewise.
33251         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33252         * elf/dl-version.c (match_symbol): Likewise.
33253         (_dl_check_map_versions): Likewise.
33254         * elf/rtld.c (dl_main): Likewise.
33255         (print_unresolved): Use RTLD_PROGNAME.
33256         (print_missing_version): Likewise.
33257         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33258         (elf_machine_rela): Likewise.
33259         * sysdeps/powerpc/powerpc32/dl-machine.c
33260         (__process_machine_rela): Likewise.
33261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33262         Likewise.
33263         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33264         Likewise.
33265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33266         Likewise.
33267         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33269         Likewise.
33270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33271         Likewise.
33272         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33274 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33276         * po/be.po: Add descriptive title.
33277         * po/zh_CN.po: Likewise.
33278         * po/header.pot: Likewise.
33280 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33282         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33283         error message.
33284         (enlarge_archive): Likewise.
33286 2013-05-28  Ben North  <ben@redfrontdoor.org>
33288         * manual/arith.texi (frexp): It is the magnitude of the return
33289         value which lies in [0.5, 1), not the return value itself.
33291 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33295 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33297         * stdio-common/bug26.c (main): Correct fscanf template.
33299         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33300         declare _dl_skip_args.
33302         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33303         Don't declare.
33305         * manual/platform.texi: Add missing @end deftypefun.
33307 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33309         [BZ #15529]
33310         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33311         bit of mantissa of 2^16382.
33312         * math/libm-test.inc (hypot_test_data): Add more tests.
33314         * math/libm-test.inc: Add drem and pow10 to list of tested
33315         functions.
33316         (pow10_test): New function.
33317         (drem_test): Likewise.
33318         (drem_test_tonearest): Likewise.
33319         (drem_test_towardzero): Likewise.
33320         (drem_test_downward): Likewise.
33321         (drem_test_upward): Likewise.
33322         (main): Call the new functions.
33324         * math/libm-test.inc (finite_test_data): Remove.
33325         (finite_test): Run tests from isfinite_test_data.
33326         (gamma_test_data): Remove.
33327         (gamma_test): Run tests from lgamma_test_data.
33328         * sysdeps/i386/fpu/libm-test-ulps: Update.
33329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33331 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33333         * manual/platform.texi: Add PowerPC PPR function set documentation.
33334         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33335         implementation.
33337 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33339         * math/libm-test.inc (MAX_EXP): Define.
33340         (ULPDIFF): Define.
33341         (ulp): New function.
33342         (check_float_internal): Use ULPDIFF.
33343         (cpow_test): Disable failing test.
33344         (check_ulp): Test ulp() implemetnation.
33345         (main): Call check_ulp before starting tests.
33347 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33349         * math/gen-libm-test.pl (generate_testfile): Do not handle
33350         START_DATA and END_DATA.
33351         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33352         END_DATA.
33353         (acos_tonearest_test_data): Likewise.
33354         (acos_towardzero_test_data): Likewise.
33355         (acos_downward_test_data): Likewise.
33356         (acos_upward_test_data): Likewise.
33357         (acosh_test_data): Likewise.
33358         (asin_test_data): Likewise.
33359         (asin_tonearest_test_data): Likewise.
33360         (asin_towardzero_test_data): Likewise.
33361         (asin_downward_test_data): Likewise.
33362         (asin_upward_test_data): Likewise.
33363         (asinh_test_data): Likewise.
33364         (atan_test_data): Likewise.
33365         (atanh_test_data): Likewise.
33366         (atan2_test_data): Likewise.
33367         (cabs_test_data): Likewise.
33368         (cacos_test_data): Likewise.
33369         (cacosh_test_data): Likewise.
33370         (carg_test_data): Likewise.
33371         (casin_test_data): Likewise.
33372         (casinh_test_data): Likewise.
33373         (catan_test_data): Likewise.
33374         (catanh_test_data): Likewise.
33375         (cbrt_test_data): Likewise.
33376         (ccos_test_data): Likewise.
33377         (ccosh_test_data): Likewise.
33378         (ceil_test_data): Likewise.
33379         (cexp_test_data): Likewise.
33380         (cimag_test_data): Likewise.
33381         (clog_test_data): Likewise.
33382         (clog10_test_data): Likewise.
33383         (conj_test_data): Likewise.
33384         (copysign_test_data): Likewise.
33385         (cos_test_data): Likewise.
33386         (cos_tonearest_test_data): Likewise.
33387         (cos_towardzero_test_data): Likewise.
33388         (cos_downward_test_data): Likewise.
33389         (cos_upward_test_data): Likewise.
33390         (cosh_test_data): Likewise.
33391         (cosh_tonearest_test_data): Likewise.
33392         (cosh_towardzero_test_data): Likewise.
33393         (cosh_downward_test_data): Likewise.
33394         (cosh_upward_test_data): Likewise.
33395         (cpow_test_data): Likewise.
33396         (cproj_test_data): Likewise.
33397         (creal_test_data): Likewise.
33398         (csin_test_data): Likewise.
33399         (csinh_test_data): Likewise.
33400         (csqrt_test_data): Likewise.
33401         (ctan_test_data): Likewise.
33402         (ctan_tonearest_test_data): Likewise.
33403         (ctan_towardzero_test_data): Likewise.
33404         (ctan_downward_test_data): Likewise.
33405         (ctan_upward_test_data): Likewise.
33406         (ctanh_test_data): Likewise.
33407         (ctanh_tonearest_test_data): Likewise.
33408         (ctanh_towardzero_test_data): Likewise.
33409         (ctanh_downward_test_data): Likewise.
33410         (ctanh_upward_test_data): Likewise.
33411         (erf_test_data): Likewise.
33412         (erfc_test_data): Likewise.
33413         (exp_test_data): Likewise.
33414         (exp_tonearest_test_data): Likewise.
33415         (exp_towardzero_test_data): Likewise.
33416         (exp_downward_test_data): Likewise.
33417         (exp_upward_test_data): Likewise.
33418         (exp10_test_data): Likewise.
33419         (exp2_test_data): Likewise.
33420         (expm1_test_data): Likewise.
33421         (fabs_test_data): Likewise.
33422         (fdim_test_data): Likewise.
33423         (finite_test_data): Likewise.
33424         (floor_test_data): Likewise.
33425         (fma_test_data): Likewise.
33426         (fma_towardzero_test_data): Likewise.
33427         (fma_downward_test_data): Likewise.
33428         (fma_upward_test_data): Likewise.
33429         (fmax_test_data): Likewise.
33430         (fmin_test_data): Likewise.
33431         (fmod_test_data): Likewise.
33432         (fpclassify_test_data): Likewise.
33433         (frexp_test_data): Likewise.
33434         (gamma_test_data): Likewise.
33435         (hypot_test_data): Likewise.
33436         (ilogb_test_data): Likewise.
33437         (isfinite_test_data): Likewise.
33438         (isgreater_test_data): Likewise.
33439         (isgreaterequal_test_data): Likewise.
33440         (isinf_test_data): Likewise.
33441         (isless_test_data): Likewise.
33442         (islessequal_test_data): Likewise.
33443         (islessgreater_test_data): Likewise.
33444         (isnan_test_data): Likewise.
33445         (isnormal_test_data): Likewise.
33446         (issignaling_test_data): Likewise.
33447         (isunordered_test_data): Likewise.
33448         (j0_test_data): Likewise.
33449         (j1_test_data): Likewise.
33450         (jn_test_data): Likewise.
33451         (ldexp_test_data): Likewise.
33452         (lgamma_test_data): Likewise.
33453         (lrint_test_data): Likewise.
33454         (lrint_tonearest_test_data): Likewise.
33455         (lrint_towardzero_test_data): Likewise.
33456         (lrint_downward_test_data): Likewise.
33457         (lrint_upward_test_data): Likewise.
33458         (llrint_test_data): Likewise.
33459         (llrint_tonearest_test_data): Likewise.
33460         (llrint_towardzero_test_data): Likewise.
33461         (llrint_downward_test_data): Likewise.
33462         (llrint_upward_test_data): Likewise.
33463         (log_test_data): Likewise.
33464         (log10_test_data): Likewise.
33465         (log1p_test_data): Likewise.
33466         (log2_test_data): Likewise.
33467         (logb_test_data): Likewise.
33468         (logb_downward_test_data): Likewise.
33469         (lround_test_data): Likewise.
33470         (llround_test_data): Likewise.
33471         (modf_test_data): Likewise.
33472         (nearbyint_test_data): Likewise.
33473         (nextafter_test_data): Likewise.
33474         (nexttoward_test_data): Likewise.
33475         (pow_test_data): Likewise.
33476         (pow_tonearest_test_data): Likewise.
33477         (pow_towardzero_test_data): Likewise.
33478         (pow_downward_test_data): Likewise.
33479         (pow_upward_test_data): Likewise.
33480         (remainder_test_data): Likewise.
33481         (remainder_tonearest_test_data): Likewise.
33482         (remainder_towardzero_test_data): Likewise.
33483         (remainder_downward_test_data): Likewise.
33484         (remainder_upward_test_data): Likewise.
33485         (remquo_test_data): Likewise.
33486         (rint_test_data): Likewise.
33487         (rint_tonearest_test_data): Likewise.
33488         (rint_towardzero_test_data): Likewise.
33489         (rint_downward_test_data): Likewise.
33490         (rint_upward_test_data): Likewise.
33491         (round_test_data): Likewise.
33492         (scalb_test_data): Likewise.
33493         (scalbn_test_data): Likewise.
33494         (scalbln_test_data): Likewise.
33495         (signbit_test_data): Likewise.
33496         (sin_test_data): Likewise.
33497         (sin_tonearest_test_data): Likewise.
33498         (sin_towardzero_test_data): Likewise.
33499         (sin_downward_test_data): Likewise.
33500         (sin_upward_test_data): Likewise.
33501         (sincos_test_data): Likewise.
33502         (sinh_test_data): Likewise.
33503         (sinh_tonearest_test_data): Likewise.
33504         (sinh_towardzero_test_data): Likewise.
33505         (sinh_downward_test_data): Likewise.
33506         (sinh_upward_test_data): Likewise.
33507         (sqrt_test_data): Likewise.
33508         (tan_test_data): Likewise.
33509         (tan_tonearest_test_data): Likewise.
33510         (tan_towardzero_test_data): Likewise.
33511         (tan_downward_test_data): Likewise.
33512         (tan_upward_test_data): Likewise.
33513         (tanh_test_data): Likewise.
33514         (tgamma_test_data): Likewise.
33515         (trunc_test_data): Likewise.
33516         (y0_test_data): Likewise.
33517         (y1_test_data): Likewise.
33518         (yn_test_data): Likewise.
33519         (significand_test_data): Likewise.
33521         * math/gen-libm-test.pl (@functions): Remove variable.
33522         (generate_testfile): Don't handle START and END lines.
33523         * math/libm-test.inc (START): New macro.
33524         (END): Likewise.
33525         (END_COMPLEX): Likewise.
33526         (acos_test): Use END macro without arguments.
33527         (acos_test_tonearest): Likewise.
33528         (acos_test_towardzero): Likewise.
33529         (acos_test_downward): Likewise.
33530         (acos_test_upward): Likewise.
33531         (acosh_test): Likewise.
33532         (asin_test): Likewise.
33533         (asin_test_tonearest): Likewise.
33534         (asin_test_towardzero): Likewise.
33535         (asin_test_downward): Likewise.
33536         (asin_test_upward): Likewise.
33537         (asinh_test): Likewise.
33538         (atan_test): Likewise.
33539         (atanh_test): Likewise.
33540         (atan2_test): Likewise.
33541         (cabs_test): Likewise.
33542         (cacos_test): Use END_COMPLEX macro without arguments.
33543         (cacosh_test): Likewise.
33544         (carg_test): Use END macro without arguments.
33545         (casin_test): Use END_COMPLEX macro without arguments.
33546         (casinh_test): Likewise.
33547         (catan_test): Likewise.
33548         (catanh_test): Likewise.
33549         (cbrt_test): Use END macro without arguments.
33550         (ccos_test): Use END_COMPLEX macro without arguments.
33551         (ccosh_test): Likewise.
33552         (ceil_test): Use END macro without arguments.
33553         (cexp_test): Use END_COMPLEX macro without arguments.
33554         (cimag_test): Use END macro without arguments.
33555         (clog_test): Use END_COMPLEX macro without arguments.
33556         (clog10_test): Likewise.
33557         (conj_test): Likewise.
33558         (copysign_test): Use END macro without arguments.
33559         (cos_test): Likewise.
33560         (cos_test_tonearest): Likewise.
33561         (cos_test_towardzero): Likewise.
33562         (cos_test_downward): Likewise.
33563         (cos_test_upward): Likewise.
33564         (cosh_test): Likewise.
33565         (cosh_test_tonearest): Likewise.
33566         (cosh_test_towardzero): Likewise.
33567         (cosh_test_downward): Likewise.
33568         (cosh_test_upward): Likewise.
33569         (cpow_test): Use END_COMPLEX macro without arguments.
33570         (cproj_test): Likewise.
33571         (creal_test): Use END macro without arguments.
33572         (csin_test): Use END_COMPLEX macro without arguments.
33573         (csinh_test): Likewise.
33574         (csqrt_test): Likewise.
33575         (ctan_test): Likewise.
33576         (ctan_test_tonearest): Likewise.
33577         (ctan_test_towardzero): Likewise.
33578         (ctan_test_downward): Likewise.
33579         (ctan_test_upward): Likewise.
33580         (ctanh_test): Likewise.
33581         (ctanh_test_tonearest): Likewise.
33582         (ctanh_test_towardzero): Likewise.
33583         (ctanh_test_downward): Likewise.
33584         (ctanh_test_upward): Likewise.
33585         (erf_test): Use END macro without arguments.
33586         (erfc_test): Likewise.
33587         (exp_test): Likewise.
33588         (exp_test_tonearest): Likewise.
33589         (exp_test_towardzero): Likewise.
33590         (exp_test_downward): Likewise.
33591         (exp_test_upward): Likewise.
33592         (exp10_test): Likewise.
33593         (exp2_test): Likewise.
33594         (expm1_test): Likewise.
33595         (fabs_test): Likewise.
33596         (fdim_test): Likewise.
33597         (finite_test): Likewise.
33598         (floor_test): Likewise.
33599         (fma_test): Likewise.
33600         (fma_test_towardzero): Likewise.
33601         (fma_test_downward): Likewise.
33602         (fma_test_upward): Likewise.
33603         (fmax_test): Likewise.
33604         (fmin_test): Likewise.
33605         (fmod_test): Likewise.
33606         (fpclassify_test): Likewise.
33607         (frexp_test): Likewise.
33608         (gamma_test): Likewise.
33609         (hypot_test): Likewise.
33610         (ilogb_test): Likewise.
33611         (isfinite_test): Likewise.
33612         (isgreater_test): Likewise.
33613         (isgreaterequal_test): Likewise.
33614         (isinf_test): Likewise.
33615         (isless_test): Likewise.
33616         (islessequal_test): Likewise.
33617         (islessgreater_test): Likewise.
33618         (isnan_test): Likewise.
33619         (isnormal_test): Likewise.
33620         (issignaling_test): Likewise.
33621         (isunordered_test): Likewise.
33622         (j0_test): Likewise.
33623         (j1_test): Likewise.
33624         (jn_test): Likewise.
33625         (ldexp_test): Likewise.
33626         (lgamma_test): Likewise.
33627         (lrint_test): Likewise.
33628         (lrint_test_tonearest): Likewise.
33629         (lrint_test_towardzero): Likewise.
33630         (lrint_test_downward): Likewise.
33631         (lrint_test_upward): Likewise.
33632         (llrint_test): Likewise.
33633         (llrint_test_tonearest): Likewise.
33634         (llrint_test_towardzero): Likewise.
33635         (llrint_test_downward): Likewise.
33636         (llrint_test_upward): Likewise.
33637         (log_test): Likewise.
33638         (log10_test): Likewise.
33639         (log1p_test): Likewise.
33640         (log2_test): Likewise.
33641         (logb_test): Likewise.
33642         (logb_test_downward): Likewise.
33643         (lround_test): Likewise.
33644         (llround_test): Likewise.
33645         (modf_test): Likewise.
33646         (nearbyint_test): Likewise.
33647         (nextafter_test): Likewise.
33648         (nexttoward_test): Likewise.
33649         (pow_test): Likewise.
33650         (pow_test_tonearest): Likewise.
33651         (pow_test_towardzero): Likewise.
33652         (pow_test_downward): Likewise.
33653         (pow_test_upward): Likewise.
33654         (remainder_test): Likewise.
33655         (remainder_test_tonearest): Likewise.
33656         (remainder_test_towardzero): Likewise.
33657         (remainder_test_downward): Likewise.
33658         (remainder_test_upward): Likewise.
33659         (remquo_test): Likewise.
33660         (rint_test): Likewise.
33661         (rint_test_tonearest): Likewise.
33662         (rint_test_towardzero): Likewise.
33663         (rint_test_downward): Likewise.
33664         (rint_test_upward): Likewise.
33665         (round_test): Likewise.
33666         (scalb_test): Likewise.
33667         (scalbn_test): Likewise.
33668         (scalbln_test): Likewise.
33669         (signbit_test): Likewise.
33670         (sin_test): Likewise.
33671         (sin_test_tonearest): Likewise.
33672         (sin_test_towardzero): Likewise.
33673         (sin_test_downward): Likewise.
33674         (sin_test_upward): Likewise.
33675         (sincos_test): Likewise.
33676         (sinh_test): Likewise.
33677         (sinh_test_tonearest): Likewise.
33678         (sinh_test_towardzero): Likewise.
33679         (sinh_test_downward): Likewise.
33680         (sinh_test_upward): Likewise.
33681         (sqrt_test): Likewise.
33682         (tan_test): Likewise.
33683         (tan_test_tonearest): Likewise.
33684         (tan_test_towardzero): Likewise.
33685         (tan_test_downward): Likewise.
33686         (tan_test_upward): Likewise.
33687         (tanh_test): Likewise.
33688         (tgamma_test): Likewise.
33689         (trunc_test): Likewise.
33690         (y0_test): Likewise.
33691         (y1_test): Likewise.
33692         (yn_test): Likewise.
33693         (significand_test): Likewise.
33695 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33697         [BZ #15381]
33698         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33700 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33702         [BZ #14894]
33703         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33704         __ppc_mdoio and __ppc_mdoom.
33705         * manual/platform.texi: Document new functions __ppc_yield,
33706         __ppc_mdoio and __ppc_mdoom.
33708 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33710         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33711         (main): Mention "tls" pseudo-hwcap is legacy.
33712         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33714 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33716         * math/gen-libm-test.pl (parse_args): Output only string of
33717         arguments as text for test name, not full call or descriptions of
33718         tests for extra outputs.
33719         (generate_testfile): Do not pass function name to parse_args.
33720         Generate this_func variable from START.
33721         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33722         field to arg_str.
33723         (struct test_ff_f_data): Likewise.
33724         (test_ff_f_data_nexttoward): Likewise.
33725         (struct test_fi_f_data): Likewise.
33726         (struct test_fl_f_data): Likewise.
33727         (struct test_if_f_data): Likewise.
33728         (struct test_fff_f_data): Likewise.
33729         (struct test_c_f_data): Likewise.
33730         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33731         (struct test_fF_f1_data): Likewise.
33732         (struct test_ffI_f1_data): Likewise.
33733         (struct test_c_c_data): Rename test_name field to arg_str.
33734         (struct test_cc_c_data): Likewise.
33735         (struct test_f_i_data): Likewise.
33736         (struct test_ff_i_data): Likewise.
33737         (struct test_f_l_data): Likewise.
33738         (struct test_f_L_data): Likewise.
33739         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33740         and extra2_name.
33741         (COMMON_TEST_SETUP): New macro.
33742         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33743         (COMMON_TEST_CLEANUP): Likewise.
33744         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33745         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33746         macros.
33747         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33748         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33749         macros.
33750         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33751         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33752         cleanup macros.
33753         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33754         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33755         macros.
33756         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33757         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33758         macros.
33759         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33760         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33761         cleanup macros.
33762         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33763         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33764         cleanup macros.
33765         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33766         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33767         cleanup macros.
33768         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33769         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33770         macros.
33771         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33772         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33773         macros.
33774         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33775         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33776         macros.
33777         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33778         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33779         cleanup macros.
33780         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33781         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33782         cleanup macros.
33783         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33784         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33785         macros.
33786         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33787         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33788         cleanup macros.
33789         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33790         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33791         macros.
33792         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33793         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33794         macros.
33795         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33796         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33797         cleanup macros.
33798         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33800 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33802         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33803         to _sifields.sigfault.
33804         (si_addr_lsb): Define new macro.
33805         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33806         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33809 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33811         [BZ #15441]
33812         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33813         returns -1.
33814         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33815         null return -1.
33816         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33817         loading the domain.
33819 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33821         * math/gen-libm-test.pl (parse_args): Do not include expected
33822         result in test name.
33823         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33824         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33825         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33826         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33827         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33830 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832         * benchtests/Makefile: Sort function entries.
33834         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33835         tanh, asinh, acosh, atanh.
33836         * benchtests/acos-inputs: New file.
33837         * benchtests/acosh-inputs: New file.
33838         * benchtests/asin-inputs: New file.
33839         * benchtests/asinh-inputs: New file.
33840         * benchtests/atanh-inputs: New file.
33841         * benchtests/cosh-inputs: New file.
33842         * benchtests/log-inputs: New file.
33843         * benchtests/sinh-inputs: New file.
33844         * benchtests/tanh-inputs: New file.
33846 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33848         [BZ #15339]
33849         * posix/tst-getaddrinfo4.c: New test.
33850         * posix/Makefile (tests): Add it.
33852 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854         [BZ #15339]
33855         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33856         when no services were used.
33857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33858         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33860 2013-05-21  Andreas Schwab  <schwab@suse.de>
33862         [BZ #15014]
33863         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33864         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33865         successful.
33866         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33867         redundant variable declarations and reallocation of buffer when
33868         parsing as IPv6 address.  Always set NSS status when called from
33869         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33870         buffer too small.  Correct computation of needed size.
33871         * nss/Makefile (tests): Add test-digits-dots.
33872         * nss/test-digits-dots.c: New test.
33874 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33876         * benchtests/Makefile: Remove instructions for adding
33877         benchmark tests.
33878         * benchtests/README: New file to explain how to execute and
33879         enhance the benchmark tests.
33881 2013-05-21  Andreas Schwab  <schwab@suse.de>
33883         [BZ #15493]
33884         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33885         * setjmp/tst-sigsetjmp.c: New test.
33887 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33889         * sysdeps/x86_64/memset.S (memset): New implementation.
33890         (__bzero): Likewise.
33891         (__memset_tail): New function.
33893 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33895         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33896         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33897         __memcpy_sse2_unaligned ifunc selection.
33898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33899         Add memcpy-sse2-unaligned.S.
33900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33901         Add: __memcpy_sse2_unaligned.
33903 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #15490]
33906         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33907         math_force_eval before restoring floating-point envrionment.
33908         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33909         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33910         Likewise.
33911         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33912         <math_private.h>.
33913         (__nearbyintl): Use math_force_eval before restoring
33914         floating-point environment.
33915         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33917         * math/gen-libm-test.pl (special_functions): Remove.
33918         (parse_args): Don't handle TEST_extra.  Handle functions with no
33919         return value.
33920         * math/libm-test.inc (struct test_sincos_data): Replace with
33921         struct test_fFF_11_data.
33922         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33923         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33924         (sincos_test_data): Change element type to struct
33925         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33926         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33927         RUN_TEST_LOOP_sincos.
33928         * math/README.libm-test: Don't mention special handling of
33929         individual functions.
33930         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33931         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33932         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33933         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33934         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33937         * math/gen-libm-test.pl (get_variable): Remove function.
33938         (parse_args): Don't show pointer parameters to call in test
33939         names.  Use "extra output N" in test names for extra outputs
33940         rather than naming variables.
33942 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33944         [BZ #15488]
33945         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33946         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33947         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33948         double tests.
33949         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33950         disable.
33951         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33952         check_long_double.
33954         * math/gen-libm-test.pl (@tests): Remove variable.
33955         ($count): Likewise.
33956         (new_test): Remove function.
33957         (show_exceptions): New function.
33958         (special_functions): Use show_exceptions instead of new_test.
33959         (parse_args): Likewise.
33960         (generate_testfile): Pass only function name in generated call to
33961         print_max_error or print_complex_max_error.
33962         (get_ulps): Do not handle complex tests specially.
33963         (output_test): Rename to ...
33964         (get_all_ulps_for_test): ... this.  Return a string rather than
33965         printing to a file.  Require ulps to be present.
33966         (output_ulps): Generate arrays rather than #defines.
33967         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33968         (struct ulp_data): New type.
33969         (BUILD_COMPLEX_ULP): Remove macro.
33970         (compare_ulp_data): New function.
33971         (find_ulps): Likewise.
33972         (find_test_ulps): Likewise.
33973         (find_function_ulps): Likewise.
33974         (find_complex_function_ulps): Likewise.
33975         (print_max_error): Determine allowed ulps using
33976         find_function_ulps.
33977         (print_complex_max_error): Determine allowed ulps using
33978         find_complex_function_ulps.
33979         (check_float_internal): Determine max ulps using find_test_ulps.
33980         (check_float): Do not take max_ulp parameter.  Update call to
33981         check_float_internal.
33982         (check_complex): Likewise.
33983         (check_int): Do not take max_ulp parameter.
33984         (check_long): Likewise.
33985         (check_bool): Likewise.
33986         (check_longlong): Likewise.
33987         (struct test_f_f_data): Remove max_ulp field.
33988         (struct test_ff_f_data): Likewise.
33989         (struct test_ff_f_data_nexttoward): Likewise.
33990         (struct test_fi_f_data): Likewise.
33991         (struct test_fl_f_data): Likewise.
33992         (struct test_if_f_data): Likewise.
33993         (struct test_fff_f_data): Likewise.
33994         (struct test_c_f_data): Likewise.
33995         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33996         (struct test_fF_f1_data): Likewise.
33997         (struct test_ffI_f1_data): Likewise.
33998         (struct test_c_c_data): Remove max_ulp field.
33999         (struct test_cc_c_data): Likewise.
34000         (struct test_f_i_data): Likewise.
34001         (struct test_ff_i_data): Likewise.
34002         (struct test_f_l_data): Likewise.
34003         (struct test_f_L_data): Likewise.
34004         (struct test_sincos_data): Likewise.
34005         (RUN_TEST_f_f): Do not handle ulps.
34006         (RUN_TEST_LOOP_f_f): Likewise.
34007         (RUN_TEST_2_f): Likewise.
34008         (RUN_TEST_LOOP_2_f): Likewise.
34009         (RUN_TEST_fff_f): Likewise.
34010         (RUN_TEST_LOOP_fff_f): Likewise.
34011         (RUN_TEST_c_f): Likewise.
34012         (RUN_TEST_LOOP_c_f): Likewise.
34013         (RUN_TEST_f_f1): Likewise.
34014         (RUN_TEST_LOOP_f_f1): Likewise.
34015         (RUN_TEST_fF_f1): Likewise.
34016         (RUN_TEST_LOOP_fF_f1): Likewise.
34017         (RUN_TEST_fI_f1): Likewise.
34018         (RUN_TEST_LOOP_fI_f1): Likewise.
34019         (RUN_TEST_ffI_f1): Likewise.
34020         (RUN_TEST_LOOP_ffI_f1): Likewise.
34021         (RUN_TEST_c_c): Likewise.
34022         (RUN_TEST_LOOP_c_c): Likewise.
34023         (RUN_TEST_cc_c): Likewise.
34024         (RUN_TEST_LOOP_cc_c): Likewise.
34025         (RUN_TEST_f_i): Likewise.
34026         (RUN_TEST_LOOP_f_i): Likewise.
34027         (RUN_TEST_f_i_tg): Likewise.
34028         (RUN_TEST_LOOP_f_i_tg): Likewise.
34029         (RUN_TEST_ff_i_tg): Likewise.
34030         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34031         (RUN_TEST_f_b): Likewise.
34032         (RUN_TEST_LOOP_f_b): Likewise.
34033         (RUN_TEST_f_b_tg): Likewise.
34034         (RUN_TEST_LOOP_f_b_tg): Likewise.
34035         (RUN_TEST_f_l): Likewise.
34036         (RUN_TEST_LOOP_f_l): Likewise.
34037         (RUN_TEST_f_L): Likewise.
34038         (RUN_TEST_LOOP_f_L): Likewise.
34039         (RUN_TEST_sincos): Likewise.
34040         (RUN_TEST_LOOP_sincos): Likewise.
34042 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34044         [BZ #15480]
34045         [BZ #15485]
34046         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34047         main case of finite arguments, set rounding mode to FE_TONEAREST
34048         and discard exceptions.
34049         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34050         exceptions.
34051         (remainder_tonearest_test_data): New variable.
34052         (remainder_test_tonearest): New function.
34053         (remainder_towardzero_test_data): New variable.
34054         (remainder_test_towardzero): New function.
34055         (remainder_downward_test_data): New variable.
34056         (remainder_test_downward): New function.
34057         (remainder_upward_test_data): New variable.
34058         (remainder_test_upward): New function.
34059         (main): Call the new test functions.
34061         * math/libm-test.inc (struct test_f_f1_data): Remove field
34062         extra_init.
34063         (struct test_fF_f1_data): Likewise.
34064         (struct test_ffI_f1_data): Likewise.
34065         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34066         based on value of EXTRA_EXPECTED.
34067         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34068         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34069         EXTRA_VAR based on value of EXTRA_EXPECTED.
34070         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34071         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34072         EXTRA_VAR based on value of EXTRA_EXPECTED.
34073         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34074         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34075         EXTRA_VAR based on value of EXTRA_EXPECTED.
34076         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34077         * math/gen-libm-test.pl (parse_args): Don't output initializers
34078         for extra output values.
34080         * math/libm-test.inc (check_int): Expect result to be exactly
34081         equal to expected value and do not handle ulps.
34082         (check_long): Likewise.
34083         (check_longlong): Likewise.
34085         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34086         exceptions.
34087         (cimag_test_data): Likewise.
34088         (conj_test_data): Likewise.
34089         (copysign_test_data): Likewise.
34090         (cproj_test_data): Likewise.
34091         (creal_test_data): Likewise.
34092         (fabs_test_data): Likewise.
34093         (fdim_test_data): Likewise.
34094         (finite_test_data): Likewise.
34095         (floor_test_data): Likewise.
34096         (fmax_test_data): Likewise.
34097         (fmin_test_data): Likewise.
34098         (fmod_test_data): Likewise.
34099         (fpclassify_test_data): Likewise.
34100         (frexp_test_data): Likewise.
34101         (ilogb_test_data): Likewise.
34102         (isfinite_test_data): Likewise.
34103         (isgreater_test_data): Likewise.
34104         (isgreaterequal_test_data): Likewise.
34105         (isinf_test_data): Likewise.
34106         (isless_test_data): Likewise.
34107         (islessequal_test_data): Likewise.
34108         (islessgreater_test_data): Likewise.
34109         (isnan_test_data): Likewise.
34110         (isnormal_test_data): Likewise.
34111         (issignaling_test_data): Likewise.
34112         (isunordered_test_data): Likewise.
34113         (ldexp_test_data): Likewise.
34114         (lrint_test_data): Likewise.
34115         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34116         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34117         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34118         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34119         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34120         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34121         test input.
34122         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34123         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34124         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34125         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34126         that test input.
34127         (lrint_downward_test_data): Test for "inexact" exceptions.
34128         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34129         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34130         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34131         test input.
34132         (lrint_upward_test_data): Test for "inexact" exceptions.
34133         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34134         test input.
34135         (llrint_test_data): Test for "inexact" exceptions.
34136         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34137         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34138         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34139         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34140         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34141         (llrint_downward_test_data): Test for "inexact" exceptions.
34142         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34143         (llrint_upward_test_data): Test for "inexact" exceptions.
34144         (logb_test_data): Likewise.
34145         (logb_downward_test_data): Likewise.
34146         (nextafter_test_data): Likewise.
34147         (nexttoward_test_data): Likewise.
34148         (remainder_test_data): Likewise.
34149         (remquo_test_data): Likewise.
34150         (scalbn_test_data): Likewise.
34151         (scalbln_test_data): Likewise.
34152         (signbit_test_data): Likewise.
34153         (sqrt_test_data): Likewise.
34154         (significand_test_data): Likewise.
34156 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         [BZ #15424]
34159         * benchtests/bench-modf.c (struct args): Mark arg0 as
34160         volatile.
34161         * scripts/bench.pl: Mark members of struct args as volatile.
34163 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34165         [BZ # 15497]
34166         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34167         negative infinity on POWER6 or lower.
34168         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34170 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34172         [BZ #15442]
34173         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34174         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34175         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34176         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34177         (_FP_SETQNAN): New macro.
34178         (_FP_SETQNAN_SEMIRAW): Likewise.
34179         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34180         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34181         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34182         (FP_EXTEND): Use _FP_FRAC_SNANP.
34183         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34184         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34185         into account.
34186         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34187         New macro.
34188         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34189         Likewise.
34191 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34193         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34194         with DIVIDE_BY_ZERO_EXCEPTION.
34195         (gamma_test_data): Likewise.
34196         (lgamma_test_data): Likewise.
34197         (log_test_data): Likewise.
34198         (log10_test_data): Likewise.
34199         (log2_test_data): Likewise.
34200         (tgamma_test_data): Likewise.
34202         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34203         (acos_test_tonearest): Likewise.
34204         (acos_test_towardzero): Likewise.
34205         (acos_test_downward): Likewise.
34206         (acos_test_upward): Likewise.
34207         (acosh_test): Likewise.
34208         (asin_test): Likewise.
34209         (asin_test_tonearest): Likewise.
34210         (asin_test_towardzero): Likewise.
34211         (asin_test_downward): Likewise.
34212         (asin_test_upward): Likewise.
34213         (asinh_test): Likewise.
34214         (atan_test): Likewise.
34215         (atanh_test): Likewise.
34216         (atan2_test): Likewise.
34217         (cabs_test): Likewise.
34218         (cacos_test): Likewise.
34219         (cacosh_test): Likewise.
34220         (casin_test): Likewise.
34221         (casinh_test): Likewise.
34222         (catan_test): Likewise.
34223         (catanh_test): Likewise.
34224         (cbrt_test): Likewise.
34225         (ccos_test): Likewise.
34226         (ccosh_test): Likewise.
34227         (cexp_test): Likewise.
34228         (clog_test): Likewise.
34229         (clog10_test): Likewise.
34230         (cos_test): Likewise.
34231         (cos_test_tonearest): Likewise.
34232         (cos_test_towardzero): Likewise.
34233         (cos_test_downward): Likewise.
34234         (cos_test_upward): Likewise.
34235         (cosh_test): Likewise.
34236         (cosh_test_tonearest): Likewise.
34237         (cosh_test_towardzero): Likewise.
34238         (cosh_test_downward): Likewise.
34239         (cosh_test_upward): Likewise.
34240         (cpow_test): Likewise.
34241         (csin_test): Likewise.
34242         (csinh_test): Likewise.
34243         (csqrt_test): Likewise.
34244         (ctan_test): Likewise.
34245         (ctan_test_tonearest): Likewise.
34246         (ctan_test_towardzero): Likewise.
34247         (ctan_test_downward): Likewise.
34248         (ctan_test_upward): Likewise.
34249         (ctanh_test): Likewise.
34250         (ctanh_test_tonearest): Likewise.
34251         (ctanh_test_towardzero): Likewise.
34252         (ctanh_test_downward): Likewise.
34253         (ctanh_test_upward): Likewise.
34254         (erf_test): Likewise.
34255         (erfc_test): Likewise.
34256         (exp_test): Likewise.
34257         (exp_test_tonearest): Likewise.
34258         (exp_test_towardzero): Likewise.
34259         (exp_test_downward): Likewise.
34260         (exp_test_upward): Likewise.
34261         (exp10_test): Likewise.
34262         (exp2_test): Likewise.
34263         (expm1_test): Likewise.
34264         (fmod_test): Likewise.
34265         (gamma_test): Likewise.
34266         (hypot_test): Likewise.
34267         (j0_test): Likewise.
34268         (j1_test): Likewise.
34269         (jn_test): Likewise.
34270         (lgamma_test): Likewise.
34271         (log_test): Likewise.
34272         (log10_test): Likewise.
34273         (log1p_test): Likewise.
34274         (log2_test): Likewise.
34275         (logb_test_downward): Likewise.
34276         (pow_test): Likewise.
34277         (pow_test_tonearest): Likewise.
34278         (pow_test_towardzero): Likewise.
34279         (pow_test_downward): Likewise.
34280         (pow_test_upward): Likewise.
34281         (remainder_test): Likewise.
34282         (remquo_test): Likewise.
34283         (sin_test): Likewise.
34284         (sin_test_tonearest): Likewise.
34285         (sin_test_towardzero): Likewise.
34286         (sin_test_downward): Likewise.
34287         (sin_test_upward): Likewise.
34288         (sincos_test): Likewise.
34289         (sinh_test): Likewise.
34290         (sinh_test_tonearest): Likewise.
34291         (sinh_test_towardzero): Likewise.
34292         (sinh_test_downward): Likewise.
34293         (sinh_test_upward): Likewise.
34294         (sqrt_test): Likewise.
34295         (tan_test): Likewise.
34296         (tan_test_tonearest): Likewise.
34297         (tan_test_towardzero): Likewise.
34298         (tan_test_downward): Likewise.
34299         (tan_test_upward): Likewise.
34300         (tanh_test): Likewise.
34301         (tgamma_test): Likewise.
34302         (y0_test): Likewise.
34303         (y1_test): Likewise.
34304         (yn_test): Likewise.
34306         * math/gen-libm-test.pl (adjust_arg): Remove function.
34307         (special_function): Remove argument $in_func.  Only handle
34308         generating output for tables of tests, not inside functions.
34309         (parse_args): Likewise.
34310         (generate_testfile): Remove variable $in_func.  Update call to
34311         parse_args.
34312         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34313         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34314         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34315         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34316         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34317         (MAX_VALUE_INIT): Rename macro to max_value.
34318         (MIN_VALUE_INIT): Rename macro to min_value.
34319         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34320         (plus_zero): Remove variable.
34321         (minus_zero): Likewise.
34322         (plus_infty): Likewise.
34323         (minus_infty): Likewise.
34324         (qnan_value): Likewise.
34325         (max_value): Likewise.
34326         (min_value): Likewise.
34327         (min_subnorm_value): Likewise.
34329 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34331         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34332         uint64_t or uint32_t usage.
34333         * crypt/sha256-block.c: Likewise.
34334         * crypt/sha256-crypt.c: Likewise.
34335         * crypt/sha256.c: Likewise.
34336         * crypt/sha512-block.c: Likewise.
34337         * crypt/sha512-crypt.c: Likewise.
34338         * crypt/sha512.c: Likewise.
34339         * debug/backtrace-tst.c: Likewise.
34340         * debug/pcprofiledump.c: Likewise.
34341         * elf/cache.c: Likewise.
34342         * elf/dl-cache.c: Likewise.
34343         * elf/dl-misc.c: Likewise.
34344         * elf/dl-profile.c: Likewise.
34345         * elf/dl-support.c: Likewise.
34346         * elf/ldconfig.c: Likewise.
34347         * elf/sprof.c: Likewise.
34348         * iconv/dummy-repertoire.c: Likewise.
34349         * iconv/iconv_charmap.c: Likewise.
34350         * iconv/skeleton.c: Likewise.
34351         * iconvdata/8bit-generic.c: Likewise.
34352         * iconvdata/cp737.h: Likewise.
34353         * iconvdata/cp775.h: Likewise.
34354         * iconvdata/ibm1008.h: Likewise.
34355         * iconvdata/ibm1025.h: Likewise.
34356         * iconvdata/ibm1046.h: Likewise.
34357         * iconvdata/ibm1097.h: Likewise.
34358         * iconvdata/ibm1112.h: Likewise.
34359         * iconvdata/ibm1122.h: Likewise.
34360         * iconvdata/ibm1123.h: Likewise.
34361         * iconvdata/ibm1124.h: Likewise.
34362         * iconvdata/ibm1129.h: Likewise.
34363         * iconvdata/ibm1130.h: Likewise.
34364         * iconvdata/ibm1132.h: Likewise.
34365         * iconvdata/ibm1133.h: Likewise.
34366         * iconvdata/ibm1137.h: Likewise.
34367         * iconvdata/ibm1140.h: Likewise.
34368         * iconvdata/ibm1141.h: Likewise.
34369         * iconvdata/ibm1142.h: Likewise.
34370         * iconvdata/ibm1143.h: Likewise.
34371         * iconvdata/ibm1144.h: Likewise.
34372         * iconvdata/ibm1145.h: Likewise.
34373         * iconvdata/ibm1146.h: Likewise.
34374         * iconvdata/ibm1147.h: Likewise.
34375         * iconvdata/ibm1148.h: Likewise.
34376         * iconvdata/ibm1149.h: Likewise.
34377         * iconvdata/ibm1153.h: Likewise.
34378         * iconvdata/ibm1154.h: Likewise.
34379         * iconvdata/ibm1155.h: Likewise.
34380         * iconvdata/ibm1156.h: Likewise.
34381         * iconvdata/ibm1157.h: Likewise.
34382         * iconvdata/ibm1158.h: Likewise.
34383         * iconvdata/ibm1160.h: Likewise.
34384         * iconvdata/ibm1161.h: Likewise.
34385         * iconvdata/ibm1162.h: Likewise.
34386         * iconvdata/ibm1163.h: Likewise.
34387         * iconvdata/ibm1164.h: Likewise.
34388         * iconvdata/ibm1166.h: Likewise.
34389         * iconvdata/ibm1167.h: Likewise.
34390         * iconvdata/ibm12712.h: Likewise.
34391         * iconvdata/ibm1390.h: Likewise.
34392         * iconvdata/ibm1399.h: Likewise.
34393         * iconvdata/ibm16804.h: Likewise.
34394         * iconvdata/ibm4517.h: Likewise.
34395         * iconvdata/ibm4899.h: Likewise.
34396         * iconvdata/ibm4909.h: Likewise.
34397         * iconvdata/ibm4971.h: Likewise.
34398         * iconvdata/ibm5347.h: Likewise.
34399         * iconvdata/ibm803.h: Likewise.
34400         * iconvdata/ibm856.h: Likewise.
34401         * iconvdata/ibm901.h: Likewise.
34402         * iconvdata/ibm902.h: Likewise.
34403         * iconvdata/ibm9030.h: Likewise.
34404         * iconvdata/ibm9066.h: Likewise.
34405         * iconvdata/ibm921.h: Likewise.
34406         * iconvdata/ibm922.h: Likewise.
34407         * iconvdata/ibm9448.h: Likewise.
34408         * iconvdata/isiri-3342.h: Likewise.
34409         * iconvdata/jis0201.h: Likewise.
34410         * include/link.h: Likewise.
34411         * include/netdb.h: Likewise.
34412         * inet/check_native.c: Likewise.
34413         * inet/check_pf.c: Likewise.
34414         * inet/getipv4sourcefilter.c: Likewise.
34415         * inet/getnameinfo.c: Likewise.
34416         * inet/getsourcefilter.c: Likewise.
34417         * inet/htonl.c: Likewise.
34418         * inet/setipv4sourcefilter.c: Likewise.
34419         * inet/setsourcefilter.c: Likewise.
34420         * inet/test-inet6_opt.c: Likewise.
34421         * inet/tst-network.c: Likewise.
34422         * locale/C-collate.c: Likewise.
34423         * locale/C-ctype.c: Likewise.
34424         * locale/C-time.c: Likewise.
34425         * locale/C-translit.h: Likewise.
34426         * locale/loadarchive.c: Likewise.
34427         * locale/programs/3level.h: Likewise.
34428         * locale/programs/charmap.c: Likewise.
34429         * locale/programs/charmap.h: Likewise.
34430         * locale/programs/ld-address.c: Likewise.
34431         * locale/programs/ld-collate.c: Likewise.
34432         * locale/programs/ld-ctype.c: Likewise.
34433         * locale/programs/ld-identification.c: Likewise.
34434         * locale/programs/ld-measurement.c: Likewise.
34435         * locale/programs/ld-messages.c: Likewise.
34436         * locale/programs/ld-monetary.c: Likewise.
34437         * locale/programs/ld-name.c: Likewise.
34438         * locale/programs/ld-numeric.c: Likewise.
34439         * locale/programs/ld-paper.c: Likewise.
34440         * locale/programs/ld-telephone.c: Likewise.
34441         * locale/programs/ld-time.c: Likewise.
34442         * locale/programs/linereader.c: Likewise.
34443         * locale/programs/locale.c: Likewise.
34444         * locale/programs/locarchive.c: Likewise.
34445         * locale/programs/locfile.h: Likewise.
34446         * locale/programs/repertoire.c: Likewise.
34447         * locale/programs/simple-hash.c: Likewise.
34448         * locale/programs/simple-hash.h: Likewise.
34449         * malloc/memusage.c: Likewise.
34450         * malloc/memusagestat.c: Likewise.
34451         * nis/nis_defaults.c: Likewise.
34452         * nis/nis_hash.c: Likewise.
34453         * nis/nis_print.c: Likewise.
34454         * nis/nis_xdr.c: Likewise.
34455         * nscd/connections.c: Likewise.
34456         * nscd/hstcache.c: Likewise.
34457         * nscd/nscd_gethst_r.c: Likewise.
34458         * nscd/nscd_getserv_r.c: Likewise.
34459         * nscd/nscd_helper.c: Likewise.
34460         * nscd/servicescache.c: Likewise.
34461         * nss/makedb.c: Likewise.
34462         * nss/nss_db/db-XXX.c: Likewise.
34463         * nss/nss_db/db-initgroups.c: Likewise.
34464         * nss/nss_db/db-netgrp.c: Likewise.
34465         * nss/nss_files/files-network.c: Likewise.
34466         * nss/nss_files/files-parse.c: Likewise.
34467         * posix/bug-regex5.c: Likewise.
34468         * posix/fnmatch_loop.c: Likewise.
34469         * posix/regcomp.c: Likewise.
34470         * posix/regexec.c: Likewise.
34471         * posix/tst-rfc3484-2.c: Likewise.
34472         * posix/tst-rfc3484-3.c: Likewise.
34473         * posix/tst-rfc3484.c: Likewise.
34474         * resolv/nss_dns/dns-canon.c: Likewise.
34475         * resolv/nss_dns/dns-network.c: Likewise.
34476         * resolv/res_init.c: Likewise.
34477         * resolv/res_mkquery.c: Likewise.
34478         * resolv/tst-aton.c: Likewise.
34479         * stdlib/cxa_atexit.c: Likewise.
34480         * stdlib/cxa_finalize.c: Likewise.
34481         * stdlib/gen-fpioconst.c: Likewise.
34482         * stdlib/strtol_l.c: Likewise.
34483         * string/tst-endian.c: Likewise.
34484         * sunrpc/auth_des.c: Likewise.
34485         * sunrpc/clnt_udp.c: Likewise.
34486         * sunrpc/rtime.c: Likewise.
34487         * sunrpc/svcauth_des.c: Likewise.
34488         * sunrpc/xdr.c: Likewise.
34489         * sunrpc/xdr_intXX_t.c: Likewise.
34490         * sunrpc/xdr_rec.c: Likewise.
34491         * sysdeps/generic/ldconfig.h: Likewise.
34492         * sysdeps/generic/ldsodefs.h: Likewise.
34493         * sysdeps/generic/memusage.h: Likewise.
34494         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34495         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34496         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34497         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34500         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34502         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34504         * sysdeps/posix/getaddrinfo.c: Likewise.
34505         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34506         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34507         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34508         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34509         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34510         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34511         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34512         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34513         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34514         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34515         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34516         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34517         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34518         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34519         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34520         * sysdeps/x86_64/dl-tls.h: Likewise.
34521         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34522         * time/alt_digit.c: Likewise.
34523         * time/era.c: Likewise.
34524         * wcsmbs/tst-c16c32-1.c: Likewise.
34526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34528         * math/libm-test.inc (struct test_sincos_data): New type.
34529         (RUN_TEST_LOOP_sincos): New macro.
34530         (sincos_test_data): New variable.
34531         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34533 2013-05-16  Richard Henderson  <rth@redhat.com>
34535         * math/atest-exp2.c (LIMB64): New macro.
34536         (CONSTSZ): New macro.
34537         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34538         (hexdig): Move ...
34539         (print_mpn_fp): ... to function scope.
34540         (read_mpn_hex): Remove.
34541         (get_log2): Remove.
34542         (exp2_mpn): Use mp_log2.
34543         (main): Use mp_exp1.
34545 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34547         * math/libm-test.inc: Remove comment about not testing "inexact"
34548         exceptions.
34549         (INEXACT_EXCEPTION): New macro.
34550         (NO_INEXACT_EXCEPTION): Likewise.
34551         (INVALID_EXCEPTION_OK): Update value.
34552         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34553         (OVERFLOW_EXCEPTION_OK): Likewise.
34554         (UNDERFLOW_EXCEPTION_OK): Likewise.
34555         (IGNORE_ZERO_INF_SIGN): Likewise.
34556         (ERRNO_UNCHANGED): Likewise.
34557         (ERRNO_EDOM): Likewise.
34558         (ERRNO_ERANGE): Likewise.
34559         (test_exceptions): Handle testing "inexact" exceptions.
34560         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34561         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34562         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34563         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34564         INEXACT_EXCEPTION.
34565         (rint_towardzero_test_data): Likewise.
34566         (rint_downward_test_data): Likewise.
34567         (rint_upward_test_data): Likewise.
34569         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34570         with OVERFLOW_EXCEPTION.
34571         (exp10_test_data): Likewise.
34572         (exp2_test_data): Likewise.
34573         (expm1_test_data): Likewise.
34574         (lgamma_test_data): Likewise.
34575         (pow_test_data): Likewise.
34576         (tgamma_test_data): Likewise.
34577         (yn_test_data): Remove duplicate test of overflow.
34579         * math/libm-test.inc (struct test_cc_c_data): New type.
34580         (RUN_TEST_LOOP_cc_c): New macro.
34581         (cpow_test_data): New variable.
34582         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34584         * math/libm-test.inc (struct test_f_L_data): New type.
34585         (RUN_TEST_LOOP_f_L): New macro.
34586         (llrint_test_data): New variable.
34587         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34588         (llrint_tonearest_test_data): New variable.
34589         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34590         (llrint_towardzero_test_data): New variable.
34591         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34592         (llrint_downward_test_data): New variable.
34593         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34594         (llrint_upward_test_data): New variable.
34595         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34596         (llround_test_data): New variable.
34597         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34599 2013-05-13  Peter Collingbourne  <pcc@google.com>
34601         * math/atest-exp2.c (get_log2): Remove const attribute.
34603 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34605         * math/libm-test.inc (struct test_f_l_data): New type.
34606         (RUN_TEST_LOOP_f_l): New macro.
34607         (lrint_test_data): New variable.
34608         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34609         (lrint_tonearest_test_data): New variable.
34610         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34611         (lrint_towardzero_test_data): New variable.
34612         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34613         (lrint_downward_test_data): New variable.
34614         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34615         (lrint_upward_test_data): New variable.
34616         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34617         (lround_test_data): New variable.
34618         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34620 2013-05-15  Peter Collingbourne  <pcc@google.com>
34622         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34623         (EXTRACT_WORDS64) Use where appropriate.
34624         (INSERT_WORDS64) Likewise.
34626         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34627         constraints with x constraints.
34628         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34630         * malloc/obstack.c (_obstack_compat): Add initializer.
34632 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34634         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34635         si_trapno and add si_addr_lsb to _sifields.sigfault.
34636         (si_trapno): Remove macro.
34637         (si_addr_lsb): Define new macro.
34638         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34640 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34642         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34643         instead of TEST_f_l.
34644         (llrint_test_tonearest): Likewise.
34645         (llrint_test_towardzero): Likewise.
34646         (llrint_test_downward): Likewise.
34647         (llrint_test_upward): Likewise.
34648         (llround_test): Likewise.
34650         * math/libm-test.inc (struct test_f_i_data): Add comment.
34651         (RUN_TEST_LOOP_f_b): New macro.
34652         (RUN_TEST_LOOP_f_b_tg): Likewise.
34653         (finite_test_data): New variable.
34654         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34655         (isfinite_test_data): New variable.
34656         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34657         (isinf_test_data): New variable.
34658         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34659         (isnan_test_data): New variable.
34660         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34661         (isnormal_test_data): New variable.
34662         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34663         (issignaling_test_data): New variable.
34664         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34665         (signbit_test_data): New variable.
34666         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34668         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34669         with INVALID_EXCEPTION.
34670         (acosh_test_data): Likewise.
34671         (asin_test_data): Likewise.
34672         (atanh_test_data): Likewise.
34673         (fmod_test_data): Likewise.
34674         (log_test_data): Likewise.
34675         (log10_test_data): Likewise.
34676         (log2_test_data): Likewise.
34677         (pow_test_data): Likewise.
34678         (sqrt_test_data): Likewise.
34679         (y0_test_data): Likewise.
34680         (y1_test_data): Likewise.
34681         (yn_test_data): Likewise.
34683         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34684         function contents.
34686         * math/libm-test.inc (struct test_ff_i_data): New type.
34687         (RUN_TEST_LOOP_ff_i_tg): New macro.
34688         (isgreater_test_data): New variable.
34689         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34690         (isgreaterequal_test_data): New variable.
34691         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34692         (isless_test_data): New variable.
34693         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34694         (islessequal_test_data): New variable.
34695         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34696         (islessgreater_test_data): New variable.
34697         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34698         (isunordered_test_data): New variable.
34699         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34701 2013-05-14  David S. Miller  <davem@davemloft.net>
34703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34705 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34707         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34709         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34710         extra_test to int.
34711         (struct test_f_i_data): Change type of max_ulp to int.
34713         * math/libm-test.inc (test_ffI_f1_data): New type.
34714         (RUN_TEST_LOOP_ffI_f1): New macro.
34715         (remquo_test_data): New variable.
34716         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34718         * setjmp/tst-setjmp-fp.c: New file.
34719         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34720         (link-libm): New variable.
34721         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34723         * math/libm-test.inc (struct test_f_i_data): New type.
34724         (RUN_TEST_LOOP_f_i): New macro.
34725         (RUN_TEST_LOOP_f_i_tg): Likewise.
34726         (fpclassify_test_data): New variable.
34727         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34728         (ilogb_test_data): New variable.
34729         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34731         * math/libm-test.inc (scalbln_test): Correct function name in END
34732         call.
34734         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34735         (RUN_TEST_LOOP_fI_f1): New macro.
34736         (frexp_test_data): New variable.
34737         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34739         * math/libm-test.inc (struct test_fF_f1_data): New type.
34740         (RUN_TEST_LOOP_fF_f1): New macro.
34741         (modf_test_data): New variable.
34742         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34744         * math/libm-test.inc (struct test_f_f1_data): New type.
34745         (RUN_TEST_LOOP_f_f1): New macro.
34746         (gamma_test_data): New variable.
34747         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34748         (lgamma_test_data): New variable.
34749         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34751 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34753         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34754         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34755         (main): Comment "tls" pseudo-hwcap.
34757 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34759         * math/libm-test.inc (struct test_fl_f_data): New type.
34760         (RUN_TEST_LOOP_fl_f): New variable.
34761         (scalbln_test_data): New variable.
34762         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34764         * math/libm-test.inc (struct test_fi_f_data): New type.
34765         (RUN_TEST_LOOP_fi_f): New macro.
34766         (ldexp_test_data): New variable.
34767         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34768         (scalbn_test_data): New variable.
34769         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34771         * math/libm-test.inc (struct test_c_f_data): New type.
34772         (RUN_TEST_LOOP_c_f): New macro.
34773         (cabs_test_data): New variable.
34774         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34775         (carg_test_data): New variable.
34776         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34777         (cimag_test_data): New variable.
34778         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34779         (creal_test_data): New variable.
34780         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34782         * math/libm-test.inc (struct test_if_f_data): New type.
34783         (RUN_TEST_LOOP_if_f): New macro.
34784         (jn_test_data): New variable.
34785         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34786         (yn_test_data): New variable.
34787         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34789         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34791 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34793         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34794         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34796 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34798         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34799         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34800         (bench-deps): Add bench-timing.h.
34801         * benchtests-bench-skeleton.c: Include bench-timing.h.
34802         (main): Use TIMING_* macros instead of clock_gettime.
34803         * benchtests/bench-timing.h: New file.
34805         [BZ #14582]
34806         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34807         Renamed from _LIB_VERSION.
34808         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34810 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34812         * math/libm-test.inc (struct test_fff_f_data): New type.
34813         (RUN_TEST_LOOP_fff_f): New macro.
34814         (fma_test_data): New variable.
34815         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34816         (fma_towardzero_test_data): New variable.
34817         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34818         (fma_downward_test_data): New variable.
34819         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34820         (fma_upward_test_data): New variable.
34821         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34823         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34824         (struct test_c_c_data): New type.
34825         (RUN_TEST_LOOP_c_c): New macro.
34826         (cacos_test_data): New variable.
34827         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34828         (cacosh_test_data): New variable.
34829         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34830         (casin_test_data): New variable.
34831         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34832         (casinh_test_data): New variable.
34833         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34834         (catan_test_data): New variable.
34835         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34836         (catanh_test_data): New variable.
34837         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34838         (ccos_test_data): New variable.
34839         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34840         (ccosh_test_data): New variable.
34841         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34842         (cexp_test_data): New variable.
34843         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34844         (clog_test_data): New variable.
34845         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34846         (clog10_test_data): New variable.
34847         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34848         (conj_test_data): New variable.
34849         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34850         (cproj_test_data): New variable.
34851         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34852         (csin_test_data): New variable.
34853         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34854         (csinh_test_data): New variable.
34855         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34856         (csqrt_test_data): New variable.
34857         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34858         (ctan_test_data): New variable.
34859         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34860         (ctan_tonearest_test_data): New variable.
34861         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34862         (ctan_towardzero_test_data): New variable.
34863         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34864         (ctan_downward_test_data): New variable.
34865         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34866         (ctan_upward_test_data): New variable.
34867         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34868         (ctanh_test_data): New variable.
34869         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34870         (ctanh_tonearest_test_data): New variable.
34871         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34872         (ctanh_towardzero_test_data): New variable.
34873         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34874         (ctanh_downward_test_data): New variable.
34875         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34876         (ctanh_upward_test_data): New variable.
34877         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34878         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34879         of BUILD_COMPLEX.
34881         * math/libm-test.inc (struct test_ff_f_data): New type.
34882         (struct test_ff_f_data_nexttoward): Likewise.
34883         (RUN_TEST_LOOP_2_f): New macro.
34884         (RUN_TEST_LOOP_ff_f): Likewise.
34885         (atan2_test_data): New variable.
34886         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34887         (copysign_test_data): New variable.
34888         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34889         (fdim_test_data): New variable.
34890         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34891         (fmax_test_data): New variable.
34892         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34893         (fmin_test_data): New variable.
34894         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34895         (fmod_test_data): New variable.
34896         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34897         (hypot_test_data): New variable.
34898         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34899         (nextafter_test_data): New variable.
34900         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34901         (nexttoward_test_data): New variable.
34902         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34903         (pow_test_data): New variable.
34904         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34905         (pow_tonearest_test_data): New variable.
34906         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34907         (pow_towardzero_test_data): New variable.
34908         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34909         (pow_downward_test_data): New variable.
34910         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34911         (pow_upward_test_data): New variable.
34912         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34913         (remainder_test_data): New variable.
34914         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34915         (scalb_test_data): New variable.
34916         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34917         * sysdeps/i386/fpu/libm-test-ulps: Update.
34919 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34921         * math/libm-test.inc (fma_test): Use max_value instead of local
34922         variable fltmax.
34923         (nextafter_test): Likewise.
34925         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34926         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34927         (acos_downward_test_data): New variable.
34928         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34929         (acos_upward_test_data): New variable.
34930         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34931         (acosh_test_data): New variable.
34932         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34933         (asin_test_data): New variable.
34934         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34935         (asin_tonearest_test_data): New variable.
34936         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34937         (asin_towardzero_test_data): New variable.
34938         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34939         (asin_downward_test_data): New variable.
34940         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34941         (asin_upward_test_data): New variable.
34942         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34943         (asinh_test_data): New variable.
34944         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34945         (atan_test_data): New variable.
34946         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34947         (atanh_test_data): New variable.
34948         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34949         (cbrt_test_data): New variable.
34950         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34951         (ceil_test_data): New variable.
34952         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34953         (cos_test_data): New variable.
34954         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34955         (cos_tonearest_test_data): New variable.
34956         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34957         (cos_towardzero_test_data): New variable.
34958         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34959         (cos_downward_test_data): New variable.
34960         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34961         (cos_upward_test_data): New variable.
34962         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34963         (cosh_test_data): New variable.
34964         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34965         (cosh_tonearest_test_data): New variable.
34966         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34967         (cosh_towardzero_test_data): New variable.
34968         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34969         (cosh_downward_test_data): New variable.
34970         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34971         (cosh_upward_test_data): New variable.
34972         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34973         (erf_test_data): New variable.
34974         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34975         (erfc_test_data): New variable.
34976         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34977         (exp_test_data): New variable.
34978         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34979         (exp_tonearest_test_data): New variable.
34980         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34981         (exp_towardzero_test_data): New variable.
34982         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34983         (exp_downward_test_data): New variable.
34984         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34985         (exp_upward_test_data): New variable.
34986         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34987         (exp10_test_data): New variable.
34988         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34989         (exp2_test_data): New variable.
34990         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34991         (expm1_test_data): New variable.
34992         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34993         (fabs_test_data): New variable.
34994         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34995         (floor_test_data): New variable.
34996         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34997         (j0_test_data): New variable.
34998         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34999         (j1_test_data): New variable.
35000         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35001         (log_test_data): New variable.
35002         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35003         (log10_test_data): New variable.
35004         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35005         (log1p_test_data): New variable.
35006         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35007         (log2_test_data): New variable.
35008         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35009         (logb_test_data): New variable.
35010         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35011         (logb_downward_test_data): New variable.
35012         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35013         (nearbyint_test_data): New variable.
35014         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35015         (rint_test_data): New variable.
35016         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35017         (rint_tonearest_test_data): New variable.
35018         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35019         (rint_towardzero_test_data): New variable.
35020         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35021         (rint_downward_test_data): New variable.
35022         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35023         (rint_upward_test_data): New variable.
35024         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35025         (round_test_data): New variable.
35026         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35027         (sin_test_data): New variable.
35028         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35029         (sin_tonearest_test_data): New variable.
35030         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35031         (sin_towardzero_test_data): New variable.
35032         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35033         (sin_downward_test_data): New variable.
35034         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35035         (sin_upward_test_data): New variable.
35036         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35037         (sinh_test_data): New variable.
35038         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35039         (sinh_tonearest_test_data): New variable.
35040         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35041         (sinh_towardzero_test_data): New variable.
35042         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35043         (sinh_downward_test_data): New variable.
35044         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35045         (sinh_upward_test_data): New variable.
35046         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35047         (sqrt_test_data): New variable.
35048         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35049         (tan_test_data): New variable.
35050         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35051         (tan_tonearest_test_data): New variable.
35052         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35053         (tan_towardzero_test_data): New variable.
35054         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35055         (tan_downward_test_data): New variable.
35056         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35057         (tan_upward_test_data): New variable.
35058         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35059         (tanh_test_data): New variable.
35060         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35061         (tgamma_test_data): New variable.
35062         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35063         (trunc_test_data): New variable.
35064         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35065         (y0_test_data): New variable.
35066         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35067         (y1_test_data): New variable.
35068         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35069         (significand_test_data): New variable.
35070         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35072 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35074         [BZ #12387]
35075         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35077 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35079         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35081 2013-05-10  Andreas Jaeger  <aj@suse.de>
35083         [BZ #15448]
35084         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35085         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35087 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35089         * math/gen-libm-test.pl (adjust_arg): New function.
35090         (special_functions): Handle generating output in both functions
35091         and arrays.
35092         (parse_args): Likewise.
35093         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35094         $in_func argument to parse_args.
35095         * math/libm-test.inc (struct test_f_f_data): New type.
35096         (IF_ROUND_INIT_): New macro.
35097         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35098         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35099         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35100         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35101         (ROUND_RESTORE_): Likewise.
35102         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35103         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35104         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35105         (ROUND_RESTORE_FE_UPWARD): Likewise.
35106         (RUN_TEST_LOOP_f_f): New macro.
35107         (acos_test_data): New variable.
35108         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35109         (acos_tonearest_test_data): New variable.
35110         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35112 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35114         * benchtests/bench-skeleton.c (startup): Fix coding style.
35116 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35118         [BZ #6809]
35119         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35120         negative infinity argument.
35121         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35122         negative infinity argument.
35123         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35124         negative infinity argument.
35125         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35126         domain errors.
35128 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35130         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35131         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35132         * iconv/iconv_prog.c (main): Likewise.
35133         * locale/programs/charmap-dir.c (charmap_readdir)
35134         (fopen_uncompressed): Likewise.
35135         * locale/programs/locfile.c (siblings_uncached)
35136         (write_locale_data): Use lstat64 instead of lstat.
35137         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35138         stat.
35140 2013-05-10  Andreas Jaeger  <aj@suse.de>
35142         [BZ #15395]
35143         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35144         localization.
35145         Include <locale.h>.
35147 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35149         * elf/dl-close.c (_dl_close_worker): Add comments.
35151 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35153         [BZ #15359]
35154         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35155         high part of pi/2.
35156         (__ieee754_rem_pio2l): Update comments.
35158         [BZ #15429]
35159         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35160         high part of pi/2.
35161         (__ieee754_rem_pio2l): Update comments.
35163         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35164         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35166         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35167         M_PI_4l.
35169         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35170         (M_PI_34_LOG10El): Likewise.
35171         (M_PI2_LOG10El): Likewise.
35172         (M_PI4_LOG10El): Likewise.
35173         (M_PI_LOG10El): Likewise.
35175 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35179 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35181         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35182         (MINUS_ZERO_INIT): Likewise.
35183         (PLUS_INFTY_INIT): Likewise.
35184         (MINUS_INFTY_INIT): Likewise.
35185         (QNAN_VALUE_INIT): Likewise.
35186         (MAX_VALUE_INIT): Likewise.
35187         (MIN_VALUE_INIT): Likewise.
35188         (MIN_SUBNORM_VALUE_INIT): Likewise.
35189         (plus_zero): Initialize with PLUS_ZERO_INIT.
35190         (minus_zero): Initialize with MINUS_ZERO_INIT.
35191         (plus_infty): Initialize with PLUS_INFTY_INIT.
35192         (minus_infty): Initialize with MINUS_INFTY_INIT.
35193         (qnan_value): Initialize with QNAN_VALUE_INIT.
35194         (max_value): Initialize with MAX_VALUE_INIT.
35195         (min_value): Initialize with MIN_VALUE_INIT.
35196         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35198         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35199         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35200         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35201         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35203         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35204         (RUN_TEST_2_f): Likewise.
35205         (RUN_TEST_ff_f): Likewise.
35206         (RUN_TEST_fi_f): Likewise.
35207         (RUN_TEST_fl_f): Likewise.
35208         (RUN_TEST_fff_f): Likewise.
35209         (RUN_TEST_c_f): Likewise.
35210         (RUN_TEST_f_f1): Likewise.
35211         (RUN_TEST_fF_f1): Likewise.
35212         (RUN_TEST_fI_f1): Likewise.
35213         (RUN_TEST_ffI_f1): Likewise.
35214         (RUN_TEST_c_c): Likewise.
35215         (RUN_TEST_cc_c): Likewise.
35216         (RUN_TEST_f_i): Likewise.
35217         (RUN_TEST_f_i_tg): Likewise.
35218         (RUN_TEST_ff_i_tg): Likewise.
35219         (RUN_TEST_f_b): Likewise.
35220         (RUN_TEST_f_b_tg): Likewise.
35221         (RUN_TEST_f_l): Likewise.
35222         (RUN_TEST_f_L): Likewise.
35223         (RUN_TEST_sincos): Likewise.
35224         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35225         whether to show exceptions.  Do not include ");\n" in return
35226         value.
35227         (special_functions): Output call to RUN_TEST_sincos instead of
35228         check_float calls.  Update calls to new_test.
35229         (parse_args): Output call to single RUN_TEST_* macro instead of
35230         check_* calls and other assignments.  Update calls to new_test.
35232         [BZ #2546]
35233         [BZ #2560]
35234         [BZ #5159]
35235         [BZ #15426]
35236         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35237         input to result for tgamma overflow.
35238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35239         (gamma_coeff): New variable.
35240         (NCOEFF): New macro.
35241         (gamma_positive): New function.
35242         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35243         underflow here.  Use gamma_positive instead of exp (lgamma) for
35244         other arguments.
35245         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35246         (gamma_coeff): New variable.
35247         (NCOEFF): New macro.
35248         (gammaf_positive): New function.
35249         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35250         underflow here.  Use gamma_positive instead of exp (lgamma) for
35251         other arguments.
35252         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35253         (gamma_coeff): New variable.
35254         (NCOEFF): New macro.
35255         (gammal_positive): New function.
35256         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35257         underflow here.  Use gamma_positive instead of exp (lgamma) for
35258         other arguments.
35259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35260         (gamma_coeff): New variable.
35261         (NCOEFF): New macro.
35262         (gammal_positive): New function.
35263         (__ieee754_gammal_r): Handle positive infinity, overflow and
35264         underflow here.  Handle NaN the same as positive infinity.  Remove
35265         check x < 0xffffffff for negative integers.  Use gamma_positive
35266         instead of exp (lgamma) for other arguments.
35267         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35268         (gamma_coeff): New variable.
35269         (NCOEFF): New macro.
35270         (gammal_positive): New function.
35271         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35272         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35273         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35274         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35275         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35276         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35277         * sysdeps/generic/math_private.h (__gamma_productf): New
35278         prototype.
35279         (__gamma_product): Likewise.
35280         (__gamma_productl): Likewise.
35281         * math/Makefile (libm-calls): Add gamma_product.
35282         * math/libm-test.inc (tgamma_test): Add more tests.
35283         * sysdeps/i386/fpu/libm-test-ulps: Update.
35284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35286 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35288         * benchtests/bench-skeleton.c (main): Preheat CPU.
35290 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35292         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35294 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35296         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35297         and _dl_skip_args_internal.
35299 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35301         * manual/message.texi (Message Translation): Talk about users.
35302         Message to key mapping impacts design.
35304 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35306         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35308         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35310         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35311         * sysdeps/wordsize-64/glob64.c: ... here.
35313         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35314         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35315         New macros.
35317         * debug/getlogin_r_chk.c: Moved to ...
35318         * login/getlogin_r_chk.c: ... here.
35319         * debug/Makefile (routines): Move getlogin_r_chk to ...
35320         * login/Makefile (routines): ... here.
35321         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35322         * login/Versions (libc: GLIBC_2.4): ... here.
35324         * io/poll.c (__poll): Renamed from poll.
35325         Add libc_hidden_def.
35326         (poll): Define as weak alias.
35328         * debug/ptsname_r_chk.c: Moved to ...
35329         * login/ptsname_r_chk.c: ... here.
35330         * debug/Makefile (routines): Move ptsname_r_chk to ...
35331         * login/Makefile (routines): ... here.
35332         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35333         * login/Versions (libc: GLIBC_2.4): ... here.
35335         * posix/getlogin.c: Moved to ...
35336         * login/getlogin.c: ... here.
35337         * posix/getlogin_r.c: Moved to ...
35338         * login/getlogin_r.c: ... here.
35339         * posix/getlogin_r.c: Moved to ...
35340         * login/getlogin_r.c: ... here.
35341         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35342         * login/Makefile (routines): ... here.
35343         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35344         * login/Versions (libc: GLIBC_2.0): ... here.
35346         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35347         (setrlimit): Define as weak alias.
35349         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35350         Call __ names for open, ftruncate, and close.
35351         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35352         (truncate): Define as weak alias.
35354 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35356         * math/gen-libm-test.pl (parse_args): Initialize x before each
35357         test of frexp, modf and remquo.
35359         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35360         test signgam value.
35362 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35364         [BZ #15418]
35365         [BZ #15419]
35366         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35367         internal tests.
35368         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35370 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35372         * elf/dl-writev.h: New file.
35373         * elf/dl-misc.c: Include it.
35374         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35375         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35377 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35379         * math/libm-test.inc (noXFails): Remove variable.
35380         (noXPasses): Likewise.
35381         (BUILD_COMPLEX_INT): Remove macro.
35382         (print_screen): Remove xfail argument.
35383         (print_screen_max_error): Likewise.
35384         (update_stats): Likewise.
35385         (print_max_error): Likewise.  Update calls to other affected
35386         functions.
35387         (print_complex_max_error): Likewise.
35388         (test_single_exception): Update calls to print_screen.
35389         (test_single_errno): Likewise.
35390         (check_float_internal): Remove xfail argument.  Update calls to
35391         other affected functions.
35392         (check_float): Likewise.
35393         (check_complex): Likewise.
35394         (check_int): Likewise.
35395         (check_long): Likewise.
35396         (check_bool): Likewise.
35397         (check_longlong): Likewise.
35398         (main): Don't print noXFails and noXPasses.
35399         * math/gen-libm-test.pl (top level): Don't mention expected
35400         failure handling in comment.
35401         (new_test): Don't handle expected failures.
35402         (parse_args): Don't mention expected failure handling in comment.
35403         (generate_testfile): Don't handle expected failures.
35404         (parse_ulps): Likewise.
35405         (print_ulps_file): Likewise.
35406         (get_failure): Remove function.
35407         (output_test): Don't handle expected failures.
35408         * make/README.libm-test: Don't mention expected failure handling.
35410         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35411         (minus_zero): Likewise.
35412         (plus_infty): Likewise.
35413         (minus_infty): Likewise.
35414         (qnan_value): Likewise.
35415         (max_value): Likewise.
35416         (min_value): Likewise.
35417         (min_subnorm_value): Likewise.
35418         (initialize): Do not initialize those variables dynamically.
35420 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35422         * io/open.c (__open_2): Moved to ...
35423         * io/open_2.c: ... this new file.
35424         * io/open64.c (__open64_2): Moved to ...
35425         * io/open64_2.c: ... this new file.
35426         * io/openat.c (__openat_2): Moved to ...
35427         * io/openat_2.c: ... this new file.
35428         * io/openat64.c (__openat64_2): Moved to ...
35429         * io/openat64_2.c: ... this new file.
35430         * io/Makefile (routines): Add them.
35431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35432         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35433         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35434         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35435         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35436         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35437         (__openat64): Add hidden_ver.
35438         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35439         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35441         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35442         Separately conditionalize setting of GLRO(dl_sysinfo) so
35443         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35444         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35446 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35448         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35449         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35450         definition.
35451         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35452         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35453         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35454         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35455         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35457 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35459         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35460         test signgam value.
35462         * math/libm-test.inc (hypot_test): Do not use
35463         IGNORE_ZERO_INF_SIGN.
35465 2013-05-03  Andreas Jaeger  <aj@suse.de>
35467         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35468         Linux 3.9.
35469         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35470         (PF_MAX): Adjust for VSOCK change.
35472 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35476 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35478         [BZ #15264]
35479         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35480         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35481         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35483 2013-05-02  David S. Miller  <davem@davemloft.net>
35485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35487 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35489         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35491 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35493         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35495 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35497         [BZ #14952]
35498         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35499         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35500         Use __attribute__ ((__gnu_inline__)).
35501         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35502         Don't use __attribute__ ((__gnu_inline__)).
35504 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35506         [BZ #15423]
35507         * math/s_catan.c (__catan): Handle small real or imaginary part of
35508         input specially to avoid spurious underflow.
35509         * math/s_catanf.c (__catanf): Likewise.
35510         * math/s_catanh.c (__catanh): Likewise.
35511         * math/s_catanhf.c (__catanhf): Likewise.
35512         * math/s_catanhl.c (__catanhl): Likewise.
35513         * math/s_catanl.c (__catanl): Likewise.
35514         * math/libm-test.inc (catan_test): Add more tests.
35515         (catanh_test): Likewise.
35516         * sysdeps/i386/fpu/libm-test-ulps: Update.
35517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35519 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35523 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35525         [BZ #15416]
35526         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35527         accurately for denominator in atan2.
35528         * math/s_catanf.c (__catanf): Likewise.
35529         * math/s_catanh.c (__catanh): Likewise.
35530         * math/s_catanhf.c (__catanhf): Likewise.
35531         * math/s_catanhl.c (__catanhl): Likewise.
35532         * math/s_catanl.c (__catanl): Likewise.
35533         * math/libm-test.inc (catan_test): Add more tests.
35534         (catanh_test): Likewise.
35535         * sysdeps/i386/fpu/libm-test-ulps: Update.
35536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35538 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35540         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35542         * benchtests/Makefile (bench): Remove slow benchmarks.
35543         * benchtests/atan-inputs: Add slow benchmark inputs.
35544         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35545         (BENCH_FUNC): Accept variant offset.
35546         (VARIANT): Define.
35547         * benchtests/bench-skeleton.c (main): Run benchmark for each
35548         variant.
35549         * benchtests/cos-inputs: Add slow benchmark inputs.
35550         * benchtests/exp-inputs: Likewise.
35551         * benchtests/pow-inputs: Likewise.
35552         * benchtests/sin-inputs: Likewise.
35553         * benchtests/slowatan-inputs: Remove.
35554         * benchtests/slowatan.c: Remove.
35555         * benchtests/slowcos-inputs: Remove.
35556         * benchtests/slowcos.c: Remove.
35557         * benchtests/slowexp-inputs: Remove.
35558         * benchtests/slowexp.c: Remove.
35559         * benchtests/slowpow-inputs: Remove.
35560         * benchtests/slowpow.c: Remove.
35561         * benchtests/slowsin-inputs: Remove.
35562         * benchtests/slowsin.c: Remove.
35563         * benchtests/slowtan-inputs: Remove.
35564         * benchtests/slowtan.c: Remove.
35565         * benchtests/tan-inputs: Add slow benchmark inputs.
35566         * scripts/bench.pl: Parse comments and directives.
35568         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35569         in CPPFLAGS.
35570         ($(objpfx)bench-%.c): Remove *-ITER.
35571         * benchtests/bench-modf.c: Remove definition of ITER.
35572         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35573         (main): Loop for DURATION seconds instead of fixed number of
35574         iterations.
35575         * scripts/bench.pl: Don't expect iterations in parameters.
35577 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35579         * io/fchdir.c (__fchdir): Renamed from fchdir.
35580         (fchdir): Define as weak alias.
35582 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35584         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35585         (ERRNO_EDOM): Likewise.
35586         (ERRNO_ERANGE): Likewise.
35587         (noErrnoTests): New variable.
35588         (init_max_error): Set errno to 0.
35589         (test_single_errno): New function.
35590         (test_errno): Likewise.
35591         (check_float_internal): Call test_errno.  Set errno to 0.
35592         (check_complex): Refer to errno tests in comment.
35593         (check_int): Call test_errno.  Set errno to 0.
35594         (check_long): Likewise.
35595         (check_bool): Likewise.
35596         (check_longlong): Likewise.
35597         (cos_test): Use ERRNO_* flags for errno tests instead of
35598         check_int.
35599         (expm1_test): Likewise.
35600         (fmod_test): Likewise.
35601         (ilogb_test): Likewise.
35602         (lgamma_test): Likewise.
35603         (pow_test): Likewise.
35604         (remainder_test): Likewise.
35605         (sin_test): Likewise.
35606         (tan_test): Likewise.
35607         (yn_test): Likewise.
35608         (initialize): Set errno to 0.
35609         (main): Print number of errno tests.
35610         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35612 2013-04-29  Andreas Jaeger  <aj@suse.de>
35614         [BZ #15084]
35615         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35616         and RES_USEVC.
35618         [BZ #15085]
35619         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35620         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35621         unimplemented.
35623         [BZ #15380]
35624         * stdlib/random.c (__initstate): Return NULL if
35625         __initstate fails.
35627         [BZ #15086]
35628         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35629         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35630         RES_SNGLKUPREOP.
35632 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35636 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35638         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35639         of individual tests.
35640         (casin_test): Likewise.
35641         (casinh_test): Likewise.
35643 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35645         [BZ #15409]
35646         * math/s_catan.c (__catan): Handle arguments with large real or
35647         imaginary part separately without squaring.
35648         * math/s_catanf.c (__catanf): Likewise.
35649         * math/s_catanh.c (__catanh): Likewise.
35650         * math/s_catanhf.c (__catanhf): Likewise.
35651         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35652         and redefine.
35653         (__catanhl): Handle arguments with large real or imaginary part
35654         separately without squaring.
35655         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35656         and redefine.
35657         (__catanl): Handle arguments with large real or imaginary part
35658         separately without squaring.
35659         * math/libm-test.inc (catan_test): Add more tests.
35660         (catanh_test): Likewise.
35661         * sysdeps/i386/fpu/libm-test-ulps: Update.
35662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35664 2013-04-27  Andreas Jaeger  <aj@suse.de>
35666         [BZ #15007]
35667         * stdlib/stdlib.h: Update guards for qecvt.
35668         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35669         <stdlib.h>.
35671 2013-04-27  Allan McRae  <allan@archlinux.org>
35673         * sysdeps/i386/fpu/libm-test-ulps: Update.
35675 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35677         [BZ #15406]
35678         * math/s_catan.c: Include <float.h>.
35679         (__catan): Ensure underflow exception occurs for underflowed
35680         result.
35681         * math/s_catanf.c: Include <float.h>.
35682         (__catanf): Ensure underflow exception occurs for underflowed
35683         result.
35684         * math/s_catanh.c: Include <float.h>.
35685         (__catanh): Ensure underflow exception occurs for underflowed
35686         result.
35687         * math/s_catanhf.c: Include <float.h>.
35688         (__catanhf): Ensure underflow exception occurs for underflowed
35689         result.
35690         * math/s_catanhl.c: Include <float.h>.
35691         (__catanhl): Ensure underflow exception occurs for underflowed
35692         result.
35693         * math/s_catanl.c: Include <float.h>.
35694         (__catanl): Ensure underflow exception occurs for underflowed
35695         result.
35696         * math/libm-test.inc (catan_test): Add more tests.
35697         (catanh_test): Likewise.
35699         [BZ #15405]
35700         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35701         underflowed result.
35702         * math/s_ccoshf.c (__ccoshf): Likewise.
35703         * math/s_ccoshl.c (__ccoshl): Likewise.
35704         * math/s_csin.c (__csin): Likewise.
35705         * math/s_csinf.c (__csinf): Likewise.
35706         * math/s_csinh.c (__csinh): Likewise.
35707         * math/s_csinhf.c (__csinhf): Likewise.
35708         * math/s_csinhl.c (__csinhl): Likewise.
35709         * math/s_csinl.c (__csinl): Likewise.
35710         * math/libm-test.inc (ccos_test): Add more tests.
35711         (ccosh_test): Likewise.
35712         (csin_test): Likewise.
35713         (csinh_test): Likewise.
35715 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35717         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35718         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35719         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35720         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35721         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35722         powerpc/power5+/fpu folders.
35723         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35726 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35730 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35732         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35733         additions to variable.
35734         [$(config-machine) = x86_64] (modules-names): Likewise.
35735         ($(objpfx)tst-audit3): Remove dependency.
35736         ($(objpfx)tst-audit3.out): Likewise.
35737         ($(objpfx)tst-audit4): Likewise.
35738         ($(objpfx)tst-audit4.out): Likewise.
35739         ($(objpfx)tst-audit5): Likewise.
35740         ($(objpfx)tst-audit5.out): Likewise.
35741         ($(objpfx)tst-audit6): Likewise.
35742         ($(objpfx)tst-audit6.out): Likewise.
35743         ($(objpfx)tst-audit7): Likewise.
35744         ($(objpfx)tst-audit7.out): Likewise.
35745         (tst-audit3-ENV): Remove variable.
35746         (tst-audit4-ENV): Likewise.
35747         (tst-audit5-ENV): Likewise.
35748         (tst-audit6-ENV): Likewise.
35749         (tst-audit7-ENV): Likewise.
35750         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35751         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35752         addition to variable.
35753         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35754         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35755         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35756         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35757         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35758         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35759         tst-audit3, tst-audit4 and tst-audit5.
35760         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35761         tst-audit6 and tst-audit7.
35762         [$(subdir) = elf] (modules-names): Add audit modules for those
35763         tests.
35764         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35765         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35766         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35767         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35768         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35769         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35770         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35771         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35772         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35773         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35774         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35775         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35776         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35777         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35778         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35779         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35780         Likewise.
35781         [$(subdir) = elf && $(config-cflags-avx) = yes]
35782         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35783         [$(subdir) = elf && $(config-cflags-avx) = yes]
35784         (CFLAGS-tst-auditmod4a.c): Likewise.
35785         [$(subdir) = elf && $(config-cflags-avx) = yes]
35786         (CFLAGS-tst-auditmod4b.c): Likewise.
35787         [$(subdir) = elf && $(config-cflags-avx) = yes]
35788         (CFLAGS-tst-auditmod6b.c): Likewise.
35789         [$(subdir) = elf && $(config-cflags-avx) = yes]
35790         (CFLAGS-tst-auditmod6c.c): Likewise.
35791         [$(subdir) = elf && $(config-cflags-avx) = yes]
35792         (CFLAGS-tst-auditmod7b.c): Likewise.
35793         * elf/tst-audit3.c: Move to ...
35794         * sysdeps/x86_64/tst-audit3.c: ... here.
35795         * elf/tst-audit4.c: Move to ...
35796         * sysdeps/x86_64/tst-audit4.c: ... here.
35797         * elf/tst-audit5.c: Move to ...
35798         * sysdeps/x86_64/tst-audit5.c: ... here.
35799         * elf/tst-audit6.c: Move to ...
35800         * sysdeps/x86_64/tst-audit6.c: ... here.
35801         * elf/tst-audit7.c: Move to ...
35802         * sysdeps/x86_64/tst-audit7.c: ... here.
35803         * elf/tst-auditmod3a.c: Move to ...
35804         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35805         * elf/tst-auditmod3b.c: Move to ...
35806         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35807         * elf/tst-auditmod4a.c: Move to ...
35808         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35809         * elf/tst-auditmod4b.c: Move to ...
35810         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35811         * elf/tst-auditmod5a.c: Move to ...
35812         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35813         * elf/tst-auditmod5b.c: Move to ...
35814         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35815         * elf/tst-auditmod6a.c: Move to ...
35816         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35817         * elf/tst-auditmod6b.c: Move to ...
35818         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35819         * elf/tst-auditmod6c.c: Move to ...
35820         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35821         * elf/tst-auditmod7a.c: Move to ...
35822         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35823         * elf/tst-auditmod7b.c: Move to ...
35824         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35826 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35828         [BZ #15366]
35829         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35830         define unconditionally.
35831         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35832         define unconditionally.
35833         (INT8_C, INT16_C, etc.): Likewise.
35835 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35837         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35838         __ehdr_start with hidden visibility.
35840         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35842 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35844         * math/libm-test.inc (cos_test): Use accurate hex constants.
35845         (sincost_test): Likewise.
35847 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35849         * math/libm-test.inc (catan_test): Add more tests.
35850         (catanh_test): Likewise.
35852         * math/s_catanf.c (__catanf): Use suffixed floating-point
35853         constants.
35854         * math/s_catanhf.c (__catanhf): Likewise.
35855         * math/s_catanhl.c (__catanhl): Likewise.
35856         * math/s_catanl.c (__catanl): Likewise.
35858         [BZ #15394]
35859         * math/s_catan.c (__catan): Calculate imaginary part of result
35860         with log1p not log unless computing log of number close to 0.
35861         * math/s_catanf.c (__catanf): Likewise.
35862         * math/s_catanl.c (__catanl): Likewise.
35863         * math/s_catanh.c (__catanh): Calculate real part of result with
35864         log1p not log unless computing log of number close to 0.
35865         * math/s_catanhf.c (__catanhf): Likewise.
35866         * math/s_catanhl.c (__catanhl): Likewise.
35867         * math/libm-test.inc (catan_test): Add more tests.
35868         (catanh_test): Likewise.
35869         * sysdeps/i386/fpu/libm-test-ulps: Update.
35870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35872 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35874         * benchtests/Makefile: Mention files in which fast and slow
35875         paths of math functions are implemented.
35877 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35879         * sysdeps/posix/timespec_get.c: New file.
35881 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35883         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35884         POWER.
35885         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35886         for POWER.
35887         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35888         powerpc/power5/fpu folders.
35889         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35890         * benchtests/Makefile: Add modf testcase.
35891         * benchtests/bench-modf.c: New file: Benchmark test for mo
35893 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35895         [BZ #14888]
35896         * time/Makefile (tests): Add tst-strptime-whitespace.
35897         * time/strptime_l.c (get_number): Use ISSPACE.
35898         (__strptime_internal): Likewise.
35899         * time/tst-strptime-whitespace.c: New test case.
35901 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35903         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35904         member.
35905         (_nss_files_init): Set it here.
35907 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35909         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35910         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35911         unsigned.
35913 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35915         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35917 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35919         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35920         size just once.
35922 2013-04-21  David S. Miller  <davem@davemloft.net>
35924         * po/ru.po: Update Russion translation from translation project.
35926 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35928         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35929         and setfsgid.
35931 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35933         * configure.in: Remove i386 configure warning. Remove i386 case.
35934         * configure: Regenerate.
35935         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35936         Add example to error message.
35937         * sysdeps/i386/configure: Regenerate.
35939 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35941         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35942         slowtan.
35943         * benchtests/cos-inputs: New file.
35944         * benchtests/slowcos-inputs: New file.
35945         * benchtests/slowcos.c: New file.
35946         * benchtests/slowtan-inputs: New file.
35947         * benchtests/slowtan.c: New file.
35948         * benchtests/tan-inputs: New file.
35950 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35952         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35953         considered kosher.
35955 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35957         * benchtests/Makefile: Include cppflags-iterator.mk to add
35958         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35960         * Makefile.in (bench-clean): New target.
35961         * benchtests/Makefile (bench-clean): Likewise.
35963 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35965         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35967 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35969         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35971 2013-04-15  Andreas Schwab  <schwab@suse.de>
35973         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35975         * nscd/pwdcache.c (cache_addpw): Likewise.
35976         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35977         more than recsize.
35979 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35981         * benchtests/Makefile (bench): Write all output to
35982         bench-out.tmp together.
35984 2013-04-15  Andreas Schwab  <schwab@suse.de>
35986         * nscd/nscd.c (main): Don't fork again after closing files.
35988 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35990         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35992         * benchtests/Rules (bench-deps): Collect dependencies into a
35993         single variable.  Add Makefile to dependencies.
35994         ($(objpfx)bench-%.c): Depend on bench-deps.
35996 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35997             Xavier Roche  <roche+kml2@exalead.com>
35999         [BZ #15361]
36000         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36001         just that it's a file descriptor.
36002         * manual/llio.texi (Synchronizing AIO Operations): Update description
36003         for EBADF error from aio_fsync.
36005 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36007         * Rules (bench): Move target definition...
36008         * benchtests/Makefile: ... here.
36010 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36012         * math/libm-test.inc (cos_test): Fix PI/2 test.
36013         (sincos_test): Likewise.
36014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36015         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36017 2013-04-11  Andreas Schwab  <schwab@suse.de>
36019         [BZ #13988]
36020         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36021         accept exponent character only when digits were seen.
36022         * stdio-common/Makefile (tests): Add bug26.
36023         * stdio-common/bug26.c: New file.
36025         [BZ #14293]
36026         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36027         non-freeable.
36029 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36031         * Makeconfig (rtld-prefix): Define built linker prefix.
36032         * Rules (run-bench): Use it.
36033         * math/Makefile (run-regen-ulps): Likewise.
36035         * Rules (bench): Remove eval.
36037 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36038             Roland McGrath  <roland@hack.frob.com>
36039             Ondrej Bilka  <neleai@seznam.cz>
36041         [BZ #15346]
36042         * time/getdate.c: Include ctype.h and alloca.h.
36043         (__getdate_r): Trim leading and trailing spaces of input.
36044         * time/tst-getdate.c (tests): Add tests with leading and
36045         trailing spaces.
36047 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36049         [BZ #14280]
36050         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36051         when computing value.
36053 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36055         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36056         Use testrun.sh to run libm tests.
36058         [BZ #15309]
36059         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36061 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36063         [BZ #15264]
36064         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36066 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36068         * Makefile.in (regen-ulps): New target.
36069         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36070         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36071         [ifneq (no,$(PERL)] (regen-ulps): New target.
36072         [ifeq (no,$(PERL)] (regen-ulps): New target.
36073         * math/libm-test.inc (ulps_file_name): Define.
36074         (output_dir): New variable.
36075         (options): Add "output-dir" option.
36076         (parse_opt): Handle 'o' case.
36077         (main): If output_dir is non-NULL use it as a prefix
36078         otherwise use "".
36079         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36081 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36083         [BZ #10060, #10062]
36084         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36085         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36086         fail configure if __sync_val_compare_and_swap is not inlined.
36087         * sysdeps/i386/configure: Regenerate.
36088         * configure.in: Build for i686 when configured for i386.
36089         * configure: Regenerate.
36090         * README: Remove i386 reference.
36092 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36094         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36095         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36097 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36099         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36100         (lmsnanval): New variables.
36101         (F): Add conversion tests.
36102         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36103         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36105         * stdio-common/tstdiomisc.c (F): Properly collect individual
36106         tests' results.
36108         [BZ #14686, #15336]
36109         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36110         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36111         Instead, use input NaN values or generate a qNaN by arithmetic
36112         operation.  Also fix bugs to comply with the standard.
36113         * math/libm-test.inc (remainder_test): Add more tests.
36115         [BZ #15335, #15342]
36116         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36118         input NaN values or generate a qNaN by arithmetic operation.
36120         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36121         unreachable code.
36123         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36124         definitions.
36126 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36128         [BZ #14478]
36129         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36130         underflowed result.
36131         * math/s_cexpf.c (__cexpf): Likewise.
36132         * math/s_cexpl.c (__cexpl): Likewise.
36133         * math/libm-test.inc (cexp_test): Add more tests.
36135 2013-04-03  Andreas Schwab  <schwab@suse.de>
36137         [BZ #15330]
36138         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36139         order arrays from heap if bigger than alloca cutoff.
36141 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36143         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36144         (SNAN_TESTS_double): Refer to GCC PR56831.
36145         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36146         GCC PR56828.
36148 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36150         * Rules (bench): Move bench.out after the run is complete.
36152         * Rules (bench): Echo currently running benchmark.
36154         * benchtests/Makefile (bench): Add atan and slowatan.
36155         * benchtests/atan-inputs: New file.
36156         * benchtests/slowatan-inputs: New file.
36157         * benchtests/slowatan.c: New file.
36159         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36161         its value.
36163         [BZ #15305]
36164         * sysdeps/unix/sysv/linux/kernel-features.h
36165         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36166         __ASSUME_XFS_RESTRICTED_CHOWN.
36167         * sysdeps/unix/sysv/linux/pathconf.c
36168         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36169         Save and restore errno.
36171 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36173         [BZ #15327]
36174         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36175         arguments using __kernel_casinh.
36176         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36177         arguments using __kernel_casinhf.
36178         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36179         arguments using __kernel_casinhl.
36180         * math/libm-test.inc (cacosh_test): Add more tests.
36181         * sysdeps/i386/fpu/libm-test-ulps: Update.
36182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36184 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36186         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36189         * bench/Makefile (bench): Add sin and slowsin.
36190         * benchtests/sin-inputs: New file.
36191         * benchtests/slowsin-inputs: New file.
36192         * benchtests/slowsin.c: New file.
36194         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36195         (bench): Add slowexp and slowpow.
36196         (exp-ITER): Increase iterations.
36197         (pow-ITER): Likewise.
36198         * benchtests/exp-inputs: Change input.
36199         * benchtests/pow-inputs: Likewise.
36200         * benchtests/slowexp-inputs: New file.
36201         * benchtests/slowexp.c: New file.
36202         * benchtests/slowpow-inputs: New file.
36203         * benchtests/slowpow.c: New file.
36205 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36207         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36208         instructions.
36209         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36210         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36211         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36212         * benchtests/Makefile: Add rint benchtest.
36213         * benchtests/rint-inputs: Input for rint benchtest.
36215 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36217         * Versions.def (libm): Add GLIBC_2.18.
36218         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36219         hidden libm prototypes.
36220         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36221         * math/Makefile (libm-calls): Add s_issignaling.
36222         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36223         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36224         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36225         declaration.
36226         * math/math.h [__USE_GNU] (issignaling): New macro.
36227         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36228         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36229         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36230         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36231         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36232         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36233         * manual/arith.texi (issignaling): New section.
36234         * manual/libm-err-tab.pl (@all_functions): Update comment.
36235         * math/gen-libm-test.pl (parse_args): Apply special handling for
36236         issignaling.
36237         * math/libm-test.inc (print_float, issignaling_test): New
36238         functions.
36239         (check_float_internal): Add issignaling checks.
36240         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36241         default definition.
36242         * sysdeps/powerpc/math-tests.h: New file.
36243         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36244         tests.
36245         * math/test-snan.c (TEST_FUNC): Likewise.
36247 2013-03-30  David S. Miller  <davem@davemloft.net>
36249         * po/de.po: Update from translation team.
36251 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36253         [BZ #10357]
36254         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36255         imaginary part less than 1.0 and real part less than 0.5
36256         specially.
36257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36259         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36260         (cacos_test): Add more tests.
36261         (casin_test): Likewise.
36262         (casinh_test): Likewise.
36263         * sysdeps/i386/fpu/libm-test-ulps: Update.
36264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36266 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36268         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36269         ONE with its value.
36271         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36272         (__pow_mp): Replace ONE and MONE with their values.
36273         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36275         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36276         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36277         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36280         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36282         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36283         (__pow_mp): Replace ZERO and MZERO with their values.
36284         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36285         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36286         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36287         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36288         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36289         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36290         (__sqr): Likewise.
36292         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36294         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36296 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36298         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36299         Declare with __attribute__ ((weak)).
36300         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36301         Call __call_tls_dtors only if it's not NULL.
36303 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36305         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36306         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36307         magic __ehdr_start linker symbol if it's defined.
36308         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36309         them up here if it was already done.
36311         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36312         (_dl_aux_init): Use const in cast when setting it.
36313         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36314         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36315         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36317         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36318         Declare them here.
36319         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36320         * csu/libc-tls.c: Nor here.
36321         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36323         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36324         (__libc_message): Never call vsyslog.
36326 2013-03-28  Alan Modra  <amodra@gmail.com>
36328         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36329         Define as empty.
36330         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36331         Likewise.
36333 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36335         [BZ #15214]
36336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36337         underflow.
36338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36340 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36342         [BZ #15304]
36343         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36344         Don't add gid passed as argument.
36346         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36348 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36350         [BZ #15307]
36351         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36352         imaginary part between 1.0 and 1.5 and real part less than 0.5
36353         specially.
36354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36356         * math/libm-test.inc (cacos_test): Add more tests.
36357         (casin_test): Likewise.
36358         (casinh_test): Likewise.
36359         * sysdeps/i386/fpu/libm-test-ulps: Update.
36360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36362 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36364         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36365         constants.
36366         (norm): Likewise.
36367         (denorm): Likewise.
36368         (__dbl_mp): Likewise.
36369         (add_magnitudes): Likewise.
36370         (sub_magnitudes): Likewise.
36371         (__add): Likewise.
36372         (__sub): Likewise.
36373         (__mul): Likewise.
36374         (__sqr): Likewise.
36375         (__inv): Likewise.
36376         (__dvd): Likewise.
36378         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36379         commented code.
36380         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36381         (__dubcos): Likewise.
36382         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36383         (__ieee754_acos): Likewise.
36384         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36385         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36386         (__exp1): Likewise.
36387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36389         (log1): Likewise.
36390         (my_log2): Likewise.
36391         (checkint): Likewise.
36392         * sysdeps/ieee754/dbl-64/e_remainder.c
36393         (__ieee754_remainder): Likewise.
36394         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36396         (bsloww): Likewise.
36397         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36399         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36400         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36401         MANTISSA_STORE_T to store computations on mantissa.  Use
36402         macros for rounding and division.
36403         (denorm): Likewise.
36404         (__dbl_mp): Likewise.
36405         (add_magnitudes): Likewise.
36406         (sub_magnitudes): Likewise.
36407         (__mul): Likewise.
36408         (__sqr): Likewise.
36409         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36410         powers of two in terms of TWOPOW macro.
36411         (mp_no): Make type of mantissa as MANTISSA_T.
36412         [!RADIXI]: Define RADIXI.
36413         [!TWO52]: Define TWO52.
36414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36416 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36418         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36419         llroundl symbol when building for PPC32.
36421 2013-03-24  Mark H Weaver  <mhw@netris.org>
36423         * manual/arith.texi (Normalization Functions): Fix prototypes for
36424         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36426 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36428         [BZ #13889]
36429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36430         high value to check if expl overflow.
36431         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36432         to check for underflow and overflow.
36433         * math/libm-test.inc: Add exp test.
36435 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36437         [BZ #11120]
36438         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36439         with NOT_IN_libc.
36441 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36443         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36444         symbol.
36446 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36448         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36449         wrap blocks consisting of several statements.
36451         * sysdeps/generic/math-tests.h: New file.
36452         * sysdeps/i386/fpu/math-tests.h: Likewise.
36453         * math/test-snan.c: Include it.
36454         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36456 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36458         [BZ #15285]
36459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36460         (__ieee754_j0l): Do not improve calculations using cos of twice
36461         input for inputs above LDBL_MAX / 2.0L.
36462         (__ieee754_y0l): Likewise.
36463         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36464         (__ieee754_j1l): Do not improve calculations using cos of twice
36465         input for inputs above LDBL_MAX / 2.0L.
36466         (__ieee754_y1l): Likewise.
36467         * math/libm-test.inc (j0_test): Add another test.
36468         (j1_test): Likewise.
36469         (y0_test): Likewise.
36470         (y1_test): Likewise.
36471         * sysdeps/i386/fpu/libm-test-ulps: Update.
36473 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36475         * Rules ($(objpfx)bench-%.c): Include code from a C source
36476         file.
36478 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36480         [BZ #15287]
36481         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36482         imaginary part 1.0 and real part less than 0.5 specially.
36483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36485         * math/libm-test.inc (cacos_test): Add more tests.
36486         (casin_test): Likewise.
36487         (casinh_test): Likewise.
36488         * sysdeps/i386/fpu/libm-test-ulps: Update.
36489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36491 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36493         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36494         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36496 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36498         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36499         * config.make.in (config-cflags-sse4): Remove variable.
36500         (config-cflags-avx): Likewise.
36501         (config-cflags-sse2avx): Likewise.
36502         (config-cflags-novzeroupper): Likewise.
36503         (config-asflags-i686): Likewise.
36504         (have-mfma4): Likewise.
36505         (have-as-vis3): Likewise.
36506         (MIG): Likewise.
36507         * configure.in (MIG): Do not AC_SUBST.
36508         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36509         (libc_cv_cc_sse4): Do not AC_SUBST.
36510         (libc_cv_cc_avx): Likewise.
36511         (libc_cv_cc_sse2avx): Likewise.
36512         (libc_cv_cc_novzeroupper): Likewise.
36513         (libc_cv_cc_fma4): Likewise.
36514         (libc_cv_as_i686): Likewise.
36515         (libc_cv_sparc_as_vis3): Likewise.
36516         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36517         LIBC_CONFIG_VAR.
36518         (config-asflags-i686): Likewise.
36519         (config-cflags-avx): Likewise.
36520         (config-cflags-sse2avx): Likewise.
36521         (have-mfma4): Likewise.
36522         (config-cflags-novzeroupper): Likewise.
36523         * sysdeps/mach/configure.in (MIG): Likewise.
36524         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36525         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36526         LIBC_CONFIG_VAR.
36527         (config-cflags-avx): Likewise.
36528         (config-cflags-sse2avx): Likewise.
36529         (have-mfma4): Likewise.
36530         (config-cflags-novzeroupper): Likewise.
36531         * configure: Regenerated.
36532         * sysdeps/i386/configure: Likewise.
36533         * sysdeps/mach/configure: Likewise.
36534         * sysdeps/sparc/configure: Likewise.
36535         * sysdeps/x86_64/configure: Likewise.
36537 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36539         [BZ #14812]
36540         * locale/programs/localedef.c (options): Put N_ translation marker
36541         on argument names, not just descriptions.
36543 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36545         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36547 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36549         [BZ #14176]
36550         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36552 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36554         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36555         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36556         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36557         [!BEFORE_ABORT] (before_abort): New function.
36558         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36559         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36560         (writev_for_fatal): New function.
36561         (WRITEV_FOR_FATAL): New macro; call that.
36562         (backtrace_and_maps): New function.
36563         (BEFORE_ABORT): New macro; call that.
36564         (struct str_list): Type removed.
36565         (__libc_message, __libc_fatal): Functions removed.
36566         Include <sysdeps/posix/libc_fatal.c> instead.
36568 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36570         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36571         constants.
36572         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36573         double constants.
36575 2013-03-19  Andreas Schwab  <schwab@suse.de>
36577         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36578         * sysdeps/gnu/configure: Regenerate.
36580         * configure.in: Substitute libc_cv_rtlddir.
36581         * configure: Regenerate.
36582         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36583         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36584         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36585         * elf/Makefile (install-others, CFLAGS-interp.c)
36586         (ldso_install, common-ldd-rewrite): Likewise.
36587         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36588         $(inst_slibdir)/$(rtld-installed-name).
36589         * scripts/rellns-sh: Add -p option.
36590         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36591         for source.
36593 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36595         * manual/nptl.texi: Renamed to ...
36596         * manual/threads.texi: ... this.
36597         * manual/Makefile (chapters): Update.
36599 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36601         [BZ #14812]
36602         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36603         on argument names, not just descriptions.
36604         * malloc/memusagestat.c (options): Likewise.
36605         * nss/getent.c (options): Likewise.
36607 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36609         [BZ #14812]
36610         * iconv/iconv_prog.c (options): Put N_ translation marker
36611         on argument names, not just descriptions.
36612         * iconv/iconvconfig.c (options): Likewise.
36614 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36616         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36617         implementation which is faster on all x86_64 architectures.
36618         Tested on AMD, Intel Nehalem, SNB, IVB.
36619         * sysdeps/x86_64/strnlen.S: Likewise.
36621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36622         Remove all multiarch strlen and strnlen versions.
36623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36624         Remove strlen and strnlen related parts.
36626         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36627         Inline strlen part.
36628         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36630         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36631         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36632         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36633         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36634         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36635         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36637 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36639         * manual/memory.texi (Malloc Tunable Parameters):
36640         Sort parameters alphabetically. Add comments for missing entries.
36642 2013-03-17  David S. Miller  <davem@davemloft.net>
36644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36646 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36648         [BZ #15283]
36649         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36650         for arguments at most half maximum finite value.
36651         * math/libm-test.inc (j0_test): Add more tests.
36652         (j1_test): Likewise.
36653         (y0_test): Likewise.
36654         (y1_test): Likewise.
36655         * sysdeps/i386/fpu/libm-test-ulps: Update.
36656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36658         [BZ #14155]
36659         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36660         1 / x and functions P and Q for arguments above 0x1p256L.
36661         (__ieee754_y0l): Likewise.
36662         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36663         (__ieee754_y1l): Likewise.
36664         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36665         (j1_test): Likewise.
36666         (y0_test): Likewise.
36667         (y1_test): Likewise.
36669 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36671         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36672         variable.
36674 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36676         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36677         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36678         zero since it's initialized to EXEC_PAGESIZE.
36680         * sysdeps/unix/sysv/linux/ldsodefs.h
36681         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36682         * sysdeps/generic/ldsodefs.h: ... here.
36684 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36686         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36688         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36689         math/test-snan.c.
36690         * math/test-snan.c: Renamed from
36691         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36692         * math/Makefile (tests): Add test-snan.
36693         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36694         test-powerpc-snan.
36696         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36697         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36698         functions.
36699         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36700         __builtin_nan family of functions.
36701         * math/libm-test.inc (initialize): Initialize qnan_value with
36702         __builtin_nan family of functions.
36703         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36704         Remove variables.
36705         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36706         Remove functions.
36707         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36708         storage class.  Initialize qNaN_var and sNaN_var with
36709         __builtin_nan and __builtin_nans families of functions,
36710         respectively.
36712         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36713         (sqrt_test): Remove duplicate test with qNaN input.
36714         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36715         (round_test, signbit_test, significand_test): Note missing +/-Inf
36716         as well as qNaN tests.
36718         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36719         qNaN_var.  Fix a few strings, too.
36720         * math/libm-test.inc (nan_value): Rename to qnan_value.
36721         * math/gen-libm-test.pl (%beautify): Adjust to that.
36722         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36723         * math/test-misc.c (main): Likewise.
36724         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36725         to __qnan_bytes, and __qnan_union, respectively.
36726         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36727         Likewise.
36728         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36729         and lqnanval, respectively.
36730         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36731         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36732         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36733         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36735         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36736         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36737         doubles.
36739         * math/test-misc.c (main): Fix copy'n'pastos.
36740         * misc/tst-efgcvt.c (special): Likewise.
36742         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36743         Remove declarations.
36745 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36747         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36748         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36749         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36750         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36752 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36755         macro to return vdso values correctly in IFUNC implementations.
36756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36757         Optimization by using IFUNC.
36759 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36760             Richard Henderson  <rth@redhat.com>
36761             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36763         * Makefile.in (bench): New target.
36764         * NEWS: Mention the benchmark framework.
36765         * Rules (bench): Likewise.
36766         (binaries-bench): Generate binaries for functions to
36767         benchmark.
36768         * benchtests/Makefile: New makefile for benchmark tests.
36769         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36770         programs.
36771         * benchtests/exp-inputs: New input file for EXP function.
36772         * benchtests/pow-inputs: New input file for POW function.
36773         * scripts/bench.pl: New script to generate source files for
36774         benchmark programs.
36776 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36778         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36779         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36780         computations on mantissa.  Use macros for rounding and
36781         division.
36782         (denorm): Likewise.
36783         (__dbl_mp): Likewise.
36784         (add_magnitudes): Likewise.
36785         (sub_magnitudes): Likewise.
36786         (__mul): Likewise.
36787         (__sqr): Likewise.
36788         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36789         powers of two in terms of TWOPOW macro.
36790         (mp_no): Make type of mantissa as MANTISSA_T.
36791         [!RADIXI]: Define RADIXI.
36792         [!TWO52]: Define TWO52.
36793         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36795         * manual/nptl.texi (cindex): Modify threads to pthreads.
36797 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36799         * sysdeps/x86_64/preconfigure: Regenerated.
36801 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36803         [BZ #14155]
36804         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36805         0x1p28 and above.
36806         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36807         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36808         0x1p28 and above.
36809         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36810         * math/libm-test.inc (j0_test): Do not allow one spurious
36811         underflow exception.
36812         (y1_test): Likewise.
36814 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36816         * manual/Makefile (chapters): Add nptl.
36817         * manual/debug.texi (Debugging Support): Add link to Threads
36818         chapter.
36819         * manual/nptl.texi: New file.
36821         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36823 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36825         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36826         for non-NULL pointer before the memory validity test. Pointed
36827         out by Holger Brunck <holger.brunck@keymile.com>.
36829 2013-03-13  Andreas Schwab  <schwab@suse.de>
36831         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36832         instead of .os.
36834 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36836         * timezone/zic.c: Update from tzcode 2013b.
36838 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36840         * manual/install.texi (Configuring and compiling):
36841         Mention i686 and i586.
36842         * INSTALL: Regenerate.
36844 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36846         * sysdeps/init_array/elf-init.c: New file.
36847         * csu/elf-init.c
36848         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36849         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36851         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36852         __gmon_start__ as global, but as static with a .preinit_array pointer.
36853         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36854         * sysdeps/init_array/crti.S: New file, empty except for comments.
36855         * sysdeps/init_array/crtn.S: Likewise.
36857 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36859         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36860         definining bcopy.
36861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36862         Remove Prefer_SSE_for_memop.
36863         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36864         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36865         HAS_PREFER_SSE_FOR_MEMOP.
36866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36867         memset-x86-64.
36868         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36869         Remove bzero, memset ifunc support.
36870         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36871         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36872         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36873         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36875 2013-03-11  Andreas Schwab  <schwab@suse.de>
36877         [BZ #15234]
36878         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36879         by SHLIB_COMPAT.
36880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36881         (GLIBC_2.16): Remove pthread_atfork.
36883 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36885         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36886         (ptestcases.h): Likewise.
36888 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36890         * Makeconfig ($(common-objpfx)config.status): Depend on
36891         sysdeps/*/preconfigure{,.in} too.
36893 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36895         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36896         (__free_hook): Use void * instead of __malloc_ptr_t.
36897         (__malloc_hook): Likewise.
36898         (__realloc_hook): Likewise.
36899         (__memalign_hook): Likewise.
36900         (__after_morecore_hook): Likewise.
36901         * malloc/arena.c (save_malloc_hook): Likewise.
36902         (save_free_hook): Likewise.
36903         * malloc/hooks.c (malloc_hook_ini): Likewise.
36904         (realloc_hook_ini): Likewise.
36905         (memalign_hook_ini): Likewise.
36906         * malloc/malloc.c (malloc_hook_ini): Likewise.
36907         (realloc_hook_ini): Likewise.
36908         (memalign_hook_ini): Likewise.
36909         (__free_hook): Likewise.
36910         (__malloc_hook): Likewise.
36911         (__realloc_hook): Likewise.
36912         (__memalign_hook): Likewise.
36913         (__libc_malloc): Likewise.
36914         (__libc_free): Likewise.
36915         (__libc_realloc): Likewise.
36916         (__libc_memalign): Likewise.
36917         (__libc_valloc): Likewise.
36918         (__libc_pvalloc): Likewise.
36919         (__libc_calloc): Likewise.
36920         (__posix_memalign): Likewise.
36921         * malloc/morecore.c (__sbrk): Likewise.
36922         (__default_morecore): Likewise.
36924         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36926         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36927         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36928         __malloc_ptrdiff_t.
36930         * malloc/malloc.h (__malloc_size_t): Remove macro.
36931         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36932         __malloc_size_t.
36933         (old_memalign_hook): Likewise.
36934         (old_realloc_hook): Likewise.
36935         (struct hdr): Likewise.
36936         (flood): Likewise.
36937         (mallochook): Likewise.
36938         (memalignhook): Likewise.
36939         (reallochook): Likewise.
36940         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36941         (tr_old_realloc_hook): Likewise.
36942         (tr_old_memalign_hook): Likewise.
36943         (tr_mallochook): Likewise.
36944         (tr_reallochook): Likewise.
36945         (tr_memalignhook): Likewise.
36947 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36950         default_ldbl_pack and using as default implementation.
36951         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36952         implementation.
36953         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36954         redundant definition.
36955         (ldbl_insert_mantissa): Likewise.
36956         (ldbl_canonicalize): Likewise.
36957         (ldbl_nearbyint): Likewise.
36958         (ldbl_pack): Rename to ldbl_pack_ppc.
36959         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36960         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36961         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36963 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36966         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36967         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36968         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36970         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36971         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36972         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36974 2013-03-07  Andreas Jaeger  <aj@suse.de>
36976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36977         bits/mman-linux.h.
36979 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36981         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36982         Include mpa.h and declare __MPEXP.
36983         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36984         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36985         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36987         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36988         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36989         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36991         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36992         (__slowpow): Use long double EXPL and LOGL functions to
36993         compute POW.
36994         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36995         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36996         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36997         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36998         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36999         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37002         intermediate variable to calculate exponent.
37003         (__sqr): Likewise.
37004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37005         Likewise.
37006         (__sqr): Likewise.
37008         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37009         [!NO__SQR]: Define __sqr.
37010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37011         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37012         sysdeps/ieee754/dbl-64/mpa.c.
37013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37015         [BZ #12723]
37016         * posix/Makefile (tests): Add tst-pathconf.
37017         * posix/tst-pathconf.c: New test case.
37018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37019         _PC_PIPE_BUF.
37020         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37022 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37024         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37026 2013-03-06  Andreas Jaeger  <aj@suse.de>
37028         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37029         definition via __MAP_ANONYMOUS.
37031         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37032         it's not part of Linux headers.
37034         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37035         (MAP_HUGE_MASK): Define.
37037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37038         Define.
37039         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37040         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37041         Define.
37042         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37043         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37044         Define.
37045         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37046         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37047         Define.
37048         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37050         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37051         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37052         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37053         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37054         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37055         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37058         Handle f2fs.
37060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37061         Handle f2fs and efivarfs.
37063         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37064         f2fs.
37066         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37067         (EFIVARFS_MAGIC): Add.
37068         (F2FS_LINK_MAX): Add.
37070 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37072         * stdio-common/vfprintf.c: Replace __builtin_expect with
37073         __glibc_unlikely.
37075 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37077         [BZ #13550]
37078         * sysdeps/generic/bp-sym.h: Remove file.
37079         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37080         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37081         <bp-sym.h> and <bp-asm.h>.
37082         (__longjmp): Don't use BP_SYM.
37083         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37084         and <bp-asm.h>.
37085         (memcpy): Don't use BP_SYM.
37086         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37087         <bp-sym.h> and <bp-asm.h>.
37088         (memcpy): Don't use BP_SYM.
37089         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37090         <bp-asm.h>.
37091         (memcpy): Don't use BP_SYM.
37092         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37093         <bp-asm.h>.
37094         (memset): Don't use BP_SYM.
37095         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37096         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37097         (__bzero): Don't use BP_SYM.
37098         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37099         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37100         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37101         <bp-sym.h> and <bp-asm.h>.
37102         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37103         pointers.
37104         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37105         <bp-sym.h> and <bp-asm.h>.
37106         (memcpy): Don't use BP_SYM.
37107         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37108         <bp-sym.h> and <bp-asm.h>.
37109         (memset): Don't use BP_SYM.
37110         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37111         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37112         (__bzero): Don't use BP_SYM.
37113         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37114         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37115         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37116         <bp-sym.h> and <bp-asm.h>.
37117         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37118         pointers.
37119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37120         <bp-sym.h> and <bp-asm.h>.
37121         (memcpy): Don't use BP_SYM.
37122         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37123         <bp-sym.h> and <bp-asm.h>.
37124         (memset): Don't use BP_SYM.
37125         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37126         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37127         (__bzero): Don't use BP_SYM.
37128         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37129         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37130         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37131         <bp-sym.h> and <bp-asm.h>.
37132         (__memchr): Don't use BP_SYM.
37133         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37134         <bp-sym.h> and <bp-asm.h>.
37135         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37136         pointers.
37137         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37138         <bp-sym.h> and <bp-asm.h>.
37139         (memcpy): Don't use BP_SYM.
37140         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37141         <bp-sym.h> and <bp-asm.h>.
37142         (__mempcpy): Don't use BP_SYM.
37143         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37144         <bp-sym.h> and <bp-asm.h>.
37145         (__memrchr): Don't use BP_SYM.
37146         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37147         <bp-sym.h> and <bp-asm.h>.
37148         (memset): Don't use BP_SYM.
37149         (__bzero): Likewise.
37150         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37151         <bp-sym.h> and <bp-asm.h>.
37152         (__rawmemchr): Don't use BP_SYM.
37153         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37154         <bp-sym.h> and <bp-asm.h>.
37155         (__STRCMP): Don't use BP_SYM.
37156         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37157         <bp-sym.h> and <bp-asm.h>.
37158         (strchr): Don't use BP_SYM.
37159         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37160         <bp-sym.h> and <bp-asm.h>.
37161         (__strchrnul): Don't use BP_SYM.
37162         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37163         <bp-sym.h> and <bp-asm.h>.
37164         (strlen): Don't use BP_SYM.
37165         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37166         <bp-sym.h> and <bp-asm.h>.
37167         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37168         pointers.
37169         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37170         <bp-sym.h> and <bp-asm.h>.
37171         (__strnlen): Don't use BP_SYM.
37172         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37173         <bp-sym.h> and <bp-asm.h>.
37174         (__GI__setjmp): Don't use BP_SYM.
37175         (_setjmp): Likewise.
37176         (__sigsetjmp): Likewise.
37177         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37178         (L(start_addresses)): Don't use BP_SYM.
37179         (_start): Likewise.
37180         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37181         <bp-asm.h>.
37182         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37183         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37184         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37185         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37186         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37187         <bp-asm.h>.
37188         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37189         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37190         about bounded pointers.
37191         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37192         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37193         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37194         <bp-asm.h>.
37195         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37196         about bounded pointers.  Remove GKM FIXME comments.
37197         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37198         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37199         <bp-asm.h>.
37200         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37201         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37202         Remove GKM FIXME comments.
37203         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37204         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37205         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37206         <bp-asm.h>.
37207         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37208         about bounded pointers.  Remove GKM FIXME comment.
37209         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37210         and <bp-asm.h>.
37211         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37212         pointers.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37214         <bp-sym.h> and <bp-asm.h>.
37215         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37217         <bp-sym.h> and <bp-asm.h>.
37218         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37219         comment.
37221 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37223         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37224         call free(NULL).
37226 2013-03-05  David S. Miller  <davem@davemloft.net>
37228         * po/es.po: Update from translation team.
37230 2013-03-05  Andreas Jaeger  <aj@suse.de>
37232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37233         <bits/mman-linux.h>.
37234         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37235         is fine.
37236         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37237         <bits/mman-linux.h> to end of file.
37238         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37239         is fine.
37240         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37241         <bits/mman-linux.h> to end of file.
37242         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37243         is fine.
37244         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37245         <bits/mman-linux.h> to end of file.
37247         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37248         (MCL_CURRENT, MCL_FUTURE): Define here.
37250 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37252         [BZ #15232]
37253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37254         attribute_hidden.
37255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37257 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37259         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37260         fourth parameter needed for rt_sigprocmask syscall.
37261         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37262         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37264         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37265         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37266         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37268 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37270         [BZ #13550]
37271         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37272         comment about bounded pointers.
37273         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37274         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37276 2013-03-04  Andreas Jaeger  <aj@suse.de>
37278         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37279         common definitions.
37281         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37282         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37283         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37284         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37285         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37286         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37288 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37290         [BZ #15055]
37291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37292         __ieee754_sqrl instead of __sqrl.
37294 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37296         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37297         * sysdeps/powerpc/fpu_control.h: ... here.
37298         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37299         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37300         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37301         * sysdeps/powerpc/bits/mathinline.h: ... here.
37303 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37305         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37306         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37307         to just [NEED_DL_SYSINFO_DSO].
37308         * elf/dl-support.c: Likewise.
37309         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37310         * elf/rtld.c (dl_main): Likewise.
37311         * elf/setup-vdso.h (setup_vdso): Likewise.
37312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37313         * sysdeps/unix/sysv/linux/dl-sysdep.c
37314         (_dl_discover_osversion): Likewise.
37316 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37318         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37319         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37321 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37323         * NEWS: Mention libm performance improvements and non-x86 PI
37324         futex support.
37326         * csu/libc-start.c (__pthread_initialize_minimal): Change
37327         function arguments.
37328         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37330 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37332         [BZ #13550]
37333         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37334         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37335         <bp-sym.h> and <bp-asm.h>.
37336         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37337         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37338         and <bp-asm.h>.
37339         (memcpy): Don't use BP_SYM.
37340         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37341         <bp-asm.h>.
37342         (__mpn_add_n): Don't use BP_SYM.
37343         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37344         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37345         and <bp-asm.h>.
37346         (__mpn_addmul_1): Don't use BP_SYM.
37347         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37348         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37349         <bp-sym.h>.
37350         (_setjmp): Don't use BP_SYM.
37351         (__novmx_setjmp): Likewise.
37352         (__GI__setjmp): Likewise.
37353         (__vmx_setjmp): Likewise.
37354         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37355         <bp-sym.h>.
37356         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37357         (__bzero): Don't use BP_SYM.
37358         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37359         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37360         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37361         <bp-sym.h> and <bp-asm.h>.
37362         (memcpy): Don't use BP_SYM.
37363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37364         <bp-sym.h> and <bp-asm.h>.
37365         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37366         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37367         <bp-sym.h> and <bp-asm.h>.
37368         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37369         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37370         <bp-asm.h>.
37371         (__mpn_lshift): Don't use BP_SYM.
37372         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37373         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37374         <bp-asm.h>.
37375         (memset): Don't use BP_SYM.
37376         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37377         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37378         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37379         <bp-asm.h>.
37380         (__mpn_mul_1): Don't use BP_SYM.
37381         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37382         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37383         <bp-sym.h> and <bp-asm.h>.
37384         (memcmp): Don't use BP_SYM.
37385         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37386         <bp-sym.h> and <bp-asm.h>.
37387         (memcpy): Don't use BP_SYM.
37388         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37389         <bp-sym.h> and <bp-asm.h>.
37390         (memset): Don't use BP_SYM.
37391         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37392         <bp-sym.h> and <bp-asm.h>.
37393         (strncmp): Don't use BP_SYM.
37394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37395         <bp-sym.h> and <bp-asm.h>.
37396         (memcpy): Don't use BP_SYM.
37397         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37398         <bp-sym.h> and <bp-asm.h>.
37399         (memset): Don't use BP_SYM.
37400         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37401         <bp-sym.h> and <bp-asm.h>.
37402         (__memchr): Don't use BP_SYM.
37403         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37404         <bp-sym.h> and <bp-asm.h>.
37405         (memcmp): Don't use BP_SYM.
37406         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37407         <bp-sym.h> and <bp-asm.h>.
37408         (memcpy): Don't use BP_SYM.
37409         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37410         <bp-sym.h> and <bp-asm.h>.
37411         (__mempcpy): Don't use BP_SYM.
37412         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37413         <bp-sym.h> and <bp-asm.h>.
37414         (__memrchr): Don't use BP_SYM.
37415         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37416         <bp-sym.h> and <bp-asm.h>.
37417         (memset): Don't use BP_SYM.
37418         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37419         <bp-sym.h> and <bp-asm.h>.
37420         (__rawmemchr): Don't use BP_SYM.
37421         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37422         <bp-sym.h> and <bp-asm.h>.
37423         (__STRCMP): Don't use BP_SYM.
37424         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37425         <bp-sym.h> and <bp-asm.h>.
37426         (strchr): Don't use BP_SYM.
37427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37428         <bp-sym.h> and <bp-asm.h>.
37429         (__strchrnul): Don't use BP_SYM.
37430         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37431         <bp-sym.h> and <bp-asm.h>.
37432         (strlen): Don't use BP_SYM.
37433         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37434         <bp-sym.h> and <bp-asm.h>.
37435         (strncmp): Don't use BP_SYM.
37436         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37437         <bp-sym.h> and <bp-asm.h>.
37438         (__strnlen): Don't use BP_SYM.
37439         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37440         <bp-asm.h>.
37441         (__mpn_rshift): Don't use BP_SYM.
37442         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37443         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37444         <bp-sym.h> and <bp-asm.h>.
37445         (__sigsetjmp): Don't use BP_SYM.
37446         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37447         (L(start_addresses)): Don't use BP_SYM.
37448         (_start): Likewise.
37449         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37450         <bp-asm.h>.
37451         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37452         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37453         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37454         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37455         <bp-asm.h>.
37456         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37457         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37458         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37459         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37460         <bp-asm.h>.
37461         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37462         comments.
37463         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37464         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37465         <bp-asm.h>.
37466         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37467         FIXME comments.
37468         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37469         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37470         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37471         <bp-asm.h>.
37472         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37473         comment.
37474         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37475         and <bp-asm.h>.
37476         (strncmp): Don't use BP_SYM,
37477         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37478         <bp-asm.h>.
37479         (__mpn_sub_n): Don't use BP_SYM.
37480         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37481         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37482         and <bp-asm.h>.
37483         (__mpn_submul_1): Don't use BP_SYM.
37484         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37486         <bp-sym.h> and <bp-asm.h>.
37487         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37489         <bp-sym.h> and <bp-asm.h>.
37490         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37491         comment.
37493 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37496         Use ZK to minimize writes to Z.
37497         (sub_magnitudes): Simplify code a bit.
37498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37499         Use ZK to minimize writes to Z.
37500         (sub_magnitudes): Simplify code a bit.
37502 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37504         * csu/gmon-start.c: Add special exception to license text.
37506 2013-02-27  Richard Henderson  <rth@redhat.com>
37508         * scripts/config.guess: Update from config.git.
37509         * scripts/config.sub: Likewise.
37511 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37513         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37515         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37517         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37519         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37521         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37523 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37525         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37526         [$(build-shared = yes].
37528 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37530         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37531         (__mul): Reduce iterations for calculating mantissa.
37533         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37534         MPTWO.
37535         (__mpranred): Likewise.
37537         [BZ #15160]
37538         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37539         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37541 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37543         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37544         Define __attribute__.
37546 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37548         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37549         unused.
37550         * posix/regex_internal.h (__attribute): Remove.
37551         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37552         (re_string_context_at): Likewise.
37553         (bitset_not): Use __attribute__ and mark function as possibly
37554         unused.
37555         (bitset_merge): Likewise.
37556         (bitset_mask): Likewise.
37557         (re_string_char_size_at): Likewise.
37558         (re_string_wchar_at): Likewise.
37559         (re_string_elem_size_at): Likewise.
37561 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37563         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37564         code.
37565         (cc32): Likewise.
37567         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37568         (__acr): Likewise.
37569         (__cpy): Likewise.
37570         (norm): Likewise.
37571         (denorm): Likewise.
37572         (__dbl_mp): Likewise.
37573         (add_magnitudes): Likewise.
37574         (sub_magnitudes): Likewise.
37575         (__mul): Likewise.
37576         (__inv): Likewise.
37578         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37579         style.
37581         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37582         style.
37584         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37585         code.
37587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37588         up changes with default code.
37589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37590         Likewise.
37592 2013-02-24  Allan McRae  <allan@archlinux.org>
37594         * manual/socket.texi (The Internet Namespace): Order menu items
37595         to match that in the file.
37597         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37598         node listing of the info page menu.
37600 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37602         [BZ #13550]
37603         * sysdeps/i386/bp-asm.h: Remove file.
37604         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37605         (PARMS): Do not use macros from bp-asm.h.
37606         (S1): Likewise.
37607         (S2): Likewise.
37608         (SIZE): Likewise.
37609         (__mpn_add_n): Do not use BP_SYM
37610         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37611         "bp-asm.h".
37612         (PARMS): Do not use macros from bp-asm.h.
37613         (S1): Likewise.
37614         (SIZE): Likewise.
37615         (__mpn_addmul_1): Do not use BP_SYM
37616         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37617         "bp-asm.h".
37618         (PARMS): Do not use macros from bp-asm.h.
37619         (SIGMSK): Likewise.
37620         (_setjmp): Likewise.  Do not use BP_SYM.
37621         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37622         "bp-asm.h".
37623         (PARMS): Do not use macros from bp-asm.h.
37624         (SIGMSK): Likewise.
37625         (setjmp): Likewise.  Do not use BP_SYM.
37626         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37627         "bp-asm.h".
37628         (PARMS): Do not use macros from bp-asm.h.
37629         (__frexp): Do not use BP_SYM.
37630         (frexp): Likewise.
37631         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37632         "bp-asm.h".
37633         (PARMS): Do not use macros from bp-asm.h.
37634         (__frexpf): Do not use BP_SYM.
37635         (frexpf): Likewise.
37636         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37637         "bp-asm.h".
37638         (PARMS): Do not use macros from bp-asm.h.
37639         (__frexpl): Do not use BP_SYM.
37640         (frexpl): Likewise.
37641         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37642         "bp-asm.h".
37643         (PARMS): Do not use macros from bp-asm.h.
37644         (__remquo): Do not use BP_SYM.
37645         (remquo): Likewise.
37646         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37647         "bp-asm.h".
37648         (PARMS): Do not use macros from bp-asm.h.
37649         (__remquof): Do not use BP_SYM.
37650         (remquof): Likewise.
37651         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37652         "bp-asm.h".
37653         (PARMS): Do not use macros from bp-asm.h.
37654         (__remquol): Do not use BP_SYM.
37655         (remquol): Likewise.
37656         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37657         "bp-asm.h".
37658         (PARMS): Do not use macros from bp-asm.h.
37659         (DEST): Likewise.
37660         (SRC): Likewise.
37661         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37662         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37663         "bp-asm.h".
37664         (PARMS): Do not use macros from bp-asm.h.
37665         (strlen): Do not use BP_SYM.
37666         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37667         "bp-asm.h".
37668         (PARMS): Do not use macros from bp-asm.h.
37669         (S1): Likewise.
37670         (S2): Likewise.
37671         (SIZE): Likewise.
37672         (__mpn_add_n): Do not use BP_SYM.
37673         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37674         "bp-asm.h".
37675         (PARMS): Do not use macros from bp-asm.h.
37676         (S1): Likewise.
37677         (SIZE): Likewise.
37678         (__mpn_addmul_1): Do not use BP_SYM.
37679         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37680         weak_alias.
37681         (bzero): Likewise.
37682         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37683         "bp-asm.h".
37684         (PARMS): Do not use macros from bp-asm.h.
37685         (S): Likewise.
37686         (SIZE): Likewise.
37687         (__mpn_lshift): Do not use BP_SYM.
37688         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37689         "bp-asm.h".
37690         (PARMS): Do not use macros from bp-asm.h.
37691         (DEST): Likewise.
37692         (SRC): Likewise.
37693         (LEN): Likewise.
37694         (memcpy): Likewise.  Do not use BP_SYM.
37695         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37696         libc_hidden_def and weak_alias.
37697         (mempcpy): Do not use BP_SYM in weak_alias.
37698         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37699         "bp-asm.h".
37700         (PARMS): Do not use macros from bp-asm.h.
37701         (DEST): Likewise.
37702         (LEN): Likewise.
37703         [!BZERO_P] (CHR): Likewise.
37704         (memset): Likewise.  Do not use BP_SYM.
37705         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37706         "bp-asm.h".
37707         (PARMS): Do not use macros from bp-asm.h.
37708         (S1): Likewise.
37709         (SIZE): Likewise.
37710         (__mpn_mul_1): Do not use BP_SYM.
37711         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37712         "bp-asm.h".
37713         (PARMS): Do not use macros from bp-asm.h.
37714         (S): Likewise.
37715         (SIZE): Likewise.
37716         (__mpn_rshift): Do not use BP_SYM.
37717         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37718         "bp-asm.h".
37719         (PARMS): Do not use macros from bp-asm.h.
37720         (STR): Likewise.
37721         (CHR): Likewise.
37722         (strchr): Likewise.  Do not use BP_SYM.
37723         (index): Do not use BP_SYM in weak_alias.
37724         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37725         "bp-asm.h".
37726         (PARMS): Do not use macros from bp-asm.h.
37727         (DEST): Likewise.
37728         (SRC): Likewise.
37729         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37730         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37731         "bp-asm.h".
37732         (PARMS): Do not use macros from bp-asm.h.
37733         (strlen): Do not use BP_SYM.
37734         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37735         "bp-asm.h".
37736         (PARMS): Do not use macros from bp-asm.h.
37737         (S1): Likewise.
37738         (S2): Likewise.
37739         (SIZE): Likewise.
37740         (__mpn_sub_n): Do not use BP_SYM.
37741         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37742         "bp-asm.h".
37743         (PARMS): Do not use macros from bp-asm.h.
37744         (S1): Likewise.
37745         (SIZE): Likewise.
37746         (__mpn_submul_1): Do not use BP_SYM.
37747         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37748         "bp-asm.h".
37749         (PARMS): Do not use macros from bp-asm.h.
37750         (S1): Likewise.
37751         (S2): Likewise.
37752         (SIZE): Likewise.
37753         (__mpn_add_n): Do not use BP_SYM.
37754         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37755         weak_alias.
37756         (bzero): Likewise.
37757         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37758         "bp-asm.h".
37759         (PARMS): Do not use macros from bp-asm.h.
37760         (BLK2): Likewise.
37761         (LEN): Likewise.
37762         (memcmp): Do not use BP_SYM.
37763         (bcmp): Do not use BP_SYM in weak_alias.
37764         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37765         "bp-asm.h".
37766         (PARMS): Do not use macros from bp-asm.h.
37767         (DEST): Likewise.
37768         (SRC): Likewise.
37769         (LEN): Likewise.
37770         (memcpy): Likewise.  Do not use BP_SYM.
37771         * sysdeps/i386/i686/memmove.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         (LEN): Likewise.
37777         (memmove): Likewise.  Do not use BP_SYM.
37778         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37779         "bp-asm.h".
37780         (PARMS): Do not use macros from bp-asm.h.
37781         (DEST): Likewise.
37782         (SRC): Likewise.
37783         (LEN): Likewise.
37784         (__mempcpy): Likewise.  Do not use BP_SYM.
37785         (mempcpy): Do not use BP_SYM in weak_alias.
37786         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37787         "bp-asm.h".
37788         (PARMS): Do not use macros from bp-asm.h.
37789         (DEST): Likewise.
37790         (LEN): Likewise.
37791         [!BZERO_P] (CHR): Likewise.
37792         (memset): Likewise.  Do not use BP_SYM.
37793         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37794         "bp-asm.h".
37795         (PARMS): Do not use macros from bp-asm.h.
37796         (STR2): Likewise.
37797         (strcmp): Do not use BP_SYM.
37798         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37799         "bp-asm.h".
37800         (PARMS): Do not use macros from bp-asm.h.
37801         (STR): Likewise.
37802         (DELIM): Likewise.
37803         [USE_AS_STRTOK_R] (SAVE): Likewise.
37804         (FUNCTION): Likewise.  Do not use BP_SYM.
37805         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37806         aliases.
37807         (strtok_r): Likewise.
37808         (__GI___strtok_r): Likewise.
37809         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37810         (PARMS): Do not use macros from bp-asm.h.
37811         (S): Likewise.
37812         (SIZE): Likewise.
37813         (__mpn_lshift): Do not use BP_SYM.
37814         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37815         (PARMS): Do not use macros from bp-asm.h.
37816         (STR): Likewise.
37817         (CHR): Likewise.
37818         (__memchr): Do not use BP_SYM.
37819         (memchr): Do not use BP_SYM in weak_alias.
37820         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37821         (PARMS): Do not use macros from bp-asm.h.
37822         (BLK2): Likewise.
37823         (LEN): Likewise.
37824         (memcmp): Do not use BP_SYM.
37825         (bcmp): Do not use BP_SYM in weak_alias.
37826         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37827         (PARMS): Do not use macros from bp-asm.h.
37828         (S1): Likewise.
37829         (SIZE): Likewise.
37830         (__mpn_mul_1): Do not use BP_SYM.
37831         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37832         "bp-asm.h".
37833         (PARMS): Do not use macros from bp-asm.h.
37834         (STR): Likewise.
37835         (CHR): Likewise.
37836         (__rawmemchr): Do not use BP_SYM.
37837         (rawmemchr): Do not use BP_SYM in weak_alias.
37838         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37839         (PARMS): Do not use macros from bp-asm.h.
37840         (S): Likewise.
37841         (SIZE): Likewise.
37842         (__mpn_rshift): Do not use BP_SYM.
37843         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37844         (PARMS): Do not use macros from bp-asm.h.
37845         (SIGMSK): Likewise.
37846         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37847         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37848         (_start): Do not use BP_SYM.
37849         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37850         (PARMS): Do not use macros from bp-asm.h.
37851         (DEST): Likewise.
37852         (SRC): Likewise.
37853         (__stpcpy): Likewise.  Do not use BP_SYM.
37854         (stpcpy): Do not use BP_SYM in weak_alias.
37855         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37856         "bp-asm.h".
37857         (PARMS): Do not use macros from bp-asm.h.
37858         (DEST): Likewise.
37859         (SRC): Likewise.
37860         (LEN): Likewise.
37861         (__stpncpy): Likewise.  Do not use BP_SYM.
37862         (stpncpy): Do not use BP_SYM in weak_alias.
37863         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37864         (PARMS): Do not use macros from bp-asm.h.
37865         (STR): Likewise.
37866         (CHR): Likewise.
37867         (strchr): Likewise.  Do not use BP_SYM.
37868         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37869         "bp-asm.h".
37870         (PARMS): Do not use macros from bp-asm.h.
37871         (STR): Likewise.
37872         (CHR): Likewise.
37873         (__strchrnul): Likewise.  Do not use BP_SYM.
37874         (strchrnul): Do not use BP_SYM in weak_alias.
37875         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37876         "bp-asm.h".
37877         (PARMS): Do not use macros from bp-asm.h.
37878         (STOP): Likewise.
37879         (strcspn): Do not use BP_SYM.
37880         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37881         "bp-asm.h".
37882         (PARMS): Do not use macros from bp-asm.h.
37883         (STR): Likewise.
37884         (STOP): Likewise.
37885         (strpbrk): Likewise.  Do not use BP_SYM.
37886         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37887         "bp-asm.h".
37888         (PARMS): Do not use macros from bp-asm.h.
37889         (STR): Likewise.
37890         (CHR): Likewise.
37891         (strrchr): Likewise.  Do not use BP_SYM.
37892         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37893         (PARMS): Do not use macros from bp-asm.h.
37894         (SKIP): Likewise.
37895         (strspn): Do not use BP_SYM.
37896         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37897         (PARMS): Do not use macros from bp-asm.h.
37898         (STR): Likewise.
37899         (DELIM): Likewise.
37900         (SAVE): Likewise.
37901         (FUNCTION): Likewise.  Do not use BP_SYM.
37902         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37903         aliases.
37904         (strtok_r): Likewise.
37905         (__GI___strtok_r): Likewise.
37906         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37907         (PARMS): Do not use macros from bp-asm.h.
37908         (S1): Likewise.
37909         (S2): Likewise.
37910         (SIZE): Likewise.
37911         (__mpn_sub_n): Do not use BP_SYM.
37912         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37913         "bp-asm.h".
37914         (PARMS): Do not use macros from bp-asm.h.
37915         (S1): Likewise.
37916         (SIZE): Likewise.
37917         (__mpn_submul_1): Do not use BP_SYM.
37918         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37919         <bp-sym.h>.
37920         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37921         and <bp-asm.h>.
37922         (PARMS): Do not use macros from bp-asm.h.
37923         (FLAGS): Likewise.
37924         (PTID): Likewise.
37925         (TLS): Likewise.
37926         (CTID): Likewise.
37927         (__clone): Do not use BP_SYM.
37928         (clone): Do not use BP_SYM in weak_alias.
37929         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37930         and <bp-asm.h>.
37931         (PARMS): Do not use macros from bp-asm.h.
37932         (LEN): Likewise.
37933         (__mmap64): Do not use BP_SYM.
37934         (mmap64): Do not use BP_SYM in weak_alias.
37935         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37936         <bp-sym.h> and <bp-asm.h>.
37937         (PARMS): Do not use macros from bp-asm.h.
37938         (__posix_fadvise64_l64): Do not use BP_SYM.
37939         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37940         (PARMS): Do not use macros from bp-asm.h.
37941         (NSOPS): Likewise.
37942         (semtimedop): Do not use BP_SYM.
37943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37944         and <bp-asm.h>.
37946 2013-02-21  Allan McRae  <allan@archlinux.org>
37948         * manual/message.texi (Charset conversion in gettext):
37949         Move @end statement to beginning of line.
37951 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37954         static.
37955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37956         Likewise.
37958         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37959         (denorm): Likewise.
37960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37963 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37965         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37966         tail-call to the resolved function if pltexit isn't needed.
37968 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37971         or Y being zero as being unlikely.
37972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37973         Likewise.
37975 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37977         * manual/nss.texi (System Databases and Name Service Switch):
37978         Remove frobnicate @pxref.
37980 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37982         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37983         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37985 2013-02-20  Petr Machata  <pmachata@redhat.com>
37987         * elf/elf.h (R_ARM_TARGET1): New macro.
37988         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37989         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37990         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37991         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37992         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37993         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37994         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37995         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37996         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37997         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37998         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37999         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38000         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38001         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38002         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38003         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38004         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38005         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38006         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38007         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38008         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38009         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38010         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38011         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38012         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38013         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38014         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38015         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38016         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38017         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38018         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38019         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38020         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38021         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38022         (R_ARM_THM_GOT_BREL12): Likewise.
38023         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38024         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38025         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38026         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38027         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38028         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38029         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38030         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38031         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38033 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38035         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38036         __attribute_used__ to __attribute__ ((unused)).
38038 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38040         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38041         powerpc mpa.c.
38042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38043         comment formatting.
38044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38046 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38048         [BZ #13550]
38049         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38050         Remove macro.
38051         (ENTER): Remove both macro definitions.
38052         (LEAVE): Likewise.
38053         (CHECK_BOUNDS_LOW): Likewise.
38054         (CHECK_BOUNDS_HIGH): Likewise.
38055         (CHECK_BOUNDS_BOTH): Likewise.
38056         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38057         (RETURN_BOUNDED_POINTER): Likewise.
38058         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38059         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38060         (POP_ERRNO_LOCATION_RETURN): Likewise.
38061         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38062         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38063         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38064         macros.
38065         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38066         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38067         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38068         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38069         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38070         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38071         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38072         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38073         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38074         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38075         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38076         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38077         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38078         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38079         removed macros.
38080         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38081         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38082         macros.
38083         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38084         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38085         * sysdeps/i386/i586/memset.S (memset): Likewise.
38086         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38087         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38088         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38089         macros.
38090         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38091         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38092         Change uses of L(2) to L(out).
38093         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38094         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38095         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38096         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38097         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38098         removed macros.
38099         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38100         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38101         macros.
38102         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38103         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38104         (RETURN): Do not use macro LEAVE.
38105         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38106         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38107         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38108         * sysdeps/i386/i686/memset.S (memset): Likewise.
38109         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38110         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38111         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38112         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38113         Likewise.
38114         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38115         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38116         L(1_2) and L(1_3) into L(1).
38117         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38118         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38119         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38120         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38121         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38122         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38123         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38124         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38125         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38126         macros.
38127         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38129         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38130         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38131         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38132         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38133         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38134         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38135         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38136         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38137         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38138         * sysdeps/i386/strspn.S (strspn): Likewise.
38139         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38140         conditional code.
38141         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38142         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38143         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38144         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38145         L(1_3) into L(1_1).
38146         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38147         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38148         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38149         macros.
38150         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38152 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38154         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38155         macro.
38157 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38159         * math/atest-exp.c (exp_mpn): Remove ROUND.
38160         * math/atest-exp2.c (exp_mpn): Likewise.
38161         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38163         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38164         * stdlib/tst-tls-atexit-lib.c: Likewise.
38165         * stdlib/tst-tls-atexit.c: Likewise.
38167 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38169         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38170         and __attribute_alloc_size__.
38172 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38174         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38175         __attribute_alloc_size__.
38176         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38177         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38179 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38181         * include/programs/xmalloc.h: New file.
38182         * catgets/gencat.c: Include it.
38183         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38184         * elf/pldd.c: Likewise.
38185         * iconv/iconv_charmap.c: Likewise.
38186         * iconv/iconvconfig.c: Likewise.
38187         * iconv/strtab.c: Likewise.
38188         * locale/programs/locale.c: Likewise.
38189         * locale/programs/localedef.h: Likewise.
38190         * locale/programs/simple-hash.c: Likewise.
38191         * nscd/nscd.h: Likewise.
38192         * nss/makedb.c: Likewise.
38193         * sysdeps/generic/ldconfig.h: Likewise.
38195 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38197         * Versions.def: Add GLIBC_2.18.
38198         * include/link.h (struct link_map): New member l_tls_dtor_count.
38199         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38200         (__call_tls_dtors): Likewise.
38201         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38202         __cxa_thread_atexit_impl.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38204         Likewise.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38206         Likewise.
38207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38208         Likewise.
38209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38210         Likewise.
38211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38213         Likewise.
38214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38215         Likewise.
38216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38218         Likewise.
38219         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38220         (tests): Add test case tst-tls-atexit.
38221         (modules-names): Add shared library for tst-tls-atexit.
38222         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38223         (GLIBC_PRIVATE): Add __call_tls_dtors.
38224         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38225         for libstdc++.
38226         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38227         * stdlib/tst-tls-atexit.c: New test case.
38228         * stdlib/tst-tls-atexit-lib.c: New test case.
38230         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38232         * elf/Versions (ld): Add _dl_find_dso_for_object.
38233         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38234         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38235         (dl_open_worker): Use _dl_find_dso_for_object.
38236         * elf/dl-sym.c (do_sym): Likewise.
38237         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38239 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38241         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38242         Syntactic changes only.
38243         (_dl_runtime_profile): Do a tail-call to the resolved function.
38245 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38247         [BZ #13550]
38248         * sysdeps/x86_64/bp-asm.h: Remove file.
38249         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38250         <bp-sym.h> and <bp-asm.h>.
38251         (__clone): Do not use BP_SYM.
38252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38253         <bp-sym.h> and <bp-asm.h>.
38254         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38255         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38256         "bp-asm.h".
38257         (_setjmp): Do not use BP_SYM.
38258         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38259         "bp-asm.h".
38260         (setjmp): Do not use BP_SYM.
38261         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38262         libc_hidden_def.
38263         (mempcpy): Do not use BP_SYM in weak_alias.
38264         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38265         "bp-asm.h".
38266         (strchr): Do not use BP_SYM.
38267         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38268         "bp-asm.h".
38269         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38270         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38271         (_start): Do not use BP_SYM.
38272         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38273         "bp-asm.h".
38274         (strcat): Do not use BP_SYM.
38275         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38276         "bp-asm.h".
38277         (STRCMP): Do not use BP_SYM.
38278         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38279         "bp-asm.h".
38280         (STRCPY): Do not use BP_SYM.
38281         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38282         "bp-asm.h".
38283         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38284         "bp-asm.h".
38285         (FUNCTION): Do not use BP_SYM.
38286         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38287         weak_alias.
38288         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38290 2013-02-17  Andreas Jaeger  <aj@suse.de>
38292         * time/Versions: Sort entries.
38293         * string/Versions: Likewise.
38294         * resolv/Versions: Likewise.
38295         * posix/Versions: Likewise.
38296         * iconv/Versions: Likewise.
38297         * elf/Versions: Likewise.
38298         * wcsmbs/Versions: Likewise.
38300 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38302         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38303         loop termination condition.
38305         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38306         variable to calculate EZ.
38307         (__sqr): Likewise.
38309         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38310         the lower precision input.
38312 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38314         [BZ #13550]
38315         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38316         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38317         (run-via-rtld-prefix): Do not handle %-bp tests.
38318         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38319         (all-object-suffixes): Remove .ob.
38320         (bppfx): Remove variable.
38321         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38322         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38323         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38324         [$(build-bounded) = yes] (libtype.ob): Likewise.
38325         * Makerules (elide-routines.ob): Remove variable.
38326         (do-tests-clean): Do not handle *-bp.out.
38327         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38328         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38329         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38330         (tests): Do not include $(tests-bp.out).
38331         (xtests): Do not include $(xtests-bp.out).
38332         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38333         [$(build-bounded) = yes] ($(addprefix
38334         $(objpfx),$(binaries-bounded))): Remove rule.
38335         ($(objpfx)%-bp.out): Remove rule.
38336         * config.make.in (build-bounded): Remove variable.
38337         * crypt/Makefile [$(build-bounded) = yes]
38338         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38339         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38340         append to variable.
38341         [$(build-bounded) = yes] (install-lib): Likewise.
38342         [$(build-bounded) = yes] (generated): Likewise.
38343         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38344         Remove rule.
38345         * intl/Makefile [$(build-bounded) = yes]
38346         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38347         * math/Makefile [$(build-bounded) = yes]
38348         ($(tests:%=$(objpfx)%-bp): Likewise.
38349         * misc/Makefile [$(build-bounded) = yes]
38350         ($(objpfx)tst-tsearch-bp): Likewise.
38351         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38352         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38353         Remove dependency.
38354         * string/Makefile (o-objects.ob): Remove variable.
38355         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38356         (CFLAGS-.ob): Remove variable.
38357         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38358         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38359         both definitions of variable.
38360         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38361         (ASFLAGS-.ob): Remove variable.
38363 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38365         [BZ #13550]
38366         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38367         Remove __BOUNDED_POINTERS__ from condition.
38368         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38369         * string/bits/string2.h [!__NO_STRING_INLINES &&
38370         !__BOUNDED_POINTERS__]: Likewise.
38371         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38372         Likewise.
38373         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38374         Remove conditional code.
38375         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38376         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38377         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38378         condition.
38380         [BZ #13550]
38381         * csu/libc-start.c: Do not include <bp-sym.h>.
38382         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38383         * elf/dl-open.c: Do not include <bp-sym.h>.
38384         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38385         * math/fegetenv.c: Do not include <bp-sym.h>.
38386         (fegetenv): Do not use BP_SYM in versioned symbols.
38387         * nptl/sysdeps/pthread/bits/libc-lockP.h
38388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38389         <bp-sym.h>.
38390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38391         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38393         (__pthread_mutex_destroy): Likewise.
38394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38395         (__pthread_mutex_lock): Likewise.
38396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38397         (__pthread_mutex_trylock): Likewise.
38398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38399         (__pthread_mutex_unlock): Likewise.
38400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38401         (__pthread_mutexattr_init): Likewise.
38402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38403         (__pthread_mutexattr_destroy): Likewise.
38404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38405         (__pthread_mutexattr_settype): Likewise.
38406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38407         (__pthread_rwlock_init): Likewise.
38408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38409         (__pthread_rwlock_destroy): Likewise.
38410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38411         (__pthread_rwlock_rdlock): Likewise.
38412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38413         (__pthread_rwlock_tryrdlock): Likewise.
38414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38415         (__pthread_rwlock_wrlock): Likewise.
38416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38417         (__pthread_rwlock_trywrlock): Likewise.
38418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38419         (__pthread_rwlock_unlock): Likewise.
38420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38421         (__pthread_key_create): Likewise.
38422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38423         (__pthread_setspecific): Likewise.
38424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38425         (__pthread_getspecific): Likewise.
38426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38427         Likewise.
38428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38429         (_pthread_cleanup_push_defer): Likewise.
38430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38431         (_pthread_cleanup_pop_restore): Likewise.
38432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38433         (pthread_setcancelstate): Likewise.
38434         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38435         <bp-sym.h>.
38436         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38437         (memchr): Do not use BP_SYM in weak_alias.
38438         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38439         (fegetenv): Do not use BP_SYM in versioned symbols.
38440         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38441         (fesetenv): Do not use BP_SYM in versioned symbols.
38442         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38443         (feupdateenv): Do not use BP_SYM in versioned symbols.
38444         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38445         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38446         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38447         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38448         (open64): Do not use BP_SYM in weak_alias.
38449         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38450         (fegetenv): Do not use BP_SYM in versioned symbols.
38451         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38452         (fesetenv): Do not use BP_SYM in versioned symbols.
38453         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38454         (feupdateenv): Do not use BP_SYM in versioned symbols.
38455         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38456         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38457         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38458         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38459         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38460         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38461         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38462         <bp-sym.h>.
38463         (__libc_start_main): Do not use BP_SYM.
38465 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38468         redundant return line.
38469         (norm): Likewise.
38470         (denorm): Likewise.
38471         (dbl_mp): Likewise.
38472         (sub_magnitudes): Likewise.
38473         (__add): Likewise.
38474         (__sub): Likewise.
38475         (__mul): Likewise.
38476         (__inv): Likewise.
38477         (__dvd): Likewise.
38478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38479         (norm): Likewise.
38480         (denorm): Likewise.
38481         (dbl_mp): Likewise.
38482         (sub_magnitudes): Likewise.
38483         (__add): Likewise.
38484         (__sub): Likewise.
38485         (__mul): Likewise.
38486         (__inv): Likewise.
38487         (__dvd): Likewise.
38489         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38490         instead of __mul.
38491         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38492         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38493         (cc32): Likewise.
38495         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38496         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38498         of __mul for squares.
38499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38500         function
38501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38502         Likewise.
38503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38506 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38508         [BZ #13550]
38509         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38510         code.
38511         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38512         prototype or function definition.  Rename ubp_* variables and
38513         parameters.  Remove argv definitions conditional on
38514         [__BOUNDED_POINTERS__].
38515         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38516         * elf/dl-runtime.c (_dl_fixup): Likewise.
38517         * include/set-hooks.h (RUN_HOOK): Likewise.
38518         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38519         definition.
38520         * string/strcpy.c (strcpy): Do not use __unbounded.
38521         * sysdeps/generic/frame.h (struct layout): Likewise.
38522         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38523         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38524         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38525         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38526         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38527         (__backtrace): Likewise.
38528         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38529         use __ptrvalue.
38530         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38531         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38532         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38533         Likewise.
38534         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38535         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38536         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38537         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38538         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38539         Do not use __unbounded.
38540         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38541         Rename __unboundedrlimits parameter to rlimits in prototype.
38542         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38543         Do not use __unbounded.
38544         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38545         not use __ptrvalue.
38546         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38547         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38548         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38549         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38550         __ptrvalue or __unbounded.
38551         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38552         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38553         use __unbounded.
38554         (__new_msgctl): Do not use __ptrvalue.
38555         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38556         __unbounded.
38557         (__libc_msgrcv): Do not use __ptrvalue.
38558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38559         startup_info): Do not use __unbounded.
38560         (__libc_start_main): Likewise.  Rename ubp_* variables and
38561         parameters.  Remove argv definitions conditional on
38562         [__BOUNDED_POINTERS__].
38563         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38564         __ptrvalue.
38565         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38566         use __unbounded.
38567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38568         or __ptrvalue.
38569         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38570         use __unbounded.
38571         (__new_shmctl): Do not use __ptrvalue.
38572         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38573         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38574         Likewise.
38575         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38577         (__libc_sigaction): Likewise.
38578         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38579         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38580         Likewise.
38581         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38583 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38585         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38587         * string/mempcpy.c: Implement by calling memcpy.
38589 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38594         evaluation.
38596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38597         values in the mantissa.
38599         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38600         minimize writes to Z.
38601         (sub_magnitudes): Simplify code a bit.
38603 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38605         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38606         from the message.  The linker prefixes all warnings with that already.
38608 2013-02-12  Andreas Schwab  <schwab@suse.de>
38610         [BZ #15078]
38611         * posix/regexec.c (extend_buffers): Add parameter min_len.
38612         (check_matching): Pass minimum needed length.
38613         (clean_state_log_if_needed): Likewise.
38614         (get_subexp): Likewise.
38615         * posix/Makefile (tests): Add bug-regex34.
38616         (bug-regex34-ENV): Define.
38617         * posix/bug-regex34.c: New file.
38619         [BZ #11561]
38620         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38621         elements compare against the byte sequence of it, not its name.
38622         * posix/Makefile (tests): Add bug-regex35.
38623         (bug-regex35-ENV): Define.
38624         * posix/bug-regex35.c: New file.
38626 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38628         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38629         comment.
38630         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38631         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38632         (CHECK_EOL): Add undef.
38634 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38636         * bits/stdlib-bsearch.h: New file.
38637         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38638         * stdlib/stdlib.h: Likewise.
38640 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38642         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38643         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38644         declaration.
38645         * manual/search.texi (Array Search Function): Add missing const in
38646         lfind prototype.
38647         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38648         declaration to use rlim_t.
38649         (Basic Scheduling Functions): Remove erroneous const from
38650         sched_getparam prototype.  Remove erroneous * from
38651         sched_get_priority_max and sched_get_priority_min prototypes.
38652         (Resource Usage): Fix summary @comment on vtimes to refer to
38653         sys/vtimes.h rather than vtimes.h.
38654         Add missing *s in vtimes prototype.
38655         (Limits on Resources): Fix ulimit prototype to return long int.
38656         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38657         prototypes to use long int rather than double.
38658         (BSD Random): Fix initstate and setstate to use char *, not void *.
38659         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38660         prototype to make second argument 'struct aiocb64 *const[]'.
38661         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38662         (Status of AIO Operations): Remove erroneous const in aio_return and
38663         aio_return64 prototypes.
38664         (Synchronizing I/O): Fix sync prototype to return void.
38665         * manual/startup.texi (Suboptions): Remove an erroneous const in
38666         getsubopt prototype.
38667         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38668         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38669         use size_t rather than int.
38670         (Scanning All Users): Likewise for getpwent_r.
38671         (Setting Groups): Add missing const to setgroups prototype.
38672         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38673         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38674         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38675         'const void *' rather than 'const char *'.
38676         (Host Address Functions): Likewise for inet_ntop.
38677         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38678         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38679         ssize_t for return value.
38680         (Sending Data): Likewise for send, sendto, sendmsg.
38681         (Socket Option Functions): Add a missing const in setsockopt prototype.
38682         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38683         use wchar_t for the argument.
38684         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38685         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38686         take no arguments.
38687         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38688         double/float/long double for second argument.
38689         Fix return types of significand, significandf, significandl.
38690         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38691         argument in fchmod prototype.
38692         (File Owner): Use uid_t and gid_t in fchown prototype.
38693         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38694         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38695         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38696         use 'const struct dirent **' as argument types to CMP function pointer
38697         argument.
38698         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38699         (File Times): Fix summary magic @comment for struct utimbuf and utime
38700         to refer to utime.h, not time.h.
38701         * manual/string.texi (Argz Functions): Add missing const in
38702         argz_extract and argz_next prototypes.
38703         (Finding Tokens in a String): Likewise for basename.
38704         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38705         (Copying and Concatenation): Fix typo in wmemmove prototype.
38706         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38707         (Signal Stack): Remove erroneous const in sigstack prototype.
38708         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38709         prototype.
38710         (Simple Calendar Time): Likewise for stime.
38711         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38712         prototype.
38713         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38714         say sys/sysctl.h instead.
38715         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38716         and vsyslog prototypes.
38718 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38720         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38721         Remove.
38723 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38725         * misc/sys/mman.h: Fix typo in mremap comment.
38727 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38729         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38730         the '\0' terminator.
38732 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38734         [BZ #13550]
38735         * debug/segfault.c: Don't include <bp-checks.h>.
38736         * sysdeps/generic/bp-checks.h: Remove file.
38737         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38738         (__GETDENTS): Don't use CHECK_N.
38739         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38740         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38741         (__getgroups): Don't use CHECK_N.
38742         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38743         (setgroups): Don't use CHECK_N.
38744         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38745         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38746         (__libc_msgrcv): Don't use CHECK_N.
38747         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38748         (__libc_msgsnd): Don't use CHECK_N.
38749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38750         <bp-checks.h>.
38751         (__libc_pread): Don't use CHECK_N.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38753         include <bp-checks.h>.
38754         (__libc_pread64): Don't use CHECK_N.
38755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38756         include <bp-checks.h>.
38757         (__libc_pwrite): Don't use CHECK_N.
38758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38759         include <bp-checks.h>.
38760         (__libc_pwrite64): Don't use CHECK_N.
38761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38762         <bp-checks.h>.
38763         (__libc_pread): Don't use CHECK_N.
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38765         include <bp-checks.h>.
38766         (__libc_pread64): Don't use CHECK_N.
38767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38768         include <bp-checks.h>.
38769         (__libc_pwrite): Don't use CHECK_N.
38770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38771         include <bp-checks.h>.
38772         (__libc_pwrite64): Don't use CHECK_N.
38773         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38774         (do_pread): Don't use CHECK_N.
38775         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38776         (do_pread64): Don't use CHECK_N.
38777         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38778         (do_pwrite): Don't use CHECK_N.
38779         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38780         (do_pwrite64): Don't use CHECK_N.
38781         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38782         (__libc_readv): Don't use CHECK_N.
38783         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38784         (semop): Don't use CHECK_N.
38785         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38786         <bp-checks.h>.
38787         (semtimedop): Don't use CHECK_N.
38788         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38789         (__libc_pread): Don't use CHECK_N.
38790         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38791         <bp-checks.h>.
38792         (__libc_pread64): Don't use CHECK_N.
38793         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38794         <bp-checks.h>.
38795         (__libc_pwrite): Don't use CHECK_N.
38796         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38797         <bp-checks.h>.
38798         (__libc_pwrite64): Don't use CHECK_N.
38799         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38800         <bp-checks.h>.
38801         (__libc_msgrcv): Don't use CHECK_N.
38802         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38803         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38804         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38805         (__libc_writev): Don't use CHECK_N.
38807 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38809         * string/strcpy.c: Removed unused variable.
38811         * Makeconfig (+sysdep-includes): Define with := rather than =.
38812         Use an existing include/ subdir of each sysdeps dir before it.
38814 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38816         * nscd/connection.c (register_traced_file): Comment function.
38817         [HAVE_INOTIFY] (union __inev): Define.
38818         [HAVE_INOTIFY] (inotify_check_files): New function.
38819         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38820         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38821         clear_db_cache.
38822         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38824 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38826         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38827         loaded if not already and that a failure is permanent.
38829 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38831         [BZ #15006]
38832         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38833         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38835 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38837         [BZ #13550]
38838         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38839         (CHECK_1_NULL_OK): Likewise.
38840         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38841         (__fxstat): Do not use CHECK_1.
38842         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38843         <bp-checks.h>.
38844         (___fxstat64): Do not use CHECK_1.
38845         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38846         <bp-checks.h>.
38847         (__fxstatat): Do not use CHECK_1.
38848         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38849         <bp-checks.h>.
38850         (__fxstatat64): Do not use CHECK_1.
38851         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38852         <bp-checks.h>.
38853         (__fxstat): Do not use CHECK_1.
38854         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38855         <bp-checks.h>.
38856         (__fxstatat): Do not use CHECK_1.
38857         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38858         <bp-checks.h>.
38859         (__getresgid): Do not use CHECK_1.
38860         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38861         <bp-checks.h>.
38862         (__getresuid): Do not use CHECK_1.
38863         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38864         <bp-checks.h>.
38865         (__lxstat): Do not use CHECK_1.
38866         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38867         <bp-checks.h>.
38868         (__old_msgctl): Do not use CHECK_1.
38869         (__new_msgctl): Likewise.
38870         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38871         <bp-checks.h>.
38872         (__new_setrlimit): Do not use CHECK_1.
38873         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38874         <bp-checks.h>.
38875         (__old_shmctl): Do not use CHECK_1.
38876         (__new_shmctl): Likewise.
38877         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38878         <bp-checks.h>.
38879         (__xstat): Do not use CHECK_1.
38880         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38881         (__lxstat): Do not use CHECK_1.
38882         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38883         <bp-checks.h>.
38884         (___lxstat64): Do not use CHECK_1.
38885         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38886         (__old_msgctl): Do not use CHECK_1.
38887         (__new_msgctl): Likewise.
38888         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38889         <bp-checks.h>.
38890         (__gettimeofday): Do not use CHECK_1.
38891         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38892         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38893         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38894         <bp-checks.h>.
38895         (__gettimeofday): Do not use CHECK_1.
38896         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38897         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38898         (__new_shmctl): Do not use CHECK_1.
38899         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38900         <bp-checks.h>.
38901         (do_sigtimedwait): Do not use CHECK_1.
38902         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38903         <bp-checks.h>.
38904         (do_sigwaitinfo): Do not use CHECK_1.
38905         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38906         <bp-checks.h>.
38907         (msgctl): Do not use CHECK_1.
38908         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38909         <bp-checks.h>.
38910         (shmctl): Do not use CHECK_1.
38911         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38912         (ustat): Do not use CHECK_1.
38913         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38914         <bp-checks.h>.
38915         (__fxstat): Do not use CHECK_1.
38916         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38917         <bp-checks.h>.
38918         (__fxstatat): Do not use CHECK_1.
38919         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38920         <bp-checks.h>.
38921         (__lxstat): Do not use CHECK_1.
38922         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38923         <bp-checks.h>.
38924         (__xstat): Do not use CHECK_1.
38925         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38926         (__xstat): Do not use CHECK_1.
38927         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38928         (___xstat64): Do not use CHECK_1.
38930         [BZ #13550]
38931         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38932         definitions.
38933         (CHECK_BOUNDS_HIGH): Likewise.
38934         * string/strcpy.c: Do not include <bp-checks.h>.
38935         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38937 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38939         * nscd/nscd-client.h (__nscd_drop_map_ref):
38940         Add __attribute__ ((unused)).
38941         * nis/nss-nisplus.h (niserr2nss): Likewise.
38943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38944         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38946         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38947         Remove inline keyword.
38948         * include/rounding-mode.h (round_away): Likewise.
38949         * libio/wfileops.c (adjust_wide_data): Likewise.
38950         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38951         (__m128i_strloadu_tolower): Likewise.
38952         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38953         (__m128i_strloadu_tolower): Likewise.
38954         * time/mktime.c (ydhms_diff): Likewise.
38955         * locale/elem-hash.h (elem_hash): Likewise.
38956         * locale/setlocale.c (setdata): Likewise.
38957         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38958         (re_string_wchar_at): Likewise.
38959         (bitset_not, bitset_merge, bitset_mask): Likewise.
38960         [!(__GNUC__ > 3)] (inline): Remove macro.
38961         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38962         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38963         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38964         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38965         * string/memcmp.c (memcmp_bytes): Likewise.
38966         * locale/programs/locarchive.c (compute_hashval): Likewise.
38967         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38968         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38969         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38970         * nss/getent.c (print_rpc, print_protocols): Likewise.
38971         (print_passwd, print_group, print_aliases): Likewise.
38972         * nis/nss-nisplus.h (niserr2nss): Likewise.
38973         * nscd/connections.c (restart_p): Likewise.
38974         Change return type to bool.
38976 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38978         * Makeconfig (all-Depend-files): Add existing
38979         $(sorted-subdirs:=/Depend) files.
38980         (all-subdirs): Remove nss.
38981         * sysdeps/unix/inet/Subdirs: Add it here instead.
38982         * hesiod/Depend: New file.
38984         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38985         instead of calling alloca.
38987         * io/lseek.c (__lseek): Rename to __libc_lseek.
38988         Define __lseek as an alias.
38990         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38992 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38994         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38995         else clause and remove check for non-standard endianness.
38997 2013-02-04  David S. Miller  <davem@davemloft.net>
38999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39001 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #13550]
39004         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39005         (__ubp_memchr): Remove prototype.
39006         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39007         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39008         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39009         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39010         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39011         Remove alias.
39012         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39013         (__ubp_memchr): Likewise.
39014         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39015         (__ubp_memchr): Likewise.
39016         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39017         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39018         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39019         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39020         CHECK_STRING.
39021         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39022         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39023         (__getcwd): Do not use CHECK_STRING.
39024         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39025         <bp-checks.h>.
39026         (__real_chown): Do not use CHECK_STRING.
39027         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39028         <bp-checks.h>.
39029         (fchownat): Do not use CHECK_STRING.
39030         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39031         CHECK_STRING.
39032         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39033         <bp-checks.h>.
39034         (__lchown): Do not use CHECK_STRING.
39035         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39036         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39037         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39038         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39040         include <bp-checks.h>.
39041         (truncate64): Do not use CHECK_STRING.
39042         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39043         <bp-checks.h>.
39044         (__real_chown): Do not use CHECK_STRING.
39045         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39046         <bp-checks.h>.
39047         (__lchown): Do not use CHECK_STRING.
39048         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39049         <bp-checks.h>.
39050         (__chown): Do not use CHECK_STRING.
39051         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39052         <bp-checks.h>.
39053         (truncate64): Do not use CHECK_STRING.
39054         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39055         Likewise.
39056         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39057         (__xmknod): Do not use CHECK_STRING.
39058         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39059         <bp-checks.h>.
39060         (__xmknodat): Do not use CHECK_STRING.
39061         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39062         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39064 2013-02-04  Andreas Schwab  <schwab@suse.de>
39066         [BZ #14142]
39067         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39068         * include/netdb.h: Likewise for h_errno.
39069         * elf/tst-stackguard1.c: Include <tls.h>.
39071 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39073         * elf/link.h (struct link_map): Extend the l_addr comment.
39074         * include/link.h (struct link_map): Likewise.
39076 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39078         [BZ #13550]
39079         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39080         (BOUNDED_1): Remove macro.
39081         * debug/backtrace.c: Don't include <bp-checks.h>.
39082         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39083         (__backtrace): Likewise.
39084         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39085         <bp-checks.h>.
39086         (__backtrace): Don't use BOUNDED_1.
39087         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39088         <bp-checks.h>.
39089         (__backtrace): Don't use BOUNDED_1.
39090         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39091         (__backtrace): Don't use BOUNDED_1.
39092         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39093         (shmat): Don't use BOUNDED_N.
39095 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #13550]
39098         * sysdeps/generic/bp-start.h: Remove file.
39099         * csu/libc-start.c: Don't include <bp-start.h>.
39100         (LIBC_START_MAIN): Set up __environ directly instead of using
39101         INIT_ARGV_and_ENVIRON.
39102         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39103         <bp-start.h>.
39105         [BZ #13550]
39106         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39107         definitions.
39108         (CHECK_FCNTL): Likewise.
39109         (CHECK_N_PAGES): Likewise.
39111         [BZ #13550]
39112         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39113         definitions.
39114         (CHECK_SIGSET_NULL_OK): Likewise.
39115         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39116         <bp-checks.h>.
39117         (sigpending): Don't use CHECK_SIGSET.
39118         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39119         <bp-checks.h>.
39120         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39121         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39122         <bp-checks.h>.
39123         (do_sigsuspend): Don't use CHECK_SIGSET.
39124         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39125         use CHECK_SIGSET.
39126         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39127         (do_sigwait): Don't use CHECK_SIGSET.
39128         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39129         use CHECK_SIGSET.
39130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39131         include <bp-checks.h>.
39132         (sigpending): Don't use CHECK_SIGSET.
39133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39134         include <bp-checks.h>.
39135         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39136         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39137         <bp-checks.h>.
39138         (sigpending): Don't use CHECK_SIGSET.
39139         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39140         <bp-checks.h>.
39141         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39143         [BZ #13550]
39144         * sysdeps/generic/bp-semctl.h: Remove file.
39145         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39146         <bp-checks.h> and <bp-semctl.h>.
39147         (__old_semctl): Don't use CHECK_SEMCTL.
39148         (__new_semctl): Likewise.
39149         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39150         and <bp-semctl.h>.
39151         (__old_semctl): Don't use CHECK_SEMCTL.
39152         (__new_semctl): Likewise.
39153         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39154         <bp-checks.h> and <bp-semctl.h>.
39155         (__old_semctl): Don't use CHECK_SEMCTL.
39156         (__new_semctl): Likewise.
39157         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39158         <bp-checks.h> and <bp-semctl.h>.
39159         (semctl): Don't use CHECK_SEMCTL.
39161         [BZ #13550]
39162         * Makerules (elide-bp-thunks): Remove variable.
39163         (elide-routines.oS): Don't use $(elide-bp-thunks).
39164         (elide-routines.os): Likewise.
39165         (elide-routines.o): Likewise.
39166         (elide-routines.op): Likewise.
39167         (elide-routines.og): Likewise.
39168         (objects): Don't use $(bp-thunks).
39169         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39170         include.
39171         (common-generated): Do not add s-proto-bp.d.
39172         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39173         (int): Likewise.
39174         (typ): Likewise.
39175         Do not generate makefile rules for bounded-pointer thunks.
39176         * sysdeps/generic/bp-thunks.h: Remove file.
39177         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39178         * sysdeps/unix/s-proto-bp.S: Likewise.
39180         [BZ #15062]
39181         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39182         parts of result separately when argument is not close to line from
39183         -i to i and one part of argument is small.
39184         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39185         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39186         * math/libm-test.inc (cacos_test): Add more tests.
39187         (casin_test): Likewise.
39188         (casinh_test): Likewise.
39189         * sysdeps/i386/fpu/libm-test-ulps: Update.
39190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39192 2013-01-31  David S. Miller  <davem@davemloft.net>
39194         * po/de.po: Update from translation team.
39196 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39198         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39200 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39202         * configure.in (_AC_PROG_CC_C89): New definition.
39203         * configure: Regenerate.
39205         * configure.in (AC_PROG_CPP): New definition.
39206         * configure: Regenerate.
39208 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39210         * debug/tst-backtrace.h: New file.
39211         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39212         (ret): Remove variable.
39213         (x): Likewise.
39214         (FAIL): Remove macro.
39215         (NO_INLINE): Likewise.
39216         (fn1): Use match function instead of strstr.
39217         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39218         (ret): Remove variable.
39219         (x): Likewise.
39220         (FAIL): Remove macro.
39221         (NO_INLINE): Likewise.
39222         (fn): Use match function instead of strstr.
39223         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39224         (ret): Remove variable.
39225         (x): Likewise.
39226         (FAIL): Remove macro.
39227         (NO_INLINE): Likewise.
39228         (handle_signal): Use match function instead of strstr.
39229         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39230         (ret): Remove variable.
39231         (x): Likewise.
39232         (FAIL): Remove macro.
39233         (NO_INLINE): Likewise.
39234         (handle_signal): Use match function instead of strstr.
39236 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39238         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39240 2013-01-23  David S. Miller  <davem@davemloft.net>
39242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39243         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39244         argument of CAS if possible.
39245         * sysdeps/sparc/sparc64/bits/atomic.h
39246         (__arch_compare_and_exchange_val_32_acq): Likewise.
39247         (__arch_compare_and_exchange_val_64_acq): Likewise.
39249 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39251         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39252         * sysdeps/posix/ulimit.c: ... this.
39253         Include <limits.h>.
39254         * sysdeps/unix/bsd/ulimit.c: Remove file.
39256 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39258         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39259         (LDFLAGS-tst-array5): Likewise.
39261 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39263         [BZ #15036]
39264         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39265         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39266         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39267         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39269 2013-01-21  David S. Miller  <davem@davemloft.net>
39271         * sysdeps/sparc/backtrace.c: New file.
39272         * sysdeps/sparc/sparc32/backtrace.h: New file.
39273         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39274         * sysdeps/sparc/sparc64/backtrace.h: New file.
39275         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39276         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39277         -funwind-tables.
39279 2013-01-21  Andreas Schwab  <schwab@suse.de>
39281         [BZ #15020]
39282         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39283         closed its stdout.
39285 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39288         "mpa2.h".
39289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39291 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39292             Mark Mitchell  <mark@codesourcery.com>
39293             Tom de Vries  <tom@codesourcery.com>
39294             Paul Pluzhnikov  <ppluzhnikov@google.com>
39296         * debug/tst-backtrace2.c: New file.
39297         * debug/tst-backtrace3.c: Likewise.
39298         * debug/tst-backtrace4.c: Likewise.
39299         * debug/tst-backtrace5.c: Likewise.
39300         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39301         (CFLAGS-tst-backtrace3.c): Likewise.
39302         (CFLAGS-tst-backtrace4.c): Likewise.
39303         (CFLAGS-tst-backtrace5.c): Likewise.
39304         (LDFLAGS-tst-backtrace2): Likewise.
39305         (LDFLAGS-tst-backtrace3): Likewise.
39306         (LDFLAGS-tst-backtrace4): Likewise.
39307         (LDFLAGS-tst-backtrace5): Likewise.
39308         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39309         tst-backtrace4 and tst-backtrace5.
39311 2013-01-18  Anton Blanchard  <anton@samba.org>
39312             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39314         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39315         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39316         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39317         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39319         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39320         "+r" and remove output regs list as redundant.  Add explicit inline
39321         asm to specify register of return val to work around compiler codegen
39322         bug.  Remove (int) cast on return value.  Add return type parameter to
39323         use in macro so that this macro does not truncate return value for
39324         64-bit values.
39325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39326         pass to INTERNAL_VSYSCALL_NCS.
39327         (INLINE_VSYSCALL): Add 'long int' as return type to
39328         INTERNAL_VSYSCALL_NCS macro invocation.
39329         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39330         INTERNAL_VSYSCALL_NCS macro invocation.
39331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39333 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39335         [BZ #14496]
39336         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39337         Fix application of SIMD FP exception mask.
39339         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39340         mp_no from a power of two.
39341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39342         __mpexp_twomm1.  Use __pow_mp.
39344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39345         multiplication.
39347 2013-01-17  David S. Miller  <davem@davemloft.net>
39349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39351 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39353         [BZ #15023]
39354         * include/complex.h: Condition contents on [!_COMPLEX_H].
39355         (__kernel_casinhf): New prototype.
39356         (__kernel_casinh): Likewise.
39357         (__kernel_casinhl): Likewise.
39358         * math/Makefile (libm_calls): Add k_casinh.
39359         * math/k_casinh.c: New file.
39360         * math/k_casinhf.c: Likewise.
39361         * math/k_casinhl.c: Likewise.
39362         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39363         finite nonzero arguments.
39364         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39365         finite nonzero arguments.
39366         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39367         finite nonzero arguments.
39368         * math/s_casinh.c: Do not include <float.h>.
39369         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39370         * math/s_casinhf.c: Do not include <float.h>.
39371         (__casinhf): Move code for finite nonzero arguments to
39372         k_casinhf.c.
39373         * math/s_casinhl.c: Do not include <float.h>.
39374         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39375         redefine.
39376         (__casinhl): Move code for finite nonzero arguments to
39377         k_casinhl.c.
39378         * math/libm-test.inc (cacos_test): Add more tests.
39379         * sysdeps/i386/fpu/libm-test-ulps: Update.
39380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39382 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39384         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39385         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39386         [!HAVE_MREMAP]: Remove [defined linux] case.
39387         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39389 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39391         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39393 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39395         * elf/elf.h (R_386_SIZE32): New relocation.
39396         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39397         R_386_SIZE32.
39398         (elf_machine_rela): Likewise.
39399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39400         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39402 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39404         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39405         (FP_FAST_FMA): Do not define.
39406         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39407         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39408         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39409         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39410         !_SOFT_FLOAT]: Likewise.
39411         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39412         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39413         value.
39414         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39415         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39416         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39417         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39418         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39419         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39420         file.
39422 2013-01-16  Andreas Schwab  <schwab@suse.de>
39424         [BZ #14327]
39425         * include/stdlib.h (__mktemp): Add declaration.
39426         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39427         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39429 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39431         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39432         definitions.
39433         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39434         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39435         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39436         definitions here.
39437         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39438         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39439         definitions.
39440         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39441         and ONE.
39442         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39443         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39444         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39445         definitions.
39446         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39447         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39448         definitions.
39449         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39451         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39453 2013-01-15  David S. Miller  <davem@davemloft.net>
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39456         trunc{,f} to libm-sysdep_routes.
39457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39459         file.
39460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39462         file.
39463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39464         file.
39465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39467         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39468         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39469         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39470         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39471         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39472         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39475         nearbyint{,f} to libm-sysdep_routes.
39476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39478         New file.
39479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39480         file.
39481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39482         New file.
39483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39484         file.
39485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39487         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39488         file.
39489         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39490         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39491         file.
39492         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39493         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39494         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39496         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39497         libc_feholdexcept and libc_fesetenv.
39499 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39501         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39503 2013-01-14  David S. Miller  <davem@davemloft.net>
39505         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39506         (SPARC_ASM_VIS2_IFUNC): Likewise.
39507         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39509         use of 'siam' instruction.
39510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39511         Likewise.
39512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39513         Likewise.
39514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39515         Likewise.
39516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39521         file.
39522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39523         file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39525         file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39527         file.
39528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39533         new VIS2 routines.
39534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39537         Likewise.
39538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39543         routines to libm-sysdep_routines.
39544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39547         fdim/fdimf to libm-sysdep_routines.
39548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39549         file.
39550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39552         file.
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39556         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39557         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39561 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39563         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39564         to optimize copies.
39566         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39571         local variable MPTWO.
39572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39573         Likewise.
39575 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39577         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39578         GLOB_NOESCAPE.
39580 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39582         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39584 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39586         * manual/pattern.texi (glob_t): Document gl_flags.
39587         (glob64_t): Likewise.
39589 2013-01-11  David S. Miller  <davem@davemloft.net>
39591         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39592         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39593         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39594         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39595         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39596         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39597         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39598         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39599         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39600         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39601         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39602         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39603         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39606         sparc V9 rather than using V8 code.
39607         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39608         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39610         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39611         Move to...
39612         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39613         Here.
39615 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39617         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39618         not in the main loop.
39619         * configure: Regenerated.
39621 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39623         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39624         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39625         to just #else.
39626         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39627         [!__GLIBC_HAVE_LONG_LONG] case.
39628         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39629         condition to just #else.
39630         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39631         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39632         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39633         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39634         unconditional.
39635         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39636         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39637         #elif condition to just #else.
39638         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39639         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39640         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39641         #elif condition to just #else.
39643 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39645         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39646         (EF_MIPS_ARCH_64): Fix value.
39647         (EF_MIPS_ARCH_32R2): New.
39648         (EF_MIPS_ARCH_64R2): New.
39650 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39652         * Makeconfig (+link-pie-before-libc): New.
39653         (+link-pie-after-libc): Likewise.
39654         (+link-pie-tests): Likewise.
39655         (+link-pie): Rewritten.
39656         (link-before-libc): Remove $(config-LDFLAGS).
39657         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39658         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39659         (config-LDFLAGS): Renamed to ...
39660         (rtld-LDFLAGS): This.
39661         (rtld-tests-LDFLAGS): New macro.
39662         (link-libc-rpath-link): Likewise.
39663         (link-libc-tests-rpath-link): Likewise.
39664         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39665         (link-libc): Prepand $(link-libc-rpath-link).
39666         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39667         (test-program-prefix): New macro.
39668         (test-via-rtld-prefix): Likewise.
39669         (test-program-cmd): Likewise.
39670         (host-test-program-cmd): Likewise.
39671         * Makefile ($(common-objpfx)testrun.sh): Replace
39672         $(run-program-prefix) with $(test-program-prefix).
39673         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39674         $(rtld-LDFLAGS).
39675         ($(common-objpfx)shlib.lds): Likewise.
39676         (build-module-helper): Likewise.
39677         ($(common-objpfx)format.lds): Likewise.
39678         * Rules (binaries-pie-tests): New.
39679         (binaries-pie-notests): Likewise.
39680         (binaries-pie): Rewritten.
39681         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39682         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39683         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39684         (make-test-out): Replace $(host-built-program-cmd) with
39685         $(host-test-program-cmd).
39686         * config.make.in (build-hardcoded-path-in-tests): New variable.
39687         * configure.in (--enable-hardcoded-path-in-tests): New configure
39688         option.
39689         (hardcoded_path_in_tests): New AC_SUBST.
39690         * configure: Regenerated.
39691         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39692         $(built-program-cmd) with $(test-program-cmd).
39693         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39694         (test_program_cmd): This.
39695         * elf/Makefile ($(objpfx)order.out): Run test with
39696         $(test-program-prefix).
39697         ($(objpfx)order2.out): Likewise.
39698         ($(objpfx)tst-initorder.out): Likewise.
39699         ($(objpfx)tst-initorder2.out): Likewise.
39700         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39701         $(test-program-cmd).
39702         ($(objpfx)tst-array1-static.out): Likewise.
39703         ($(objpfx)tst-array2.out): Likewise.
39704         ($(objpfx)tst-array3.out): Likewise.
39705         ($(objpfx)tst-array4.out): Likewise.
39706         ($(objpfx)tst-array5.out): Likewise.
39707         ($(objpfx)tst-array5-static.out): Likewise.
39708         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39709         $(test-program-cmd).
39710         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39711         $(run-program-prefix) with $(test-program-prefix).
39712         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39713         (test_program_prefix): This.
39714         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39715         $(run-program-prefix) with $(test-program-prefix).
39716         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39717         (test_program_prefix): This.
39718         * iconvdata/tst-tables.sh: Likewise.
39719         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39720         $(run-program-prefix) with $(test-program-prefix).
39721         ($(objpfx)tst-translit.out): Likewise.
39722         ($(objpfx)tst-gettext2.out): Likewise.
39723         ($(objpfx)tst-gettext4.out): Likewise.
39724         ($(objpfx)tst-gettext6.out): Likewise.
39725         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39726         (test_program_prefix): This.
39727         * intl/tst-gettext2.sh: Likewise.
39728         * intl/tst-gettext4.sh  Likewise.
39729         * intl/tst-gettext6.sh: Likewise.
39730         * intl/tst-translit.sh: Likewise.
39731         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39732         with $(test-program-cmd).
39733         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39734         $(run-program-prefix) with $(test-program-prefix).
39735         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39736         (test_program_prefix): This.
39737         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39738         $(run-program-prefix) with $(test-program-prefix).
39739         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39740         (test_program_prefix): This.
39741         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39742         * posix/Makefile ($(objpfx)globtest.out): Replace
39743         $(run-via-rtld-prefix) and $(test-wrapper) with
39744         $(test-program-prefix) and $(test-via-rtld-prefix).
39745         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39746         $(test-program-prefix).
39747         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39748         $(host-test-program-cmd).
39749         (tst-spawn-ARGS): Likewise.
39750         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39751         $(test-program-prefix).
39752         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39753         (test_via_rtld_prefix): This.
39754         (test_wrapper): Renamed to ...
39755         (test_program_prefix): This.
39756         (run_program_prefix): Replaced by test_program_prefix.
39757         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39758         (test_program_prefix): This.
39759         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39760         with $(host-test-program-cmd).
39761         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39762         $(run-program-prefix) with $(test-program-prefix).
39763         ($(objpfx)tst-printf.out): Likewise.
39764         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39765         $(test-program-cmd).
39766         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39767         (test_program_prefix): This.
39768         * stdio-common/tst-unbputc.sh: Likewise.
39769         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39770         $(run-program-prefix) with $(test-program-prefix).
39771         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39772         (test_program_prefix): This.
39773         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39774         $(built-program-cmd) with $(test-program-cmd).
39776 2013-01-11  Andreas Jaeger  <aj@suse.de>
39778         [BZ #15003]
39779         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39780         value. Sync with Linux 3.7.
39782 2013-01-10  David S. Miller  <davem@davemloft.net>
39784         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39785         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39786         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39788 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39790         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39791         never set.
39792         * configure: Regenerated.
39794 2013-01-10  David S. Miller  <davem@davemloft.net>
39796         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39797         sparc V9 rather than using V8 code.
39798         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39799         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39801 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39803         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39804         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39805         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39806         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39807         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39808         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39809         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39810         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39811         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39812         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39813         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39814         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39815         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39816         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39817         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39818         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39819         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39820         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39821         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39822         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39823         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39824         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39825         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39826         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39827         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39828         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39829         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39831 2013-01-10  David S. Miller  <davem@davemloft.net>
39833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39835 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39837         * posix/Makefile (tests-static): New variable.
39838         (tests): Add $(tests-static).
39839         (tst-exec-static-ARGS): New variable.
39840         (tst-spawn-static-ARGS): Likewise.
39841         * posix/tst-exec-static.c: New file.
39842         * posix/tst-spawn-static.c: Likewise.
39843         * posix/tst-exec.c: Support run directly.
39844         * posix/tst-spawn.c: Likewise.
39846 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39848         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39849         long.
39850         * math/bits/mathcalls.h (llrint): Likewise.
39851         (llround): Likewise.
39852         * stdlib/stdlib.h (struct drand48_data): Likewise.
39853         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39854         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39855         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39856         Likewise.
39857         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39858         Likewise.
39859         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39860         (elf_greg_t): Likewise.
39861         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39862         (__jmp_buf): Likewise.
39863         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39864         definitions.
39865         (llrint): Likewise, for all definitions.
39866         (llrintl): Likewise.
39868         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39869         Remove [__GNUC__] condition.
39870         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39871         condition to just [__USE_ISOC99].
39872         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39874 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39876         [BZ #14200]
39877         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39878         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39879         defined.
39880         (_POSIX_V6_ILP32_OFF32): Likewise.
39881         (_XBS5_ILP32_OFF32): Likewise.
39882         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39883         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39885 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39887         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39890         doubles __mpexp_twomm1.  Adjust usage.
39891         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39892         Remove.
39894 2013-01-10  Andreas Schwab  <schwab@suse.de>
39896         [BZ #14964]
39897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39898         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39900 2013-01-09  David S. Miller  <davem@davemloft.net>
39902         [BZ #15003]
39903         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39904         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39905         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39906         (TCP_FASTOPEN): Define.
39907         (tcp_repair_opt): New structure.
39908         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39909         enum values.
39910         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39911         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39912         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39913         (tcp_cookie_transactions): New structure.
39915 2013-01-09  Anton Blanchard  <anton@samba.org>
39917         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39918         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39919         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39920         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39922 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39924         * include/features.h (__USE_ANSI): Remove.
39926 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39928         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39930         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39932 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39934         * sysdeps/s390/fpu/libm-test-ulps: Update.
39936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39938         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39939         (__acr): Likewise.
39940         (__cpy): Likewise.
39941         (norm): Likewise.
39942         (denorm): Likewise.
39943         (__mp_dbl): Likewise.
39944         (__dbl_mp): Likewise.
39945         (add_magnitudes): Likewise.
39946         (sub_magnitudes): Likewise.
39947         (__add): Likewise.
39948         (__sub): Likewise.
39949         (__mul): Likewise.
39950         (__inv): Likewise.
39951         (__dvd): Likewise.
39952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39953         (__acr): Likewise.
39954         (__cpy): Likewise.
39955         (norm): Likewise.
39956         (denorm): Likewise.
39957         (__mp_dbl): Likewise.
39958         (__dbl_mp): Likewise.
39959         (add_magnitudes): Likewise.
39960         (sub_magnitudes): Likewise.
39961         (__add): Likewise.
39962         (__sub): Likewise.
39963         (__mul): Likewise.
39964         (__inv): Likewise.
39965         (__dvd): Likewise.
39966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39967         (__acr): Likewise.
39968         (__cpy): Likewise.
39969         (norm): Likewise.
39970         (denorm): Likewise.
39971         (__mp_dbl): Likewise.
39972         (__dbl_mp): Likewise.
39973         (add_magnitudes): Likewise.
39974         (sub_magnitudes): Likewise.
39975         (__add): Likewise.
39976         (__sub): Likewise.
39977         (__mul): Likewise.
39978         (__inv): Likewise.
39979         (__dvd): Likewise.
39981 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39983         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39984         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39985         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39986         2 && __USE_EXTERN_INLINES]: Likewise.
39988 2013-01-08  Andreas Jaeger  <aj@suse.de>
39990         [BZ# 14985]
39991         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39992         Remove.
39993         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39994         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39996 2013-01-07  Anton Blanchard  <anton@samba.org>
39998         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39999         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40000         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40001         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40002         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40003         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40004         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40005         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40008         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40010         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40011         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40012         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40013         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40014         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40016         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40019         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40021         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40022         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40023         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40024         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40025         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40027         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40028         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40030         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40031         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40032         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40033         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40034         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40040         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40042 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40044         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40045         (__MALLOC_PMT): Likewise.
40046         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40047         [__GNUC__], only on [_LIBC].
40048         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40049         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40050         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40051         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40052         forward declaration.
40053         (realloc_hook_ini): Likewise.
40054         (memalign_hook_ini): Likewise.
40055         (__libc_memalign): Do not use __MALLOC_PMT in variable
40056         declaration.
40057         (__libc_valloc): Likewise.
40058         (__libc_pvalloc): Likewise.
40059         (__libc_calloc): Likewise.
40060         (__posix_memalign): Likewise.
40062         [BZ #14996]
40063         * math/s_casinh.c: Include <float.h>.
40064         (__casinh): Do not do computation with squaring and square root
40065         for large arguments.
40066         * math/s_casinhf.c: Include <float.h>.
40067         (__casinhf): Do not do computation with squaring and square root
40068         for large arguments.
40069         * math/s_casinhl.c: Include <float.h>.
40070         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40071         (__casinhl): Do not do computation with squaring and square root
40072         for large arguments.
40073         * math/libm-test.inc (casin_test): Add more tests.
40074         (casinh_test): Likewise.
40075         * sysdeps/i386/fpu/libm-test-ulps: Update.
40076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40078 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40080         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40081         (__x86_64_raw_data_cache_size): Likewise.
40082         (__x86_64_data_cache_size_half): Likewise.
40083         (__x86_64_raw_data_cache_size_half): Likewise.
40084         (__x86_64_shared_cache_size): Likewise.
40085         (__x86_64_raw_shared_cache_size): Likewise.
40086         (__x86_64_shared_cache_size_half): Likewise.
40087         (__x86_64_raw_shared_cache_size_half): Likewise.
40088         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40089         to ...
40090         (__x86_data_cache_size): This.
40091         (__x86_64_raw_data_cache_size): Renamed to ...
40092         (__x86_raw_data_cache_size): This.
40093         (__x86_64_data_cache_size_half): Renamed to ...
40094         (__x86_data_cache_size_half): This.
40095         (__x86_64_raw_data_cache_size_half): Renamed to ...
40096         (__x86_raw_data_cache_size_half): This.
40097         (__x86_64_shared_cache_size): Renamed to ...
40098         (__x86_shared_cache_size): This.
40099         (__x86_64_raw_shared_cache_size): Renamed to ...
40100         (__x86_raw_shared_cache_size): This.
40101         (__x86_64_shared_cache_size_half): Renamed to ...
40102         (__x86_shared_cache_size_half): This.
40103         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40104         (__x86_raw_shared_cache_size_half): This.
40105         * sysdeps/x86_64/memcpy.S: Updated.
40106         * sysdeps/x86_64/memset.S: Likewise.
40107         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40109         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40111 2013-01-04  David S. Miller  <davem@davemloft.net>
40113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40115 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40118         1 to avoid redefinition warning.
40119         (__USE_GNU): Don't define.
40120         (init_signaling_nan): Protoize.
40122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40124 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40128         (__cpymn): Likewise.
40129         (norm): Remove commented code.
40130         (denorm): Likewise.
40131         (__mp_dbl): Likewise.
40132         (__inv): Likewise.
40133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40134         (__cpymn): Likewise.
40135         (norm): Remove commented code.
40136         (denorm): Likewise.
40137         (__mp_dbl): Likewise.
40138         (__inv): Likewise.
40140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40141         mp_no value for 1.0 and 2.0.
40142         (norm): Use RADIXI instead of radixi.d.
40143         (denorm): Likewise.
40144         (__mul): Use 0.0 instead of zero.d.
40145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40146         mp_no value for 1.0 and 2.0.
40147         (norm): Use RADIXI instead of radixi.d.
40148         (denorm): Likewise.
40149         (__mul): Use 0.0 instead of zero.d.
40151 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40153         [BZ #14994]
40154         * math/s_casinh.c (__casinh): Reduce finite argument to first
40155         quadrant then set signs of results at the end.
40156         * math/s_casinhf.c (__casinhf): Likewise.
40157         * math/s_casinhl.c (__casinhl): Likewise.
40158         * math/libm-test.inc (casin_test): Add more tests.
40159         (casinh_test): Likewise.
40160         * sysdeps/i386/fpu/libm-test-ulps: Update.
40161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40163 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40165         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40167         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40169         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40170         declarations.
40171         (denorm): Likewise.
40172         (__mp_dbl): Likewise.
40173         (__inv): Likewise.
40175         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40176         and adjust the header comment.
40178         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40179         variable name from declaration.
40181 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40184         Initialize COMMON_CPUID_INDEX_7 element.
40185         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40186         (CPUID_RTM): Likewise.
40187         (HAS_RTM): Likewise.
40188         (COMMON_CPUID_INDEX_7): New enum.
40190 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40192         [BZ #14981]
40193         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40194         size is zero, record memory as freed.
40196 2013-01-03  Andreas Jaeger  <aj@suse.de>
40198         * po/ia.po: Add new Interlingua translation.
40200 2012-01-03  Allan McRae  <allan@archlinux.org>
40202         * locale/programs/localedef.c: Fix description of '--posix' flag.
40204 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40206         * NEWS: Update dates in second copyright notice.
40207         * README: Update copyright dates in example.
40208         * manual/libc.texinfo: Update copyright dates.
40209         * scripts/test-installation.pl: Update copyright date in --version
40210         output.
40212         * hurd/ctty-input.c: Fix copyright notice formatting.
40213         * hurd/ctty-output.c: Likewise.
40214         * hurd/dtable.c: Likewise.
40215         * hurd/hurd-raise.c: Likewise.
40216         * hurd/hurdprio.c: Likewise.
40217         * hurd/msgportdemux.c: Likewise.
40218         * misc/sys/file.h: Likewise.
40219         * misc/sys/ioctl.h: Likewise.
40220         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40221         * sysdeps/mach/hurd/chdir.c: Likewise.
40222         * sysdeps/mach/hurd/fchdir.c: Likewise.
40223         * sysdeps/mach/hurd/rename.c: Likewise.
40224         * sysdeps/mach/hurd/rmdir.c: Likewise.
40225         * sysdeps/mach/hurd/seekdir.c: Likewise.
40226         * sysdeps/mach/hurd/setsid.c: Likewise.
40227         * sysdeps/posix/wait3.c: Likewise.
40229         * All files with FSF copyright notices: Update copyright dates
40230         using scripts/update-copyrights.
40231         * intl/plural.c: Regenerated.
40232         * locale/programs/charmap-kw.h: Likewise.
40233         * locale/programs/locfile-kw.h: Likewise.
40235 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40237         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40238         four values.
40240         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40241         calculation loop and add branch prediction.
40243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40244         check access beyond bounds of m1np.
40246         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40247         MPTWO.
40248         (__inv): Remove local variable MPTWO to use the global
40249         constant.
40250         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40251         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40252         variable MPTWO.
40253         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40254         MP3HALFS static const.
40256 2013-01-01  David S. Miller  <davem@davemloft.net>
40258         * po/ca.po: Update from translation team.
40260 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40262         * scripts/update-copyrights: New file.
40263         * Makeconfig: Reformat copyright notice.
40264         * ctype/ctype.h: Likewise.
40265         * debug/swprintf_chk.c: Likewise.
40266         * elf/dl-cache.c: Likewise.
40267         * elf/dl-debug.c: Likewise.
40268         * elf/dl-object.c: Likewise.
40269         * grp/initgroups.c: Likewise.
40270         * hurd/Makefile: Likewise.
40271         * hurd/hurd/signal.h: Likewise.
40272         * hurd/hurdfault.c: Likewise.
40273         * hurd/hurdioctl.c: Likewise.
40274         * hurd/hurdlookup.c: Likewise.
40275         * hurd/intr-msg.c: Likewise.
40276         * iconv/gconv_open.c: Likewise.
40277         * libio/swprintf.c: Likewise.
40278         * locale/lc-ctype.c: Likewise.
40279         * locale/nl_langinfo.c: Likewise.
40280         * mach/Machrules: Likewise.
40281         * mach/Makefile: Likewise.
40282         * malloc/obstack.h: Likewise.
40283         * manual/Makefile: Likewise.
40284         * manual/tsort.awk: Likewise.
40285         * misc/bits/stab.def: Likewise.
40286         * nis/nis_print_group_entry.c: Likewise.
40287         * nis/nis_table.c: Likewise.
40288         * nis/nss_compat/compat-pwd.c: Likewise.
40289         * nis/nss_compat/compat-spwd.c: Likewise.
40290         * po/Makefile: Likewise.
40291         * posix/fnmatch.c: Likewise.
40292         * posix/regex.h: Likewise.
40293         * resolv/Makefile: Likewise.
40294         * resolv/nss_dns/dns-network.c: Likewise.
40295         * resolv/res_hconf.c: Likewise.
40296         * scripts/gen-sorted.awk: Likewise.
40297         * soft-fp/soft-fp.h: Likewise.
40298         * stdio-common/printf.h: Likewise.
40299         * stdlib/monetary.h: Likewise.
40300         * stdlib/random.c: Likewise.
40301         * stdlib/random_r.c: Likewise.
40302         * sysdeps/generic/Makefile: Likewise.
40303         * sysdeps/gnu/Makefile: Likewise.
40304         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40306         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40308         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40309         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40312         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40314         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40315         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40316         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40317         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40318         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40319         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40320         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40322         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40323         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40324         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40325         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40326         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40332         * sysdeps/mach/hurd/errnos.awk: Likewise.
40333         * sysdeps/mach/hurd/fork.c: Likewise.
40334         * sysdeps/mach/hurd/getcwd.c: Likewise.
40335         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40336         * sysdeps/mach/hurd/mmap.c: Likewise.
40337         * sysdeps/mach/hurd/utimes.c: Likewise.
40338         * sysdeps/mach/hurd/xmknod.c: Likewise.
40339         * sysdeps/posix/profil.c: Likewise.
40340         * sysdeps/posix/readdir_r.c: Likewise.
40341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40342         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40343         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40344         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40346         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40347         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40348         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40350         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40351         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40352         * sysdeps/pthread/lio_listio.c: Likewise.
40353         * sysdeps/sparc/dl-procinfo.h: Likewise.
40354         * sysdeps/unix/i386/sysdep.S: Likewise.
40355         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40356         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40357         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40358         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40360         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40361         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40362         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40363         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40364         * sysdeps/wordsize-32/divdi3.c: Likewise.
40365         * time/sys/time.h: Likewise.
40366         * wcsmbs/Makefile: Likewise.
40368 2013-01-01  David S. Miller  <davem@davemloft.net>
40370         * po/fr.po: Update from translation team.
40372         * catgets/gencat.c: Update copyright year.
40373         * csu/version.c: Likewise.
40374         * debug/catchsegv.sh: Likewise.
40375         * debug/pcprofiledump.c: Likewise.
40376         * debug/xtrace.sh: Likewise.
40377         * elf/ldconfig.c: Likewise.
40378         * elf/ldd.bash.in: Likewise.
40379         * elf/pldd.c: Likewise.
40380         * elf/sotruss.ksh: Likewise.
40381         * elf/sprof.c: Likewise.
40382         * iconv/iconv_prog.c: Likewise.
40383         * iconv/iconvconfig.c: Likewise.
40384         * locale/programs/locale.c: Likewise.
40385         * locale/programs/localedef.c: Likewise.
40386         * login/programs/pt_chown.c: Likewise.
40387         * malloc/memusage.sh: Likewise.
40388         * malloc/memusagestat.c: Likewise.
40389         * malloc/mtrace.pl: Likewise.
40390         * nscd/nscd.c: Likewise.
40391         * nss/getent.c: Likewise.
40392         * nss/makedb.c: Likewise.
40393         * posix/getconf.c: Likewise.
40395 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40397         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40398         numbers.
40400 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40402         * math/bits/mathcalls.h (modf): Use __nonnull.
40404 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40406         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40407         (split): Use macro CN instead of the bare value.
40408         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40409         could be used.
40410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40411         instead of the bare value.
40412         (power1): Likewise.
40414 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40417         __ATAN_TWOM.
40418         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40420         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40421         their values.
40422         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40423         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40424         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40425         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40427 2012-12-28  Andreas Jaeger  <aj@suse.de>
40429         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40430         values are from Linux 3.7.
40432         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40433         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40435 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40437         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40438         TRUE case.
40440         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40441         (norm): Likewise.
40442         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40443         variables with preprocessor constants.
40444         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40445         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40446         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40448 2012-12-27  Bruno Haible  <bruno@clisp.org>
40450         [BZ #14317]
40451         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40452         only if needed.
40454 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40457         and use variable directly.
40458         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40460         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40461         MPONE.
40462         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40463         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40464         variable MPONE.
40465         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40467         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40468         include directive.  Remove local variable MPONE.
40469         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40470         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40473 2012-12-25  David S. Miller  <davem@davemloft.net>
40475         * version.h (RELEASE): Set to "development".
40476         (VERSION): Set to "2.17.90".
40477         * NEWS: Add 2.18 section.
40479 2012-12-21  David S. Miller  <davem@davemloft.net>
40481         * po/hr.po: Update from translation team.
40483 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40485         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40487 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40489         * NEWS:  Mention new memcpy for MIPS.
40491 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40493         * manual/contrib.texi (Contributors): Spelling correction.
40495 2012-12-15  David S. Miller  <davem@davemloft.net>
40497         * po/ru.po: Update from translation team.
40499 2012-12-13  David S. Miller  <davem@davemloft.net>
40501         * NEWS: Mention IFUNC testsuite enhancements.
40503         * po/pl.po: Update from translation team.
40504         * po/bg.po: Likewise.
40506         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40507         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40509 2012-12-11  David S. Miller  <davem@davemloft.net>
40511         * po/sv.po: Update from translation team.
40513         * po/vi.po: Update from translation team.
40515         * po/cs.po: Update from translation team.
40517         * po/de.po: Update from translation team.
40518         * po/eo.po: Likewise.
40519         * po/nl.po: Likewise.
40521 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40523         [BZ #14246]
40524         * manual/argp.texi (Argp Helper Functions): Move node to follow
40525         Argp Parsing State.
40527         [BZ #14872]
40528         * manual/conf.texi (Limits on File System Capacity): Mention if
40529         terminating null is included in the max size.
40531 2012-12-10  Andreas Jaeger  <aj@suse.de>
40533         * po/cs.po: Update from translation team.
40535 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40537         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40538         void pointer and cast to uintptr_t.
40539         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40540         path.
40541         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40542         * sysdeps/s390/s390-64/memset.S: Likewise.
40544 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40546         [BZ #14833]
40547         * menual/message.texi (Message Translation): Fix typos.
40548         (Helper programs for gettext): Likewise.
40550 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40552         [BZ #14898]
40553         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40554         Change to -1.
40556 2012-12-07  David S. Miller  <davem@davemloft.net>
40558         * po/libc.pot: Update.
40560 2012-12-07  Richard Henderson  <rth@redhat.com>
40562         [BZ #10114]
40563         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40564         normal/normal case to before the switch.
40565         (_FP_DIV): Likewise.
40567 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40568             Mike Frysinger  <vapier@gentoo.org>
40570         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40571         check for __NR_fadvise64_64.
40573 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40575         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40576         0, not just to plain "0" as a statement.
40577         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40578         with cw.
40580 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40582         * NEWS: Use sourceware.org in Bugzilla URL.
40584 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40587         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40589         * stdio-common/tst-put-error.c (do_test): Add newline to the
40590         padded test to ensure flush.
40592 2012-12-05  Jeff Law  <law@redhat.com>
40594         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40596 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40598         * README: Don't refer to ports add-on as distributed separately.
40599         Mention AArch64 in list of systems supported in the ports add-on.
40601         * LICENSES: Add more non-FSF copyright and license notices.
40603         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40604         ((unused)).
40606         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40608         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40609         10000 as width of padded output.
40611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40613         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40616         variable LX with __attribute__ ((unused)).
40617         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40618         Likewise.
40619         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40622         with __attribute__ ((unused)).
40624 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40626         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40628 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40630         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40631         (CFLAGS-nldbl-acos.c): New variable.
40632         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40633         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40634         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40635         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40636         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40637         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40638         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40639         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40640         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40641         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40642         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40643         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40644         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40645         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40646         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40647         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40648         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40649         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40650         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40651         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40652         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40653         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40654         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40655         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40656         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40657         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40658         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40659         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40660         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40661         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40662         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40663         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40664         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40665         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40666         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40667         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40668         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40669         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40670         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40671         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40672         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40673         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40674         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40675         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40676         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40677         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40678         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40679         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40680         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40681         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40682         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40683         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40684         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40685         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40686         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40687         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40688         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40689         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40690         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40691         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40692         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40693         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40694         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40695         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40696         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40697         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40698         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40699         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40700         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40701         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40702         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40703         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40704         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40705         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40706         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40707         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40708         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40709         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40710         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40711         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40712         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40713         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40714         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40715         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40716         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40717         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40718         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40719         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40720         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40731         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40733         [BZ #14914]
40734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40735         whole low double instead of just low 47 bits when splitting values
40736         into two parts.
40738 2012-12-03  Allan McRae  <allan@archlinux.org>
40740         * manual/stdio.texi (Predefined Printf Handlers): Remove
40741         @hsep and @vsep usage.
40743 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40745         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40746         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40748 2012-12-03  Jeff Law  <law@redhat.com>
40750         * time/sys/time.h (settimeofday): Do not mark TV argument
40751         as __nonnull.
40753 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40755         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40756         when currently writing and seek to current position when not.
40757         * libio/Makefile (tests): Remove bug-fclose1.
40758         * libio/bug-fclose1.c: Delete.
40760 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40762         * manual/arith.texi (feenableexcept): Fix typo.
40763         (fedisableexcept): Likewise.
40765 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40767         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40768         second, differently-typed declaration, rather than a cast.
40770 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40772         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40773         * include/rpc/svc.h: ... here.
40775 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40777         [BZ #13013]
40778         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40779         depending n and resplen2 to catch cases where answer
40780         equals answerp2.
40782 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40784         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40785         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40787 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40789         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40791 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40793         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40795 2012-11-28  Jeff Law  <law@redhat.com>
40797         [BZ #13761]
40798         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40799         dataset_temporary.  Track alloca usage into alloca_used.
40800         If dataset is large allocate and release it via malloc/free.
40802 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40804         [BZ #14197]
40805         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40807 2012-11-28  David S. Miller  <davem@davemloft.net>
40809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40811 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40813         [BZ #14803]
40814         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40815         of pi/2 rounded to nearest to 64 bits.
40816         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40817         nearest to 64 bits.
40818         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40819         bits.
40821 2012-11-28  Jeff Law <law@redhat.com>
40822             Martin Osvald <mosvald@redhat.com>
40824         [BZ #14889]
40825         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40826         * sunrpc/svc.c: Include time.h.
40827         (__svc_accept_failed): New function.
40828         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40829         any reason other than EINTR, call __svc_accept_failed.
40830         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40831         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40833 2012-11-28  Andreas Schwab  <schwab@suse.de>
40835         * scripts/abilist.awk: Also handle indirect functions in .opd
40836         section.
40838 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40840         [BZ #13881]
40841         * sysdeps/x86/fpu/powl_helper.c: New file.
40842         * sysdeps/x86/fpu/Makefile: Likewise.
40843         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40844         (p3): New object.
40845         (__ieee754_powl): Use __powl_helper for finite arguments except
40846         integer exponents below 8.
40847         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40848         (p3): New object.
40849         (__ieee754_powl): Use __powl_helper for finite arguments except
40850         integer exponents below 8.
40851         * math/libm-test.inc (pow_test): Add more tests and enable some
40852         previously disabled tests.
40853         * sysdeps/i386/fpu/libm-test-ulps: Update.
40854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40856 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40857             Carlos O'Donell  <carlos_odonell@mentor.com>
40859         * nss/makedb.c (is_prime): Assert that input is odd and greater
40860         than 4.  Note that fact in a comment too.
40861         (next_prime): Add 4 to input.
40863 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40865         [BZ #11741]
40866         * libio/Makefile (tests): Add test case tst-fwrite-error.
40867         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40868         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40869         * libio/tst-fwrite-error.c: New test case.
40871 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40873         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40874         before casting to void *.
40875         * include/libc-internal.h (__pointer_type): New macro.
40876         (__integer_if_pointer_type_sub): Likewise.
40877         (__integer_if_pointer_type): Likewise.
40878         (cast_to_integer): Likewise.
40879         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40880         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40881         before casting to atomic64_t.
40882         (atomic_exchange_acq): Likewise.
40883         (__arch_exchange_and_add_body): Likewise.
40884         (__arch_add_body): Likewise.
40885         (atomic_add_negative): Likewise.
40886         (atomic_add_zero): Likewise.
40888 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40890         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40891         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40892         (add_fdes): Likewise.
40893         (linear_search_fdes): Likewise.
40894         (binary_search_unencoded_fdes): Likewise.
40896 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40898         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40900 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40902         * configure.in: Autodetect C++ header directories.
40903         * configure: Regenerated.
40905 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40907         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40909 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40913 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40915         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40916         LDBL_MANT_DIG == 106]: Disable some tests.
40917         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40918         Likewise.
40919         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40920         Likewise.
40922         [BZ #14871]
40923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40924         input for small inputs.  Return +/- pi/2 for large inputs.
40925         * math/libm-test.inc (atan_test): Add more tests.
40927         * sysdeps/generic/unwind-dw2-fde-glibc.c
40928         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40929         __attribute__ ((unused)).
40931         [BZ #14645]
40932         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40933         x * y if x and y are nonzero and z is zero.
40935         [BZ #14811]
40936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40937         nonzero exponents with absolute value below 0x1p-117 to +/-
40938         0x1p-117.
40940         [BZ #14869]
40941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40942         up arguments below 2**-450, not just those below 2**-500.
40943         * math/libm-test.inc (hypot_test): Add another test.
40945         [BZ #14868]
40946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40947         Return a+b for ratio over 2**120, not 2**60.
40948         * math/libm-test.inc (hypot_test): Add another test.
40950         * math/libm-test.inc (clog_test): Use
40951         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40952         (clog10_test): Likewise.
40954         [BZ #6778]
40955         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40957 2012-11-22  Andreas Schwab  <schwab@suse.de>
40959         * sysdeps/i386/fpu/libm-test-ulps: Update.
40961 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40963         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40964         printf output with newline.
40966 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40968         [BZ #14865]
40969         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40970         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40971         -z nodlopen, -z initfirst and -z execstack support.
40972         * configure: Regenerated.
40974         * elf/elf.h (DF_1_NODIRECT): New macro.
40975         (DF_1_IGNMULDEF): Likewise.
40976         (DF_1_NOKSYMS): Likewise.
40977         (DF_1_NOHDR): Likewise.
40978         (DF_1_EDITED): Likewise.
40979         (DF_1_NORELOC): Likewise.
40980         (DF_1_SYMINTPOSE): Likewise.
40981         (DF_1_GLOBAUDIT): Likewise.
40982         (DF_1_SINGLETON): Likewise.
40983         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40984         DT_1_SUPPORTED_MASK bits.
40985         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40987 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40989         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40991 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40993         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40994         macro.
40996         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40997         (sendmmsg): Move declarations...
40998         * socket/sys/socket.h: ... here.
40999         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41000         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41001         include it from...
41002         * socket/recvmmsg.c: ... this new file.
41003         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41004         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41005         definition of __sendmmsg hidden.
41006         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41007         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41008         Move ENOSYS stub into and include it from...
41009         * socket/sendmmsg.c: ... this new file.
41010         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41011         (sysdep_routines): Move recvmmsg and sendmmsg...
41012         * socket/Makefile (routines): ... here.
41013         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41014         (GLIBC_PRIVATE): Add __sendmmsg.
41015         * include/sys/socket.h (__sendmmsg): Add declarations.
41016         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41017         sendmmsg.
41019 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41022         variable I1 with __attribute__ ((unused)).
41023         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41025 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41027         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41028         DUMMY variables with __attribute__ ((unused)).
41030         * bits/byteswap.h: Include <bits/types.h>.
41031         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41033 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41035         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41036         string_t.  Do not manually set errno.
41037         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41038         length with __strnlen.  Make sure to both set errno and return it on
41039         failure.
41041 2012-11-19  David S. Miller  <davem@davemloft.net>
41043         With help from Joseph Myers.
41044         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41045         very large arguments properly.
41046         * math/libm-test.inc (atan_test): New tests.
41047         (atan2_test): New tests.
41048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41051 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41053         [BZ #14856]
41054         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41055         Define to 3.
41057         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41058         [POSIX] (EADDRNOTAVAIL): Likewise.
41059         [POSIX] (EAFNOSUPPORT): Likewise.
41060         [POSIX] (EALREADY): Likewise.
41061         [POSIX] (ECONNABORTED): Likewise.
41062         [POSIX] (ECONNREFUSED): Likewise.
41063         [POSIX] (ECONNRESET): Likewise.
41064         [POSIX] (EDESTADDRREQ): Likewise.
41065         [POSIX] (EDQUOT): Likewise.
41066         [POSIX] (EHOSTUNREACH): Likewise.
41067         [POSIX] (EIDRM): Likewise.
41068         [POSIX] (EISCONN): Likewise.
41069         [POSIX] (ELOOP): Likewise.
41070         [POSIX] (EMULTIHOP): Likewise.
41071         [POSIX] (ENETDOWN): Likewise.
41072         [POSIX] (ENETUNREACH): Likewise.
41073         [POSIX] (ENOBUFS): Likewise.
41074         [POSIX] (ENODATA): Likewise.
41075         [POSIX] (ENOLINK): Likewise.
41076         [POSIX] (ENOMSG): Likewise.
41077         [POSIX] (ENOPROTOOPT): Likewise.
41078         [POSIX] (ENOSR): Likewise.
41079         [POSIX] (ENOSTR): Likewise.
41080         [POSIX] (ENOTCONN): Likewise.
41081         [POSIX] (ENOTSOCK): Likewise.
41082         [POSIX] (EOPNOTSUPP): Likewise.
41083         [POSIX] (EOVERFLOW): Likewise.
41084         [POSIX] (EPROTO): Likewise.
41085         [POSIX] (EPROTONOSUPPORT): Likewise.
41086         [POSIX] (EPROTOTYPE): Likewise.
41087         [POSIX] (ESTALE): Likewise.
41088         [POSIX] (ETIME): Likewise.
41089         [POSIX] (ETXTBSY): Likewise.
41090         [POSIX] (EWOULDBLOCK): Likewise.
41091         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41092         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41093         [POSIX] (SEEK_CUR): Likewise.
41094         [POSIX] (SEEK_END): Likewise.
41095         [POSIX || UNIX98] (mode_t): Do not require.
41096         [POSIX] (off_t): Likewise.
41097         [POSIX] (pid_t): Likewise.
41098         [POSIX] (sys/stat.h): Do not allow header.
41099         [POSIX] (unistd.h): Likewise.
41100         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41101         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41102         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41103         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41104         require.
41105         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41106         sigevent): Specify elements.
41107         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41108         entry.
41109         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41110         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41112         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41113         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41114         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41115         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41116         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41117         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41118         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41119         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41120         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41121         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41122         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41123         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41124         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41125         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41126         Likewise.
41127         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41128         Likewise.
41129         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41130         Likewise.
41131         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41132         Likewise.
41133         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41134         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41135         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41136         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41137         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41138         Specify lower bound on value.
41139         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41140         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41141         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41142         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41143         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41144         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41145         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41146         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41147         value.
41148         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41149         as optional.
41150         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41151         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41152         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41153         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41154         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41155         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41156         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41157         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41158         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41159         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41160         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41161         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41162         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41163         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41164         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41165         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41166         entry.
41167         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41168         optional.
41169         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41170         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41171         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41172         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41173         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41174         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41175         Likewise.
41176         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41177         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41178         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41179         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41180         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41181         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41182         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41183         as optional.
41184         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41185         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41186         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41188         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41189         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41190         specify as optional.
41191         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41192         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41193         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41194         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41195         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41196         [XPG3] (NL_LANGMAX): Likewise.
41197         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41198         [POSIX || XPG3] (NL_NMAX): Likewise.
41199         [POSIX || XPG3] (NL_SETMAX): Likewise.
41200         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41201         [XPG3] (NZERO): Likewise.
41202         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41203         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41204         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41205         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41206         (REG_ERANGE): Expect.
41207         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41208         optional-constant.
41209         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41210         Use (void) in prototype.
41211         [POSIX] (*_t): Allow.
41212         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41213         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41214         (WRDE_BADVAL): Expect.
41216         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41217         expect.
41218         [XPG3 || XPG4] (O_RSYNC): Likewise.
41219         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41220         Likewise.
41221         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41222         [XPG3 || XPG4] (sigqueue): Likewise.
41223         [XPG3 || XPG4] (sigtimedwait): Likewise.
41224         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41225         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41226         [XPG3 || XPG4] (vsnprintf): Likewise.
41227         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41228         Likewise.
41229         [XPG3 || XPG4] (blksize_t): Likewise.
41230         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41231         Likewise.
41232         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41233         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41234         [XPG3 || XPG4] (struct itimerspec): Likewise.
41235         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41236         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41237         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41238         [XPG3 || XPG4] (clockid_t): Likewise.
41239         [XPG3 || XPG4] (timer_t): Likewise.
41240         [XPG3 || XPG4] (clock_getres): Likewise.
41241         [XPG3 || XPG4] (clock_gettime): Likewise.
41242         [XPG3 || XPG4] (clock_settime): Likewise.
41243         [XPG3 || XPG4] (nanosleep): Likewise.
41244         [XPG3 || XPG4] (timer_create): Likewise.
41245         [XPG3 || XPG4] (timer_delete): Likewise.
41246         [XPG3 || XPG4] (timer_gettime): Likewise.
41247         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41248         [XPG3 || XPG4] (timer_settime): Likewise.
41249         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41250         [XPG3 || XPG4] (getlogin_r): Likewise.
41251         [XPG3 || XPG4] (pread): Likewise.
41252         [XPG3 || XPG4] (pthread_atfork): Likewise.
41253         [XPG3 || XPG4] (pwrite): Likewise.
41255         [BZ #14835]
41256         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41257         <bits/siginfo.h>.
41259 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41261         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41262         finalizing MALLSTREAM.
41264         * sysdeps/mach/hurd/syncfs.c: New file.
41266 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41268         [BZ #14719]
41269         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41270         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41271         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41272         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41273         (_nss_dns_gethostbyname4_r): Likewise.
41274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41275         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41277 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41279         [BZ #13763]
41280         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41282 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41284         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41285         * elf/cache.c (print_entry): Print ",AArch64" for
41286         FLAG_AARCH64_LIB64
41288         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41289         * elf/cache.c (print_entry): Print ",hard-float" for
41290         FLAG_ARM_LIBHF.
41292 2012-11-18  David S. Miller  <davem@davemloft.net>
41294         With help from Joseph Myers.
41295         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41296         cutoff to 2**-13.
41297         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41298         cutoff to 2**-25.
41299         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41300         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41301         small.
41302         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41303         * math/libm-test.inc (y0_test): New tests.
41304         (y1_test): New tests.
41305         * sysdeps/i386/fpu/libm-test-ulps: Update.
41306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41309 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41311         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41312         64-bit targets.
41313         * configure: Regenerated.
41315 2012-11-17  David S. Miller  <davem@davemloft.net>
41317         [BZ #14811]
41318         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41319         nonzero exponents with absolute value below 0x1p-128 to +/-
41320         0x1p-128.
41322 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41324         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41326         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41328         * posix/getconf-speclist.c: New file.
41329         * posix/posix-envs.def: Likewise.
41330         * posix/confstr.c (START_ENV_GROUP): New macro.
41331         (END_ENV_GROUP): Likewise.
41332         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41333         (KNOWN_PRESENT_ENV_STRING): Likewise.
41334         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41335         (UNKNOWN_ENVIRONMENT): Likewise.
41336         (confstr): Include posix-envs.def instead of handling
41337         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41338         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41339         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41340         (END_ENV_GROUP): Likewise.
41341         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41342         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41343         (UNKNOWN_ENVIRONMENT): Likewise.
41344         (__sysconf): Include posix-envs.def instead of handling associated
41345         cases directly here.
41346         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41347         preprocessing getconf-speclist.c rather than running getconf or
41348         generating empty file.
41350 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41352         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41354 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41356         [BZ #14672]
41357         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41359 2012-11-16  David S. Miller  <davem@davemloft.net>
41361         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41362         smaller than LDBL_EPSILON/2.0L, just return xm1.
41364 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41366         * elf/tst-array1.c (init): Set constructor priority to 1000.
41367         (fini): Set destructor priority to 1000.
41368         * elf/tst-array2dep.c: Likewise.
41370 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41372         [BZ #11741]
41373         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41374         (_IO_new_file_xsputn): Also return EOF if none of the input
41375         data was written when overflow failed.
41376         * libio/iopadn.c (_IO_padn): Likewise.
41377         * libio/iowpadn.c (_IO_wpadn): Likewise.
41378         * stdio-common/tst-put-error.c: Add copyright notice.
41379         (do_test): Add case for printing padded string.
41380         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41381         _IO_padn returned error.
41382         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41383         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41384         return EOF.
41386 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41388         * libio/libioP.h: Add comment note that the references to C++
41389         bits are now obsolete.
41391 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41393         * math/libm-test.inc (check_complex): Use asprintf.
41395 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41397         * debug/pcprofiledump.c (print_version): Update copyright year.
41398         * malloc/memusagestat.c (print_version): Likewise.
41400 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41402         [BZ #14831]
41403         * elf/Makefile (tests): Add tst-audit8.
41404         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41405         ($(objpfx)tst-audit8.out): New target.
41406         (tst-audit8-ENV): New variable.
41407         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41408         audit if l_reloc_result is NULL.
41409         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41410         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41411         * elf/tst-audit8.c: New file.
41413 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41415         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41416         * misc/Makefile (CFLAGS-select.c): Define.
41417         * posix/Makefile (CFLAGS-pause.c): Define.
41419 2012-11-13  David S. Miller  <davem@davemloft.net>
41421         * crypt/Makefile: Move test targets after toplevel Rules
41422         inclusion.  Grab any necessary sysdep routines when linking.
41423         * crypt/md5.c (md5_process_block): Remove define, we will always
41424         name it __md5_process_block.
41425         (md5_finish_ctx): Update md5_process_block call.
41426         (md5_stream): Likewise.
41427         (md5_process_bytes): Likewise.
41428         (md5_process_block): Rename to __md5_process_block and move to ...
41429         * crypt/md5-block.c: ... here.
41430         * crypt/sha256.c (sha256_process_block): Move to ...
41431         * crypt/sha256-block.c: ... here.
41432         * crypt/sha512.c (sha512_process_block): Move to ...
41433         * crypt/sha512-block.c: ... here.
41434         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41435         path.
41436         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41437         * sysdeps/sparc/sparc64/multiarch/Makefile
41438         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41439         crypt subdir.
41440         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41441         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41442         multiarch changes.
41443         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41444         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41445         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41446         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41447         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41448         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41449         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41450         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41451         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41452         file.
41453         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41454         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41455         file.
41456         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41458 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41460         * timezone/tzselect.ksh: Update from tzcode git revision
41461         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41462         * timezone/zdump.c: Likewise.
41463         * timezone/zic.c: Likewise.
41464         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41465         in TZVERSION setting, not $(PKGVERSION).
41466         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41467         REPORT_BUGS_TO settings.
41469         [BZ #14838]
41470         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41471         macro.
41473 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41475         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41476         detection to immediately after _FP_ROUND().
41477         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41478         bits are 0.
41480 2012-11-11  David S. Miller  <davem@davemloft.net>
41482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41483         inttypes.h
41484         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41485         __close rather than their public counterparts.
41487 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41489         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41490         file.
41491         [UNIX98] (sem_timedwait): Do not expect.
41492         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41493         [XPG4 || UNIX98] (sockatmark): Do not expect.
41494         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41495         (clock_getcpuclockid): Do not expect.
41496         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41497         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41498         Do not expect.
41499         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41500         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41501         [UNIX98] (vwscanf): Likewise.
41502         [UNIX98] (vswscanf): Likewise.
41504 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41506         * timezone/version.h: Remove file.
41507         * timezone/README: Do not refer to version.h.
41508         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41509         $(objpfx)version.h.
41510         ($(objpfx)zdump.o): Likewise.
41511         ($(objpfx)version.h): New target.
41513         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41514         2012i.
41515         * timezone/README: Don't mention modification to tzselect.ksh.
41516         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41517         work on unmodified tzselect.ksh.  Substitute version numbers in
41518         tzselect.ksh.
41520         * Makefile (format-me): Remove.
41521         (INSTALL): Adjust indentation.  Use commands directly instead of
41522         using $(format-me).
41524         * aclocal.m4 (ACX_PKGVERSION): New macro.
41525         (ACX_BUGURL): Likewise.
41526         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41527         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41528         (REPORT_BUGS_TO): Likewise.
41529         * configure: Regenerated.
41530         * config.h.in (PKGVERSION): New macro.
41531         (REPORT_BUGS_TO): Likewise.
41532         * config.make.in (PKGVERSION): New variable.
41533         (PKGVERSION_TEXI): Likewise.
41534         (REPORT_BUGS_TO): Likewise.
41535         (REPORT_BUGS_TEXI): Likewise.
41536         * Makefile (format-me): Use -I$(common-objpfx)manual.
41537         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41538         ($(common-objpfx)manual/%): New target.
41539         (manual/%): Remove target.
41540         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41541         (print_version): Use PKGVERSION.
41542         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41543         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41544         and REPORT_BUGS_TO.
41545         ($(objpfx)xtrace): Likewise.
41546         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41547         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41548         (print_version): Use PKGVERSION.
41549         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41550         (do_version): Use PKGVERSION.
41551         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41552         REPORT_BUGS_TO.
41553         (common-ldd-rewrite): Likewise.
41554         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41555         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41556         (print_version): Use PKGVERSION.
41557         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41558         * elf/pldd.c (argp_program_bug_address): Remove variable.
41559         (more_help): New function.
41560         (argp): Use more_help.
41561         (print_version): Use PKGVERSION.
41562         * elf/sln.c (main): Use PKGVERSION.
41563         (usage): Use REPORT_BUGS_TO.
41564         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41565         (top level): Use PKGVERSION.
41566         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41567         (print_version): Use PKGVERSION.
41568         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41569         (print_version): Use PKGVERSION.
41570         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41571         (print_version): Use PKGVERSION.
41572         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41573         (print_version): Use PKGVERSION.
41574         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41575         (print_version): Use PKGVERSION.
41576         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41577         (print_version): Use PKGVERSION.
41578         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41579         and BUGURL.
41580         ($(objpfx)memusage): Likewise.
41581         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41582         (do_version): Use PKGVERSION.
41583         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41584         (print_version): Use PKGVERSION.
41585         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41586         ($PKGVERSION): New variable.
41587         ($REPORT_BUGS_TO): Likewise.
41588         (usage): Use $REPORT_BUGS_TO.
41589         (top level): Use $PKGVERSION.
41590         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41591         ($(objpfx)pkgvers.texi): New rule.
41592         ($(objpfx)stamp-pkgvers): Likewise.
41593         * manual/install.texi: Include pkgvers.texi.
41594         (--with-pkgversion): Document new configure option.
41595         (--with-bugurl): Likewise.
41596         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41597         than necessarily for this particular distribution.  Use
41598         REPORT_BUGS_TO for where to report bugs.
41599         * INSTALL: Regenerated.
41600         * manual/libc.texinfo: Include pkgvers.texi.
41601         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41602         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41603         (print_version): Use PKGVERSION.
41604         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41605         (print_version): Use PKGVERSION.
41606         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41607         (print_version): Use PKGVERSION.
41608         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41609         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41610         macro.
41611         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41612         (print_version): Use PKGVERSION.
41613         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41614         (print_version): Use PKGVERSION.
41615         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41616         and PKGVERSION.
41618         * timezone/checktab.awk: Update from tzcode 2012i.
41619         * timezone/ialloc.c: Likewise.
41620         * timezone/private.h: Likewise.
41621         * timezone/scheck.c: Likewise.
41622         * timezone/tzfile.h: Likewise.
41623         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41624         (TZVERSION): Hardcode tzcode version number.
41625         * timezone/zdump.c: Update from tzcode 2012i.
41626         * timezone/zic.c: Likewise.
41627         * timezone/version.h: New file.
41628         * timezone/README: Describe version.h.  Update upstream location.
41630         [BZ #14824]
41631         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41632         (mktemp): Enable declaration.
41633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41635         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41637         Likewise.
41638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41639         Likewise.
41640         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41641         Likewise.
41642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41643         Likewise.
41644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41645         Likewise.
41646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41647         Likewise.
41649         [BZ #14821]
41650         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41651         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41652         for copies of such integer values.
41653         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41654         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41656 2012-11-09  Andreas Jaeger  <aj@suse.de>
41658         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41659         definitions and declarations that are provided by
41660         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41662 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41664         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41665         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41666         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41667         definition.
41669 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41671         * elf/elf.h: Update comment before AArch64 relocations.
41673 2012-11-07  David S. Miller  <davem@davemloft.net>
41675         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41676         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41677         (__start_context): Declare.
41678         (__makecontext_ret): Delete.
41679         (__makecontext): Hook up __start_context instead of
41680         __makecontext_ret.
41681         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41682         (sysdep_routines): Add __start_context when in stdlib.
41684 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41686         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41687         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41688         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41689         hardcoded "nm".
41690         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41691         (READELF): New variable.  Use it instead of hardcoded "readelf".
41693 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41695         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41696         * sysdeps/x86/Makefile: Here.
41697         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41698         * sysdeps/x86/tst-xmmymm.sh: This.
41700 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41702         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41703         expectations.
41704         [UNIX98] (pthread_barrier_t): Do not expect.
41705         [UNIX98] (pthread_barrierattr_t): Likewise.
41706         [UNIX98] (pthread_spinlock_t): Likewise.
41707         [UNIX98] (pthread_barrier_destroy): Likewise.
41708         [UNIX98] (pthread_barrier_init): Likewise.
41709         [UNIX98] (pthread_barrier_wait): Likewise.
41710         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41711         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41712         [UNIX98] (pthread_barrierattr_init): Likewise.
41713         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41714         [UNIX98] (pthread_getcpuclockid): Likewise.
41715         [UNIX98] (pthread_mutex_timedlock): Likewise.
41716         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41717         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41718         [UNIX98] (pthread_sigmask): Likewise.
41719         [UNIX98] (pthread_spin_destroy): Likewise.
41720         [UNIX98] (pthread_spin_init): Likewise.
41721         [UNIX98] (pthread_spin_lock): Likewise.
41722         [UNIX98] (pthread_spin_trylock): Likewise.
41723         [UNIX98] (pthread_spin_unlock): Likewise.
41724         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41725         Do not expect.
41726         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41727         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41728         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41729         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41730         [XPG3 || XPG4] (pthread_key_t): Likewise.
41731         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41732         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41733         [XPG3 || XPG4] (pthread_once_t): Likewise.
41734         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41735         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41736         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41737         [XPG3 || XPG4] (pthread_t): Likewise.
41739         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41740         not expect.
41741         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41743         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41744         Change function return type to int.
41746         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41747         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41748         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41749         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41750         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41751         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41752         [!POSIX] (posix_madvise): Likewise.
41753         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41754         && !UNIX98].
41755         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41756         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41757         (mode_t): Likewise.
41758         (posix_mem_offset): Likewise.
41759         (posix_typed_mem_get_info): Likewise.
41760         (posix_typed_mem_open): Likewise.
41762         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41763         Change condition to [XOPEN2K8].
41765         * conform/conformtest.pl: Preprocess allow-header data with -x c
41766         instead of from stdin.
41767         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41768         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41769         [C99-based standards] (cerfc): Likewise.
41770         [C99-based standards] (cexp2): Likewise.
41771         [C99-based standards] (cexpm1): Likewise.
41772         [C99-based standards] (clog10): Likewise.
41773         [C99-based standards] (clog1p): Likewise.
41774         [C99-based standards] (clog2): Likewise.
41775         [C99-based standards] (clgamma): Likewise.
41776         [C99-based standards] (ctgamma): Likewise.
41777         [C99-based standards] (cerff): Likewise.
41778         [C99-based standards] (cerfcf): Likewise.
41779         [C99-based standards] (cexp2f): Likewise.
41780         [C99-based standards] (cexpm1f): Likewise.
41781         [C99-based standards] (clog10f): Likewise.
41782         [C99-based standards] (clog1pf): Likewise.
41783         [C99-based standards] (clog2f): Likewise.
41784         [C99-based standards] (clgammaf): Likewise.
41785         [C99-based standards] (ctgammaf): Likewise.
41786         [C99-based standards] (cerfl): Likewise.
41787         [C99-based standards] (cerfcl): Likewise.
41788         [C99-based standards] (cexp2l): Likewise.
41789         [C99-based standards] (cexpm1l): Likewise.
41790         [C99-based standards] (clog10l): Likewise.
41791         [C99-based standards] (clog1pl): Likewise.
41792         [C99-based standards] (clog2l): Likewise.
41793         [C99-based standards] (clgammal): Likewise.
41794         [C99-based standards] (ctgammal): Likewise.
41795         * conform/data/inttypes.h-data [C99-based standards]: Include
41796         stdint.h-data.  Remove all expectations for stdint.h contents.
41797         [C99-based standards] (PRI*): Do not allow.
41798         [C99-based standards] (SCN*): Likewise.
41799         [C99-based standards] (*_t): Likewise.
41800         [C99-based-standards] (PRId8): Expect macro.
41801         [C99-based-standards] (PRIi8): Likewise.
41802         [C99-based-standards] (PRIo8): Likewise.
41803         [C99-based-standards] (PRIu8): Likewise.
41804         [C99-based-standards] (PRIx8): Likewise.
41805         [C99-based-standards] (PRIX8): Likewise.
41806         [C99-based-standards] (SCNd8): Likewise.
41807         [C99-based-standards] (SCNi8): Likewise.
41808         [C99-based-standards] (SCNo8): Likewise.
41809         [C99-based-standards] (SCNu8): Likewise.
41810         [C99-based-standards] (SCNx8): Likewise.
41811         [C99-based-standards] (PRIdLEAST8): Likewise.
41812         [C99-based-standards] (PRIiLEAST8): Likewise.
41813         [C99-based-standards] (PRIoLEAST8): Likewise.
41814         [C99-based-standards] (PRIuLEAST8): Likewise.
41815         [C99-based-standards] (PRIxLEAST8): Likewise.
41816         [C99-based-standards] (PRIXLEAST8): Likewise.
41817         [C99-based-standards] (SCNdLEAST8): Likewise.
41818         [C99-based-standards] (SCNiLEAST8): Likewise.
41819         [C99-based-standards] (SCNoLEAST8): Likewise.
41820         [C99-based-standards] (SCNuLEAST8): Likewise.
41821         [C99-based-standards] (SCNxLEAST8): Likewise.
41822         [C99-based-standards] (PRIdFAST8): Likewise.
41823         [C99-based-standards] (PRIiFAST8): Likewise.
41824         [C99-based-standards] (PRIoFAST8): Likewise.
41825         [C99-based-standards] (PRIuFAST8): Likewise.
41826         [C99-based-standards] (PRIxFAST8): Likewise.
41827         [C99-based-standards] (PRIXFAST8): Likewise.
41828         [C99-based-standards] (SCNdFAST8): Likewise.
41829         [C99-based-standards] (SCNiFAST8): Likewise.
41830         [C99-based-standards] (SCNoFAST8): Likewise.
41831         [C99-based-standards] (SCNuFAST8): Likewise.
41832         [C99-based-standards] (SCNxFAST8): Likewise.
41833         [C99-based-standards] (PRId16): Likewise.
41834         [C99-based-standards] (PRIi16): Likewise.
41835         [C99-based-standards] (PRIo16): Likewise.
41836         [C99-based-standards] (PRIu16): Likewise.
41837         [C99-based-standards] (PRIx16): Likewise.
41838         [C99-based-standards] (PRIX16): Likewise.
41839         [C99-based-standards] (SCNd16): Likewise.
41840         [C99-based-standards] (SCNi16): Likewise.
41841         [C99-based-standards] (SCNo16): Likewise.
41842         [C99-based-standards] (SCNu16): Likewise.
41843         [C99-based-standards] (SCNx16): Likewise.
41844         [C99-based-standards] (PRIdLEAST16): Likewise.
41845         [C99-based-standards] (PRIiLEAST16): Likewise.
41846         [C99-based-standards] (PRIoLEAST16): Likewise.
41847         [C99-based-standards] (PRIuLEAST16): Likewise.
41848         [C99-based-standards] (PRIxLEAST16): Likewise.
41849         [C99-based-standards] (PRIXLEAST16): Likewise.
41850         [C99-based-standards] (SCNdLEAST16): Likewise.
41851         [C99-based-standards] (SCNiLEAST16): Likewise.
41852         [C99-based-standards] (SCNoLEAST16): Likewise.
41853         [C99-based-standards] (SCNuLEAST16): Likewise.
41854         [C99-based-standards] (SCNxLEAST16): Likewise.
41855         [C99-based-standards] (PRIdFAST16): Likewise.
41856         [C99-based-standards] (PRIiFAST16): Likewise.
41857         [C99-based-standards] (PRIoFAST16): Likewise.
41858         [C99-based-standards] (PRIuFAST16): Likewise.
41859         [C99-based-standards] (PRIxFAST16): Likewise.
41860         [C99-based-standards] (PRIXFAST16): Likewise.
41861         [C99-based-standards] (SCNdFAST16): Likewise.
41862         [C99-based-standards] (SCNiFAST16): Likewise.
41863         [C99-based-standards] (SCNoFAST16): Likewise.
41864         [C99-based-standards] (SCNuFAST16): Likewise.
41865         [C99-based-standards] (SCNxFAST16): Likewise.
41866         [C99-based-standards] (PRId32): Likewise.
41867         [C99-based-standards] (PRIi32): Likewise.
41868         [C99-based-standards] (PRIo32): Likewise.
41869         [C99-based-standards] (PRIu32): Likewise.
41870         [C99-based-standards] (PRIx32): Likewise.
41871         [C99-based-standards] (PRIX32): Likewise.
41872         [C99-based-standards] (SCNd32): Likewise.
41873         [C99-based-standards] (SCNi32): Likewise.
41874         [C99-based-standards] (SCNo32): Likewise.
41875         [C99-based-standards] (SCNu32): Likewise.
41876         [C99-based-standards] (SCNx32): Likewise.
41877         [C99-based-standards] (PRIdLEAST32): Likewise.
41878         [C99-based-standards] (PRIiLEAST32): Likewise.
41879         [C99-based-standards] (PRIoLEAST32): Likewise.
41880         [C99-based-standards] (PRIuLEAST32): Likewise.
41881         [C99-based-standards] (PRIxLEAST32): Likewise.
41882         [C99-based-standards] (PRIXLEAST32): Likewise.
41883         [C99-based-standards] (SCNdLEAST32): Likewise.
41884         [C99-based-standards] (SCNiLEAST32): Likewise.
41885         [C99-based-standards] (SCNoLEAST32): Likewise.
41886         [C99-based-standards] (SCNuLEAST32): Likewise.
41887         [C99-based-standards] (SCNxLEAST32): Likewise.
41888         [C99-based-standards] (PRIdFAST32): Likewise.
41889         [C99-based-standards] (PRIiFAST32): Likewise.
41890         [C99-based-standards] (PRIoFAST32): Likewise.
41891         [C99-based-standards] (PRIuFAST32): Likewise.
41892         [C99-based-standards] (PRIxFAST32): Likewise.
41893         [C99-based-standards] (PRIXFAST32): Likewise.
41894         [C99-based-standards] (SCNdFAST32): Likewise.
41895         [C99-based-standards] (SCNiFAST32): Likewise.
41896         [C99-based-standards] (SCNoFAST32): Likewise.
41897         [C99-based-standards] (SCNuFAST32): Likewise.
41898         [C99-based-standards] (SCNxFAST32): Likewise.
41899         [C99-based-standards] (PRId64): Likewise.
41900         [C99-based-standards] (PRIi64): Likewise.
41901         [C99-based-standards] (PRIo64): Likewise.
41902         [C99-based-standards] (PRIu64): Likewise.
41903         [C99-based-standards] (PRIx64): Likewise.
41904         [C99-based-standards] (PRIX64): Likewise.
41905         [C99-based-standards] (SCNd64): Likewise.
41906         [C99-based-standards] (SCNi64): Likewise.
41907         [C99-based-standards] (SCNo64): Likewise.
41908         [C99-based-standards] (SCNu64): Likewise.
41909         [C99-based-standards] (SCNx64): Likewise.
41910         [C99-based-standards] (PRIdLEAST64): Likewise.
41911         [C99-based-standards] (PRIiLEAST64): Likewise.
41912         [C99-based-standards] (PRIoLEAST64): Likewise.
41913         [C99-based-standards] (PRIuLEAST64): Likewise.
41914         [C99-based-standards] (PRIxLEAST64): Likewise.
41915         [C99-based-standards] (PRIXLEAST64): Likewise.
41916         [C99-based-standards] (SCNdLEAST64): Likewise.
41917         [C99-based-standards] (SCNiLEAST64): Likewise.
41918         [C99-based-standards] (SCNoLEAST64): Likewise.
41919         [C99-based-standards] (SCNuLEAST64): Likewise.
41920         [C99-based-standards] (SCNxLEAST64): Likewise.
41921         [C99-based-standards] (PRIdFAST64): Likewise.
41922         [C99-based-standards] (PRIiFAST64): Likewise.
41923         [C99-based-standards] (PRIoFAST64): Likewise.
41924         [C99-based-standards] (PRIuFAST64): Likewise.
41925         [C99-based-standards] (PRIxFAST64): Likewise.
41926         [C99-based-standards] (PRIXFAST64): Likewise.
41927         [C99-based-standards] (SCNdFAST64): Likewise.
41928         [C99-based-standards] (SCNiFAST64): Likewise.
41929         [C99-based-standards] (SCNoFAST64): Likewise.
41930         [C99-based-standards] (SCNuFAST64): Likewise.
41931         [C99-based-standards] (SCNxFAST64): Likewise.
41932         [C99-based-standards] (PRIdMAX): Likewise.
41933         [C99-based-standards] (PRIiMAX): Likewise.
41934         [C99-based-standards] (PRIoMAX): Likewise.
41935         [C99-based-standards] (PRIuMAX): Likewise.
41936         [C99-based-standards] (PRIxMAX): Likewise.
41937         [C99-based-standards] (PRIXMAX): Likewise.
41938         [C99-based-standards] (SCNdMAX): Likewise.
41939         [C99-based-standards] (SCNiMAX): Likewise.
41940         [C99-based-standards] (SCNoMAX): Likewise.
41941         [C99-based-standards] (SCNuMAX): Likewise.
41942         [C99-based-standards] (SCNxMAX): Likewise.
41943         [C99-based-standards] (PRIdPTR): Likewise.
41944         [C99-based-standards] (PRIiPTR): Likewise.
41945         [C99-based-standards] (PRIoPTR): Likewise.
41946         [C99-based-standards] (PRIuPTR): Likewise.
41947         [C99-based-standards] (PRIxPTR): Likewise.
41948         [C99-based-standards] (PRIXPTR): Likewise.
41949         [C99-based-standards] (SCNdPTR): Likewise.
41950         [C99-based-standards] (SCNiPTR): Likewise.
41951         [C99-based-standards] (SCNoPTR): Likewise.
41952         [C99-based-standards] (SCNuPTR): Likewise.
41953         [C99-based-standards] (SCNxPTR): Likewise.
41954         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41955         allow.
41956         * conform/data/stdint.h-data: Update comments to clarify
41957         requirements.
41958         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41959         type.
41960         [C99-based standards] (INT8_MAX): Likewise.
41961         [C99-based standards] (INT16_MIN): Likewise.
41962         [C99-based standards] (INT16_MAX): Likewise.
41963         [C99-based standards] (INT32_MIN): Likewise.
41964         [C99-based standards] (INT32_MAX): Likewise.
41965         [C99-based standards] (INT64_MIN): Likewise.
41966         [C99-based standards] (INT64_MAX): Likewise.
41967         [C99-based standards] (UINT8_MAX): Likewise.
41968         [C99-based standards] (UINT16_MAX): Likewise.
41969         [C99-based standards] (UINT32_MAX): Likewise.
41970         [C99-based standards] (UINT64_MAX): Likewise.
41971         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41972         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41973         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41974         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41975         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41976         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41977         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41978         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41979         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41980         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41981         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41982         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41983         [C99-based standards] (INT_FAST8_MIN): Likewise.
41984         [C99-based standards] (INT_FAST8_MAX): Likewise.
41985         [C99-based standards] (INT_FAST16_MIN): Likewise.
41986         [C99-based standards] (INT_FAST16_MAX): Likewise.
41987         [C99-based standards] (INT_FAST32_MIN): Likewise.
41988         [C99-based standards] (INT_FAST32_MAX): Likewise.
41989         [C99-based standards] (INT_FAST64_MIN): Likewise.
41990         [C99-based standards] (INT_FAST64_MAX): Likewise.
41991         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41992         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41993         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41994         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41995         [C99-based standards] (INTPTR_MIN): Likewise.
41996         [C99-based standards] (INTPTR_MAX): Likewise.
41997         [C99-based standards] (UINTPTR_MAX): Likewise.
41998         [C99-based standards] (INTMAX_MIN): Likewise.
41999         [C99-based standards] (INTMAX_MAX): Likewise.
42000         [C99-based standards] (UINTMAX_MAX): Likewise.
42001         [C99-based standards] (PTRDIFF_MIN): Likewise.
42002         [C99-based standards] (PTRDIFF_MAX): Likewise.
42003         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42004         [C99-based standards] (SIZE_MAX): Likewise.
42005         [C99-based standards] (WCHAR_MAX): Likewise.
42006         [C99-based standards] (WINT_MAX): Likewise.
42007         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42008         constraint on value.
42009         [C99-based standards] (WCHAR_MIN): Likewise.
42010         [C99-based standards] (WINT_MIN): Likewise.
42011         [C99-based standards] (*_t): Allow.
42012         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42013         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42014         Include math.h-data and complex.h-data.  Remove all expectations
42015         of math.h and complex.h contents.
42016         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42017         at end of line.
42018         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42019         (struct tm): Expect tag.
42020         [C99-based-standards] (wcstof): Expect function.
42021         [C99-based-standards] (wcstold): Likewise.
42022         [C99-based-standards] (wcstoll): Likewise.
42023         [C99-based-standards] (wcstoull): Likewise.
42024         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42025         macro-int-constant.  Specify type.
42026         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42027         constraint on value.
42028         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42029         Specify type.
42030         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42031         Specify value.
42032         [ISO C standards]: Do not allow headers.
42033         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42034         wcs[abcdefghijklmnopqrstuvwxyz]*.
42035         [ISO C standards] (*_t): Do not allow.
42036         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42037         Expect function.
42038         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42039         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42040         Specify type.
42041         [ISO C standards]: Do not allow headers.
42042         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42043         is[abcdefghijklmnopqrstuvwxyz]*.
42044         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42045         to[abcdefghijklmnopqrstuvwxyz]*.
42046         [ISO C standards] (*_t): Do not allow.
42047         * conform/data/stdalign.h-data: New file.
42048         * conform/data/stdbool.h-data: Likewise.
42049         * conform/data/stdnoreturn.h-data: Likewise.
42051 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42053         [BZ #14815]
42054         * manual/filesys.texi (Directory Entries): Typo fix.
42055         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42057 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42059         * elf/elf.h (EM_AARCH64): New macro.
42060         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42061         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42062         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42063         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42064         (R_AARCH64_TLSDESC): Likewise.
42065         (NT_ARM_TLS): Likewise.
42066         (NT_ARM_HW_BREAK): Likewise.
42067         (NT_ARM_HW_WATCH): Likewise.
42069 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42071         [BZ #14811]
42072         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42073         (__ieee754_powl): Saturate nonzero exponents with absolute value
42074         below 0x1p-79 to +/- 0x1p-79.
42075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42076         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42077         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42078         nonzero exponents with absolute value below 0x1p-32 to +/-
42079         0x1p-32.
42080         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42081         (__ieee754_powl): Saturate nonzero exponents with absolute value
42082         below 0x1p-79 to +/- 0x1p-79.
42083         * math/libm-test.inc (pow_test): Add more tests.
42085 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42087         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42088         _dl_s390_cap_flags with kernel. Increase string length.
42089         (_dl_s390_platforms): Add z196 and zEC12.
42091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42093         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42094         Change XOPEN21K to XOPEN2K.
42096 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42098         * string/memmove.c: Use memcpy when possible.
42100 2012-11-06  Andreas Jaeger  <aj@suse.de>
42102         * po/eo.po: Update from translation team.
42104 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42106         [BZ #14793]
42107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42108         exponent and small x and y exponents, scale x or y up.  Increase
42109         by 2 the exponent used in scaling up.
42110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42112         * math/libm-test.inc (fma_test): Add more tests.
42113         (fma_test_towardzero): Likewise.
42114         (fma_test_downward): Likewise.
42115         (fma_test_upward): Likewise.
42117 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42119         [BZ #14805]
42120         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42121         fenv_t *.
42123         [BZ #14801]
42124         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42125         namespace for names of struct fields.
42126         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42127         fenv_t fields.
42128         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42129         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42131 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42133         [BZ #3665]
42134         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42136 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42138         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42139         PTR_DEMANGLE.
42141         [BZ #5246]
42142         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42143         PTR_DEMANGLE.
42145 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42147         [BZ #14797]
42148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42149         definitely overflow as x * y not x * y + z.
42150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42152         * math/libm-test.inc (fma_test): Add more tests.
42153         (fma_test_towardzero): Likewise.
42154         (fma_test_downward): Likewise.
42155         (fma_test_upward): Likewise.
42157 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42159         [BZ #157]
42161         * include/stub-tag.h: Remove file.
42162         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42163         '#include' of it.
42164         * manual/maint.texi (Porting): Don't reference it.
42165         * Makerules ($(objpfx)stubs): Likewise.
42166         * dirent/closedir.c: Don't include <stub-tag.h>.
42167         * dirent/dirfd.c: Likewise.
42168         * dirent/fdopendir.c: Likewise.
42169         * dirent/getdents.c: Likewise.
42170         * dirent/getdents64.c: Likewise.
42171         * dirent/opendir.c: Likewise.
42172         * dirent/readdir.c: Likewise.
42173         * dirent/readdir64.c: Likewise.
42174         * dirent/readdir64_r.c: Likewise.
42175         * dirent/readdir_r.c: Likewise.
42176         * dirent/rewinddir.c: Likewise.
42177         * dirent/seekdir.c: Likewise.
42178         * dirent/telldir.c: Likewise.
42179         * gmon/profil.c: Likewise.
42180         * grp/setgroups.c: Likewise.
42181         * inet/if_index.c: Likewise.
42182         * io/access.c: Likewise.
42183         * io/chdir.c: Likewise.
42184         * io/chmod.c: Likewise.
42185         * io/chown.c: Likewise.
42186         * io/close.c: Likewise.
42187         * io/dup.c: Likewise.
42188         * io/dup2.c: Likewise.
42189         * io/dup3.c: Likewise.
42190         * io/euidaccess.c: Likewise.
42191         * io/faccessat.c: Likewise.
42192         * io/fchdir.c: Likewise.
42193         * io/fchmod.c: Likewise.
42194         * io/fchmodat.c: Likewise.
42195         * io/fchown.c: Likewise.
42196         * io/fchownat.c: Likewise.
42197         * io/fcntl.c: Likewise.
42198         * io/flock.c: Likewise.
42199         * io/fstatfs.c: Likewise.
42200         * io/fstatfs64.c: Likewise.
42201         * io/fstatvfs.c: Likewise.
42202         * io/fstatvfs64.c: Likewise.
42203         * io/futimens.c: Likewise.
42204         * io/fxstat.c: Likewise.
42205         * io/fxstat64.c: Likewise.
42206         * io/fxstatat.c: Likewise.
42207         * io/fxstatat64.c: Likewise.
42208         * io/getcwd.c: Likewise.
42209         * io/isatty.c: Likewise.
42210         * io/lchmod.c: Likewise.
42211         * io/lchown.c: Likewise.
42212         * io/link.c: Likewise.
42213         * io/linkat.c: Likewise.
42214         * io/lseek.c: Likewise.
42215         * io/lseek64.c: Likewise.
42216         * io/lxstat64.c: Likewise.
42217         * io/mkdir.c: Likewise.
42218         * io/mkdirat.c: Likewise.
42219         * io/mkfifo.c: Likewise.
42220         * io/mkfifoat.c: Likewise.
42221         * io/open.c: Likewise.
42222         * io/open64.c: Likewise.
42223         * io/openat.c: Likewise.
42224         * io/openat64.c: Likewise.
42225         * io/pipe.c: Likewise.
42226         * io/pipe2.c: Likewise.
42227         * io/poll.c: Likewise.
42228         * io/posix_fadvise.c: Likewise.
42229         * io/posix_fadvise64.c: Likewise.
42230         * io/posix_fallocate.c: Likewise.
42231         * io/posix_fallocate64.c: Likewise.
42232         * io/read.c: Likewise.
42233         * io/readlink.c: Likewise.
42234         * io/readlinkat.c: Likewise.
42235         * io/rmdir.c: Likewise.
42236         * io/sendfile.c: Likewise.
42237         * io/sendfile64.c: Likewise.
42238         * io/statfs.c: Likewise.
42239         * io/statfs64.c: Likewise.
42240         * io/statvfs.c: Likewise.
42241         * io/statvfs64.c: Likewise.
42242         * io/symlink.c: Likewise.
42243         * io/symlinkat.c: Likewise.
42244         * io/ttyname.c: Likewise.
42245         * io/ttyname_r.c: Likewise.
42246         * io/umask.c: Likewise.
42247         * io/unlink.c: Likewise.
42248         * io/unlinkat.c: Likewise.
42249         * io/utime.c: Likewise.
42250         * io/utimensat.c: Likewise.
42251         * io/write.c: Likewise.
42252         * io/xmknod.c: Likewise.
42253         * io/xmknodat.c: Likewise.
42254         * io/xstat.c: Likewise.
42255         * io/xstat64.c: Likewise.
42256         * login/getpt.c: Likewise.
42257         * login/grantpt.c: Likewise.
42258         * login/unlockpt.c: Likewise.
42259         * math/e_acoshl.c: Likewise.
42260         * math/e_acosl.c: Likewise.
42261         * math/e_asinl.c: Likewise.
42262         * math/e_atan2l.c: Likewise.
42263         * math/e_atanhl.c: Likewise.
42264         * math/e_coshl.c: Likewise.
42265         * math/e_expl.c: Likewise.
42266         * math/e_fmodl.c: Likewise.
42267         * math/e_gammal_r.c: Likewise.
42268         * math/e_hypotl.c: Likewise.
42269         * math/e_j0l.c: Likewise.
42270         * math/e_j1l.c: Likewise.
42271         * math/e_jnl.c: Likewise.
42272         * math/e_lgammal_r.c: Likewise.
42273         * math/e_log10l.c: Likewise.
42274         * math/e_log2l.c: Likewise.
42275         * math/e_logl.c: Likewise.
42276         * math/e_powl.c: Likewise.
42277         * math/e_rem_pio2l.c: Likewise.
42278         * math/e_sinhl.c: Likewise.
42279         * math/e_sqrtl.c: Likewise.
42280         * math/fclrexcpt.c: Likewise.
42281         * math/fedisblxcpt.c: Likewise.
42282         * math/feenablxcpt.c: Likewise.
42283         * math/fegetenv.c: Likewise.
42284         * math/fegetexcept.c: Likewise.
42285         * math/fegetround.c: Likewise.
42286         * math/feholdexcpt.c: Likewise.
42287         * math/fesetenv.c: Likewise.
42288         * math/fesetround.c: Likewise.
42289         * math/feupdateenv.c: Likewise.
42290         * math/fgetexcptflg.c: Likewise.
42291         * math/fraiseexcpt.c: Likewise.
42292         * math/fsetexcptflg.c: Likewise.
42293         * math/ftestexcept.c: Likewise.
42294         * math/k_cosl.c: Likewise.
42295         * math/k_rem_pio2l.c: Likewise.
42296         * math/k_sinl.c: Likewise.
42297         * math/k_tanl.c: Likewise.
42298         * math/s_asinhl.c: Likewise.
42299         * math/s_atanl.c: Likewise.
42300         * math/s_cbrtl.c: Likewise.
42301         * math/s_erfl.c: Likewise.
42302         * math/s_expm1l.c: Likewise.
42303         * math/s_log1pl.c: Likewise.
42304         * math/s_tanhl.c: Likewise.
42305         * misc/acct.c: Likewise.
42306         * misc/brk.c: Likewise.
42307         * misc/chflags.c: Likewise.
42308         * misc/chroot.c: Likewise.
42309         * misc/fchflags.c: Likewise.
42310         * misc/fgetxattr.c: Likewise.
42311         * misc/flistxattr.c: Likewise.
42312         * misc/fremovexattr.c: Likewise.
42313         * misc/fsetxattr.c: Likewise.
42314         * misc/fsync.c: Likewise.
42315         * misc/ftruncate.c: Likewise.
42316         * misc/futimes.c: Likewise.
42317         * misc/futimesat.c: Likewise.
42318         * misc/getdomain.c: Likewise.
42319         * misc/getdtsz.c: Likewise.
42320         * misc/gethostid.c: Likewise.
42321         * misc/gethostname.c: Likewise.
42322         * misc/getloadavg.c: Likewise.
42323         * misc/getpagesize.c: Likewise.
42324         * misc/getsysstats.c: Likewise.
42325         * misc/getxattr.c: Likewise.
42326         * misc/gtty.c: Likewise.
42327         * misc/ioctl.c: Likewise.
42328         * misc/lgetxattr.c: Likewise.
42329         * misc/listxattr.c: Likewise.
42330         * misc/llistxattr.c: Likewise.
42331         * misc/lremovexattr.c: Likewise.
42332         * misc/lsetxattr.c: Likewise.
42333         * misc/lutimes.c: Likewise.
42334         * misc/madvise.c: Likewise.
42335         * misc/mincore.c: Likewise.
42336         * misc/mlock.c: Likewise.
42337         * misc/mlockall.c: Likewise.
42338         * misc/mmap.c: Likewise.
42339         * misc/mprotect.c: Likewise.
42340         * misc/msync.c: Likewise.
42341         * misc/munlock.c: Likewise.
42342         * misc/munlockall.c: Likewise.
42343         * misc/munmap.c: Likewise.
42344         * misc/preadv.c: Likewise.
42345         * misc/preadv64.c: Likewise.
42346         * misc/ptrace.c: Likewise.
42347         * misc/pwritev.c: Likewise.
42348         * misc/pwritev64.c: Likewise.
42349         * misc/readv.c: Likewise.
42350         * misc/reboot.c: Likewise.
42351         * misc/remap_file_pages.c: Likewise.
42352         * misc/removexattr.c: Likewise.
42353         * misc/revoke.c: Likewise.
42354         * misc/select.c: Likewise.
42355         * misc/setdomain.c: Likewise.
42356         * misc/setegid.c: Likewise.
42357         * misc/seteuid.c: Likewise.
42358         * misc/sethostid.c: Likewise.
42359         * misc/sethostname.c: Likewise.
42360         * misc/setregid.c: Likewise.
42361         * misc/setreuid.c: Likewise.
42362         * misc/setxattr.c: Likewise.
42363         * misc/sstk.c: Likewise.
42364         * misc/stty.c: Likewise.
42365         * misc/swapoff.c: Likewise.
42366         * misc/swapon.c: Likewise.
42367         * misc/sync.c: Likewise.
42368         * misc/syncfs.c: Likewise.
42369         * misc/syscall.c: Likewise.
42370         * misc/truncate.c: Likewise.
42371         * misc/ualarm.c: Likewise.
42372         * misc/usleep.c: Likewise.
42373         * misc/ustat.c: Likewise.
42374         * misc/utimes.c: Likewise.
42375         * misc/vhangup.c: Likewise.
42376         * misc/writev.c: Likewise.
42377         * posix/_exit.c: Likewise.
42378         * posix/alarm.c: Likewise.
42379         * posix/execve.c: Likewise.
42380         * posix/fexecve.c: Likewise.
42381         * posix/fork.c: Likewise.
42382         * posix/fpathconf.c: Likewise.
42383         * posix/getaddrinfo.c: Likewise.
42384         * posix/getegid.c: Likewise.
42385         * posix/geteuid.c: Likewise.
42386         * posix/getgid.c: Likewise.
42387         * posix/getgroups.c: Likewise.
42388         * posix/getlogin.c: Likewise.
42389         * posix/getlogin_r.c: Likewise.
42390         * posix/getpgid.c: Likewise.
42391         * posix/getpid.c: Likewise.
42392         * posix/getppid.c: Likewise.
42393         * posix/getresgid.c: Likewise.
42394         * posix/getresuid.c: Likewise.
42395         * posix/getsid.c: Likewise.
42396         * posix/getuid.c: Likewise.
42397         * posix/glob64.c: Likewise.
42398         * posix/nanosleep.c: Likewise.
42399         * posix/pathconf.c: Likewise.
42400         * posix/pause.c: Likewise.
42401         * posix/posix_madvise.c: Likewise.
42402         * posix/pread.c: Likewise.
42403         * posix/pread64.c: Likewise.
42404         * posix/pwrite.c: Likewise.
42405         * posix/pwrite64.c: Likewise.
42406         * posix/sched_getaffinity.c: Likewise.
42407         * posix/sched_getp.c: Likewise.
42408         * posix/sched_gets.c: Likewise.
42409         * posix/sched_primax.c: Likewise.
42410         * posix/sched_primin.c: Likewise.
42411         * posix/sched_rr_gi.c: Likewise.
42412         * posix/sched_setaffinity.c: Likewise.
42413         * posix/sched_setp.c: Likewise.
42414         * posix/sched_sets.c: Likewise.
42415         * posix/sched_yield.c: Likewise.
42416         * posix/setgid.c: Likewise.
42417         * posix/setlogin.c: Likewise.
42418         * posix/setpgid.c: Likewise.
42419         * posix/setresgid.c: Likewise.
42420         * posix/setresuid.c: Likewise.
42421         * posix/setsid.c: Likewise.
42422         * posix/setuid.c: Likewise.
42423         * posix/sleep.c: Likewise.
42424         * posix/spawni.c: Likewise.
42425         * posix/sysconf.c: Likewise.
42426         * posix/times.c: Likewise.
42427         * posix/wait.c: Likewise.
42428         * posix/wait3.c: Likewise.
42429         * posix/wait4.c: Likewise.
42430         * posix/waitpid.c: Likewise.
42431         * resolv/gai_sigqueue.c: Likewise.
42432         * resource/getpriority.c: Likewise.
42433         * resource/getrlimit.c: Likewise.
42434         * resource/getrusage.c: Likewise.
42435         * resource/nice.c: Likewise.
42436         * resource/setpriority.c: Likewise.
42437         * resource/setrlimit.c: Likewise.
42438         * resource/ulimit.c: Likewise.
42439         * rt/aio_cancel.c: Likewise.
42440         * rt/aio_fsync.c: Likewise.
42441         * rt/aio_read.c: Likewise.
42442         * rt/aio_sigqueue.c: Likewise.
42443         * rt/aio_suspend.c: Likewise.
42444         * rt/aio_write.c: Likewise.
42445         * rt/clock_getres.c: Likewise.
42446         * rt/clock_gettime.c: Likewise.
42447         * rt/clock_nanosleep.c: Likewise.
42448         * rt/clock_settime.c: Likewise.
42449         * rt/lio_listio.c: Likewise.
42450         * rt/mq_close.c: Likewise.
42451         * rt/mq_getattr.c: Likewise.
42452         * rt/mq_notify.c: Likewise.
42453         * rt/mq_open.c: Likewise.
42454         * rt/mq_receive.c: Likewise.
42455         * rt/mq_send.c: Likewise.
42456         * rt/mq_setattr.c: Likewise.
42457         * rt/mq_timedreceive.c: Likewise.
42458         * rt/mq_timedsend.c: Likewise.
42459         * rt/mq_unlink.c: Likewise.
42460         * rt/shm_open.c: Likewise.
42461         * rt/shm_unlink.c: Likewise.
42462         * rt/timer_create.c: Likewise.
42463         * rt/timer_delete.c: Likewise.
42464         * rt/timer_getoverr.c: Likewise.
42465         * rt/timer_gettime.c: Likewise.
42466         * rt/timer_settime.c: Likewise.
42467         * setjmp/__longjmp.c: Likewise.
42468         * setjmp/setjmp.c: Likewise.
42469         * signal/kill.c: Likewise.
42470         * signal/killpg.c: Likewise.
42471         * signal/raise.c: Likewise.
42472         * signal/sigaction.c: Likewise.
42473         * signal/sigaltstack.c: Likewise.
42474         * signal/sigblock.c: Likewise.
42475         * signal/sigignore.c: Likewise.
42476         * signal/sigintr.c: Likewise.
42477         * signal/signal.c: Likewise.
42478         * signal/sigpause.c: Likewise.
42479         * signal/sigpending.c: Likewise.
42480         * signal/sigqueue.c: Likewise.
42481         * signal/sigreturn.c: Likewise.
42482         * signal/sigset.c: Likewise.
42483         * signal/sigsetmask.c: Likewise.
42484         * signal/sigstack.c: Likewise.
42485         * signal/sigsuspend.c: Likewise.
42486         * signal/sigtimedwait.c: Likewise.
42487         * signal/sigvec.c: Likewise.
42488         * signal/sigwait.c: Likewise.
42489         * signal/sigwaitinfo.c: Likewise.
42490         * signal/sysv_signal.c: Likewise.
42491         * socket/accept.c: Likewise.
42492         * socket/accept4.c: Likewise.
42493         * socket/bind.c: Likewise.
42494         * socket/connect.c: Likewise.
42495         * socket/getpeername.c: Likewise.
42496         * socket/getsockname.c: Likewise.
42497         * socket/getsockopt.c: Likewise.
42498         * socket/isfdtype.c: Likewise.
42499         * socket/listen.c: Likewise.
42500         * socket/recv.c: Likewise.
42501         * socket/recvfrom.c: Likewise.
42502         * socket/recvmsg.c: Likewise.
42503         * socket/send.c: Likewise.
42504         * socket/sendmsg.c: Likewise.
42505         * socket/sendto.c: Likewise.
42506         * socket/setsockopt.c: Likewise.
42507         * socket/shutdown.c: Likewise.
42508         * socket/sockatmark.c: Likewise.
42509         * socket/socket.c: Likewise.
42510         * socket/socketpair.c: Likewise.
42511         * stdio-common/ctermid.c: Likewise.
42512         * stdio-common/cuserid.c: Likewise.
42513         * stdio-common/remove.c: Likewise.
42514         * stdio-common/rename.c: Likewise.
42515         * stdio-common/renameat.c: Likewise.
42516         * stdio-common/tempname.c: Likewise.
42517         * stdlib/getcontext.c: Likewise.
42518         * stdlib/makecontext.c: Likewise.
42519         * stdlib/setcontext.c: Likewise.
42520         * stdlib/swapcontext.c: Likewise.
42521         * stdlib/system.c: Likewise.
42522         * streams/fattach.c: Likewise.
42523         * streams/fdetach.c: Likewise.
42524         * streams/getmsg.c: Likewise.
42525         * streams/getpmsg.c: Likewise.
42526         * streams/putmsg.c: Likewise.
42527         * streams/putpmsg.c: Likewise.
42528         * sysdeps/unix/bsd/getpt.c: Likewise.
42529         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42530         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42531         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42533         Likewise.
42534         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42535         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42536         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42537         * sysvipc/msgctl.c: Likewise.
42538         * sysvipc/msgget.c: Likewise.
42539         * sysvipc/msgrcv.c: Likewise.
42540         * sysvipc/msgsnd.c: Likewise.
42541         * sysvipc/semctl.c: Likewise.
42542         * sysvipc/semget.c: Likewise.
42543         * sysvipc/semop.c: Likewise.
42544         * sysvipc/semtimedop.c: Likewise.
42545         * sysvipc/shmat.c: Likewise.
42546         * sysvipc/shmctl.c: Likewise.
42547         * sysvipc/shmdt.c: Likewise.
42548         * sysvipc/shmget.c: Likewise.
42549         * termios/tcdrain.c: Likewise.
42550         * termios/tcflow.c: Likewise.
42551         * termios/tcflush.c: Likewise.
42552         * termios/tcgetattr.c: Likewise.
42553         * termios/tcgetpgrp.c: Likewise.
42554         * termios/tcsendbrk.c: Likewise.
42555         * termios/tcsetattr.c: Likewise.
42556         * termios/tcsetpgrp.c: Likewise.
42557         * time/adjtime.c: Likewise.
42558         * time/clock.c: Likewise.
42559         * time/getitimer.c: Likewise.
42560         * time/gettimeofday.c: Likewise.
42561         * time/setitimer.c: Likewise.
42562         * time/settimeofday.c: Likewise.
42563         * time/stime.c: Likewise.
42564         * time/time.c: Likewise.
42566 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42568         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42569         /usr/old/bin.
42571         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42572         instead of spaces.
42573         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42575 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42577         [BZ #14796]
42578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42579         FE_TONEAREST before applying Dekker multiplication and Knuth
42580         addition.  Clear inexact exceptions and check for exact zero
42581         results afterwards.
42582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42583         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42585         * math/libm-test.inc (fma_test): Add more tests.
42586         (fma_test_towardzero): Likewise.
42587         (fma_test_downward): Likewise.
42588         (fma_test_upward): Likewise.
42589         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42590         function.
42591         (libc_fesetround): New macro.
42592         (libc_fesetroundf): Likewise.
42593         (libc_fesetroundl): Likewise.
42594         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42595         function.
42596         (libc_fesetround_387): Likewise.
42597         (libc_fesetroundf): New macro.
42598         (libc_fesetround): Likewise.
42599         (libc_fesetroundl): Likewise.
42600         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42601         function.
42602         (libc_fesetroundf): New macro.
42603         (libc_fesetround): Likewise.
42604         (libc_fesetroundl): Likewise.
42605         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42606         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42607         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42608         libm_hidden_ver.
42609         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42610         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42611         libm_hidden_def.
42612         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42613         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42614         libm_hidden_ver.
42615         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42616         libm_hidden_def.
42618         [BZ #3439]
42619         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42620         integer constant usable in #if and use that to give value to enum
42621         constant.
42622         (FE_DIVBYZERO): Likewise.
42623         (FE_UNDERFLOW): Likewise.
42624         (FE_OVERFLOW): Likewise.
42625         (FE_INVALID): Likewise.
42626         (FE_INVALID_SNAN): Likewise.
42627         (FE_INVALID_ISI): Likewise.
42628         (FE_INVALID_IDI): Likewise.
42629         (FE_INVALID_ZDZ): Likewise.
42630         (FE_INVALID_IMZ): Likewise.
42631         (FE_INVALID_COMPARE): Likewise.
42632         (FE_INVALID_SOFTWARE): Likewise.
42633         (FE_INVALID_SQRT): Likewise.
42634         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42635         (FE_TONEAREST): Likewise.
42636         (FE_TOWARDZERO): Likewise.
42637         (FE_UPWARD): Likewise.
42638         (FE_DOWNWARD): Likewise.
42639         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42640         (FE_DIVBYZERO): Likewise.
42641         (FE_OVERFLOW): Likewise.
42642         (FE_UNDERFLOW): Likewise.
42643         (FE_INEXACT): Likewise.
42644         (FE_TONEAREST): Likewise.
42645         (FE_DOWNWARD): Likewise.
42646         (FE_UPWARD): Likewise.
42647         (FE_TOWARDZERO): Likewise.
42648         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42649         (FE_UNDERFLOW): Likewise.
42650         (FE_OVERFLOW): Likewise.
42651         (FE_DIVBYZERO): Likewise.
42652         (FE_INVALID): Likewise.
42653         (FE_TONEAREST): Likewise.
42654         (FE_TOWARDZERO): Likewise.
42655         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42656         (FE_OVERFLOW): Likewise.
42657         (FE_UNDERFLOW): Likewise.
42658         (FE_DIVBYZERO): Likewise.
42659         (FE_INEXACT): Likewise.
42660         (FE_TONEAREST): Likewise.
42661         (FE_TOWARDZERO): Likewise.
42662         (FE_UPWARD): Likewise.
42663         (FE_DOWNWARD): Likewise.
42664         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42665         (FE_DIVBYZERO): Likewise.
42666         (FE_OVERFLOW): Likewise.
42667         (FE_UNDERFLOW): Likewise.
42668         (FE_INEXACT): Likewise.
42669         (FE_TONEAREST): Likewise.
42670         (FE_DOWNWARD): Likewise.
42671         (FE_UPWARD): Likewise.
42672         (FE_TOWARDZERO): Likewise.
42674 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42676         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42678 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42680         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42681         commands.  Quote $PWD.
42682         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42683         -x" by "export".
42684         (remove_newlines): Remove.
42686 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42688         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42689         * stdlib/stdlib.h (atof): Moved to ...
42690         * include/bits/stdlib-float.h: Here.  New file.
42691         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42692         * stdlib/bits/stdlib-float.h: New file.
42693         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42694         -mno-sse -mno-mmx.
42695         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42696         <xmmintrin.h>.
42698 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42700         * conform/conformtest.pl (@headers): Add fenv.h.
42701         * conform/data/fenv.h-data: New file.
42702         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42703         include of <math/fenv.h>.
42705         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42706         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42707         && !UNIX98].  Enables tests for XOPEN2K8.
42708         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42709         POSIX2008]: Likewise.
42711         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42712         (struct rusage): Do not expect type or its members.
42714         [BZ #3439]
42715         * math/math.h (FP_NAN): Define macro to integer constant usable in
42716         #if and use that to give value to enum constant.
42717         (FP_INFINITE): Likewise.
42718         (FP_ZERO): Likewise.
42719         (FP_SUBNORMAL): Likewise.
42720         (FP_NORMAL): Likewise.
42722 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42724         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42725         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42726         arguments.
42728 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42730         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42731         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42732         autoconf-time if not.
42733         * configure.in: Remove AC_PREREQ.
42735 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42737         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42738         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42739         of the internal implementation.
42741 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42743         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42744         except include of <misc/sys/syslog.h>.
42746 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42749         function returns with a NULL context exit with zero.
42751 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42753         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42755 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42757         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42758         (run_program_cmd): This.
42759         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42760         (tst_langinfo): New variable.  Use it.
42762 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42764         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42765         floating point opcodes.
42767 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42769         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42770         variable.
42772         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42774         * sysdeps/mach/hurd/powerpc: Remove directory.
42775         * sysdeps/mach/powerpc: Likewise.
42777 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42779         * scripts/check-local-headers.sh: Ignore c++ headers.
42781 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42783         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42784         __libc_cleanup_region_start argument.
42786 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42788         [BZ #14784]
42789         [BZ #14785]
42790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42791         x * y using scaling, not as x * y + z.
42792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42794         * math/libm-test.inc (fma_test): Add more tests.
42795         (fma_test_towardzero): Likewise.
42796         (fma_test_downward): Likewise.
42797         (fma_test_upward): Likewise.
42799 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42801         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42803 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42805         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42806         New variable.
42808 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42810         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42812 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42815         Fix sort order.
42816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42817         Likewise.
42819 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42822         Fix the order of the list for glibc 2.17.
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42824         Likewise.
42826 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42830 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42832         [BZ #14610]
42833         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42834         for low part of x being zero before using __atanl (y).
42835         * math/libm-test.inc (atan2_test): Add another test.
42837         * manual/install.texi (Configuring and compiling): Document
42838         general use of test-wrapper and test-wrapper-env.
42839         * INSTALL: Regenerated.
42841         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42842         (__fma): Do not extract and scale down low bits on after-rounding
42843         systems when result rounded to normal precision would have normal
42844         exponent.
42845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42846         (__fmal): Do not extract and scale down low bits on after-rounding
42847         systems when result rounded to normal precision would have normal
42848         exponent.
42849         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42850         (__fmal): Do not extract and scale down low bits on after-rounding
42851         systems when result rounded to normal precision would have normal
42852         exponent.
42853         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42854         macro.
42855         (fma_test): Add more tests.
42856         (fma_test_towardzero): Likewise.
42857         (fma_test_downward): Likewise.
42858         (fma_test_upward): Likewise.
42860 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42862         * sysdeps/i386/tininess.h: Renamed to ...
42863         * sysdeps/x86/tininess.h: This.
42864         * sysdeps/x86_64/tininess.h: Removed.
42866 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42868         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42869         input.  Use $(build-program-cmd).
42870         ($(objpfx)tst-array1-static.out): Likewise.
42871         ($(objpfx)tst-array2.out): Likewise.
42872         ($(objpfx)tst-array3.out): Likewise.
42873         ($(objpfx)tst-array4.out): Likewise.
42874         ($(objpfx)tst-array5.out): Likewise.
42875         ($(objpfx)tst-array5-static.out): Likewise.
42877 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42879         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42880         if defined.
42882         * nss/nsswitch.h (nss_interface_function): Provide new
42883         macro for use with NSS functions.
42884         * grp/initgroups.c: Use new macro.
42885         * nss/getXXbyYY.c: Likewise.
42886         * nss/getXXbyYY_r.c: Likewise.
42887         * nss/getXXent.c: Likewise.
42888         * nss/getXXent_r.c: Likewise.
42889         * sysdeps/posix/getaddrinfo.c: Likewise.
42891 2012-10-30  Andreas Jaeger  <aj@suse.de>
42893         * po/ru.po: Update Russion translation from translation project.
42895 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42897         [BZ #14152]
42898         [BZ #14783]
42899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42900         result and shift together with sticky bit instead of replicating
42901         round-to-nearest rounding.
42902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42904         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42905         missing underflow exceptions.
42906         (fma_test_towardzero): Add more tests.
42907         (fma_test_downward): Likewise.
42908         (fma_test_upward): Likewise.
42910         [BZ #14047]
42911         * sysdeps/generic/tininess.h: New file.
42912         * sysdeps/i386/tininess.h: Likewise.
42913         * sysdeps/sh/tininess.h: Likewise.
42914         * sysdeps/x86_64/tininess.h: Likewise.
42915         * stdlib/tst-strtod-underflow.c: Likewise.
42916         * stdlib/tst-tininess.c: Likewise.
42917         * stdlib/strtod_l.c: Include <tininess.h>.
42918         (round_and_return): Do not set errno for exact underflow cases.
42919         Force an underflow exception when setting errno for underflow.
42920         Determine underflow based on rounding to normal precision if
42921         TININESS_AFTER_ROUNDING.
42922         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42923         ERANGE for exact underflow cases.
42924         * stdlib/Makefile (tests): Add tst-tininess and
42925         tst-strtod-underflow.
42926         ($(objpfx)tst-tininess): Use $(link-libm).
42927         ($(objpfx)tst-strtod-underflow): Likewise.
42929 2012-10-30  Andreas Jaeger  <aj@suse.de>
42931         [BZ#14767]
42932         * elf/Makefile (tests): Remove conditional for have-initfini-array
42933         since this is now always required and the variable does not exist
42934         anymore.
42935         (tests-static): Likewise.
42936         (modules-names): Likewise.
42938         * po/eo.po: Add Esperanto translation from translation project.
42940         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42941         merged with constructor/destructor.
42942         (init_array): Likewise.
42943         * elf/tst-array2dep.c (fini_array): Likewise.
42944         (init_array): Likewise.
42946 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42948         * manual/message.texi: Delete @cartouche tags.
42950 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42952         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42953         EOPNOTSUPP.
42954         * sysdeps/mach/hurd/fsync.c: Likewise.
42956         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42957         [_POSIX_REALTIME_SIGNALS]: Change condition to
42958         [_POSIX_REALTIME_SIGNALS > 0].
42960 2012-10-27  Andreas Jaeger  <aj@suse.de>
42962         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42963         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42965         [__WORDSIZE != 64]: Likewise.
42967 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42969         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42970         *  iconvdata/tst-tables.sh: Likewise.
42972 2012-10-25  David S. Miller  <davem@davemloft.net>
42974         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42975         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42976         of strtoull.
42978         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42979         ifunc-impl-list.c
42980         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42981         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42982         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42983         file.
42985 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42988         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42989         __getdirentries.
42991 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42992             Jim Blandy  <jimb@codesourcery.com>
42994         * scripts/cross-test-ssh.sh: New file.
42995         * manual/install.texi (Configuring and compiling): Document use of
42996         cross-test-ssh.sh.
42997         * INSTALL: Regenerated.
42999 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43001         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43002         EOPNOTSUPP.
43004 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43006         * Makeconfig (run-program-prefix): Fix comment.
43008 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43009             Jim Blandy  <jimb@codesourcery.com>
43011         * Makeconfig (test-wrapper): New variable,
43012         (test-wrapper-env): Likewise.
43013         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43014         (run-built-tests): Define to yes.
43015         (run-program-prefix): Use $(test-wrapper).
43016         (built-program-cmd): Likewise.
43017         * Rules (make-test-out): Use $(test-wrapper-env) and
43018         $(host-built-program-cmd).
43019         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43020         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43021         tst-pathopt.sh.
43022         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43023         $(test-wrapper-env) to tst-rtld-load-self.sh.
43024         ($(objpfx)order2.out): Use $(test-wrapper).
43025         ($(objpfx)tst-initorder.out): Likewise.
43026         ($(objpfx)tst-initorder2.out): Likewise.
43027         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43028         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43029         (test_wrapper_env): New variable.  Use it to run ld.so.
43030         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43031         Use it to run ld.so.
43032         (test_wrapper_env): Likewise.
43033         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43034         $(test-wrapper) to run-iconv-test.sh.
43035         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43036         (ICONV): Use $test_wrapper.
43037         * posix/Makefile ($(objpfx)globtest.out): Pass
43038         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43039         globtest.sh, not $(run-program-prefix).
43040         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43041         (test_wrapper): Likewise.
43042         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43043         set together with run_via_rtld_prefix.
43044         (run_program_prefix): Define in terms of test_wrapper and
43045         run_via_rtld_prefix.
43047 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43049         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43050         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43051         Targets removed.
43053         [BZ #14743]
43054         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43055         Declare __clock_getres, __clock_gettime, __clock_settime,
43056         __clock_nanosleep, and __clock_getcpuclockid.
43057         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43058         Remove librt_hidden_def (clock_gettime).
43059         * sysdeps/unix/clock_gettime.c: Likewise.
43060         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43061         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43062         * rt/clock_getres.c: Define __clock_getres as an alias.
43063         * sysdeps/posix/clock_getres.c: Likewise.
43064         * rt/clock_settime.c: Define __clock_settime as an alias.
43065         * sysdeps/unix/clock_settime.c: Likewise.
43066         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43067         * sysdeps/unix/clock_nanosleep.c: Likewise.
43068         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43069         * rt/clock-compat.c: New file.
43070         * rt/Makefile (librt-routines): Add clock-compat and move
43071         $(clock-routines) to ...
43072         (routines): ... here, new variable.
43073         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43074         Don't add get_clockfreq here.
43075         * rt/Versions (libc: GLIBC_2.17): New version set.
43076         Add clock_* symbols here.
43077         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43078         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43079         (GLIBC_2.17): Add clock_* symbols.
43080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43084         Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43086         Likewise.
43087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43091         * NEWS: Mention the move.
43093         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43094         Use __open, __read, __close rather than their public counterparts.
43095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43096         (__get_clockfreq_via_cpuinfo): Likewise.
43097         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43098         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43100         * config.h.in (HAVE_IFUNC): New #undef.
43101         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43102         was successful.
43103         * configure: Regenerated.
43105 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43107         * configure.in: Move READELF check to start of file.
43108         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43109         libc_cv_asm_gnu_indirect_function in the process.
43110         * configure: Regenerated.
43112 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43114         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43115         send the output to /dev/null.
43116         (libc_cv_cc_with_libunwind): Likewise.
43117         (libc_cv_as_noexecstack): Likewise.
43118         * configure: Regenerate.
43120 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43122         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43124         * posix/globtest.sh (TMPDIR): Do not set.
43125         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43126         (testout): Likewise.
43128 2012-10-24  Andreas Jaeger  <aj@suse.de>
43130         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43131         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43132         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43133         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43134         posix_fadvise64, posix_fallocate64.
43136         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43137         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43138         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43139         Likewise.
43140         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43141         Likewise.
43142         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43145         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43146         <bits/fcntl-linux.h>.
43147         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43150         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43151         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43152         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43153         [__WORDSIZE != 64]: Likewise.
43155 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43157         * Makeconfig (run-built-tests): New variable.
43158         * Rules [$(cross-compiling) = yes]: Change condition to
43159         [$(run-built-tests) = no].
43160         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43161         to [$(run-built-tests) = yes].
43162         * elf/Makefile [$(cross-compiling) = no]: Likewise
43163         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43164         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43165         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43166         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43167         * io/Makefile [$(cross-compiling) = no]: Likewise.
43168         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43169         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43170         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43171         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43172         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43173         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43174         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43175         * string/Makefile [$(cross-compiling) = no]: Likewise.
43177         * posix/Makefile ($(objpfx)globtest.out): Pass
43178         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43179         $(rtld-installed-name).
43180         * posix/globtest.sh (elf_objpfx): Remove variable.
43181         (rtld_installed_name): Likewise.
43182         (library_path): Likewise.
43183         (run_program_prefix): New variable.  Use for running globtest
43184         binary.
43186 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43187             Joseph Myers  <joseph@codesourcery.com>
43189         * Makeconfig (host-built-program-cmd): New variable.
43190         * elf/Makefile (tst-stackguard1-ARGS): Use
43191         $(host-built-program-cmd).
43192         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43193         (tst-spawn-ARGS): Likewise.
43194         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43196 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43197             Jim Blandy  <jimb@codesourcery.com>
43199         * Makeconfig (run-via-rtld-prefix): New variable.
43200         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43201         (built-program-cmd): Likewise.
43203 2012-10-22  Andreas Jaeger  <aj@suse.de>
43205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43206         __O_RSYNC if it exists, otherwise to O_SYNC.
43208 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43209             Joseph Myers  <joseph@codesourcery.com>
43211         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43212         /dev/null.
43213         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43214         from /dev/null
43215         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43216         /dev/null.
43218 2012-10-22  Andreas Jaeger  <aj@suse.de>
43220         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43221         Define always.
43222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43225         bits/fcntl-linux.h.
43227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43228         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43231         to __O_LARGEFILE.
43232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43233         to __O_LARGEFILE.
43235 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43236             Joseph Myers  <joseph@codesourcery.com>
43238         * config.make.in (NM): New variable.
43240 2012-10-21  Andreas Jaeger  <aj@suse.de>
43242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43243         definitions and declarations that are provided by
43244         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43246 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43248         [BZ #14683]
43249         * elf/Makefile (tests-static): Add tst-leaks1-static.
43250         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43251         ($(objpfx)tst-leaks1-static): New rule.
43252         ($(objpfx)tst-leaks1-static-mem): Likewise.
43253         (tst-leaks1-static-ENV): New macro.
43254         * elf/dl-open.c (dl_open_worker): Check the main application
43255         only if SHARED is defined.
43256         * elf/tst-leaks1-static.c: New file.
43258 2012-10-20  Andreas Jaeger  <aj@suse.de>
43260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43261         generic values for Linux.
43262         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43263         and declarations that are provided by <bits/fcntl-linux.h> and
43264         include <bits/fcntl-linux.h>.
43265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43268 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43270         * io/fcntl.h: Move include of <bits/types.h> to the top and
43271         include it unconditionally.
43273 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43275         * wcsmbs/Makefile (tests-ifunc): New variable.
43276         (tests): Add $(tests-ifunc).
43277         * wcsmbs/test-wcschr-ifunc.c: New file.
43278         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43279         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43280         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43281         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43282         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43284         * string/Makefile (tests-ifunc): New variable.
43285         (tests): Add $(tests-ifunc).
43286         * string/test-memccpy.c (TEST_NAME): New macro.
43287         * string/test-memchr.c (TEST_NAME): Likewise.
43288         * string/test-memcmp.c (TEST_NAME): Likewise.
43289         * string/test-memcpy.c (TEST_NAME): Likewise.
43290         * string/test-memmem.c (TEST_NAME): Likewise.
43291         * string/test-memmove.c (TEST_NAME): Likewise.
43292         * string/test-memset.c (TEST_NAME): Likewise.
43293         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43294         * string/test-stpcpy.c (TEST_NAME): Likewise.
43295         * string/test-stpncpy.c (TEST_NAME): Likewise.
43296         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43297         * string/test-strcasestr.c (TEST_NAME): Likewise.
43298         * string/test-strcat.c (TEST_NAME): Likewise.
43299         * string/test-strchr.c (TEST_NAME): Likewise.
43300         * string/test-strcmp.c(TEST_NAME): Likewise.
43301         * string/test-strcpy.c (TEST_NAME): Likewise.
43302         * string/test-strcspn.c (TEST_NAME): Likewise.
43303         * string/test-strlen.c (TEST_NAME): Likewise.
43304         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43305         * string/test-strncmp.c (TEST_NAME): Likewise.
43306         * string/test-strncpy.c (TEST_NAME): Likewise.
43307         * string/test-strnlen.c (TEST_NAME): Likewise.
43308         * string/test-strpbrk.c (TEST_NAME): Likewise.
43309         * string/test-strrchr.c (TEST_NAME): Likewise.
43310         * string/test-strspn.c (TEST_NAME): Likewise.
43311         * string/test-strstr.c (TEST_NAME): Likewise.
43312         * string/test-bcopy-ifunc.c: New file.
43313         * string/test-bzero-ifunc.c: Likewise.
43314         * string/test-memccpy-ifunc.c: Likewise.
43315         * string/test-memchr-ifunc.c: Likewise.
43316         * string/test-memcmp-ifunc.c: Likewise.
43317         * string/test-memcpy-ifunc.c: Likewise.
43318         * string/test-memmem-ifunc.c: Likewise.
43319         * string/test-memmove-ifunc.c: Likewise.
43320         * string/test-mempcpy-ifunc.c: Likewise.
43321         * string/test-memset-ifunc.c: Likewise.
43322         * string/test-rawmemchr-ifunc.c: Likewise.
43323         * string/test-stpcpy-ifunc.c: Likewise.
43324         * string/test-stpncpy-ifunc.c: Likewise.
43325         * string/test-strcasecmp-ifunc.c: Likewise.
43326         * string/test-strcasestr-ifunc.c: Likewise.
43327         * string/test-strcat-ifunc.c: Likewise.
43328         * string/test-strchr-ifunc.c: Likewise.
43329         * string/test-strchrnul-ifunc.c: Likewise.
43330         * string/test-strcmp-ifunc.c: Likewise.
43331         * string/test-strcpy-ifunc.c: Likewise.
43332         * string/test-strcspn-ifunc.c: Likewise.
43333         * string/test-strlen-ifunc.c: Likewise.
43334         * string/test-strncasecmp-ifunc.c: Likewise.
43335         * string/test-strncat-ifunc.c: Likewise.
43336         * string/test-strncmp-ifunc.c: Likewise.
43337         * string/test-strncpy-ifunc.c: Likewise.
43338         * string/test-strnlen-ifunc.c: Likewise.
43339         * string/test-strpbrk-ifunc.c: Likewise.
43340         * string/test-strrchr-ifunc.c: Likewise.
43341         * string/test-strspn-ifunc.c: Likewise.
43342         * string/test-strstr-ifunc.c: Likewise.
43344         * debug/Makefile (tests-ifunc): New variable.
43345         (tests): Add $(tests-ifunc).
43346         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43347         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43348         * debug/test-stpcpy_chk-ifunc.c: New file.
43349         * debug/test-strcpy_chk-ifunc.c: Likewise.
43351 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353         [BZ #13601]
43354         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43355         header is not read in.
43357 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43359         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43360         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43361         directly.  Pass built executable to script as
43362         $(built-program-cmd).
43363         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43364         $testprogram without using LD_LIBRARY_PATH and $ldso.
43366         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43367         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43368         $(rtld-installed-name).
43369         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43370         (rtld_installed_name): Likewise.
43371         (library_path): Likewise.
43372         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43373         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43374         $(run-program-prefix) to tst-tables.sh.
43375         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43376         it to run tst-table-from and tst-table-to.
43377         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43378         Pass it to tst-table.sh.
43379         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43380         $(run-program-prefix) to tst-gettext.sh.
43381         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43382         tst-translit.sh.
43383         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43384         tst-gettext2.sh.
43385         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43386         to run tst-gettext.
43387         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43388         to run tst-gettext2.
43389         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43390         to run tst-translit.
43391         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43392         $(run-program-prefix) to tst-mtrace.sh.
43393         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43394         to run tst-mtrace.
43395         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43396         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43397         $(rtld-installed-name).
43398         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43399         (rtld_installed_name): Likewise.
43400         (run_program_prefix): New variable.  Use it to run wordexp-test.
43402         * Makeconfig (ARCH): Remove all definitions.
43403         (machine): Likewise.
43404         [ARCH]: Remove conditional code.
43405         [!objdir]: Give error.
43406         [!objdir] (objpfx): Remove.
43407         [!objdir] (common-objpfx): Likewise.
43408         [!objdir] (common-objdir): Likewise.
43409         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43410         AC_CONFIG_FILES call.
43411         * configure: Regenerated.
43413         [BZ #13888]
43414         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43415         or TMPDIR.
43416         (testout): Likewise.
43418         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43419         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43420         $(rtld-installed-name).
43421         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43422         (rtld_installed_name): Likwise.
43423         (runit): Remove function.
43424         (run_getconf): New variable,  Use it for running getconf binary.
43426 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43428         [BZ #14716]
43429         * string/test-memmem.c (check_result): New function.
43430         (do_one_test): Use it.
43431         (check1): New function.
43432         (test_main): Use it.
43434 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43436         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43438 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43440         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43441         (_G_LSEEK64): Likewise.
43442         (_G_MMAP64): Likewise.
43443         (_G_FSTAT64): Likewise.
43444         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43445         (_G_LSEEK64): Likewise.
43446         (_G_MMAP64): Likewise.
43447         (_G_FSTAT64): Likewise.
43448         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43449         unconditional.  Call __mmap64 directly.
43450         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43451         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43452         __lseek64 directly.
43453         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43454         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43455         __mmap64 directly.
43456         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43457         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43458         __lseek64 directly.
43459         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43460         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43461         __lseek64 directly.
43462         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43463         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43464         __lseek64 directly.
43465         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43466         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43467         __fxstat64 directly.
43468         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43469         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43470         unconditional.
43471         (freopen64) [!_G_OPEN64]: Remove conditional code.
43472         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43473         unconditional.
43474         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43475         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43476         unconditional.
43477         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43478         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43479         unconditional.
43480         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43481         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43482         unconditional.
43483         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43484         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43485         unconditional.
43486         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43487         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43488         unconditional.
43489         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43490         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43491         unconditional.
43492         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43494 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43496         [BZ #12140]
43497         * manual/memory.texi (Malloc Tunable Parameters): Add note
43498         about free list pointers overwriting some perturb bytes.
43499         Wording suggested by Roland McGrath.
43501 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43503         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43504         (lgamma_test): Likewise.
43505         (tgamma_test): Likewise.
43507 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43509         [BZ #14700]
43510         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43511         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43513 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43515         * NEWS: Mention BZ #14716.
43516         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43517         when removing AVAILABLE1_USES_J macro.
43519 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43521         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43522         (__bswap_64): __uint64_t for unsigned 64-bit int.
43524 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43526         * include/string.h (memmem): Declare libc hidden alias.
43527         * string/memmem.c (memmem): Define libc hidden alias.
43528         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43529         __read, __close instead of open, read, close.
43531 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43534         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43535         global and hidden.
43536         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43537         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43538         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43539         Likewise.
43540         (__rawmemchr_sse2): Likewise.
43541         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43542         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43543         (__strchr_sse2): Likewise.
43544         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43545         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43546         (__strcasecmp_sse2): Likewise.
43547         (__strncasecmp_sse2): Likewise.
43548         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43549         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43550         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43551         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43552         (__strrchr_sse2): Likewise.
43553         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43554         ifunc-impl-list.c.
43555         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43556         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43557         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43558         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43559         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43560         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43561         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43563         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43564         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43565         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43566         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43567         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43568         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43569         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43570         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43571         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43572         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43573         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43574         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43575         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43576         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43577         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43578         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43579         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43580         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43581         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43582         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43583         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43584         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43586         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43587         global and hidden.
43588         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43589         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43590         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43591         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43592         Likewise.
43593         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43594         Likewise.
43595         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43596         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43597         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43598         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43599         ifunc-impl-list.c.
43600         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43601         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43602         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43603         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43604         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43605         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43606         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43607         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43608         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43609         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43610         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43611         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43612         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43613         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43614         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43615         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43616         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43617         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43618         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43619         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43620         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43621         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43622         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43623         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43624         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43625         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43626         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43627         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43628         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43629         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43630         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43631         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43632         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43633         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43634         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43635         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43636         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43637         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43638         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43639         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43640         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43642         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43643         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43644         * include/ifunc-impl-list.h: New file.
43645         * misc/ifunc-impl-list.c: Likewise.
43646         * misc/Makefile (routines): Add ifunc-impl-list.
43647         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43648         * string/test-string.h: Include <ifunc-impl-list.h>.
43649         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43650         TEST_NAME]: New variables.
43651         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43652         are defined.
43653         (test_init): Call __libc_ifunc_impl_list to initialize
43654         func_list if TEST_IFUNC and TEST_NAME are defined.
43656         * string/Makefile (strop-tests): Add bcopy and bzero.
43657         * string/test-bcopy.c: New file.
43658         * string/test-bzero.c: Likewise.
43659         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43660         defined.
43661         * string/test-memset.c: Support bzero test if TEST_BZERO is
43662         defined.
43663         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43664         __libc_memmove.
43665         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43666         __libc_memset.
43667         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43668         of memset.
43670 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43672         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43673         * configure: Regenerated.
43675         * Makeconfig (+link-static-before-libc): Don't include
43676         $(link-static-libc).
43678         * libio/libio.h (_IO_pos_t): Remove.
43680 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43682         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43683         McGrath.
43685 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43687         * crypt/crypt-entry.c: Include fips-private.h.
43688         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43689         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43690         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43691         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43693 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43695         * crypt/crypt-private.h: Include stdbool.h.
43696         (_ufc_setup_salt_r): Return bool.
43697         * crypt/crypt-entry.c: Include errno.h.
43698         (__crypt_r): Return NULL with EINVAL for bad salt.
43699         * crypt/crypt_util.c (bad_for_salt): New.
43700         (_ufc_setup_salt_r): Check that salt is long enough and within
43701         the specified alphabet.
43702         * crypt/badsalttest.c: New file.
43703         * crypt/Makefile (tests): Add it.
43704         ($(objpfx)badsalttest): New.
43706 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43708         * NEWS: Add entry for BZ #14602.
43710 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43712         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43713         type-generic.
43714         * math/libm-test.inc: Update comment listing what functions and
43715         macros are tested.
43716         (isgreater_test): New function.
43717         (isgreaterequal_test): Likewise.
43718         (isless_test): Likewise.
43719         (islessequal_test): Likewise.
43720         (islessgreater_test): Likewise.
43721         (isunordered_test): Likewise.
43722         (main): Call the new functions.
43724 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43726         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43727         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43728         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43729         * sysdeps/i386/configure: Regenerated.
43730         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43731         * sysdeps/mach/configure: Regenerated.
43732         * sysdeps/mach/hurd/configure: Regenerated.
43733         * sysdeps/powerpc/configure: Regenerated.
43734         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43735         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43736         * sysdeps/s390/s390-32/configure: Regenerated.
43737         * sysdeps/s390/s390-64/configure: Regenerated.
43738         * sysdeps/sh/configure: Regenerated.
43739         * sysdeps/sparc/configure: Regenerated.
43740         * sysdeps/unix/sysv/linux/configure: Regenerated.
43741         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43742         * sysdeps/x86_64/configure: Regenerated.
43744         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43745         defined.  Don't check if MAP is NULL.
43747 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43749         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43750         (_G_stat64): Likewise.
43751         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43752         (_G_stat64): Likewise.
43753         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43754         instead of struct _G_stat64.
43755         * libio/fileops.c (mmap_remap_check): Likewise.
43756         (decide_maybe_mmap): Likewise.
43757         (_IO_new_file_seekoff): Likewise.
43758         (_IO_file_stat): Likewise.
43759         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43760         _G_off64_t.
43761         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43762         instead of struct _G_stat64.
43763         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43765 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43767         [BZ #14602]
43768         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43769         Replace with ...
43770         (CHECK_EOL): New macro.
43771         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43772         CHECK_EOL.
43773         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43774         Replace with CHECK_EOL.
43775         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43776         Replace with CHECK_EOL.
43778 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43780         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43781         type-generic.
43782         * math/libm-test.inc: Update comment listing what functions and
43783         macros are tested.
43784         (finite_test): New function.
43785         (isinf_test): Likewise.
43786         (isnan_test): Likewise.
43787         (fpclassify_test): Test subnormal input.
43788         (isfinite_test): Likewise.
43789         (isnormal_test): Likewise.
43790         (main): Call the new functions.
43792 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43794         [BZ #14660]
43795         * Makerules (%.dynsym): Force C locale when running
43796         $(OBJDUMP) --dynamic-syms.
43798 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43800         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43801         <stdint.h>.
43803 2012-10-06  David S. Miller  <davem@davemloft.net>
43805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43806         upper 32-bits of the length value in %o2 since we use branch-on-register
43807         tests which consider the entire 64-bit register.
43809 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43811         * string/test-strstr.c (check2): Add a test for page boundary.
43813 2012-10-05  David S. Miller  <davem@davemloft.net>
43815         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43816         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43817         file.
43818         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43819         sysdep_routines.
43820         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43821         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43822         and bzero when HWCAP_SPARC_CRYPTO is present.
43824 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43826         [BZ #14602]
43827         * string/test-strstr.c (check2): New function.
43828         (test_main): Call check2.
43830         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43831         and bug-strchr1.
43832         * string/bug-strcasestr1.c (do_test): Moved to ...
43833         * string/test-strcasestr.c (check1): Here.  New function.
43834         (do_one_test): Break out result checking code into ...
43835         (check_result): This.  New function.
43836         (do_one_test): Call check_result.
43837         (test_main): Call check1.
43838         * string/bug-strchr1.c (do_test): Moved to ...
43839         * string/test-strchr.c (check1): Here.  New function.
43840         (do_one_test): Break out result checking code into ...
43841         (check_result): This.  New function.
43842         (do_one_test): Call check_result.
43843         (test_main): Call check1.
43844         * string/bug-strstr1.c (main): Moved to ...
43845         * string/test-strstr.c (check1): Here.  New function.
43846         (do_one_test): Break out result checking code into ...
43847         (check_result): This.  New function.
43848         (do_one_test): Call check_result.
43849         (test_main): Call check1.
43850         * string/bug-strcasestr1.c: Removed.
43851         * string/bug-strchr1.c: Likewise.
43852         * string/bug-strstr1.c: Likewise.
43854         * elf/Makefile (dl-routines): Add hwcaps.
43855         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43856         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43857         (_dl_important_hwcaps): Moved to ...
43858         * elf/dl-hwcaps.c: Here.  New file.
43859         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43861         [BZ #14557]
43862         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43863         if IS_IN_rtld isn't defined.
43865         * elf/dl-support.c (_dl_sysinfo_map): New.
43866         Include "get-dynamic-info.h" and "setup-vdso.h".
43867         (_dl_non_dynamic_init): Call setup_vdso.
43868         * elf/dynamic-link.h: Don't include <assert.h>.
43869         (elf_get_dynamic_info): Moved to ...
43870         * elf/get-dynamic-info.h: Here.  New file.
43871         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43872         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43873         * elf/setup-vdso.h: Here.  New file.
43874         * elf/rtld.c: Include "setup-vdso.h".
43875         (dl_main): Call setup_vdso.
43877 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43879         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43880         creal in comment listing functions tested.  List finite, isinf,
43881         isnan, isless, islessequal, isgreater, isgreaterequal,
43882         islessgreater, isunordered, lgamma_r and pow10 as functions and
43883         macros not tested.  Mention which functions not tested are aliases
43884         for other functions.  Fix typo.  Note that signs of NaNs are not
43885         tested.
43887         * scripts/config.guess: Update from config.git.
43888         * scripts/config.sub: Likewise.
43890 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43892         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43893         * misc/madvise.c (madvise): Renamed to __madvise.
43894         Make madvise a weak alias.
43895         * include/sys/mman.h: Declare __madvise.
43896         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43897         * sysdeps/unix/syscalls.list
43898         (madvise): Make __madvise the strong name, and madvise a weak alias.
43899         * sysdeps/unix/sysv/linux/syscalls.list
43900         (madvise, mmap): Remove redundant entries.
43901         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43902         * malloc/malloc.c (mtrim): Likewise.
43903         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43905 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43907         * sysdeps/mach/hurd/dl-cache.c: File removed.
43908         * config.h.in (USE_LDCONFIG): New #undef.
43909         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43910         * configure: Regenerated.
43911         * elf/Makefile (dl-routines): Add dl-cache only under
43912         [$(use-ldconfig) = yes].
43913         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43914         cache on [USE_LDCONFIG].
43915         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43916         [USE_LDCONFIG].
43917         * elf/rtld.c (dl_main): Likewise.
43919 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43921         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43922         _SC_LEVEL4_CACHE_LINESIZE.
43924 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43926         * sysdeps/unix/bsd/confstr.h: File removed.
43928 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43930         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43931         sys/sdt-config.h.
43933 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43935         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43936         Make 'mapoff' field ElfW(Off) rather than off_t.
43938 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43940         * nscd/Makefile: Remove nscd-cflags and all its users.
43941         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43942         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43944         [BZ #10631]
43945         * malloc.c (malloc_printerr): Clarify error message.
43947 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43949         [BZ #14648]
43950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43951         Set bit_FMA_Usable if FMA is supported.
43952         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43953         macro.
43954         (bit_FMA4_Usable): Updated.
43955         (index_FMA_Usable): New macro.
43956         (CPUID_FMA): Likewise
43957         (HAS_FMA): Defined with bit_FMA_Usable.
43959 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43961         * bits/types.h (__swblk_t): Type removed.
43962         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43963         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43965         (__SWBLK_T_TYPE): Likewise.
43966         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43967         (__SWBLK_T_TYPE): Likewise.
43968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43969         (__SWBLK_T_TYPE): Likewise.
43970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43971         (__SWBLK_T_TYPE): Likewise.
43973 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43974             Honza Horak <hhorak@redhat.com>
43976         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43977         (xdr_mapname): Use YPMAXMAP as maxsize.
43978         (xdr_peername): Use YPMAXPEER as maxsize.
43979         (xdr_keydat): Use YPAXRECORD as maxsize.
43980         (xdr_valdat): Use YPMAXRECORD as maxsize.
43982 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43984         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43986         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43987         * csu/init-first.c: ... here.
43988         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43989         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43990         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43991         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43992         * sysdeps/i386/init-first.c: File removed.
43993         * sysdeps/sh/init-first.c: File removed.
43995 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #14645]
43998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43999         if x * y might underflow to zero and z is zero.
44000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44002         * math/libm-test.inc (min_subnorm_value): New variable.
44003         (fma_test): Add more tests.
44004         (fma_test_towardzero): Likewise.
44005         (fma_test_downward): Likewise
44006         (fma_test_upward): Likewise.
44007         (initialize): Set min_subnorm_value.
44009 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44011         [BZ #14638]
44012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44013         0 + 0.
44014         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44015         mode for addition resulting in exact zero.
44016         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44018         exact 0 + 0.
44019         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44021         * math/libm-test.inc (fma_test): Add more tests.
44022         (fma_test_towardzero): New function.
44023         (fma_test_downward): Likewise.
44024         (fma_test_upward): Likewise.
44025         (main): Call the new functions.
44027 2012-09-28  David S. Miller  <davem@davemloft.net>
44029         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44031 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44033         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44034         instead of SIGALRM.
44036         * sysdeps/gnu/_G_config.h: Moved to ...
44037         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44038         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44039         * sysdeps/generic/_G_config.h: ... here.
44041         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44043         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44045         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44046         Conditionalize target on [libnss_test1.so-version].
44048         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44050         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44051         (elfobjdir): Move out of conditionals.
44053         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44054         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44055         (__nss_lookup_function): Conditionalize label remove_from_tree on
44056         [!DO_STATIC_NSS || SHARED], matching its only use.
44058 2012-09-28  David S. Miller  <davem@davemloft.net>
44060         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44061         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44062         file.
44063         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44064         sysdep_routines.
44065         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44067         when HWCAP_SPARC_CRYPTO is present.
44069 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44071         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44073 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44075         [BZ #6530]
44076         * stdio-common/vfprintf.c (process_string_arg): Revert
44077         2000-07-22 change.
44079 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44081         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44082         for testcase.
44083         * stdio-common/tst-sprintf.c: Include <locale.h>
44084         (main): Test sprintf's handling of incomplete multibyte
44085         characters.
44087 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44089         * elf/dl-runtime.c (VERSYMIDX): Removed.
44090         * elf/dl-version.c (VERSYMIDX): Likewise.
44091         * elf/do-rel.h (VERSYMIDX): Likewise.
44092         (VALIDX): Likewise.
44093         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44094         * elf/rtld.c (VALIDX): Likewise.
44095         (ADDRIDX): Likewise.
44096         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44097         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44098         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44099         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44100         (VALIDX): Likewise.
44101         (ADDRIDX): Likewise.
44103 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44105         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44107 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44109         [BZ #11438]
44110         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44111         to global scope.
44112         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44113         addresses are in the same scope as 192.0.2/24.
44114         * posix/gai.conf: Document new scope table defaults.
44116 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44118         [BZ #5298]
44119         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44120         for ftell.  Compute offsets from write pointers instead.
44121         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44123 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44125         [BZ #14543]
44126         * libio/Makefile (tests): New test case tst-fseek.
44127         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44128         combination works in wide mode.
44129         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44130         state when the external buffer state changes.
44132 2012-09-27  David S. Miller  <davem@davemloft.net>
44134         [BZ #14376]
44135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44136         pass reloc->r_addend in as the 'high' argument to
44137         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44141 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44143         * rt/tst-aio2.c: Include <pthread.h>.
44144         * rt/tst-aio3.c: Likewise.
44146 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44148         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44150 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44152         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44153         contents on [SHARED].
44155 2012-09-26  Marek Polacek  <polacek@redhat.com>
44157         [BZ #14530]
44158         [BZ #13741]
44159         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44160         for C++ and GCC <4.3 as well as for non GCC compilers.
44162 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44166 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44168         * Makefile.in (all, install): Declare with .PHONY.
44169         Reported by Michael Hope <michael.hope@linaro.org>.
44171 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44173         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44174         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44175         system header.
44176         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44177         Likewise.
44178         (sydep_routines): Add the new and the internal functions.
44179         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44180         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44182         (GLIBC_2.17): Add the new function.
44183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44184         (GLIBC_2.17): Likewise.
44185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44186         (GLIBC_2.17): Likewise.
44187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44188         (GLIBC_2.17): Likewise.
44189         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44191 2012-09-25  Alan Modra  <amodra@gmail.com>
44193         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44194         Add release barrier before setting once_control to say
44195         initialisation is done.  Add hints on lwarx.  Use macro in
44196         place of isync.
44197         (clear_once_control): Add release barrier.
44199 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44201         [BZ #13629]
44202         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44203         specially.
44204         * math/s_clog10.c (__clog10): Likewise.
44205         * math/s_clog10f.c (__clog10f): Likewise.
44206         * math/s_clog10l.c (__clog10l): Likewise.
44207         * math/s_clogf.c (__clogf): Likewise.
44208         * math/s_clogl.c (__clogl): Likewise.
44209         * math/Makefile (libm-calls): Add x2y2m1.
44210         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44211         (__x2y2m1): Likewise.
44212         (__x2y2m1l): Likewise.
44213         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44214         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44215         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44216         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44217         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44218         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44219         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44220         * sysdeps/i386/fpu/libm-test-ulps: Update.
44221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44223         [BZ #14621]
44224         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44225         int as type of variable DEPTH.
44226         (glob): Use size_t instead of int as type of variables NEWCOUNT
44227         and OLD_PATHC.
44229 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44232         Add s_sincosf-sse2.
44233         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44234         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44235         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44236         macros for using routine as __sincosf_ia32.
44237         Use macro for function declaration and weak_alias.
44238         * sysdeps/i386/fpu/libm-test-ulps: Update.
44240         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44243         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44244         subnormal argument.
44245         * math/s_cexpf.c (__cexpf): Likewise.
44246         * math/s_csinf.c (__csinf): Likewise.
44247         * math/s_csinhf.c (__csinhf): Likewise.
44248         * math/s_ctanf.c (__ctanf): Likewise.
44249         * math/s_ctanhf.c (__ctanhf): Likewise.
44250         * math/s_ccosh.c (__ccoshf): Likewise.
44251         * math/s_cexp.c (__cexpl): Likewise.
44252         * math/s_csin.c (__csin): Likewise.
44253         * math/s_csinh.c (__csinh): Likewise.
44254         * math/s_ctan.c (__ctan): Likewise.
44255         * math/s_ctanh.c (ctanh): Likewise.
44256         * math/s_ccoshl.c (__ccoshl): Likewise.
44257         * math/s_cexpl.c (__cexpl): Likewise.
44258         * math/s_csinl.c (__csinl): Likewise.
44259         * math/s_csinhl.c (__csinhl): Likewise.
44260         * math/s_ctanl.c (__ctanl): Likewise.
44261         * math/s_ctanhl.c (__ctanhl): Likewise.
44263 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44265         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44266         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44267         (_IO_off_t): Define to __off_t, not _G_off_t.
44268         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44269         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44270         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44271         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44272         type of __dummy and __dummy2 fields.
44273         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44274         (_G_ssize_t): Likewise.
44275         (_G_off_t): Likewise.
44276         (_G_pid_t): Likewise.
44277         (_G_uid_t): Likewise.
44278         (_G_wchar_t): Likewise.
44279         (_G_wint_t): Likewise.
44280         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44281         (_G_ssize_t): Likewise.
44282         (_G_off_t): Likewise.
44283         (_G_pid_t): Likewise.
44284         (_G_uid_t): Likewise.
44285         (_G_wchar_t): Likewise.
44286         (_G_wint_t): Likewise.
44287         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44288         (_G_ssize_t): Likewise.
44289         (_G_off_t): Likewise.
44290         (_G_pid_t): Likewise.
44291         (_G_uid_t): Likewise.
44292         (_G_wchar_t): Likewise.
44293         (_G_wint_t): Likewise.
44295 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44297         * malloc/arena.c: Include malloc-sysdep.h.
44298         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44299         is sufficient to shrink the heap or an unmap is needed.
44300         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44301         new function check_may_shrink_heap.
44302         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44303         new function check_may_shrink_heap.
44305 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44307         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44308         comments.
44310 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44312         * catgets/test-gencat.sh: Add "set -e".
44313         * elf/tst-pathopt.sh: Likewise.
44314         * grp/tst_fgetgrent.sh: Likewise.
44315         * iconvdata/run-iconv-test.sh: Likewise.
44316         * intl/tst-gettext.sh: Likewise.
44317         * intl/tst-gettext2.sh: Likewise.
44318         * intl/tst-gettext4.sh: Likewise.
44319         * intl/tst-gettext6.sh: Likewise.
44320         * intl/tst-translit.sh: Likewise.
44321         * io/ftwtest-sh: Likewise.
44322         * libio/test-freopen.sh: Likewise.
44323         * malloc/tst-mtrace.sh: Likewise.
44324         * posix/globtest.sh: Likewise.
44325         * posix/tst-getconf.sh: Likewise.
44326         * posix/wordexp-tst.sh: Likewise.
44327         * stdio-common/tst-printf.sh: Likewise.
44328         * stdio-common/tst-unbputc.sh: Likewise.
44329         * stdlib/tst-fmtmsg.sh: Likewise.
44330         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44331         * catgets/Makefile: Do not specify -e option when running
44332         testsuite shell scripts.
44333         * elf/Makefile: Likewise.
44334         * grp/Makefile: Likewise.
44335         * iconvdata/Makefile: Likewise.
44336         * intl/Makefile: Likewise.
44337         * io/Makefile: Likewise.
44338         * libio/Makefile: Likewise.
44339         * malloc/Makefile: Likewise.
44340         * posix/Makefile: Likewise.
44341         * stdio-common/Makefile: Likewise.
44342         * stdlib/Makefile: Likewise.
44343         * sysdeps/x86_64/Makefile: Likewise.
44345         * io/ftwtest-sh: Add copyright header.
44346         * posix/globtest.sh: Likewise.
44347         * posix/tst-getconf.sh: Likewise.
44348         * posix/wordexp-tst.sh: Likewise.
44349         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44351 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44353         [BZ #13679]
44354         * Makeconfig (+link): Defined as $(+link-static) if
44355         $(build-shared) isn't yes.
44356         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44357         isn't yes.
44358         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44360         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44362         [BZ #14562]
44363         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44364         new chunk size with MALLOC_ALIGN_MASK.
44366 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44368         [BZ #5044]
44369         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44370         <rounding-mode.h>.
44371         (__printf_fphex): Determine rounding using get_rounding_mode and
44372         round_away.
44373         * stdio-common/tst-printf-round.c (struct hex_test): New
44374         structure.
44375         (hex_tests): New variable.
44376         (test_hex_in_one_mode): New function.
44377         (do_test): Also run tests for hex float output.
44379 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44381         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44382         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44383         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44384         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44385         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44386         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44387         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44388         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44390 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44392         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44393         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44394         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44395         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44397 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44399         [BZ #14579]
44400         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44401         mode only.
44402         * elf/tst-rtld-load-self.sh: New test.
44403         * elf/Makefile: Run it.
44405 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44407         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44408         (tst-writev-ENV): Remove.
44409         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44411 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44413         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44415 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44417         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44418         unconditional.
44419         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44420         Likewise.
44421         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44422         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44423         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44424         Likewise.
44426 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44428         [BZ #14587]
44429         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44430         * config.make.in (have-cpp-asm-debuginfo): Removed.
44431         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44432         * configure: Regenerated.
44434 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44436         [BZ #5044]
44437         * stdio-common/printf_fp.c: Include <stdbool.h> and
44438         <rounding-mode.h>.
44439         (___printf_fp): Determine rounding using get_rounding_mode and
44440         round_away.
44441         * stdio-common/tst-printf-round.c: New file.
44442         * stdio-common/Makefile (tests): Add tst-printf-round.
44443         (link-libm): New variable.
44444         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44446 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44448         [BZ #14576]
44449         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44450         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44451         Likewise.
44452         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44453         Likewise.
44455 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44457         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44458         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44459         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44460         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44462 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44464         [BZ #14518]
44465         * include/rounding-mode.h: New file.
44466         * sysdeps/generic/get-rounding-mode.h: Likewise.
44467         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44468         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44469         (MAX_VALUE): New macro.
44470         (MIN_VALUE): Likewise.
44471         (overflow_value): New function.
44472         (underflow_value): Likewise.
44473         (round_and_return): Use overflow_value and underflow_value to
44474         determine return values in overflow and underflow cases.  Use
44475         round_away to determine rounding depending on rounding mode.
44476         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44477         determine return values in overflow and underflow cases.
44478         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44479         (struct test_results): New structure.
44480         (struct test): Use struct test_results to store expected results
44481         for all rounding modes.
44482         (TEST): Include expected results for all rounding modes.
44483         (test_in_one_mode): New function.
44484         (do_test): Use test_in_one_mode to compute and check results.
44485         Check results for all rounding modes.
44486         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44487         $(link-libm).
44489 2012-12-09  Allan McRae  <allan@archlinux.org>
44491         * sysdeps/i386/fpu/libm-test-ulps: Update
44493 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44495         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44496         (_G_int32_t): Likewise.
44497         (_G_uint16_t): Likewise.
44498         (_G_uint32_t): Likewise.
44499         (_G_HAVE_BOOL): Likewise.
44500         (_G_HAVE_ATEXIT): Likewise.
44501         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44502         (_G_HAVE_IO_FILE_OPEN): Likewise.
44503         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44504         (_G_int32_t): Likewise.
44505         (_G_uint16_t): Likewise.
44506         (_G_uint32_t): Likewise.
44507         (_G_HAVE_BOOL): Likewise.
44508         (_G_HAVE_ATEXIT): Likewise.
44509         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44510         (_G_HAVE_IO_FILE_OPEN): Likewise.
44511         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44512         (_G_int32_t): Likewise.
44513         (_G_uint16_t): Likewise.
44514         (_G_uint32_t): Likewise.
44515         (_G_HAVE_BOOL): Likewise.
44516         (_G_HAVE_ATEXIT): Likewise.
44517         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44518         (_G_HAVE_IO_FILE_OPEN): Likewise.
44520 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44522         * csu/libc-tls.c: Update copyright years.
44524 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44526         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44527         [!_G_USING_THUNKS]: Remove conditional code.
44528         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44529         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44531         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44532         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44533         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44534         (_G_VTABLE_LABEL_PREFIX): Likewise.
44535         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44536         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44537         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44538         (_G_VTABLE_LABEL_PREFIX): Likewise.
44539         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44540         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44541         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44542         (_G_VTABLE_LABEL_PREFIX): Likewise.
44543         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44545 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44547         * libio/Makefile: Include ../Makeconfig before tests.
44548         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44549         only if $(build-shared) is yes.
44551         * iconv/gconv_db.c: Update copyright years.
44553 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44555         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44556         unwind info if defined PIC. Fix special cases description.
44557         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44559         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44560         DP_HI_MASK entry.
44561         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44563 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44565         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44567         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44568         is NULL.
44570         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44571         (LDLIBS-tst-chk4): This.
44572         (LDFLAGS-tst-chk5): Renamed to ...
44573         (LDLIBS-tst-chk5): This.
44574         (LDFLAGS-tst-chk6): Renamed to ...
44575         (LDLIBS-tst-chk6): This.
44576         (LDFLAGS-tst-lfschk4): Renamed to ...
44577         (LDLIBS-tst-lfschk4): This.
44578         (LDFLAGS-tst-lfschk5): Renamed to ...
44579         (LDLIBS-tst-lfschk5): This.
44580         (LDFLAGS-tst-lfschk6): Renamed to ...
44581         (LDLIBS-tst-lfschk6): This.
44583         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44584         on $(common-objpfx)soversions.mk.
44586 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44588         [BZ #10014]
44589         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44590         example host name.
44592 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44594         * malloc/arena.c (arena_get_retry): New function that gets
44595         another arena for the caller to try its request on.
44596         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44597         current arena cannot fulfill the request.
44598         (__libc_memalign): Likewise.
44599         (__libc_memalign): Likewise.
44600         (__libc_pvalloc): Likewise.
44601         (__libc_calloc): Likewise.
44603 2012-09-05  John Tobey  <john.tobey@gmail.com>
44605         [BZ #13542]
44606         * manual/arith.texi (Operations on Complex): Fix description
44607         of carg branch cut.
44609 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44611         [BZ #10014]
44612         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44613         host name.
44615         [BZ #10038]
44616         * manual/memory.texi (Memory): Make order of menu items match
44617         order of sections.
44619 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44621         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44622         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44623         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44627         * csu/libc-tls.c (static_dtv): Renamed to ...
44628         (_dl_static_dtv): This.  Make it global.
44629         (_dl_initial_dtv): Removed.
44630         (__libc_setup_tls): Updated.
44631         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44632         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44633         DL_INITIAL_DTV.
44635 2012-09-06  Petr Machata  <pmachata@redhat.com>
44637         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44638         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44639         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44640         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44642 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44644         [BZ #14545]
44645         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44646         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44647         freeing dtv[-1].
44649 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44651         [BZ #14544]
44652         * Makeconfig (link-static-before-libc): Replace $(+prector)
44653         with $(+prectorT).
44654         (link-static-after-libc): Replace $(+postctor) with
44655         $(+postctorT).
44656         (link-bounded): Replace $(+prector)/$(+postctor) with
44657         $(+prectorT)/$(+postctorT).
44658         (+prectorT): New macro.
44659         (+postctorT): Likewise.
44661 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44663         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44664         (round_str): Handle values above the maximum for IBM long double
44665         as inexact.
44666         * stdlib/tst-strtod-round.c (tests): Regenerated.
44668 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44670         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44671         assembler flag.
44672         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44673         zarch_nohighgprs around the zarch optimized routines.
44674         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44675         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44676         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44677         for zarch.
44679 2012-09-05  David S. Miller  <davem@davemloft.net>
44681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44683         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44684         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44685         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44686         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44687         entries.
44689 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44691         * malloc/arena.c: Fold copyright years.
44692         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44694 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44696         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44698 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44700         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44702 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44704         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44705         change internal state upon failure.
44707 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44709         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44710         * malloc/memusage.c (mmap): Likewise.
44711         (mmap64, mremap): Likewise.  Adjust name in comment.
44713 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44715         * libio/fileops.c: Fix typos in comments.
44716         * libio/oldfileops.c: Likewise.
44717         * libio/wfileops.c: Likewise.
44719 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44721         [BZ #1349]
44722         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44723         (tst-malloc-usable-ENV): Set environment for test case.
44724         * malloc/hooks.c (malloc_check_get_size): New function to get
44725         requested size.
44726         * malloc/malloc.c (musable): Use malloc_check_get_size.
44727         * malloc/tst-malloc-usable.c: New test case.
44729 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44731         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44733 2012-09-05  Allan McRae  <allan@archlinux.org>
44735         [BZ #13966]
44736         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44737         determine header location.
44738         * configure: Regenerated.
44740 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44742         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44743         float format.
44744         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44745         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44746         format.
44747         (test): Regenerate.
44749 2012-09-04  David S. Miller  <davem@davemloft.net>
44751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44753         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44755 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44757         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44758         failures.
44760         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44762 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44764         [BZ #9914]
44765         * libio/iogetdelim.c: Include <limits.h>.
44766         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44767         + len + 1 would overflow.
44769 2012-09-03  Andreas Jaeger  <aj@suse.de>
44771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44772         * sysdeps/i386/fpu/libm-test-ulps: Update.
44774 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44776         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44777         Add s_sinf-sse2, s_conf-sse2.
44779         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44780         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44781         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44782         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44784         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44785         for using routine as __sinf_ia32.
44786         Use macro for function declaration and weak_alias.
44787         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44788         for using routine as __cosf_ia32.
44789         Use macro for function declaration and weak_alias.
44791         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44792         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44794         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44795         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44798         * math/libm-test.inc (cos_test): Add more test cases.
44799         (sin_test): Likewise.
44800         (sincos_test): Likewise.
44802 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44804         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44805         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44806         hidden.
44807         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44809 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44811         [BZ #14538]
44812         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44813         first element of the GOT.
44814         (elf_machine_load_address): Return the difference between
44815         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44817 2012-09-01  Allan McRae  <allan@archlinux.org>
44819         [BZ #13412]
44820         * configure.in (AWK): Require gawk version 3.0 or later.
44821         * configure: Regenerated.
44823 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44825         * sysdeps/unix/sysv/linux/kernel-features.h
44826         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44828         [__NR_clock_getres]: Make code unconditional.
44829         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44830         (clock_getcpuclockid): Remove code left unreachable by removal of
44831         conditionals.
44832         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44833         code unconditional.
44834         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44835         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44836         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44837         Make code unconditional.
44838         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44839         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44840         * sysdeps/unix/sysv/linux/clock_settime.c
44841         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44842         conditional code.
44843         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44844         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44846 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44848         [BZ #14476]
44849         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44850         scripts/test-installation.pl.
44852         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44853         and $ld_so_version if it is set.
44855 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44857         [BZ #14516]
44858         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44859         failure if reading from procfs failed.
44860         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44862 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44864         * sysdeps/unix/sysv/linux/kernel-features.h
44865         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44866         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44867         Remove conditional code.
44868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44869         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44870         Remove conditional code.
44871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44872         * sysdeps/unix/sysv/linux/i386/fxstat.c
44873         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44875         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44876         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44878         * sysdeps/unix/sysv/linux/i386/lxstat.c
44879         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44880         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44881         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44882         Remove conditional code.
44883         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44884         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44885         Remove conditional code.
44886         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44887         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44888         <kernel-features.h>.
44889         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44890         Remove.
44891         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44892         Remove conditional code.
44893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44894         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44895         Remove conditional.
44897 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44899         [BZ #5400]
44900         * NEWS: Add fixed bug number.
44902 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44904         [BZ #14519]
44905         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44906         underflowing exponent in case of negative sign.
44907         * stdlib/tst-strtod-round-data: Add more tests.
44908         * stdlib/tst-strtod-round.c (tests): Regenerated.
44910         [BZ #3479]
44911         * stdlib/strtod_l.c (NDIG): Remove.
44912         (HEXNDIG): Likewise.
44913         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44914         smallest representable value.
44915         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44916         lie within an exact representation of 1/2 ulp of the result.
44917         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44918         unconditionally.
44919         (TENS_P9_IDX): Define unconditionally.
44920         (TENS_P9_SIZE): Likewise.
44921         (TENS_P10_IDX): Likewise.
44922         (TENS_P10_SIZE): Likewise.
44923         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44924         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44925         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44926         entries for 10^2^13 and 10^2^14.
44927         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44928         (TENS_P13_IDX): Define.
44929         (TENS_P13_SIZE): Likewise.
44930         (TENS_P14_IDX): Likewise.
44931         (TENS_P14_SIZE): Likewise.
44932         (_fpioconst_pow10): Change array size to
44933         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44934         unconditional.
44935         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44936         1024]: Add entries for 10^2^13 and 10^2^14.
44937         [LAST_POW10 > _LAST_POW10]: Remove #error.
44938         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44939         (_fpioconst_pow10): Change array size to
44940         FPIOCONST_POW10_ARRAY_SIZE.
44941         * stdlib/gen-fpioconst.c: New file.
44942         * stdlib/gen-tst-strtod-round.c: Likewise.
44943         * stdlib/tst-strtod-round-data: Likewise.
44944         * stdlib/tst-strtod-round.c: Likewise.
44945         * stdlib/Makefile (tests): Add tst-strtod-round.
44947         [BZ #14459]
44948         * stdlib/strtod_l.c: Include <stdint.h>.
44949         (NDEBUG): Do not define.
44950         (round_and_return): Change EXPONENT parameter to type intmax_t.
44951         Rearrange calculations to avoid internal overflow possibilities.
44952         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44953         Rearrange calculations to avoid internal overflow possibilities.
44954         Assert that number fits inside MPNSIZE limbs.
44955         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44956         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44957         calculations and add assertions to avoid internal overflow
44958         possibilities.  Add casts to avoid signed/unsigned operations.
44959         * stdlib/tst-strtod-overflow.c: New file.
44960         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44962 2012-08-25  Marek Polacek  <polacek@redhat.com>
44964         * time/time.h: Fix some typos in comments.
44966 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44968         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44969         * posix/tst-rfc3484-2.c: Likewise.
44970         * posix/tst-rfc3484-3.c: Likewise.
44972 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44974         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44975         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44977 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44979         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44980         #include of fxstatat64.c.
44982 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44984         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44985         * shadow/getspent_r.c: Likewise.
44986         * shadow/getspnam.c: Likewise.
44987         * shadow/getspnam_r.c: Likewise.
44988         * gshadow/getsgent.c: Likewise.
44989         * gshadow/getsgent_r.c: Likewise.
44990         * gshadow/getsgnam.c: Likewise.
44991         * gshadow/getsgnam_r.c: Likewise.
44992         * inet/getnetbyad.c: Likewise.
44993         * inet/getnetbyad_r.c: Likewise.
44994         * inet/getnetbynm.c: Likewise.
44995         * inet/getnetbynm_r.c: Likewise.
44996         * inet/getnetent.c: Likewise.
44997         * inet/getnetent_r.c: Likewise.
44998         * inet/getproto.c: Likewise.
44999         * inet/getproto_r.c: Likewise.
45000         * inet/getprtent.c: Likewise.
45001         * inet/getprtent_r.c: Likewise.
45002         * inet/getprtname.c: Likewise.
45003         * inet/getprtname_r.c: Likewise.
45004         * inet/getrpcbyname.c: Likewise.
45005         * inet/getrpcbyname_r.c: Likewise.
45006         * inet/getrpcbynumber.c: Likewise.
45007         * inet/getrpcbynumber_r.c: Likewise.
45008         * inet/getrpcent.c: Likewise.
45009         * inet/getrpcent_r.c: Likewise.
45010         * inet/getaliasent.c: Likewise.
45011         * inet/getaliasent_r.c: Likewise.
45012         * inet/getaliasname.c: Likewise.
45013         * inet/getaliasname_r.c: Likewise.
45014         * nscd/getgrgid_r.c: Likewise.
45015         * nscd/getgrnam_r.c: Likewise.
45016         * nscd/gethstbyad_r.c: Likewise.
45017         * nscd/gethstbynm3_r.c: Likewise.
45018         * nscd/getpwnam_r.c: Likewise.
45019         * nscd/getpwuid_r.c: Likewise.
45020         * nscd/getsrvbynm_r.c: Likewise.
45021         * nscd/getsrvbypt_r.c: Likewise.
45022         * nscd/gai.c: Likewise.
45024         * configure.in (build_nscd): New substituted variable, set
45025         by --disable-build-nscd and defaults to $use_nscd.
45026         * configure: Regenerated.
45027         * config.make.in (build-nscd): New substituted variable.
45028         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45029         Change conditional to require [$(build-nscd) = yes] as well.
45030         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45032         [BZ# 13696]
45033         * configure.in (use_nscd): New substituted variable, set by
45034         --disable-nscd.  If enabled, define USE_NSCD.
45035         * configure: Regenerated.
45036         * config.h.in: Add USE_NSCD.
45037         * config.make.in (use-nscd): New substituted variable.
45038         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45039         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45040         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45041         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45042         (CFLAGS-getgrnam_r.c): Likewise.
45043         (CFLAGS-initgroups.c): Likewise.
45044         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45045         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45046         Variables removed.
45047         * inet/getnetgrent_r.c
45048         (nscd_setnetgrent): New function, broken out of ...
45049         (setnetgrent): ... here.  Call it.
45050         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45051         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45052         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45053         * nscd/Makefile (routines, aux): Move definitions after include of
45054         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45055         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45056         Conditionalize on [USE_NSCD].
45057         (is_nscd, nscd_init_cb): Likewise.
45058         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45059         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45060         * nss/nss_db/db-init.c: Likewise.
45061         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45062         [USE_NSCD].
45063         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45064         (make_request): Use it.
45065         (cache_valid_p): New function.
45066         (__check_pf): Use it.
45067         * NEWS: Add item for --disable-nscd.
45069 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45071         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45072         to support sed >= 4.2.1-20-ga9bf076.
45073         * configure: Regenerated.
45075 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45077         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45078         Conditionalize whole body on [IREL].
45080 2012-08-22  Jeff Law <law@redhat.com>
45082         [BZ #14505]
45083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45084         if the family is PF_UNSPEC.
45086 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45088         * Makerules (lib-version): Rename from V.
45089         (install-lib-nosubdir): Change V to lib-version.
45091 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45093         [BZ #14252]
45094         * powerpc32/power6/wcschr.c: New file.
45095         * powerpc32/power6/wcscpy.c: New file.
45096         * powerpc32/power6/wcsrchr.c: New file.
45097         * powerpc64/power6/wcschr.c: New file.
45098         * powerpc64/power6/wcscpy.c: New file.
45099         * powerpc64/power6/wcsrchr.c: New file.
45101 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45103         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45104         (two_way_short_needle): Use it.
45105         * string/strstr.c (AVAILABLE1_USES_J): Define.
45106         * string/strcasestr.c: Likewise.
45108         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45109         array references.
45110         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45112         [BZ #11607]
45113         * NEWS: Add an entry.
45114         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45115         define their defaults.
45116         (two_way_short_needle): Detect end-of-string on-the-fly.
45117         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45118         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45119         * string/bug-strcasestr1.c: New test.
45120         * string/Makefile: Run it.
45122 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45124         [BZ #11607]
45125         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45126         the first character.
45128 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45130         * csu/elf-init.c (__libc_csu_irel): Function removed.
45131         * csu/libc-start.c (apply_irel): New function.
45132         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45134 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45136         * sysdeps/unix/sysv/linux/kernel-features.h
45137         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45138         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45139         <kernel-features.h>.
45140         [__NR_fadvise64_64]: Make code unconditional.
45141         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45142         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45143         !__NR_fadvise64_64)]: Likewise.
45144         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45145         !__NR_fadvise64_64))]: Likewise.
45146         [__NR_fadvise64]: Make code unconditional.
45147         [!__NR_fadvise64]: Remove conditional code.
45148         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45149         <kernel-features.h>.
45150         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45151         unconditional.
45152         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45153         conditional code.
45154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45155         not include <kernel-features.h>.
45156         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45157         unconditional.
45158         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45159         conditional code.
45160         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45161         include <kernel-features.h>.
45162         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45163         unconditional.
45164         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45165         conditional code.
45167 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45169         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45170         slight instruction rearrangements per scrollpipe analysis.
45171         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45173 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45175         * manual/syslog.texi (syslog; vsyslog, closelog):
45176         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45177         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45179         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45180         DSOCAPS to match condition on defining it.
45182 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45184         * sysdeps/unix/sysv/linux/kernel-features.h
45185         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45187         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45188         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45190         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45191         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45193         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45194         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45196         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45197         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45199         * sysdeps/unix/sysv/linux/kernel-features.h
45200         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45201         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45202         unconditional.
45203         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45204         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45205         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45206         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45207         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45208         Make code unconditional.
45209         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45210         (__mmap64) [!__NR_mmap2]: Likewise.
45211         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45212         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45213         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45214         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45215         [__NR_mmap2]: Make code unconditional.
45216         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45217         (__mmap64) [!__NR_mmap2]: Likewise.
45219 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45221         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45223 2012-08-18  Andreas Jaeger  <aj@suse.de>
45225         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45227 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45229         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45230         * include/unistd.h (__have_sock_cloexec): Likewise.
45231         (__have_pipe2): Likewise.
45232         (__have_dup3): Likewise.
45234 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45236         [BZ #9685]
45237         * include/unistd.h (__have_pipe2): Change define into an extern int.
45238         (__have_dup3): Likewise.
45239         * socket/have_sock_cloexec.c: Include fcntl.h.
45240         (__have_pipe2): New variable.
45241         (__have_dup3): Likewise.
45243 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45245         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45247 2012-08-17  Marek Polacek  <polacek@redhat.com>
45249         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45250         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45252 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45254         * configure.in: Add AC_SUBST for sysheaders.
45255         * configure: Regenerated.
45256         * config.make.in (sysheaders): New substituted variable.
45258         * sysdeps/unix/mkfifo.c: Moved ...
45259         * sysdeps/posix/mkfifo.c: ... here.
45260         * sysdeps/unix/mkfifoat.c: Moved ...
45261         * sysdeps/posix/mkfifoat.c: ... here.
45263         * sysdeps/unix/utime.c: Moved ...
45264         * sysdeps/posix/utime.c: ... here.
45266         * sysdeps/unix/time.c: Moved ...
45267         * sysdeps/posix/time.c: ... here.
45268         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45269         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45271         * sysdeps/unix/nice.c: Moved ...
45272         * sysdeps/posix/nice.c: ... here.
45274         * sysdeps/unix/alarm.c: Moved ...
45275         * sysdeps/posix/alarm.c: ... here.
45277         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45279 2012-08-17  Jeff Law <law@redhat.com>
45281         * intl/Makefile (codeset_mo): New variable.
45282         ($(codeset_mo)): New target.
45283         (tst-codeset.out): Depend on that.  Remove explicit rule.
45284         (tst-gettext3.out, tst-gettext5.out): Likewise.
45285         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45286         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45287         * intl/tst-codeset.sh: Remove.
45288         * intl/tst-gettext3.sh: Likewise.
45289         * intl/tst-gettext5.sh: Likewise.
45291 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45293         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45294         * sysdeps/unix/syscalls.list: ... here.
45296         * sysdeps/posix/getaddrinfo.c
45297         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45298         (gaiconf_init, gaiconf_reload): Use them.
45299         [!_STATBUF_ST_NSEC]
45300         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45301         Define using time_t rather than struct timespec.
45303         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45304         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45305         Macros removed.
45306         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45307         [!NO_THREADS].
45308         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45309         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45310         Likewise.
45312         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45313         __libc_cleanup_push argument.
45315         * bits/param.h: New file.
45316         * misc/sys/param.h: New file.
45317         * include/sys/param.h: New file.
45318         * misc/Makefile (headers): Add bits/param.h.
45319         * sysdeps/generic/sys/param.h: File removed.
45320         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45321         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45322         * sysdeps/mach/hurd/bits/param.h: New file.
45323         * sysdeps/mach/hurd/sys/param.h: File removed.
45325         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45326         last change.
45328         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45329         [_IO_MTSAFE_IO].
45330         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45331         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45332         New macros.
45334         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45335         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45336         rather than -D_IO_MTSAFE_IO conditionally.
45337         * stdio-common/Makefile (CPPFLAGS): Likewise.
45338         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45339         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45340         Use $(libio-mtsafe).
45341         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45342         of -D_IO_MTSAFE_IO.
45343         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45344         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45345         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45346         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45347         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45348         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45349         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45350         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45351         (CFLAGS-fread_u_chk.c): Likewise.
45352         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45353         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45354         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45355         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45356         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45357         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45358         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45359         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45360         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45362         * libio/Makefile: Test [$(libc-reentrant) = yes]
45363         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45365         * Makeconfig
45366         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45367         * sysdeps/pthread/configure: File removed.
45368         * sysdeps/pthread/Makeconfig: New file.
45369         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45370         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45372 2012-08-16  Gary Benson  <gbenson@redhat.com>
45374         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45375         unmapping the first object in a namespace.
45377 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45379         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45380         (__internal_setnetgrent): ... this.  Add internal_function to
45381         definition.  Add libc_hidden_def.
45382         (setnetgrent): Update caller.
45383         (internal_endnetgrent): Renamed to ...
45384         (__internal_endnetgrent): ... this.  Add internal_function to
45385         definition.  Add libc_hidden_def.
45386         (endnetgrent): Update caller.
45387         (internal_getnetgrent_r): Renamed to ...
45388         (__internal_getnetgrent_r): ... this.  Add internal_function to
45389         definition.  Add libc_hidden_def.
45390         (__getnetgrent_r): Update caller.
45391         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45393 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45395         * stdlib/longlong.h: Update from GCC.
45397 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45399         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45400         on _QL, which is set by umul_ppmm but never used.
45401         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45402         variables, which are set by GMP macros but never used.
45403         * stdio-common/_itowa.c (_itowa): Likewise.
45404         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45405         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45407 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45409         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45410         struct La_sh_regs is not constant.
45411         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45412         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45413         and struct La_sparc64_regs are not constant.
45415 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45417         * sysdeps/unix/sysv/linux/kernel-features.h
45418         (__ASSUME_POSIX_TIMERS): Remove.
45419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45420         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45421         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45422         Make code unconditional.
45423         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45424         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45425         Make code unconditional.
45426         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45427         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45428         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45429         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45430         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45431         Make code unconditional.
45432         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45433         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45434         (__libc_missing_posix_timers): Remove.
45436 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45438         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45439         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45441         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45443         * elf/dl-sym.c: Include <stdlib.h>.
45445         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45446         constants, which avoids warnings in 32-bit builds.
45448         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45449         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45451         * misc/lseek.c: File moved to ...
45452         * io/lseek.c: ... here.
45454         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45456         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45457         shifting LEN more than 31 bits at once.
45459 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45461         [BZ #14195]
45462         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45463         segmentation fault for a case of two empty input strings.
45464         * string/test-strncasecmp.c (check1): Renamed to...
45465         (bz12205): ...this.
45466         (bz14195): Add new testcase for two empty input strings and N > 0.
45467         (test_main): Call new testcase, adapt for renamed function.
45469 2012-08-15  Andreas Jaeger  <aj@suse.de>
45471         [BZ #14090]
45472         * crypt/md5test2.c: New test, based on test supplied by Serge
45473         Belyshev <belyshev@depni.sinp.msu.ru>.
45474         * crypt/Makefile (xtests): Add md5test-giant..
45475         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45477 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45479         [BZ #14090]
45480         * crypt/md5.c (md5_process_block): Don't assume the buffer
45481         length is less than 2**32.
45482         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45483         length is less than 2**64.
45485 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45487         * string/str-two-way.h: Include <sys/param.h>.
45488         (MAX): Macro removed.
45490         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45491         Move #define and #undef of memmove to just before and after
45492         including <string.h>.
45494         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45495         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45496         and after including <string.h>.  Move declarations of
45497         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45498         to before #include "string/memmove.c".
45500         * include/dirent.h: Declare __getdirentries.
45502         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45503         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45505 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45507         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45508         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45509         * sysdeps/i386/configure: Regenerated.
45510         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45511         STABS_CURRENT_FILE, and STABS_FUN.
45512         (END): Remove call to STABS_FUN_END.
45513         (STABS_CURRENT_FILE1): Delete.
45514         (STABS_CURRENT_FILE): Likewise.
45515         (STABS_FUN): Likewise.
45516         (STABS_FUN_END): Likewise.
45517         (STABS_FUN2): Likewise.
45518         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45519         * sysdeps/x86_64/configure: Regenerated.
45521 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45523         * elf/dl-open.c: Include <atomic.h>.
45524         * elf/dl-lookup.c: Likewise.
45526 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45528         * sysdeps/unix/sysv/linux/kernel-features.h
45529         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45530         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45531         unconditionally.
45532         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45533         unconditionally.
45534         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45535         condition on __ASSUME_CLONE_THREAD_FLAGS.
45537 2012-08-14  Andreas Jaeger  <aj@suse.de>
45539         * sysdeps/i386/fpu/libm-test-ulps: Update.
45541 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45543         * include/atomic.h (atomic_exchange_and_add): Split into ...
45544         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45545         New atomic macros.
45547 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45551 2012-08-13  Jeff Law <law@redhat.com>
45553         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45554         null byte in the output string.
45556 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45558         * sysdeps/unix/sysv/linux/kernel-features.h
45559         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45560         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45561         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45562         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45563         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45564         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45565         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45567 2012-08-09  Jeff Law <law@redhat.com>
45569         [BZ #13939]
45570         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45571         When avoid_arena is set, don't retry in the that arena.  Pick the
45572         next one, whatever it might be.
45573         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45574         (arena_lock): Pass in new parameter to arena_get2.
45575         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45576         arena_get2.
45577         (__libc_malloc): Unify retrying after main arena failure with
45578         __libc_memalign version.
45579         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45581 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45583         [BZ #14166]
45584         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45585         to __redirect_strstr.
45586         (__strstr_sse42): Use typeof __redirect_strstr.
45587         (__strstr_ia32): Likewise.
45588         (__libc_strstr): New prototype.
45589         (strstr): Renamed to ...
45590         (__libc_strstr): This.
45591         (strstr): New strong alias of __libc_strstr.
45592         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45593         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45594         __redirect_time.
45595         Include <time.h>.
45596         (__libc_time): New prototype.
45597         (time_ifunc): Replace time with __libc_time.
45598         (time): New strong alias and hidden definition of __libc_time.
45599         (__GI_time): Remove strong alias.
45600         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45601         Include <stddef.h>.
45602         (memmove): Redefined to __redirect_memmove.
45603         (__memmove_sse2): Use typeof __redirect_memmove.
45604         (__memmove_ssse3): Likewise.
45605         (__memmove_ssse3_back): Likewise.
45606         (__libc_memmove): New prototype.
45607         (memmove): Renamed to ...
45608         (__libc_memmove): This.
45609         (memmove): New strong alias of __libc_memmove.
45611 2012-08-08  Mark Salter  <msalter@redhat.com>
45613         * elf/elf.h
45614         (R_MN10300_TLS_GD): Define.
45615         (R_MN10300_TLS_LD): Likewise.
45616         (R_MN10300_TLS_LDO): Likewise.
45617         (R_MN10300_TLS_GOTIE): Likewise.
45618         (R_MN10300_TLS_IE): Likewise.
45619         (R_MN10300_TLS_LE): Likewise.
45620         (R_MN10300_TLS_DTPMOD): Likewise.
45621         (R_MN10300_TLS_DTPOFF): Likewise.
45622         (R_MN10300_TLS_TPOFF): Likewise.
45623         (R_MN10300_SYM_DIFF): Likewise.
45624         (R_MN10300_ALIGN): Likewise.
45625         (R_MN10300_NUM): Update.
45627 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45630         Remove.
45632 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45634         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45636         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45637         sysdeps/unix -> sysdeps/posix move.
45638         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45640 2012-08-07      Allan McRae     <allan@archlinux.org>
45642         [BZ #14303]
45643         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45644         (SUNOS_CPP): Likewise.
45645         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45646         not found.
45647         (open_input): Call CPP using execvp.
45649 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45651         * sysdeps/unix/sysv/linux/kernel-features.h
45652         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45653         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45654         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45655         (__ASSUME_WAITID_SYSCALL): Likewise.
45656         * sysdeps/unix/sysv/linux/dl-execstack.c
45657         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45658         code unconditional.
45659         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45660         conditional code.
45661         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45662         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45663         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45664         code.
45665         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45666         unconditional.
45667         [__ASSUME_WAITID_SYSCALL]: Likewise.
45668         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45670 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45672         * sysdeps/unix/closedir.c: Renamed to ...
45673         * sysdeps/posix/closedir.c: ... here.
45674         * sysdeps/unix/dirfd.c: Renamed to ...
45675         * sysdeps/posix/dirfd.c: ... here.
45676         * sysdeps/unix/dirstream.h: Renamed to ...
45677         * sysdeps/posix/dirstream.h: ... here.
45678         * sysdeps/unix/fdopendir.c: Renamed to ...
45679         * sysdeps/posix/fdopendir.c: ... here.
45680         * sysdeps/unix/opendir.c: Renamed to ...
45681         * sysdeps/posix/opendir.c: ... here.
45682         * sysdeps/unix/readdir.c: Renamed to ...
45683         * sysdeps/posix/readdir.c: ... here.
45684         * sysdeps/unix/readdir_r.c: Renamed to ...
45685         * sysdeps/posix/readdir_r.c: ... here.
45686         * sysdeps/unix/rewinddir.c: Renamed to ...
45687         * sysdeps/posix/rewinddir.c: ... here.
45688         * sysdeps/unix/seekdir.c: Renamed to ...
45689         * sysdeps/posix/seekdir.c: ... here.
45690         * sysdeps/unix/telldir.c: Renamed to ...
45691         * sysdeps/posix/telldir.c: ... here.
45692         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45693         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45694         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45695         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45697         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45698         * bits/fcntl.h: ... here.
45700         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45701         not 0.
45702         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45703         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45704         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45705         (struct flock): Move l_start, l_len to the beginning.
45706         Use __pid_t for l_pid.
45707         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45708         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45709         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45710         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45711         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45712         [__USE_LARGEFILE64] (struct flock64): New type.
45713         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45715         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45716         * bits/dirent.h: ... here.
45718         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45719         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45721 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45723         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45724         Change from 2.6.0 to 2.6.16.
45725         * sysdeps/unix/sysv/linux/configure: Regenerated.
45726         * sysdeps/unix/sysv/linux/kernel-features.h
45727         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45728         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45729         version.
45730         (__ASSUME_UTIMES): Likewise.
45731         (__ASSUME_CLONE_STOPPED): Remove.
45732         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45733         architectures, not kernel version.
45734         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45735         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45736         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45737         (__ASSUME_WAITID_SYSCALL): Likewise.
45738         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45739         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45740         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45741         refer to older versions.
45743 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45745         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45746         Define alphasort64 as an alias.
45747         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45748         Define versionsort64 as an alias.
45749         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45750         Define scandir64 as an alias.
45751         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45752         Define scandirat64 as an alias.
45753         * dirent/alphasort64.c (alphasort64):
45754         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45755         * dirent/versionsort64.c: Likewise.
45756         * dirent/scandir64.c: Likewise.
45757         * dirent/scandirat64.c: Likewise.
45758         * sysdeps/wordsize-64/alphasort.c: File removed.
45759         * sysdeps/wordsize-64/alphasort64.c: File removed.
45760         * sysdeps/wordsize-64/scandir.c: File removed.
45761         * sysdeps/wordsize-64/scandir64.c: File removed.
45762         * sysdeps/wordsize-64/scandirat.c: File removed.
45763         * sysdeps/wordsize-64/scandirat64.c: File removed.
45764         * sysdeps/wordsize-64/versionsort.c: File removed.
45765         * sysdeps/wordsize-64/versionsort64.c: File removed.
45766         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45767         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45768         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45770         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45772         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45773         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45775         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45777         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45779         [defined __arch64__ || defined __sparcv9]
45780         (__INO_T_MATCHES_INO64_T): New macro.
45781         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45782         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45783         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45784         * sysdeps/unix/sysv/linux/bits/dirent.h
45785         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45786         (_DIRENT_MATCHES_DIRENT64): New macro.
45788         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45789         Define lockf64 as an alias.
45790         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45791         Define fseeko64 as an alias.
45792         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45793         Define ftello64 as an alias.
45794         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45795         Define _IO_fgetpos64 and fgetpos64 as aliases.
45796         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45797         Define _IO_fsetpos64 and fsetpos64 as aliases.
45798         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45799         Conditionalize body on this.
45800         * libio/fseeko64.c: Likewise.
45801         * libio/ftello64.c: Likewise.
45802         * libio/iofgetpos64.c: Likewise.
45803         * libio/iofsetpos64.c: Likewise.
45804         * sysdeps/wordsize-64/lockf.c: File removed.
45805         * sysdeps/wordsize-64/lockf64.c: File removed.
45806         * sysdeps/wordsize-64/fseeko.c: File removed.
45807         * sysdeps/wordsize-64/fseeko64.c: File removed.
45808         * sysdeps/wordsize-64/ftello.c: File removed.
45809         * sysdeps/wordsize-64/ftello64.c: File removed.
45810         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45811         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45812         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45813         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45814         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45815         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45816         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45818         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45821         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45822         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45825         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45826         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45827         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45828         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45829         [defined __arch64__ || defined __sparcv9]
45830         (__OFF_T_MATCHES_OFF64_T): New macro.
45831         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45832         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45834         (__OFF_T_MATCHES_OFF64_T): New macro.
45836 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45838         * stdlib/secure-getenv.c (__secure_getenv): Replace
45839         GLIBC_2_16 with GLIBC_2_17.
45841 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45844         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45846 2012-08-03  David S. Miller  <davem@davemloft.net>
45848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45850 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45853         Remove.
45854         (__ASSUME_CORRECT_SI_PID): Likewise.
45855         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45856         (__ASSUME_TMPFS_NAME): Likewise.
45857         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45858         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45859         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45860         (HAVE_AUX_SECURE): Make definition unconditional.
45861         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45862         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45864 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45866         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45867         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45868         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45869         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45870         __eloop_threshold instead of SYMLOOP_MAX.
45872         * sysdeps/generic/eloop-threshold.h: New file.
45873         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45874         of MAXSYMLINKS.
45875         * elf/chroot_canon.c (chroot_canon): Likewise.
45877 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45879         [BZ #13717]
45880         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45881         Change to 2.6.0 everywhere.
45882         * sysdeps/unix/sysv/linux/configure: Regenerated.
45883         * sysdeps/unix/sysv/linux/kernel-features.h
45884         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45885         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45886         kernel versions.
45887         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45888         (__ASSUME_FUTEX_REQUEUE): Remove.
45889         (__ASSUME_STATFS64): Define unconditionally.
45890         (__ASSUME_AT_SECURE): Likewise.
45891         (__ASSUME_CORRECT_SI_PID): Likewise.
45892         (__ASSUME_TGKILL): Define without depending on kernel version for
45893         i386.
45894         (__ASSUME_UTIMES): Likewise.
45895         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45896         kernel version.
45897         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45898         (__ASSUME_TMPFS_NAME): Likewise.
45899         * README: Update reference to Linux kernel versions.
45901 2012-08-02  Marek Polacek  <polacek@redhat.com>
45903         [BZ# 14150]
45904         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45905         libc_cv_asm_type_prefix with %.
45906         * configure: Regenerated.
45907         * include/libc-symbols.h: Remove comment about
45908         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45909         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45910         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45911         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45912         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45913         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45914         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45915         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45916         * elf/tst-unique2mod1.c: Likewise.
45917         * elf/tst-unique1mod2.c: Likewise.
45918         * elf/tst-unique1mod1.c: Likewise.
45919         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45920         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45921         Replace ASM_TYPE_DIRECTIVE with .type.
45922         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45923         * sysdeps/i386/sysdep.h: Likewise.
45924         * sysdeps/x86_64/sysdep.h: Likewise.
45925         * sysdeps/sh/sysdep.h: Likewise.
45926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45927         Do not define ASM_TYPE_DIRECTIVE.
45928         * sysdeps/powerpc/sysdep.h: Likewise.
45929         * sysdeps/powerpc/powerpc32/sysdep.h:
45930         Replace ASM_TYPE_DIRECTIVE with .type.
45931         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45932         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45933         * sysdeps/i386/fpu/e_powf.S: Likewise.
45934         * sysdeps/i386/fpu/e_expl.S: Likewise.
45935         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45936         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45937         * sysdeps/i386/fpu/e_pow.S: Likewise.
45938         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45939         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45940         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45941         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45942         * sysdeps/i386/fpu/e_log2.S: Likewise.
45943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45944         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45945         * sysdeps/i386/fpu/e_powl.S: Likewise.
45946         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45947         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45948         * sysdeps/i386/fpu/e_logl.S: Likewise.
45949         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45950         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45951         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45952         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45953         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45954         * sysdeps/i386/fpu/e_log.S: Likewise.
45955         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45956         * sysdeps/i386/fpu/e_logf.S: Likewise.
45957         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45958         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45959         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45960         * sysdeps/i386/fpu/e_log10.S: Likewise.
45961         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45962         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45963         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45964         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45965         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45966         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45967         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45968         * sysdeps/i386/i686/strtok.S: Likewise.
45969         * sysdeps/i386/i386-mcount.S: Likewise.
45970         * sysdeps/i386/strtok.S: Likewise.
45971         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45972         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45973         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45974         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45975         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45977         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45978         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45979         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45980         * sysdeps/x86_64/_mcount.S: Likewise.
45981         * sysdeps/x86_64/strtok.S: Likewise.
45982         * sysdeps/sh/_mcount.S: Likewise.
45984 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45986         * libio/iofopen.c: Include <fcntl.h>.
45987         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45988         (_IO_fopen64, fopen64): Define as aliases.
45989         * libio/iofopen64.c: Include <fcntl.h>.
45990         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45991         Conditionalize body on this.
45992         * sysdeps/wordsize-64/iofopen.c: File removed.
45993         * sysdeps/wordsize-64/iofopen64.c: File removed.
45995 2012-08-01  Marek Polacek  <polacek@redhat.com>
45997         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45998         Use dlfcn directly instead of a variable.
45999         (binfmt-subdir): Do not define.
46000         (dlfcn): Likewise.
46002 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46005         Remove all definitions.
46006         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46007         <kernel-features.h>.
46008         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46009         (miss_F_GETOWN_EX): Remove all definitions.
46010         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46011         macro definition.
46012         [!__ASSUME_FCNTL64]: Remove conditional code.
46013         [__ASSUME_FCNTL64]: Make code unconditional.
46014         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46015         <kernel-features.h>.
46016         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46017         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46018         (lockf64) [__NR_fcntl64]: Make code unconditional.
46019         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46021         * sysdeps/unix/sysv/linux/kernel-features.h
46022         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46023         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46024         Make code unconditional.
46025         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46026         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46028         [__NR_vfork]: Make code unconditional.
46029         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46030         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46032         [__NR_vfork]: Make code unconditional.
46033         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46034         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46036 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46038         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46039         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46041         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46042         Define mkstemp64 as an alias.
46043         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46044         Define mkstemps64 as an alias.
46045         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46046         Define mkostemp64 as an alias.
46047         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46048         Define mkostemps64 as an alias.
46049         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46050         Conditionalize body on this.
46051         * misc/mkostemp64.c: Likewise.
46052         * misc/mkostemps64.c: Likewise.
46053         * misc/mkstemps64.c: Likewise.
46054         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46055         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46056         * sysdeps/wordsize-64/mkostemp.c: File removed.
46057         * sysdeps/wordsize-64/mkstemp.c: File removed.
46058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46059         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46060         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46061         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46063         [BZ #14138]
46064         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46065         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46066         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46067         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46069         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46070         compat_symbol macros from <shlib-compat.h> rather than the underlying
46071         default_symbol_version and symbol_version macros, so that DEFAULT
46072         lines in shlib-versions are respected.
46073         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46075 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46077         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46078         Declare with warn_unused_result.
46079         (setgid, setregid, setegid, setresgid): Likewise.
46080         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46081         Likewise.
46082         * WUR-REPORT: Remove set*id functions.
46084 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46086         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46088 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46090         [BZ #10191]
46091         * include/sys/socket.h (__libc_accept, __libc_accept4):
46092         Add attribute_hidden.
46093         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46095         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46096         use of PTR_MANGLE.
46097         * inet/getnetgrent_r.c (setup): Likewise.
46099         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46101 2012-07-31  David S. Miller  <davem@davemloft.net>
46103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46105 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46107         [BZ #13629]
46108         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46109         value between 1.0 and 2.0 and smaller part has absolute value less
46110         than 1.0.
46111         * math/s_clog10.c (__clog10): Likewise.
46112         * math/s_clog10f.c (__clog10f): Likewise.
46113         * math/s_clog10l.c (__clog10l): Likewise.
46114         * math/s_clogf.c (__clogf): Likewise.
46115         * math/s_clogl.c (__clogl): Likewise.
46116         * math/libm-test.inc (clog_test): Add more tests.
46117         (clog10_test): Likewise.
46118         * sysdeps/i386/fpu/libm-test-ulps: Update.
46119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46121 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46123         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46124         Exit with zero in case no suitable GID is found, and write a
46125         message to standard error.
46127 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46129         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46130         rather than to 1.
46131         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46132         (MAXPATHLEN): Removed.
46133         (NOGROUP, NODEV): New macros.
46134         (setbit, clrbit, isset, isclr): New macros.
46135         (howmany, roundup, powerof2): New macros.
46136         (DEV_BSIZE): New macro.
46138         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46139         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46141         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46142         definition on [!__NO_LONG_DOUBLE_MATH].
46144         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46145         PTR_MANGLE and PTR_DEMANGLE.
46147         * socket/accept4.c (accept4): Rename to __libc_accept4.
46148         Define accept4 as a weak alias.
46150         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46151         on [_DIRENT_HAVE_D_TYPE].
46152         * io/ftw.c (ftw_dir): Likewise.
46154         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46156         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46158         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46159         Use the BSD numbers rather than the arbitrary ones we had.
46160         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46161         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46162         (SIGXCPU, SIGXFSZ): New macros.
46163         (_NSIG): Now 32.
46165         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46166         initializer on [_LIBC_REENTRANT].
46168         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46169         definitions inside [_POSIX_MAPPED_FILES].
46171         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46173         * dirent/opendir.c: Include <fcntl.h>.
46175         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46176         (__libc_getspecific): Likewise.
46177         (__libc_key_create): Likewise.
46179         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46180         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46181         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46182         (tmpfile64): Define as alias.
46183         * sysdeps/wordsize-64/tmpfile.c: File removed.
46184         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46185         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46186         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46188         * stdio-common/vfscanf.c: Include <stdbool.h>.
46189         * nss/makedb.c: Likewise.
46190         * stdio-common/_i18n_number.h: Likewise.
46191         * argp/argp-help.c: Likewise.
46192         * posix/wordexp.c: Likewise.
46193         * sysdeps/posix/spawni.c: Likewise.
46194         * nss/nss_files/files-initgroups.c: Likewise.
46195         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46196         * nss/nss_files/files-initgroups.c: Likewise.
46197         * nss/nss_db/db-netgrp.c: Likewise.
46198         * nss/nss_db/db-initgroups.c: Likewise.
46199         * io/fchmodat.c: Include <sys/stat.h>.
46201         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46202         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46204         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46205         [HAVE_MMAP].
46207         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46208         Add multiple inclusion protection.
46210 2012-07-27  David S. Miller  <davem@davemloft.net>
46212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46214 2012-07-27  Gary Benson  <gbenson@redhat.com>
46216         [BZ #14298]
46217         * elf/rtld.c: Include <stap-probe.h>.
46218         (dl_main): Added static probes "init_start" and "init_complete".
46219         * elf/dl-load.c: Include <stap-probe.h>.
46220         (lose): Take new parameter "nsid".
46221         Added static probe "map_failed".
46222         (_dl_map_object_from_fd): Pass namespace id to lose.
46223         Added static probe "map_start".
46224         (open_verify): Pass namespace id to lose.
46225         * elf/dl-open.c: Include <stap-probe.h>.
46226         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46227         and "reloc_complete".
46228         * elf/dl-close.c: Include <stap-probe.h>.
46229         (_dl_close_worker): Added static probes "unmap_start" and
46230         "unmap_complete".
46231         * elf/rtld-debugger-interface.txt: New file documenting the above.
46233 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46235         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46236         rather than a string variable.
46237         * sunrpc/rpc_main.c (h_output): Likewise.
46238         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46240 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46242         * inet/check_native.c: New file.
46244 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46246         [BZ #13629]
46247         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46248         if larger part has absolute value 1.0.
46249         * math/s_clog10.c (__clog10): Likewise.
46250         * math/s_clog10f.c (__clog10f): Likewise.
46251         * math/s_clog10l.c (__clog10l): Likewise.
46252         * math/s_clogf.c (__clogf): Likewise.
46253         * math/s_clogl.c (__clogl): Likewise.
46254         * math/libm-test.inc (clog_test): Add more tests.
46255         (clog10_test): Likewise.
46256         * sysdeps/i386/fpu/libm-test-ulps: Update.
46257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46259         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46260         (pltexit): Likewise.
46261         (La_regs): Likewise.
46262         (La_retval): Likewise.
46263         (int_retval): Likewise.
46264         Update #error for removed macros to refer only to definitions in
46265         tst-audit.h.
46266         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46267         macro.
46268         (pltexit): Likewise.
46269         (La_regs): Likewise.
46270         (La_retval): Likewise.
46271         (int_retval): Likewise.
46272         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46273         macro.
46274         (pltexit): Likewise.
46275         (La_regs): Likewise.
46276         (La_retval): Likewise.
46277         (int_retval): Likewise.
46278         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46279         macro.
46280         (pltexit): Likewise.
46281         (La_regs): Likewise.
46282         (La_retval): Likewise.
46283         (int_retval): Likewise.
46284         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46285         macro.
46286         (pltexit): Likewise.
46287         (La_regs): Likewise.
46288         (La_retval): Likewise.
46289         (int_retval): Likewise.
46290         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46291         macro.
46292         (pltexit): Likewise.
46293         (La_regs): Likewise.
46294         (La_retval): Likewise.
46295         (int_retval): Likewise.
46296         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46297         macro.
46298         (pltexit): Likewise.
46299         (La_regs): Likewise.
46300         (La_retval): Likewise.
46301         (int_retval): Likewise.
46302         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46303         macro definitions in tst-audit.h.
46304         * sysdeps/i386/tst-audit.h: New file.
46305         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46306         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46307         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46308         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46309         * sysdeps/sh/tst-audit.h: Likewise.
46310         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46311         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46312         * sysdeps/x86_64/tst-audit.h: Likewise.
46314 2012-07-26  Andreas Jaeger  <aj@suse.de>
46316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46317         ptrace.
46319         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46320         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46321         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46322         PTRACE_O_MASK.
46323         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46325         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46327         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46328         value.
46330         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46331         _sigsys.
46332         (si_call_addr, si_syscall, si_arch): Define new macro.
46333         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46334         _sigsys.
46335         (si_call_addr, si_syscall, si_arch): Define new marcro.
46336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46337         _sigsys.
46338         (si_call_addr, si_syscall, si_arch): Define new macro.
46339         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46340         _sigsys.
46341         (si_call_addr, si_syscall, si_arch): Define new macro.
46343 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46345         [BZ #13717]
46346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46347         Change to 2.4.21 where previously 2.4.1.
46348         * sysdeps/unix/sysv/linux/configure: Regenerated.
46349         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46350         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46351         Linux kernel version.
46352         (__ASSUME_STD_AUXV): Remove.
46353         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46354         kernel version.
46355         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46356         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46357         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46358         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46359         (__ASSUME_NETLINK_SUPPORT): Likewise.
46360         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46361         (__no_netlink_support): Remove conditional definition.
46362         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46363         Remove.
46364         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46365         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46366         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46367         (if_nameindex_ioctl): Remove.
46368         (if_nameindex_netlink): Do not handle __no_netlink_support.
46369         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46370         code.
46371         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46372         Remove conditional code.
46373         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46374         code.
46375         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46376         unconditional.
46377         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46378         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46379         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46380         Remove.
46381         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46382         [!__ASSUME_STD_AUXV]: Remove conditional code.
46383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46384         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46385         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46387         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46388         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46389         code.
46390         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46392         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46393         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46394         conditional code.
46395         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46397         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46398         code.
46399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46400         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46401         conditional code.
46402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46403         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46404         code unconditional.
46405         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46406         conditional code.
46407         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46408         unconditional.
46409         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46410         conditional code.
46411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46412         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46413         unconditional.
46414         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46415         conditional code.
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46417         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46418         code unconditional.
46419         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46420         conditional code.
46421         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46422         unconditional.
46423         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46424         conditional code.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46426         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46427         code unconditional.
46428         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46429         conditional code.
46430         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46431         unconditional.
46432         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46433         conditional code.
46435 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46437         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46438         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46439         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46440         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46441         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46442         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46443         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46444         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46445         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46446         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46447         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46448         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46449         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46450         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46451         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46452         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46453         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46455         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46457         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46458         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46459         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46461 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46463         * Versions.def: Add GLIBC_2.17.
46464         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46465         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46466         Introduce __libc_secure_getenv.
46467         * stdlib/Versions (2.17): Add secure_getenv
46468         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46469         * stdlib/secure-getenv.c: Rename __secure_getenv to
46470         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46471         symbol __secure_getenv for GLIBC_2.0.
46472         * stdlib/tst-secure-getenv.c: New.
46473         * stdlib/Makefile (tests): Add testcase.
46474         * manual/startup.texi (Environment Access): Document
46475         secure_getenv.
46476         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46477         __libc_secure_getenv.
46478         * inet/ruserpass.c (ruserpass): Likewise.
46479         * malloc/mtrace.c (mtrace): Likewise.
46480         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46481         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46482         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46483         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46484         HAVE_SECURE_GETENV.
46485         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46486         __secure_getenv to __libc_secure_getenv.
46487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46489         Likewise.
46490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46491         Likewise.
46492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46494         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46500 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46502         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46503         (struct La_i86_retval): Likewise.
46504         (struct La_x86_64_regs): Likewise.
46505         (struct La_x86_64_retval): Likewise.
46506         (struct La_x32_regs): Likewise.
46507         (struct La_x32_retval): Likewise.
46508         (struct La_ppc32_regs): Likewise.
46509         (struct La_ppc32_retval): Likewise.
46510         (struct La_ppc64_regs): Likewise.
46511         (struct La_ppc64_retval): Likewise.
46512         (struct La_sh_regs): Likewise.
46513         (struct La_sh_retval): Likewise.
46514         (struct La_s390_32_regs): Likewise.
46515         (struct La_s390_32_retval): Likewise.
46516         (struct La_s390_64_regs): Likewise.
46517         (struct La_s390_64_retval): Likewise.
46518         (struct La_sparc32_regs): Likewise.
46519         (struct La_sparc32_retval): Likewise.
46520         (struct La_sparc64_regs): Likewise.
46521         (struct La_sparc64_retval): Likewise.
46522         (struct audit_ifaces): Remove architecture-specific pltenter and
46523         pltexit members.
46524         * sysdeps/i386/ldsodefs.h: New file.
46525         * sysdeps/powerpc/ldsodefs.h: Likewise.
46526         * sysdeps/s390/ldsodefs.h: Likewise.
46527         * sysdeps/sh/ldsodefs.h: Likewise.
46528         * sysdeps/sparc/ldsodefs.h: Likewise.
46529         * sysdeps/x86_64/ldsodefs.h: Likewise.
46531 2012-07-25  Marek Polacek  <polacek@redhat.com>
46533         [BZ #6808]
46534         * math/libm-test.inc (yn_test): Add another test.
46535         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46536         to ERANGE when the result is +-Inf.
46537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46538         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46539         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46540         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46542 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46544         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46545         equal to 0.
46546         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46547         clock_t.
46548         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46550 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46552         * configure.in <sysdeps resolving>: Correct printing
46553         Implies_before.
46554         * configure: Regenerate.
46556 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46558         * math/w_ilogb.c: Include <limits.h>.
46559         * math/w_ilogbl.c: Likewise.
46561 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46563         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46564         va_copy.  Document allowing for unavailable va_copy only as
46565         pre-C99 compatibility.
46566         * manual/string.texi (Copying and Concatenation): Use va_copy
46567         instead of __va_copy in concat example.
46569 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46571         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46572         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46573         it if not null.
46575         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46576         with O_NOLINK passed to __file_name_lookup.
46578         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46579         with O_NOLINK passed to __file_name_lookup.
46581         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46582         negative N or less than NGIDS.
46584         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46585         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46586         enough.  Use memcpy instead of strncpy.
46588 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46590         * elf/Makefile (check-data): Remove.
46591         (localplt.data): New vpath directive.
46592         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46593         instead of $(check-data).
46594         * scripts/data/localplt-generic.data: Move to ...
46595         * sysdeps/generic/localplt.data: ... here.
46596         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46597         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46598         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46600         ... here.
46601         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46603         ... here.
46604         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46606         ... here.
46607         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46609         ... here.
46610         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46612         ... here.
46613         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46615         ... here.
46617 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46619         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46620         PPC32 and PPC64 files.
46621         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46622         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46624 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46626         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46627         __makecontext_ret to ...
46628         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46629         ... here and call exit if uc_link is NULL.  New file.
46630         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46631         __makecontext_ret.S.
46632         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46633         __makecontext_ret to ...
46634         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46635         ... here and call exit if uc_link is NULL.  New file.
46636         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46637         __makecontext_ret.S.
46639 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46641         * elf/elf.h (R_390_IRELATIVE): New definition.
46642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46643         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46644         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46645         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46646         (elf_machine_lazy_rel): Likewise.
46647         * sysdeps/s390/dl-irel.h: New file.
46648         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46649         * sysdeps/s390/s390-64/memset.S: New asm code.
46650         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46651         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46652         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46653         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46654         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46655         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46657         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46658         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46659         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46660         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46661         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46662         * sysdeps/s390/s390-32/memset.S: New asm code.
46663         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46665 2012-07-17  Marek Polacek  <polacek@redhat.com>
46667         [BZ #14349]
46668         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46669         * sysdeps/s390/s390-64/configure.in: Likewise.
46670         * sysdeps/sparc/configure.in: Likewise.
46671         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46672         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46673         * sysdeps/i386/configure.in: Likewise.
46674         * sysdeps/x86_64/configure.in: Likewise.
46675         * sysdeps/sh/configure.in: Likewise.
46676         * sysdeps/s390/s390-32/configure: Regenerated.
46677         * sysdeps/s390/s390-64/configure: Likewise.
46678         * sysdeps/x86_64/configure: Likewise.
46679         * sysdeps/sh/configure: Likewise.
46680         * sysdeps/powerpc/powerpc64/configure: Likewise.
46681         * sysdeps/powerpc/powerpc32/configure: Likewise.
46682         * sysdeps/sparc/configure: Likwise.
46683         * sysdeps/i386/configure: Likewise.
46685         * elf/dl-open.c: Comment fixes.
46687 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46689         * Makefile [CXX] (check-data): Remove.
46690         [CXX] (c++-types.data): New vpath directive.
46691         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46692         vpath.  Do not allow for C++ type data being missing.
46693         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46694         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46695         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46696         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46697         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46698         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46699         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46701         ... here.
46702         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46704         ... here.
46705         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46707         ... here.
46708         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46710         ... here.
46711         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46713         ... here.
46714         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46716         ... here.
46717         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46719         ... here.
46720         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46723         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46724         definitions to architecture-specific files.
46725         (TLS_IE): Likewise.
46726         (TLS_LD): Likewise.
46727         (TLS_GD): Likewise.
46728         * sysdeps/i386/tls-macros.h: New file.
46729         * sysdeps/powerpc/tls-macros.h: Likewise.
46730         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46731         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46732         * sysdeps/sh/tls-macros.h: Likewise.
46733         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46734         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46735         * sysdeps/x86_64/tls-macros.h: Likewise.
46737 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46739         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46740         zero value for regular exit case.
46742         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46743         (__start_context): Preserve zero value for regular exit case.
46745 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46746             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46748         * manual/setjmp.texi (setcontext): Clarify normal process
46749         termination when uc_link is the null pointer.
46750         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46751         exit call.
46753 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46755         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46756         preprocessor.  Test for each exception mask separately.
46758 2012-07-16  Andreas Jaeger  <aj@suse.de>
46760         * po/ru.po: Update from translation team.
46762 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46764         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46765         equal to 0.
46766         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46767         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46768         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46769         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46772 2012-07-13  Andreas Jaeger  <aj@suse.de>
46774         * po/fr.po: Update from translation team.
46776 2012-07-12  Marek Polacek  <polacek@redhat.com>
46778         [BZ #14173]
46779         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46780         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46781         loop condition.
46783 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46785         [BZ #13717]
46786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46787         Change to 2.4.1 where previously 2.4.0.
46788         * sysdeps/unix/sysv/linux/configure: Regenerated.
46789         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46790         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46791         version.
46792         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46793         (__ASSUME_AT_CLKTCK): Remove.
46794         (__ASSUME_AT_PAGESIZE): Likewise.
46795         (__ASSUME_AT_XID): Likewise.
46796         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46797         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46798         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46799         unconditionally.
46800         (HAVE_AUX_PAGESIZE): Likewise.
46801         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46802         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46803         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46805 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46807         [BZ #14307]
46808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46809         the temporary buffer used to invoke __gethostbyname2_r,
46810         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46811         host_data / struct gaih_addrtuple.
46812         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46813         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46814         header file nss/nsswitch.h.
46815         * nss/nsswitch.h (global scope): Add definition of implementation
46816         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46817         resolv/nss_dns/dns-host.c).
46819 2012-07-11  Andreas Jaeger  <aj@suse.de>
46821         * po/fr.po: Update from translation team.
46823         * po/sv.po: Update from translation team
46824         * po/fr.po: Another update from translation team.
46826 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46829         for subnormals or multiply small sinh result by itself.
46830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46833 2012-07-11  David S. Miller  <davem@davemloft.net>
46835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46837 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46839         [BZ #14347]
46840         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46841         (INTERNAL_MARK): Shift it here.
46843 2012-07-10  Marek Polacek  <polacek@redhat.com>
46845         [BZ #14151]
46846         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46847         libc_cv_asm_global_directive with .globl.
46848         * configure: Regenerated.
46849         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46850         with .globl.
46851         * sysdeps/i386/configure: Regenerated.
46852         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46853         with .globl.
46854         * sysdeps/x86_64/configure: Regenerated.
46855         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46856         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46857         * elf/tst-unique2mod2.c: Likewise.
46858         * elf/tst-unique2mod1.c: Likewise.
46859         * elf/tst-unique1mod2.c: Likewise.
46860         * elf/tst-unique1mod1.c: Likewise.
46861         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46862         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46863         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46864         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46865         * sysdeps/mach/sysdep.h: Likewise.
46866         * sysdeps/i386/sysdep.h: Likewise.
46867         * sysdeps/i386/i386-mcount.S: Likewise.
46868         * sysdeps/x86_64/_mcount.S: Likewise.
46869         * sysdeps/x86_64/sysdep.h: Likewise.
46870         * sysdeps/sh/_mcount.S: Likewise.
46871         * sysdeps/sh/sysdep.h: Likewise.
46872         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46873         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46874         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46875         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46876         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46877         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46878         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46879         * locale/localeinfo.h: Likewise.
46880         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46881         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46883 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46885         [BZ #14336]
46886         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46887         system".
46888         * manual/message.texi (The Uniforum approach): Likewise.
46889         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46890         (glibc iconv Implementation): Likewise.
46892 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46894         [BZ #14337]
46895         * math/s_clog.c (__clog): Avoid scaling a value down where that
46896         could result in underflow.
46897         * math/s_clog10.c (__clog10): Likewise.
46898         * math/s_clog10f.c (__clog10f): Likewise.
46899         * math/s_clog10l.c (__clog10l): Likewise.
46900         * math/s_clogf.c (__clogf): Likewise.
46901         * math/s_clogl.c (__clogl): Likewise.
46902         * math/libm-test.inc (clog_test): Add more tests.
46903         (clog10_test): Likewise.
46904         * sysdeps/i386/fpu/libm-test-ulps: Update.
46905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46907 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46909         [BZ #14283]
46910         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46911         by 7 not 8 to examine high bit of fractional part.
46913         [BZ #14042]
46914         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46915         for call to __mcount_internal.
46916         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46917         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46918         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46920 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46922         [BZ #14154]
46923         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46924         approximation for values within 0x1p-13f of an odd multiple of
46925         pi/4.
46926         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46927         exception.  Add more tests.
46928         * sysdeps/i386/fpu/libm-test-ulps: Update.
46930         [BZ #6778]
46931         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46932         inputs and return -1 for them.  Do not check for +Inf in case not
46933         reachable for +Inf.
46934         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46935         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46936         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46937         and return -1 for them.  Do not check for +Inf in case not
46938         reachable for +Inf.
46939         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46940         define.
46941         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46942         and return -1 for them.  Do not check for +Inf in case not
46943         reachable for +Inf.
46944         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46945         spurious underflow.
46946         * sysdeps/i386/fpu/libm-test-ulps: Update.
46947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46949 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46951         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46953 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46955         [BZ #14157]
46956         [BZ #14331]
46957         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46958         could result in spurious underflow.  Scale down values above
46959         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46960         * math/s_csqrtf.c (__csqrtf): Likewise.
46961         * math/s_csqrtl.c (__csqrtl): Likewise.
46962         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46963         spurious underflow.
46964         * sysdeps/i386/fpu/libm-test-ulps: Update.
46965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46967 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46969         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46970         xopen-msg.sed.
46971         * catgets/xopen-msg.awk: New file.
46972         * catgets/xopen-msg.sed: Removed.
46974         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46975         po2text.sed.
46976         * intl/po2test.awk: New file.
46977         * intl/po2test.sed: Removed.
46979 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46981         [BZ #14328]
46982         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46983         or multiply small sinh result by itself.
46984         * math/s_ctanf.c (__ctanf): Likewise.
46985         * math/s_ctanh.c (__ctanh): Likewise.
46986         * math/s_ctanhf.c (__ctanhf): Likewise.
46987         * math/s_ctanhl.c (__ctanhl): Likewise.
46988         * math/s_ctanl.c (__ctanl): Likewise.
46989         * math/libm-test.inc (ctan_test_tonearest): New function.
46990         (ctan_test_towardzero): Likewise.
46991         (ctan_test_downward): Likewise.
46992         (ctan_test_upward): Likewise.
46993         (ctanh_test_tonearest): Likewise.
46994         (ctanh_test_towardzero): Likewise.
46995         (ctanh_test_downward): Likewise.
46996         (ctanh_test_upward): Likewise.
46997         (main): Call these new functions.
46998         * sysdeps/i386/fpu/libm-test-ulps: Update.
46999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47001 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47003         * .gitignore: Delete /ports entry.
47005 2012-07-03  Andreas Jaeger  <aj@suse.de>
47007         * po/bg.po: Update from translation team.
47008         * po/cs.po: Likewise.
47009         * po/de.po: Likewise.
47010         * po/hr.po: Likewise.
47011         * po/nl.pl: Likewise.
47012         * po/pl.po: Likewise.
47013         * po/vi.po: Likewise.
47015 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47017         * Makeconfig [!+link] (+link-before-libc): New variable.
47018         [!+link] (+link-after-libc): Likewise.
47019         [!+link] (+link-tests): Likewise.
47020         [!+link] (+link): Define in terms of $(+link-before-libc) and
47021         $(+link-after-libc).
47022         [!+link-static] (+link-static-before-libc): New variable.
47023         [!+link-static] (+link-static-after-libc): Likewise.
47024         [!+link-static] (+link-static-tests): Likewise.
47025         [!+link-static] (+link-static): Define in terms of
47026         $(+link-static-before-libc) and $(+link-static-after-libc).
47027         [build-shared] (link-libc-before-gnulib): New variable.
47028         [build-shared] (link-libc-tests): Likewise.
47029         [build-shared] (link-libc): Define in terms of
47030         $(link-libc-before-gnulib).
47031         [!build-shared] (link-libc-tests): New variable.
47032         (link-libc-static-tests): New variable.
47033         [!gnulib] (gnulib-arch): New variable.
47034         [!gnulib] (gnulib-tests): Likewise.
47035         [!gnulib] (static-gnulib-arch): Likewise.
47036         [!gnulib] (static-gnulib-tests): Likewise.
47037         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47038         Define with "=" instead of ":=".
47039         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47040         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47041         * Rules (binaries-all-notests): New variable.
47042         (binaries-all-tests): Likewise.
47043         (binaries-static-notests): Likewise.
47044         (binaries-static-tests): Likewise.
47045         (binaries-all): Define using $(binaries-all-notests) and
47046         $(binaries-all-tests).
47047         (binaries-static): Define using $(binaries-static-notests) and
47048         $(binaries-static-tests).
47049         (binaries-shared-tests): New variable.
47050         (binaries-shared-notests): Likewise.
47051         (binaries-shared): Remove variable.
47052         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47053         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47054         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47055         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47056         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47057         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47058         * elf/Makefile (sln-modules): New variable.
47059         (extra-objs): Add $(sln-modules:=.o).
47060         (ldconfig-modules): Add static-stubs.
47061         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47062         * elf/static-stubs.c: New file.
47064         [BZ #14283]
47065         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47066         by 7 not 8 to examine high bit of fractional part.  Use volatile
47067         variables when splitting into final array of floats if
47068         __FLT_EVAL_METHOD__ != 0.
47069         * math/libm-test.inc (cos_test): Add another test.
47070         (sin_test): Likewise.
47071         * sysdeps/i386/fpu/libm-test-ulps: Update.
47073         [BZ #14273]
47074         * math/libm-test.inc (cosh_test): Add more tests.
47076         * version.h (RELEASE): Set to "development".
47077         (VERSION): Set to "2.16.90".
47079 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47081         * NEWS: Update copyright. Remove last-updated date.
47082         Mention math library bug fixes and timezone data changes.
47083         * README: Mention GNU/Hurd, x32, and HPPA support status.
47085 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47087         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47089 2012-06-27  Andreas Jaeger  <aj@suse.de>
47091         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47093 2012-06-25  Andreas Jaeger  <aj@suse.de>
47095         * sysdeps/s390/fpu/libm-test-ulps: Update.
47097 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47098             Thomas Schwinge  <thomas@codesourcery.com>
47100         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47101         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47103         fanotify_mark.
47105 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47107         * sysdeps/mach/start.c: Remove file.
47108         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47109         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47110         * sysdeps/sh/init-first.c: Likewise.
47112         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47113         registers for frame unwinding purposes, add CFI directives.
47114         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47116         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47117         Likewise.
47119         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47120         __fortify_fail returning.
47121         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47123         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47124         sysdeps/sh/____longjmp_chk.S.
47125         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47126         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47127         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47128         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47130         * sysdeps/sh/abort-instr.h: New file.
47131         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47132         process in case exit returns.
47134         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47135         initialize the GOT register before use.
47137         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47138         calculation of ARGC > 4.
47140         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47141         meaningful names to some local labels.
47143 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47144             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47146         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47147         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47148         (__arch_compare_and_exchange_val_16_acq): Likewise.
47149         (__arch_compare_and_exchange_val_32_acq): Likewise.
47150         (atomic_exchange_and_add): Fix gUSA sequence.
47151         (atomic_add): Likewise.
47152         (atomic_add_negative): Likewise.
47153         (atomic_add_zero): Likewise.
47154         (atomic_bit_test_set): Likewise.
47156 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47158         [BZ #13579]
47159         * include/link.h (struct link_map): Add l_free_initfini.
47160         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47161         l_initfini.
47162         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47163         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47164         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47165         set.
47167 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47169         * configure.in: Use AC_LANG_SOURCE.
47170         * configure: Regenerate.
47172 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47174         * configure.in (libc_cv_localstatedir): New substituted variable.
47175         * configure: Regenerated.
47176         * config.make.in (localstatedir): New variable, substituted from
47177         libc_cv_localstatedir.
47178         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47179         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47180         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47181         * sysdeps/gnu/configure: Regenerated.
47183 2012-06-21  Jeff Law  <law@redhat.com>
47185         [BZ #14277]
47186         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47187         free.  Simplify list management for _LIBC case.
47189 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47191         [BZ #14273]
47192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47193         Clear sign bit of 64-bit integer value before comparing against
47194         overflow value.
47196         * sysdeps/mach/configure: Regenerated.
47198 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47200         [BZ #14278]
47201         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47203 2012-06-21  Jeff Law  <law@redhat.com>
47205         [BZ #13882]
47206         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47207         uint16_t for elements in the "seen" array to avoid char overflows.
47208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47209         * elf/dl-open.c (dl_open_worker): Likewise.
47211 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47213         * scripts/list-sources.sh: Scan PORTS for translations.
47214         * po/libc.pot: Regenerated.
47216 2012-06-21  Andreas Jaeger  <aj@suse.de>
47218         [BZ #12194]
47219         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47220         warning.
47221         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47222         * bits/byteswap-16.h (__bswap_16): Likewise.
47223         * bits/byteswap.h (__bswap_constant_16): Likewise.
47225 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47227         [BZ #14117]
47228         * sysdeps/i386/fpu_control.h: Removed.
47229         * sysdeps/x86_64/fpu_control.h: Moved to ...
47230         * sysdeps/x86/fpu_control.h: Here.
47232         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47233         (_FPU_SETCW): Likewise.
47235 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47237         [BZ #14117]
47238         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47239         * sysdeps/x86/fpu/bits/mathinline.h: This.
47240         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47242         [BZ #14050]
47243         [BZ #14117]
47244         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47245         functions if __x86_64__ is defined.
47247 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47249         * string/endian.h: Add !__ASSEMBLER__ condition for including
47250         conversion interfaces.
47252 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #14241]
47255         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47256         of ABS(x) in calculating zero to negative powers other than odd
47257         integers.
47258         * math/libm-test.inc (pow_test): Add more tests.
47260 2012-06-15  Andreas Jaeger  <aj@suse.de>
47262         * manual/contrib.texi (Contributors): Update entry of Liubov
47263         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47264         Machado Filho.
47266 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47268         * string/string.h: Add __wur to GNU version of strerror_r.
47270 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47272         [BZ #14229]
47273         * string/Makefile (tests): Add tst-strtok_r.
47274         * string/tst-strtok_r.c: New file.
47275         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47276         RAX_LP/RDX_LP on SAVE_PTR.
47278 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47280         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47282 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47284         * libm_test.inc (csqrt_test): Allow more spurious underflow
47285         exceptions.
47286         (j0_test): Likewise.
47287         (j1_test): Likewise.
47288         (y0_test): Likewise.
47289         (y1_test): Likewise.
47291 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47293         * po/Makefile (libc.pot): Use UTF-8 charset.
47295 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47297         [BZ #14210]
47298         Suppress sign-conversion warning from FD_SET.
47299         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47300         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47301         not unsigned long int.
47302         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47304 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47306         [BZ #14050]
47307         [BZ #14117]
47308         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47309         __extern_always_inline instead of __extern_inline.
47310         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47311         (__signbit): Likewise.
47312         (__signbitl): Support C++ namespace.
47313         (lrintf): New inline function.
47314         (lrint): Likewise.
47315         (llrintf): Likewise.
47316         (llrint): Likewise.
47317         (fmaxf): Likewise.
47318         (fmax): Likewise.
47319         (fminf): Likewise.
47320         (fmin): Likewise.
47321         (rint): Likewise.
47322         (rintf): Likewise.
47323         (ceil): Likewise.
47324         (ceilf): Likewise.
47325         (floor): Likewise.
47326         (floorf): Likewise.
47327         (nearbyint): Likewise.
47328         (nearbyintf): Likewise.
47330 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47333         non-default versions.
47335 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47337         [BZ #14218]
47338         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47340 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47342         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47343         (FE_UPWARD, FE_DOWNWARD): Don't define.
47344         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47345         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47347         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47348         reading it.
47349         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47350         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47352 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47354         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47356         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47357         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47359 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47361         [BZ #14117]
47362         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47363         * sysdeps/i386/fpu/Implies: New file.
47364         * sysdeps/x86_64/fpu/Implies: Likewise.
47365         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47366         * sysdeps/x86/fpu/bits/fenv.h: This.
47368         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47369         __SSE_MATH__.
47371 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47373         [BZ #14134]
47374         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47375         character 0xffff that matches the last element of the
47376         conversion table.
47378 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47381         fmodl commit.
47383 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47385         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47386         values higher than 25.6283.
47388 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47391         subnormal exponent extraction and add some __builtin_expect.
47392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47393         Fix for subnormal mantissa calculation.
47395 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47397         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47398         cpu2 is -1 and errno is not ENOSYS.
47400 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47402         [BZ #14117]
47403         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47404         * sysdeps/x86/bits/string.h: This.
47405         * sysdeps/x86_64/bits/string.h: Removed.
47407         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47408         if not compiling for x86-64, but compiling for >= i486.
47410         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47411         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47413         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47414         New macro from Linux kernel 3.4.0.
47415         (FP_XSTATE_MAGIC2): Likewise.
47416         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47417         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47418         (struct _fpx_sw_bytes): New struct.
47419         (struct _xsave_hdr): Likewise.
47420         (struct _ymmh_state): Likewise.
47421         (struct _xstate): Likewise.
47423         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47424         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47426         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47427         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47428         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47430         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47431         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47432         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47433         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47434         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47435         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47437 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47439         [BZ #13743]
47440         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47441         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47442         (sysdep_headers): Include sys/platform/ppc.h.
47443         * sysdeps/powerpc/test-gettimebase.c: Test for
47444         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47445         * manual/Makefile (appendices): Include platform.texi.
47446         * manual/contrib.texi (Contributors): Update @node pointers.
47447         * manual/maint.texi (Maintenance): Likewise.
47448         (Platform): New node.
47449         * manual/platform.texi: New file.  Document the new features.
47451 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47452             Jakub Jelinek  <jakub@redhat.com>
47454         [BZ #14188]
47455         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47456         where __builtin_expect is unavailable.
47458 2012-06-03  David S. Miller  <davem@davemloft.net>
47460         * stdlib/longlong.h: Updated from GCC.
47462 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47464         [BZ #14042]
47465         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47466         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47467         __mcount_internal.
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47469         (GLIBC_2.16): Likewise.
47471 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47473         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47475 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47478         (default-abi): New variable.
47479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47480         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47481         variable.
47482         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47483         Likewise.
47484         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47485         Likewise.
47486         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47487         Likewise.
47489         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47490         definition.  Document in comment.
47492 2012-06-01  David S. Miller  <davem@davemloft.net>
47494         * stdlib/longlong.h: Updated from GCC.
47496 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47498         [BZ #14117]
47499         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47500         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47501         sys/debugreg.h sys/io.h here.
47502         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47503         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47504         sys/io.h.
47505         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47506         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47507         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47508         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47509         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47510         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47512         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47513         Define only if __x86_64__ is defined.
47515 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47517         [BZ #14048]
47518         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47519         Use int64_t for variable i.
47520         * math/libm-test.inc (fmod_test): Add more tests.
47522         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47523         z computation is not scheduled after fetestexcept.
47524         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47525         Use math_force_eval instead of asm to ensure calculation scheduled
47526         before exception test.
47527         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47528         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47530 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47533         computation is not scheduled after fetestexcept.
47535 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47537         [BZ #14117]
47538         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47539         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47541 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47543         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47544         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47546 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47548         [BZ #14117]
47549         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47550         <bits/wordsize.h>.
47551         (__WCHAR_MIN): Support __WORDSIZE == 64.
47552         (__WCHAR_MAX): Likewise.
47554         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47555         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47557         [BZ #14183]
47558         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47559         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47561         [BZ #14117]
47562         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47563         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47565         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47566         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47568         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47569         Defined to 1 if __x86_64__ isn't defined.
47570         (_STAT_VER_LINUX_OLD): New.
47571         (st_atime): Remove duplicate.
47572         (st_mtime): Likewise.
47573         (st_ctime): Likewise.
47575 2012-05-31  David S. Miller  <davem@davemloft.net>
47577         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47578         entries.
47580 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47582         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47583         gen-libm-test.pl.
47585         [BZ #14132]
47586         * elf/dl-reloc.c: Include <_itoa.h>.
47587         (_dl_reloc_bad_type): Remove use of INTUSE.
47588         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47589         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47590         * stdio-common/psiginfo.c (psiginfo): Likewise.
47591         * stdio-common/psignal.c (psignal): Likewise.
47592         * string/strsignal.c (strsignal): Likewise.
47593         * include/signal.h (_sys_siglist): Declare hidden proto.
47594         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47595         INTVARDEF with libc_hidden_data_def.
47596         * stdio-common/itoa-udigits.c: Likewise.
47597         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47598         (_itoa_lower_digits_internal): Remove declaration.
47599         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47600         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47601         (_sys_sigabbrev_internal): Remove aliases.
47602         (_sys_siglist): Define hidden alias.
47604 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47607         bits/sysctl.h.
47609 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47611         [BZ #14117]
47612         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47613         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47615         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47616         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47617         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47618         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47619         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47620         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47622         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47623         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47624         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47626         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47627         with __addr.
47628         (insw): Likewise.
47629         (insl): Likewise.
47630         (outsb): Likewise.
47631         (outsw): Likewise.
47632         (outsl): Likewise.
47634         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47635         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47636         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47638         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47639         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47640         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47641         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47642         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47643         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47645         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47646         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47648         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47649         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47651         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47652         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47653         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47655         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47656         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47657         to ...
47658         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47660         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47661         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47662         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47664         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47665         for x86-64.
47666         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47668 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47670         * math/math.h (M_El): Use two more decimal places.
47671         (M_LOG2El): Likewise.
47672         (M_LOG10El): Likewise.
47673         (M_LN2l): Likewise.
47674         (M_LN10l): Likewise.
47675         (M_PIl): Likewise.
47676         (M_PI_2l): Likewise.
47677         (M_PI_4l): Likewise.
47678         (M_1_PIl): Likewise.
47679         (M_2_PIl): Likewise.
47680         (M_2_SQRTPIl): Likewise.
47681         (M_SQRT2l): Likewise.
47682         (M_SQRT1_2l): Likewise.
47684 2012-05-31  David S. Miller  <davem@davemloft.net>
47686         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47687         values between float registers.
47688         * sysdeps/sparc/sparc64/memset.S: Likewise.
47689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47691 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47693         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47694         -D_FORTIFY_SOURCE=1.
47695         (CPPFLAGS-tst-longjmp_chk.c): Define.
47696         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47697         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47698         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47699         CFLAGS-tst-wchar-h.c.
47701 2012-05-31  Marek Polacek  <polacek@redhat.com>
47703         [BZ #14132]
47704         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47705         __endmntent_internal): Remove declaration.
47706         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47707         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47708         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47710 2012-05-30  David S. Miller  <davem@davemloft.net>
47712         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47713         (___Q_simulate_exceptions): Use real FP ops rather than writing
47714         into the %fsr.
47715         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47716         Likewise.
47718 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47720         [BZ #14117]
47721         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47722         * sysdeps/x86/bits/xtitypes.h: This.
47724         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47725         * sysdeps/x86/bits/wordsize.h: This.
47727         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47728         * sysdeps/x86/bits/huge_vall.h: This.
47730         * sysdeps/i386/bits/select.h: Removed.
47731         * sysdeps/x86_64/bits/select.h: Renamed to ...
47732         * sysdeps/x86/bits/select.h: This.
47734         * sysdeps/i386/bits/setjmp.h: Removed.
47735         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47736         * sysdeps/x86/bits/setjmp.h: This.
47738         * sysdeps/i386/bits/mathdef.h: Removed.
47739         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47740         * sysdeps/x86/bits/mathdef.h: This.
47742 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47744         [BZ #14132]
47745         * include/sys/socket.h (__connect_internal)
47746         (__libc_sa_len_internal): Remove declaration.
47747         (__connect, __libc_sa_len): Declare hidden_proto.
47748         (SA_LEN): Remove use of INTUSE.
47749         * socket/connect.c: Add libc_hidden_def.
47750         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47751         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47752         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47753         alias.
47754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47755         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47756         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47757         of adding _internal alias.
47759 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47761         [BZ #14117]
47762         * sysdeps/i386/bits/link.h: Removed.
47763         * sysdeps/i386/bits/linkmap.h: Likewise.
47764         * sysdeps/x86_64/bits/link.h: Renamed to ...
47765         * sysdeps/x86/bits/link.h: This.
47766         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47767         * sysdeps/x86/bits/linkmap.h: This.
47769         * sysdeps/i386/bits/endian.h: Removed.
47770         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47771         * sysdeps/x86/bits/endian.h: This.
47773         * sysdeps/i386/bits/byteswap.h: Removed.
47774         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47775         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47776         * sysdeps/x86/bits/byteswap.h: This.
47777         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47778         * sysdeps/x86/bits/byteswap-16.h: This.
47779         * sysdeps/i386/Implies: Add x86.
47780         * sysdeps/x86_64/Implies: Likewise.
47782 2012-05-30  David S. Miller  <davem@davemloft.net>
47784         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47785         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47787         (FP_TRAPPING_EXCEPTIONS): Define.
47788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47789         (FP_TRAPPING_EXCEPTIONS): Define.
47790         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47791         subnormals only when inexact has been signalled or underflow
47792         exceptions are enabled.
47793         (_FP_PACK_CANONICAL): Likewise.
47795 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47797         [BZ #14183]
47798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47799         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47801 2012-05-30  Richard Henderson  <rth@twiddle.net>
47803         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47804         with #ifndef NOT_IN_libc.
47806         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47807         marked to avoid plt entry.
47809 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47811         [BZ #14112]
47812         * Makeconfig (default-abi): New macro.
47813         (abi-includes): Likewise.
47814         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47815         $(abi-$(default-abi)-lib-soname) for soname if defined.
47816         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47817         abi-variants.
47818         * Makefile (installed-stubs): Likewise.
47819         * include/stubs-biarch.h: Removed.
47820         * scripts/lib-names.awk: Only handle one library at a time.
47821         * scripts/soversions.awk: Remove WORDSIZE support.
47822         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47823         entries.
47824         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47825         Removed.
47826         (syscall-list-default-condition): Likewise.
47827         (syscall-list-default-condition): Likewise.
47828         (syscall-list-includes): Likewise.
47829         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47830         syscall-list-* with abi-*.  Handle undefined abi-variants.
47831         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47832         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47833         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47834         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47835         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47836         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47837         Removed.
47838         (syscall-list-32-options): Likewise.
47839         (syscall-list-32-condition): Likewise.
47840         (syscall-list-64-options): Likewise.
47841         (syscall-list-64-condition): Likewise.
47842         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47843         macro.
47844         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47845         Renamed to ...
47846         (abi-*): This.
47847         (abi-64-ld-soname): New macro.
47848         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47849         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47850         Renamed to ...
47851         (abi-*): This.
47852         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47853         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47855 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47857         * sysdeps/unix/sysv/linux/kernel-features.h
47858         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47859         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47860         include <kernel-features.h>.
47861         [!__NR_ftruncate64]: Remove conditional code.
47862         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47863         [__NR_ftruncate64]: Make code unconditional.
47864         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47865         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47866         include <kernel-features.h>.
47867         [!__NR_ftruncate64]: Remove conditional code.
47868         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47869         [__NR_ftruncate64]: Make code unconditional.
47870         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47872         include <kernel-features.h>.
47873         [!__NR_ftruncate64]: Remove conditional code.
47874         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47875         [__NR_ftruncate64]: Make code unconditional.
47876         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47878         include <kernel-features.h>.
47879         [!__NR_ftruncate64]: Remove conditional code.
47880         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47881         [__NR_ftruncate64]: Make code unconditional.
47882         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47884         * configure.in (libc_cv_fpie): Weaken to a compile test using
47885         LIBC_TRY_CC_OPTION.
47886         * configure: Regenerated.
47888 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47894         Refreshed.
47895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47901         Refreshed.
47903 2012-05-27  David S. Miller  <davem@davemloft.net>
47905         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47906         (___Q_zero): New.
47907         (__Q_simulate_exceptions): Return void.  Change to simulate
47908         exceptions by writing into the %fsr.
47909         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47910         (__Qp_handle_exceptions): Likewise.
47911         (numbers): Delete.
47912         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47913         __Qp_handle_exceptions.
47914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47915         __Qp_handle_exceptions.
47916         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47917         as unused and give dummy FP_RND_NEAREST initializer.
47918         (FP_INHIBIT_RESULTS): Define.
47919         (___Q_simulate_exceptions): Update declaration.
47920         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47921         formatting.
47922         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47923         as unused and give dummy FP_RND_NEAREST initializer.
47924         (__Qp_handle_exceptions): Update declaration.
47925         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47926         formatting.
47928 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47930         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47931         the temporary FPU control word.
47932         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47933         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47934         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47935         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47936         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47937         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47938         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47939         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47940         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47941         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47942         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47944 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47946         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47947         fields.
47949 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47951         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47952         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47953         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47954         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47955         Likewise.
47956         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47957         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47958         Likewise.
47960 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47962         * po/h.po: Update from translation team.
47964 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47966         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47968         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47969         handling of denormals.
47970         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47971         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47972         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47973         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47977         Likewise.
47979 2012-05-26  Marek Polacek  <polacek@redhat.com>
47981         [BZ #14152]
47982         * math/libm-test.inc (fma_test): Don't always expect underflow
47983         exception.
47985 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47987         [BZ #12416]
47988         * elf/tst-execstack.c: Include stackinfo.h.
47989         (do_test): Adjust test case to ensure that pthread_getattr_np
47990         behaviour remains the same after marking stack executable.
47992 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47994         * sysdeps/unix/sysv/linux/kernel-features.h
47995         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47996         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47997         kernel-features.h.
47998         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47999         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48000         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48001         kernel-features.h.
48002         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48003         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48005 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48007         * configure.in: Define the default includes to being none.
48008         * configure: Regenerated.
48010 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48012         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48013         * sysdeps/x86_64/setjmp.S: Likewise.
48014         * sysdeps/i386/bsd-setjmp.S: Likewise.
48015         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48016         * sysdeps/i386/setjmp.S: Likewise.
48017         * sysdeps/i386/__longjmp.S: Likewise.
48018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48019         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48021         * include/stap-probe.h: New file.
48022         * configure.in: Handle --enable-systemtap.
48023         * configure: Regenerated.
48024         * config.h.in (USE_STAP_PROBE): New #undef.
48025         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48026         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48027         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48029 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48031         [BZ #13717]
48032         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48033         to 2.4.0 where earlier.
48034         * sysdeps/unix/sysv/linux/configure: Regenerated.
48035         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48036         <kernel-features.h>.
48037         [__ASSUME_32BITUIDS]: Make code unconditional.
48038         [!__ASSUME_32BITUIDS]: Remove conditional code.
48039         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48040         <kernel-features.h>.
48041         [__ASSUME_32BITUIDS]: Make code unconditional.
48042         [!__ASSUME_32BITUIDS]: Remove conditional code.
48043         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48044         [__ASSUME_32BITUIDS]: Make code unconditional.
48045         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48046         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48047         <kernel-features.h>.
48048         [__ASSUME_32BITUIDS]: Make code unconditional.
48049         [!__ASSUME_32BITUIDS]: Remove conditional code.
48050         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48051         <kernel-features.h>.
48052         [__ASSUME_32BITUIDS]: Make code unconditional.
48053         [!__ASSUME_32BITUIDS]: Remove conditional code.
48054         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48055         <kernel-features.h>.
48056         [__ASSUME_32BITUIDS]: Make code unconditional.
48057         [!__ASSUME_32BITUIDS]: Remove conditional code.
48058         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48059         <kernel-features.h>.
48060         [__ASSUME_32BITUIDS]: Make code unconditional.
48061         [!__ASSUME_32BITUIDS]: Remove conditional code.
48062         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48063         <kernel-features.h>.
48064         [__ASSUME_32BITUIDS]: Make code unconditional.
48065         [!__ASSUME_32BITUIDS]: Remove conditional code.
48066         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48067         <kernel-features.h>.
48068         [__ASSUME_32BITUIDS]: Make code unconditional.
48069         [!__ASSUME_32BITUIDS]: Remove conditional code.
48070         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48071         <kernel-features.h>.
48072         [__ASSUME_32BITUIDS]: Make code unconditional.
48073         [!__ASSUME_32BITUIDS]: Remove conditional code.
48074         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48075         <kernel-features.h>.
48076         [__ASSUME_32BITUIDS]: Make code unconditional.
48077         [!__ASSUME_32BITUIDS]: Remove conditional code.
48078         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48079         <kernel-features.h>.
48080         [__ASSUME_32BITUIDS]: Make code unconditional.
48081         [!__ASSUME_32BITUIDS]: Remove conditional code.
48082         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
48087         <kernel-features.h>.
48088         [__NR_setresgid] (__setresgid): Do not declare.
48089         [__ASSUME_32BITUIDS]: Make code unconditional.
48090         [!__ASSUME_32BITUIDS]: Remove conditional code.
48091         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48092         <kernel-features.h>.
48093         [__NR_setresuid] (__setresuid): Do not declare.
48094         [__ASSUME_32BITUIDS]: Make code unconditional.
48095         [!__ASSUME_32BITUIDS]: Remove conditional code.
48096         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48097         <kernel-features.h>.
48098         [__ASSUME_32BITUIDS]: Make code unconditional.
48099         [!__ASSUME_32BITUIDS]: Remove conditional code.
48100         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48101         <kernel-features.h>.
48102         [__ASSUME_32BITUIDS]: Make code unconditional.
48103         [!__ASSUME_32BITUIDS]: Remove conditional code.
48104         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48105         <kernel-features.h>.
48106         [__ASSUME_32BITUIDS]: Make code unconditional.
48107         [!__ASSUME_32BITUIDS]: Remove conditional code.
48108         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48109         <kernel-features.h>.
48110         [__ASSUME_32BITUIDS]: Make code unconditional.
48111         [!__ASSUME_32BITUIDS]: Remove conditional code.
48112         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48113         <kernel-features.h>.
48114         [__ASSUME_32BITUIDS]: Make code unconditional.
48115         [!__ASSUME_32BITUIDS]: Remove conditional code.
48116         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48117         <kernel-features.h>.
48118         [__ASSUME_32BITUIDS]: Make code unconditional.
48119         [!__ASSUME_32BITUIDS]: Remove conditional code.
48120         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48121         <kernel-features.h>.
48122         [__ASSUME_32BITUIDS]: Make code unconditional.
48123         [!__ASSUME_32BITUIDS]: Remove conditional code.
48124         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48125         <kernel-features.h>.
48126         [__ASSUME_32BITUIDS]: Make code unconditional.
48127         [!__ASSUME_32BITUIDS]: Remove conditional code.
48128         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48129         <kernel-features.h>.
48130         [__ASSUME_32BITUIDS]: Make code unconditional.
48131         [!__ASSUME_32BITUIDS]: Remove conditional code.
48132         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48133         <kernel-features.h>.
48134         [__ASSUME_32BITUIDS]: Make code unconditional.
48135         [!__ASSUME_32BITUIDS]: Remove conditional code.
48136         * sysdeps/unix/sysv/linux/kernel-features.h
48137         (__ASSUME_SETRESUID_SYSCALL): Remove.
48138         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48139         (__ASSUME_32BITUIDS): Likewise.
48140         (__ASSUME_LDT_WORKS): Likewise.
48141         (__ASSUME_O_DIRECTORY): Likewise.
48142         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48143         architecture but not kernel version.
48144         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48145         (__ASSUME_MMAP2_SYSCALL): Likewise.
48146         (__ASSUME_STAT64_SYSCALL): Likewise.
48147         (__ASSUME_IPC64): Likewise.
48148         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48149         <kernel-features.h>.
48150         [__ASSUME_32BITUIDS]: Make code unconditional.
48151         [!__ASSUME_32BITUIDS]: Remove conditional code.
48152         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48153         <kernel-features.h>.
48154         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48155         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48156         132096]: Remove conditional code.
48157         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48158         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48159         <kernel-features.h>.
48160         [__ASSUME_32BITUIDS]: Make code unconditional.
48161         [!__ASSUME_32BITUIDS]: Remove conditional code.
48162         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48163         <kernel-features.h>.
48164         [__ASSUME_32BITUIDS]: Make code unconditional.
48165         [!__ASSUME_32BITUIDS]: Remove conditional code.
48166         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48167         <kernel-features.h>.
48168         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48169         unconditional.
48170         (__setresgid): Do not declare.
48171         [__ASSUME_32BITUIDS]: Make code unconditional.
48172         [!__ASSUME_32BITUIDS]: Remove conditional code.
48173         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48174         <kernel-features.h>.
48175         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48176         unconditional.
48177         (__setresuid): Do not declare.
48178         [__ASSUME_32BITUIDS]: Make code unconditional.
48179         [!__ASSUME_32BITUIDS]: Remove conditional code.
48180         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48181         <kernel-features.h>.
48182         [__ASSUME_32BITUIDS]: Make code unconditional.
48183         [!__ASSUME_32BITUIDS]: Remove conditional code.
48184         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48185         <kernel-features.h>.
48186         [__ASSUME_32BITUIDS]: Make code unconditional.
48187         [!__ASSUME_32BITUIDS]: Remove conditional code.
48189 2012-05-25  Richard Henderson  <rth@twiddle.net>
48191         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48192         dl_hwcap to ifunc resolver.
48193         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48194         elf_ifunc_invoke.
48195         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48196         dl_hwcap to ifunc resolver.
48197         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48199 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48201         [BZ #14153]
48202         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48203         for |x| <= 2**-26, not 2**-57.
48204         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48205         exception.
48207 2012-05-24  Jeff Law  <law@redhat.com>
48209         * stdio-common/Makefile (tests): Add bug25.
48210         * stdio-common/bug25.c: New test.
48212 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48214         [BZ #13576]
48215         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48216         multiple of MALLOC_ALIGNMENT in size.
48217         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48219 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48221         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48222         Require >= 256.
48223         (FILENAME_MAX): Use macro-int-constant.
48224         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48225         (_IOFBF): Use macro-int-constant.
48226         (_IOLBF): Likewise.
48227         (_IONBF): Likewise.
48228         (SEEK_CUR): Likewise.
48229         (SEEK_END): Likewise.
48230         (SEEK_SET): Likewise.
48231         (TMP_MAX): Likewise.
48232         (EOF): Use macro-int-constant.  Require < 0.
48233         (NULL): Use macro-constant.  Require == 0.
48234         (stdin): Require type to be FILE *.
48235         (stdout): Likewise.
48236         (stderr): Likewise.
48237         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48238         macro-int-constant.
48239         (EXIT_SUCCESS): Likewise.
48240         (NULL): Use macro-constant.  Require == 0.
48241         (RAND_MAX): Use macro-int-constant.
48242         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48243         [C99-based standards] (strtof): Require function.
48244         [C99-based standards] (strtold): Likewise.
48245         [C99-based standards] (strtoll): Likewise.
48246         [C99-based standards] (strtoull): Likewise.
48247         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48248         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48249         [ISO || ISO99 || ISO11] (math.h): Likewise.
48250         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48251         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48254 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48256         [BZ #14132]
48257         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48258         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48259         * intl/dgettext.c (DCGETTEXT): Likewise.
48260         * intl/gettext.c (DCGETTEXT): Likewise.
48261         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48262         * posix/regex_internal.h (gettext): Likewise.
48263         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48264         Remove declaration.
48265         * include/argz.h (__argz_count_internal)
48266         (__argz_stringify_internal): Remove declaration.
48267         (__argz_count, __argz_stringify): Declare hidden proto.
48268         * intl/dcgettext.c: Remove use of INTDEF.
48269         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48270         * string/argz-stringify.c: Likewise.
48271         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48272         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48273         Declare hidden proto.
48274         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48275         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48276         Declare hidden proto.
48277         * include/stdio.h (__asprintf_internal): Don't declare.
48278         (__asprintf): Don't define as macro.  Declare hidden proto.
48279         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48280         (__fsetlocking): Declare hidden proto.
48281         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48282         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48283         hidden proto.
48284         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48285         (_IO_setlinebuf): Remove use of INTUSE.
48286         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48287         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48288         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48289         Remove declaration.
48290         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48291         (_IO_do_flush): Remove use of INTUSE.
48292         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48293         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48294         (_IO_adjust_column, _IO_least_wmarker)
48295         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48296         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48297         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48298         (_IO_default_doallocate, _IO_wdefault_doallocate)
48299         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48300         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48301         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48302         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48303         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48304         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48305         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48306         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48307         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48308         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48309         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48310         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48311         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48312         proto.
48313         (_IO_flush_all_internal, _IO_adjust_column_internal)
48314         (_IO_default_uflow_internal, _IO_default_finish_internal)
48315         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48316         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48317         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48318         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48319         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48320         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48321         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48322         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48323         (_IO_file_close_internal, _IO_file_close_it_internal)
48324         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48325         (_IO_file_init_internal, _IO_file_attach_internal)
48326         (_IO_file_fopen_internal, _IO_file_read_internal)
48327         (_IO_file_sync_internal, _IO_file_seek_internal)
48328         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48329         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48330         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48331         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48332         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48333         (_IO_list_all_internal, _IO_link_in_internal)
48334         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48335         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48336         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48337         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48338         (_IO_do_write_internal, _IO_padn_internal)
48339         (_IO_getline_info_internal, _IO_getline_internal)
48340         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48341         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48342         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48343         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48344         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48345         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48346         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48347         with libc_hidden_ver, remove use of INTUSE.
48348         * libio/genops.c: Likewise.
48349         * libio/freopen.c: Likewise.
48350         * libio/freopen64.c: Likewise.
48351         * libio/iofclose.c: Likewise.
48352         * libio/iofdopen.c: Likewise.
48353         * libio/iofflush.c: Likewise.
48354         * libio/iofflush_u.c: Likewise.
48355         * libio/iofgets.c: Likewise.
48356         * libio/iofgets_u.c: Likewise.
48357         * libio/iofopen.c: Likewise.
48358         * libio/iofopncook.c: Likewise.
48359         * libio/iofread.c: Likewise.
48360         * libio/iofread_u.c: Likewise.
48361         * libio/ioftell.c: Likewise.
48362         * libio/iofwrite.c: Likewise.
48363         * libio/iogetline.c: Likewise.
48364         * libio/iogets.c: Likewise.
48365         * libio/iogetwline.c: Likewise.
48366         * libio/iopadn.c: Likewise.
48367         * libio/iopopen.c: Likewise.
48368         * libio/ioseekoff.c: Likewise.
48369         * libio/ioseekpos.c: Likewise.
48370         * libio/iosetbuffer.c: Likewise.
48371         * libio/iosetvbuf.c: Likewise.
48372         * libio/ioungetc.c: Likewise.
48373         * libio/ioungetwc.c: Likewise.
48374         * libio/iovdprintf.c: Likewise.
48375         * libio/iovsprintf.c: Likewise.
48376         * libio/iovsscanf.c: Likewise.
48377         * libio/memstream.c: Likewise.
48378         * libio/obprintf.c: Likewise.
48379         * libio/oldfileops.c: Likewise.
48380         * libio/oldiofclose.c: Likewise.
48381         * libio/oldiofdopen.c: Likewise.
48382         * libio/oldiofopen.c: Likewise.
48383         * libio/oldiopopen.c: Likewise.
48384         * libio/oldstdfiles.c: Likewise.
48385         * libio/putc.c: Likewise.
48386         * libio/setbuf.c: Likewise.
48387         * libio/setlinebuf.c: Likewise.
48388         * libio/stdfiles.c: Likewise.
48389         * libio/strops.c: Likewise.
48390         * libio/vasprintf.c: Likewise.
48391         * libio/vscanf.c: Likewise.
48392         * libio/vsnprintf.c: Likewise.
48393         * libio/vswprintf.c: Likewise.
48394         * libio/wfiledoalloc.c: Likewise.
48395         * libio/wfileops.c: Likewise.
48396         * libio/wgenops.c: Likewise.
48397         * libio/wmemstream.c: Likewise.
48398         * libio/wstrops.c: Likewise.
48399         * libio/__fpurge.c: Likewise.
48400         * libio/__fsetlocking.c: Likewise.
48401         * assert/assert.c: Likewise.
48402         * debug/fgets_chk.c: Likewise.
48403         * debug/fgets_u_chk.c: Likewise.
48404         * debug/fread_chk.c: Likewise.
48405         * debug/fread_u_chk.c: Likewise.
48406         * debug/gets_chk.c: Likewise.
48407         * debug/obprintf_chk.c: Likewise.
48408         * debug/vasprintf_chk.c: Likewise.
48409         * debug/vdprintf_chk.c: Likewise.
48410         * debug/vsnprintf_chk.c: Likewise.
48411         * debug/vsprintf_chk.c: Likewise.
48412         * malloc/mtrace.c: Likewise.
48413         * misc/error.c: Likewise.
48414         * misc/syslog.c: Likewise.
48415         * stdio-common/asprintf.c: Likewise.
48416         * stdio-common/fxprintf.c: Likewise.
48417         * stdio-common/getw.c: Likewise.
48418         * stdio-common/isoc99_fscanf.c: Likewise.
48419         * stdio-common/isoc99_scanf.c: Likewise.
48420         * stdio-common/isoc99_vfscanf.c: Likewise.
48421         * stdio-common/isoc99_vscanf.c: Likewise.
48422         * stdio-common/isoc99_vsscanf.c: Likewise.
48423         * stdio-common/printf-prs.c: Likewise.
48424         * stdio-common/printf_fp.c: Likewise.
48425         * stdio-common/printf_fphex.c: Likewise.
48426         * stdio-common/printf_size.c: Likewise.
48427         * stdio-common/putw.c: Likewise.
48428         * stdio-common/scanf.c: Likewise.
48429         * stdio-common/sprintf.c: Likewise.
48430         * stdio-common/tmpfile.c: Likewise.
48431         * stdio-common/vfprintf.c: Likewise.
48432         * stdio-common/vfscanf.c: Likewise.
48433         * stdlib/strfmon_l.c: Likewise.
48434         * sunrpc/openchild.c: Likewise.
48435         * sunrpc/xdr_stdio.c: Likewise.
48436         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48437         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48439 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48441         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48443         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48444         in the third column, to generate for the shared library an IFUNC
48445         that uses _dl_vdso_vsym.
48446         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48447         * Makeconfig (object-suffixes-noshared): New variable.
48449         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48450         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48451         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48452         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48454         [BZ #14132]
48455         * include/sys/time.h (__gettimeofday): Remove macro.
48456         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48457         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48458         Remove INTDEF.
48459         (__gettimeofday): Add libc_hidden_def.
48460         (gettimeofday): Add libc_hidden_weak.
48461         * sysdeps/mach/gettimeofday.c: Likewise.
48462         * sysdeps/posix/gettimeofday.c: Likewise.
48463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48464         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48466         (__gettimeofday_internal): Remove strong_alias.
48467         (__gettimeofday): Add libc_hidden_def.
48468         (gettimeofday): Add libc_hidden_weak.
48469         * sysdeps/unix/syscalls.list (gettimeofday):
48470         Remove __gettimeofday_internal alias.
48472 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48473             H.J. Lu  <hongjiu.lu@intel.com>
48475         [BZ #12495]
48476         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48477         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48478         (largebin_index_32_big): New.
48479         (largebin_index): Use it for 16-byte alignment.
48480         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48481         correction with front_misalign.
48483 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48487         Likewise.
48488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48489         Likewise.
48490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48491         Likewise.
48492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48493         Likewise.
48494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48495         Likewise.
48496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48497         Likewise.
48498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48499         Likewise.
48500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48501         Likewise.
48502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48503         Likewise.
48504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48505         Likewise.
48506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48507         Likewise.
48508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48509         Likewise.
48511         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48512         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48516         [BZ #10846]
48517         [BZ #14036]
48518         * math/libm-test.inc (exp_test): Add test from bug 14036.
48519         (pow_test): Add test from bug 10846.
48521         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48522         and other flags.
48523         (special_function): Do not include flags in test name.
48524         (parse_args): Likewise.
48525         * sysdeps/i386/fpu/libm-test-ulps: Update.
48526         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48527         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48528         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48531         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48532         exceptions.
48533         * math/libm-test.inc ("Philosophy"): Update comment about
48534         exception testing.
48535         (UNDERFLOW_EXCEPTION): New macro.
48536         (UNDERFLOW_EXCEPTION_OK): Likewise.
48537         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48538         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48539         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48540         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48541         (INVALID_EXCEPTION_OK): Update value.
48542         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48543         (OVERFLOW_EXCEPTION_OK): Likewise.
48544         (IGNORE_ZERO_INF_SIGN): Likewise.
48545         (test_exceptions): Handle underflow exceptions.
48546         (acos_test): Update for underflow exception expectations.
48547         (cexp_test): Likewise.
48548         (clog_test): Likewise.
48549         (clog10_test): Likewise.
48550         (csqrt_test): Likewise.
48551         (ctan_test): Likewise.
48552         (ctanh_test): Likewise.
48553         (exp_test): Likewise.
48554         (exp10_test): Likewise.
48555         (exp2_test): Likewise.
48556         (expm1_test): Likewise.
48557         (fma_test): Likewise.
48558         (j0_test): Likewise.
48559         (jn_test): Likewise.
48560         (nexttoward_test): Likewise.
48561         (pow_test): Likewise.
48562         (scalbn_test): Likewise.
48563         (scalbln_test): Likewise.
48564         (tan_test): Likewise.
48565         (y1_test): Likewise.
48566         * sysdeps/i386/fpu/libm-test-ulps: Update.
48567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48569 2012-05-23  David S. Miller  <davem@davemloft.net>
48571         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48572         (__libc_sigaction): Remove unused local variables.
48574 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48576         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48578 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48580         mktime: avoid signed integer overflow
48581         * time/mktime.c (__mktime_internal): Do not mishandle the case
48582         where diff == INT_MIN.
48584         mktime: simplify computation of average
48585         * time/mktime.c (ranged_convert): Use new time_t_avg function
48586         instead of rolling our own (probably-slower) code.
48588         mktime: do not assume signed right shift propagates sign bit
48589         * time/mktime.c (isdst_differ): New static function.
48590         (__mktime_internal): No need to normalize tm_isdst now.
48591         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48592         tm_isdst values.
48594         mktime: merge another wrapv change from gnulib
48595         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48596         from some compilers.
48598         mktime: remove incorrect attempt at unusual arithmetics
48599         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48600         The code didn't really work on such machines anyway.
48601         (TYPE_MINIMUM): Assume two's complement.
48602         (twos_complement_arithmetic): Verify that long_int and time_t
48603         are two's complement (or unsigned, in the latter case).
48605         mktime: check signed shifts on long_int and time_t, too
48606         * time/mktime.c (SHR): Check that shifts work as desired
48607         on the types long_int and time_t too, as SHR is used on
48608         such types.
48610         mktime: do not assume 'long' is wide enough
48611         * time/mktime.c (verify): Move decl up.
48612         (long_int): New type.
48613         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48614         to remove assumption in the code that 'long' is wide enough to
48615         store year values.  This assumption is not true on x32 and on
48616         some non-glibc platforms.
48618         mktime: merge wrapv change from gnulib
48619         * time/mktime.c (WRAPV): New macro.
48620         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48621         (guess_time_tm, __mktime_internal): Do not assume that signed
48622         integer overflow wraps around; modern compilers generate code
48623         where this assumption is no longer valid.
48625 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48627         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48628         Replace "jmp L(pseudo_end)" with "ret".
48629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48630         Likewise.
48632 2012-05-23  Andreas Jaeger  <aj@suse.de>
48634         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48635         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48637 2012-05-23  Andreas Jaeger  <aj@suse.de>
48638             Maximilian Attems  <max@stro.at>
48640         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48641         New macros.
48643 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48645         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48646         code so that pseudo_end is just ret and the stack pointer is
48647         correct also for static library in error case.
48649 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48651         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48652         move to syscalls.list.
48653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48658         * manual/install.texi (Running make install): Do not mention Linux
48659         kernel version for which pt_chown is not needed.
48660         (Linux): Do not mention problems with nscd with 2.0 kernels.
48661         * INSTALL: Regenerated.
48663 2012-05-23  Andreas Jaeger  <aj@suse.de>
48665         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48666         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48667         macro.
48668         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48670         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48671         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48672         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48673         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48674         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48675         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48676         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48677         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48678         * sysdeps/unix/sysv/linux/bits/in.h
48679         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48681 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48683         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48684         (PREPARE_VERSION): Just use assert instead, it will be elided
48685         under [NDEBUG] anyway.
48687 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48689         * sysdeps/unix/sysv/linux/Makefile: Include
48690         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48691         (sysdep_routines): Remove sysctl.
48692         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48693         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48694         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48695         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48696         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48698 2012-05-22  Andreas Jaeger  <aj@suse.de>
48700         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48701         that pseudo_end is just ret and the stack pointer is correct also
48702         for static library in error case.
48704 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48706         [BZ #14122]
48707         * nss/nsswitch.c (defconfig_entries): New variable.
48708         (__nss_database_lookup): Don't leak defconfig entries.
48709         (nss_parse_service_list): Don't leak on error paths.
48710         (free_database_entries): New function.
48711         (free_defconfig): New function.
48712         (free_mem): Move common code to free_database_entries.
48714 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48716         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48717         Add arch_prctl.
48718         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48720         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48721         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48723         New macro.
48724         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48725         (INTERNAL_SYSCALL_TYPES): Likewise.
48726         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48727         (LOAD_REGS_TYPES_[1-6]): Likewise.
48728         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48729         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48731 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48733         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48734         copysignl for GLIBC_2_0.
48735         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48736         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48738         logbl for GLIBC_2_0.
48739         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48740         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48742 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48745         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48747         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48748         Use "neg %eax".
48750         * time/mktime.c: Update copyright years.
48752 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48754         mktime: merge comment-quoting-style change from gnulib
48755         * time/mktime.c: Quote 'like this' in comments.
48756         The GNU coding standards suggest that we no longer quote `like this',
48757         as "`" and "'" are typically rendered asymmetrically nowadays.
48758         The typical gnulib style is to quote 'like this' when quoting
48759         code, and "like this" when quoting English.
48761         * time/mktime.c (compile-command): Add "-I.".
48763         mktime: merge mktime-internal.h change from gnulib
48764         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48766         mktime: merge time_r change from gnulib
48767         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48769         mktime: merge DEBUG change from gnulib
48770         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48771         case system <time.h> has a #define.
48773         mktime: merge <sys/types.h> change from gnulib
48774         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48775         since <time.t> is now guaranteed to define time_t.
48777         mktime: merge HAVE_CONFIG_H change from gnulib
48778         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48783         Use "neg %eax".
48785         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48786         __rlim_t cast.
48787         (struct rusage): Use anonymous union to pad each field to
48788         __syscall_slong_t.
48790 2012-05-21  David S. Miller  <davem@davemloft.net>
48792         * Makefules (o-iterator): Remove .s cases.
48793         (compile-command.s): Delete.
48794         (COMPILE.s): Delete.
48795         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48797 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48799         * configure.in (libc_cv_predef_stack_protector): Only consider
48800         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48801         * configure: Regenerated.
48803 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48806         New macro.  Use R*LP on int and pointer.
48807         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48808         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48809         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48810         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48812         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48813         [__WORDSIZE_TIME64_COMPAT32] instead of
48814         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48815         (struct utmp): Likewise.
48816         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48817         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48818         Renamed to ...
48819         (__WORDSIZE_TIME64_COMPAT32): This.
48820         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48821         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48822         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48823         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48824         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48825         (__WORDSIZE_TIME64_COMPAT32): New macro.
48827 2012-05-21  Andreas Jaeger  <aj@suse.de>
48829         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48830         only if [SHARED]. Add prototype for __wcschr_ia32.
48832 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48834         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48835         of %rbp unmolested in the jmp_buf while mangling the low bits.
48836         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48837         unmolested high bits of %rbp while demangling the low bits.
48838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48840 2012-05-21  Andreas Jaeger  <aj@suse.de>
48842         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48843         * sunrpc/svc_simple.c: Use it for registerrpc.
48844         * sunrpc/xcrypt.c: Use it for passwd2des.
48846         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48848 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48850         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48851         Don't define if [__SYSCALL_WORDSIZE != 32].
48852         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48853         New macro.
48855 2012-05-21  Bruno Haible  <bruno@clisp.org>
48856             Andreas Jaeger  <aj@suse.de>
48858         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48859         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48860         inptr and inend for must_buffer_ch.
48861         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48862         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48863         * stdio-common/Makefile (tests): Remove bug15.
48864         (bug15-ENV): Remove macro.
48865         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48866         anymore.
48868 2012-05-19  Andreas Jaeger  <aj@suse.de>
48869             Roland McGrath  <roland@hack.frob.com>
48871         * manual/contrib.texi: Completely rewritten. It contains now an
48872         alphabetical list of contributors and their contributions.
48874 2012-05-21  Richard Henderson  <rth@twiddle.net>
48876         * misc/getauxval.c (__getauxval): Use unsigned long int.
48877         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48878         (getauxval): Use unsigned long int.
48880 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48882         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48884 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48886         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48887         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48888         __alignof__ (long double).
48890 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48894 2012-05-20  Richard Henderson  <rth@twiddle.net>
48896         * misc/getauxval.c: New file.
48897         * misc/sys/auxv.h: New file.
48898         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48899         (routines): Add getauxval.
48900         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48901         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48902         * elf/dl-sysdep.c (_dl_auxv): Remove.
48903         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48904         * elf/dl-support.c (_dl_auxv): New variable.
48905         (_dl_aux_init): Initialize it.
48906         * manual/startup.texi (Auxiliary Vector): New node.
48907         * sysdeps/generic/bits/hwcap.h: New file.
48908         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48909         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48910         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48911         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48912         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48915         Update.
48916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48919         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48925 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48929 2012-05-19  David S. Miller  <davem@davemloft.net>
48931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48933 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48935         [BZ #14123]
48936         * math/s_ccosh.c: Include <float.h>
48937         (__ccosh): Avoid internal overflow calculating sinh and cosh
48938         values before multiplying by sin and cos values.
48939         * math/s_ccoshf.c: Likewise.
48940         * math/s_ccoshl.c: Likewise.
48941         * math/s_csin.c: Likewise.
48942         * math/s_csinf.c: Likewise.
48943         * math/s_csinl.c: Likewise.
48944         * math/s_csinh.c: Likewise.
48945         * math/s_csinhf.c: Likewise.
48946         * math/s_csinhl.c: Likewise.
48947         * math/libm-test.inc (ccos_test): Add more tests.
48948         (ccosh_test): Likewise.
48949         (csin_test): Likewise.
48950         (csinh_test): Likewise.
48951         * sysdeps/i386/fpu/libm-test-ulps: Update.
48952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48954 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48956         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48957         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48959         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48961 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48963         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48964         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48965         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48966         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48967         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48968         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48969         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48970         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48971         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48972         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48973         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48974         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48975         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48976         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48977         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48978         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48979         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48980         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48981         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48982         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48983         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48984         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48985         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48986         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48987         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48988         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48989         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48990         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48991         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48992         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48993         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48995 2012-05-18  Andreas Jaeger  <aj@suse.de>
48997         * csu/.gitignore: Delete.
48999 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49001         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49002         (timex): Use __syscall_slong_t.
49004 2012-05-18  Andreas Jaeger  <aj@suse.de>
49005             Carlos O'Donell  <carlos_odonell@mentor.com>
49007         * manual/install.texi (Configuring and compiling): Update
49008         description about files modified in the source directory.
49009         * INSTALL: Regenerated.
49011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49013         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49014         value.  Use "or" to set return value to -1.
49015         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49016         negate return value.
49018 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49020         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49021         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49022         failure if the compiler has Graphite support disabled.
49023         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49024         Likewise.
49025         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49026         (CFLAGS-memmove.c): Likewise.
49027         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49028         Likewise.
49030 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49032         * sysdeps/x86_64/x32/_itoa.h: New file.
49034         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49035         getdents system call only if kernel and user dirents have the
49036         same d_ino and d_off.
49038         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49039         LLONG_MAX != LONG_MAX.
49040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49041         (_fitoa_word): Likewise.
49043         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49044         years.
49045         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49046         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49047         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49049         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49050         include <bits/wordsize.h>.  Check __x86_64__ instead of
49051         __WORDSIZE.
49052         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49053         if __x86_64__ is defined.  Use anonymous union on fpstate.
49055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49056         anonymous union.
49058 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49060         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49061         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49062         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49063         Refer to _rtld_local_ro instead of _rtld_global_ro.
49064         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49065         Likewise.
49066         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49067         Likewise.
49068         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49069         Likewise.
49070         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49071         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49072         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49074         * sysdeps/powerpc/powerpc32/dl-machine.c
49075         (__elf_machine_runtime_setup) [PROF]: Don't reference
49076         _dl_prof_resolve.
49078 2012-05-18  Andreas Jaeger  <aj@suse.de>
49080         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49081         function only available for GCCs before 3.4 since GCC 3.4
49082         introduced a builtin.
49083         (lrint): Likewise.
49084         (llrintf): Likewise.
49085         (llrint): Likewise.
49086         (fmaxf): Likewise.
49087         (fmax): Likewise.
49088         (fminf): Likewise.
49089         (fmin): Likewise.
49090         (rint): Likewise.
49091         (rintf): Likewise.
49092         (nearbyint): Likewise.
49093         (nearbyintf): Likewise.
49094         (ceil): Likewise.
49095         (ceilf): Likewise.
49096         (floor): Likewise.
49097         (floorf): Likewise.
49099 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49101         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49102         on both fields and cast pointer to __syscall_ulong_t.
49104         * bits/types.h (__fsword_t): New type.
49105         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49106         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49108         (__FSWORD_T_TYPE): Likewise.
49109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49110         (__FSWORD_T_TYPE): Likewise.
49111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49112         (__FSWORD_T_TYPE): Likewise.
49113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49114         (__FSWORD_T_TYPE): Likewise.
49115         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49116         __SWORD_TYPE with __fsword_t.
49117         (statfs64): Likewise.
49119 2012-05-17  David S. Miller  <davem@davemloft.net>
49121         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49123 2012-05-17  Andreas Jaeger  <aj@suse.de>
49125         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49126         warning.
49128 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49130         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49132 2012-05-17  Andreas Jaeger  <aj@suse.de>
49134         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49135         when it is used.
49137 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49139         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49141 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49143         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49144         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49146 2012-05-17  Andreas Jaeger  <aj@suse.de>
49147             Carlos O'Donell  <carlos_odonell@mentor.com>
49149         [BZ #14059]
49150         * sysdeps/x86_64/multiarch/init-arch.h
49151         (bit_YMM_Usable): Rename to...
49152         (bit_AVX_Usable): ... this.
49153         (bit_FMA4_Usable): New macro.
49154         (bit_XMM_state): New macro.
49155         (bit_YMM_state): New macro.
49156         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49157         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49158         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49159         (CPUID_OSXSAVE): New macro.
49160         (CPUID_AVX): New macro.
49161         (CPUID_FMA4): New macro.
49162         (index_YMM_Usable): Rename to...
49163         (index_AVX_Usable): ... this.
49164         (HAS_AVX): Use HAS_ARCH_FEATURE.
49165         (HAS_FMA4): Likewise.
49166         (HAS_YMM_USABLE): Remove.
49167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49168         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49169         are present.
49170         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49171         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49172         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49173         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49174         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49176 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49178         * math/libm-test.c: Support platforms without multiple rounding modes.
49179         * math/bug-nextafter.c: Support platforms without FP exceptions.
49180         * math/bug-nexttoward.c: Likewise.
49181         * math/test-fenv.c: Likewise.
49182         * math/test-misc.c: Likewise.
49183         * stdlib/bug-getcontext.c: Likewise.
49185 2012-05-17  Andreas Jaeger  <aj@suse.de>
49187         * manual/examples/search.c (critter_cmp): Change signature to
49188         avoid warnings.
49189         * manual/string.texi (Collation Functions): Likewise.
49191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49193         * bits/types.h: Fold copyright years.
49194         * bits/typesizes.h: Likewise.
49195         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49199         * time/time.h: Likewise.
49201 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49203         [BZ #208]
49204         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49205         in instead of returning them.  Return void.
49206         (__libc_mallinfo): Accumulate over all arenas.
49207         (__malloc_stats): Adjust for change in int_mallinfo interface.
49209 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49211         [BZ #10375]
49212         * configure.in (NM): Add AC_CHECK_TOOL for it.
49213         (libc_extra_cflags): New substituted variable.
49214         Check for -fstack-protector being used implicitly.
49215         * configure: Regenerated.
49216         * config.make.in (config-extra-cflags): New variable,
49217         gets @libc_extra_cflags@.
49218         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49220         [BZ #10375]
49221         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49222         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49223         * configure: Regenerated.
49224         * config.make.in (CPPUNDEFS): New substituted variable.
49225         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49226         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49227         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49231         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49232         (mq_attr): Use __syscall_slong_t.
49234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49236         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49237         Check __x86_64__ instead of __WORDSIZE.
49238         (_STAT_VER_LINUX): Likewise.
49239         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49240         __syscall_ulong_t and __syscall_slong_t.
49241         (stat64): Likewise.
49243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49249         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49253         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49254         __syscall_ulong_t.
49256         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49257         include <bits/wordsize.h>.  Check __x86_64__ instead of
49258         __WORDSIZE.
49259         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49260         defined.
49261         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49263         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49264         include <bits/wordsize.h>.  Check __x86_64__ instead of
49265         __WORDSIZE.
49266         (user_regs_struct): Use "__extension__ unsigned long long"
49267         instead of "unsigned long" if __x86_64__ is defined.
49268         (user): Likewise.  Pad after pointer field if __ILP32__ is
49269         defined.
49271 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49273         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49274         versions 5 to 9.
49275         * configure: Regenerated.
49276         * manual/install.texi (texinfo): Increase version requirement to
49277         4.5 or later.
49278         * INSTALL: Regenerated.
49280         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49284         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49286         * sysdeps/x86_64/x32/ffs.c: New file.
49288         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49289         __syscall_ulong_t.
49290         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49291         defined.  Use __syscall_ulong_t.
49292         (shminfo): Use __syscall_ulong_t.
49293         (shm_info): Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49296         __syscall_ulong_t.
49298         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49299         <bits/wordsize.h>.
49300         (msgqnum_t): Use __syscall_ulong_t.
49301         (msglen_t): Likewise.
49302         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49303         __syscall_ulong_t.
49305         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49306         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49308         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49310         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49311         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49313         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49314         __syscall_slong_t.
49316         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49317         include <bits/wordsize.h>.  Check __x86_64__ instead of
49318         __WORDSIZE.
49320         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49321         "unsigned long long int" if __x86_64__ is defined.
49322         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49324         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49325         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49326         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49328         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49329         <stdint.h>.
49330         (GET_PC): Cast to uintptr_t first.
49331         (GET_FRAME): Likewise.
49332         (GET_STACK): Likewise.
49334         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49336         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49337         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49338         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49339         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49340         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49341         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49342         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49343         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49344         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49345         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49346         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49347         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49348         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49349         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49350         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49351         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49353         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49355         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49356         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49357         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49358         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49359         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49361         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49362         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49364 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49366         * Makerules (+depfiles): Also collect depfiles from .oS in
49367         $(extra-objs).
49368         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49369         .oS, $(libnldbl-routines)).
49371         * Makerules (native-compile-mkdep-flags): Define.
49372         * sunrpc/Makefile (extra-objs): Add $(addprefix
49373         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49374         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49375         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49376         calling $(make-target-directory).
49378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49380         * bits/types.h (__snseconds_t): Removed.
49381         * time/time.h (struct timespec): Replace __snseconds_t with
49382         __syscall_slong_t.
49383         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49384         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49385         Likewise.
49386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49387         (__SNSECONDS_T_TYPE): Likewise.
49388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49389         (__SNSECONDS_T_TYPE): Likewise.
49390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49391         (__SNSECONDS_T_TYPE): Likewise.
49393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49395         * sysdeps/mach/hurd/bits/typesizes.h
49396         (__SYSCALL_SLONG_TYPE): New macro.
49397         (__SYSCALL_ULONG_TYPE): Likewise.
49399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49401         * bits/types.h (__syscall_slong_t): New type.
49402         (__syscall_ulong_t): Likewise.
49404         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49405         (__SYSCALL_ULONG_TYPE): Likewise.
49406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49407         (__SYSCALL_SLONG_TYPE): Likewise.
49408         (__SYSCALL_ULONG_TYPE): Likewise.
49409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49410         (__SYSCALL_SLONG_TYPE): Likewise.
49411         (__SYSCALL_ULONG_TYPE): Likewise.
49412         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49413         (__SYSCALL_SLONG_TYPE): Likewise.
49414         (__SYSCALL_ULONG_TYPE): Likewise.
49416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49418         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49419         Add sigaltstack-offsets.sym.
49420         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49421         <sigaltstack-offsets.h>.
49422         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49423         longjmp_msg pointer.
49424         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49425         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49426         signal stack.
49427         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49429 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49431         * elf/stackguard-macros.h: Remove file.
49432         * sysdeps/generic/stackguard-macros.h: New file.
49433         * sysdeps/i386/stackguard-macros.h: Likewise.
49434         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49435         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49436         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49437         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49438         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49439         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49440         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49441         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49442         <elf/stackguard-macros.h>.
49444         [BZ #14109]
49445         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49446         __aligned__ in attribute.
49447         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49448         (gregset_t): Likewise.
49450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49452         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49453         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49454         * sysdeps/x86_64/x32/Implies-after: New file.
49456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49458         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49459         and access return value for _dl_profile_fixup.  Use R10_LP to
49460         load frame size.
49462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49464         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49468         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49469         * sysdeps/x86_64/x32/sysdep.h: New file.
49471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49473         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49474         * sysdeps/x86_64/setjmp.S: Likewise.
49476 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49478         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49479         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49480         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49481         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49482         remove unused global constant.
49484 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49486         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49487         include of <not-cancel.h>.
49489 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49491         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49493 2012-05-15  Jeff Law  <law@redhat.com>
49494             Andreas Jaeger  <aj@suse.de>
49496         [BZ #13594]
49497         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49498         out from...
49499         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49500         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49501         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49502         code changing __hst_map_handle.map.
49504 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49506         * configure.in (sysnames): Look for Implies-before and Implies-after
49507         files.
49508         * configure: Regenerated.
49510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49512         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49513         8-byte data alignment with LP_SIZE alignment.
49515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49517         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49518         into R10_LP.
49520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49522         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49526         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49527         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49528         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49529         Likewise.
49530         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49534         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49535         (stackinfo_sub_sp): Likewise.
49537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49539         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49540         RAX_LP.
49542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49545         into R*_LP.
49547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49549         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49550         sizes into R*_LP.
49552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49554         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49558         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49559         into R11_LP and load __x86_64_shared_cache_size_half into
49560         R8_LP.
49562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49564         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49565         R8_LP.
49567 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49570         logb for POWER7.
49571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49572         logbf for POWER7.
49573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49574         logbl for POWER7.
49575         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49576         powerpc32/power7/fpu/s_logb.c via #include.
49577         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49578         powerpc32/power7/fpu/s_logbf.c via #include.
49579         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49580         powerpc32/power7/fpu/s_logbl.c via #include.
49582 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49584         * README.libm: Remove file.
49586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49588         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49589         count for x32.  Use R*_LP and omit operand-size suffix.
49591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49593         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49594         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49595         * sysdeps/x86_64/x32/shlib-versions: New file.
49597 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49599         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49600         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49601         Use _dl_fatal_printf instead.
49603 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49605         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49606         set if not set by the user.  Do not allow for being unset.
49607         * sysdeps/unix/sysv/linux/configure: Regenerated.
49609 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49611         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49612         the `q' suffix from lea and replace .quad with ASM_ADDR.
49614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49617         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49618         instead of $17.
49619         (PTR_DEMANGLE): Likewise.
49621 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49623         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49624         (LP_OP): Likewise.
49625         (ASM_ADDR): Likewise.
49626         (RAX_LP): Likewise.
49627         (RBP_LP): Likewise.
49628         (RBX_LP): Likewise.
49629         (RCX_LP): Likewise.
49630         (RDI_LP): Likewise.
49631         (RSI_LP): Likewise.
49632         (RSP_LP): Likewise.
49633         (R8_LP): Likewise.
49634         (R9_LP): Likewise.
49635         (R10_LP): Likewise.
49636         (R10_LP): Likewise.
49637         (R11_LP): Likewise.
49638         (R12_LP): Likewise.
49639         (R13_LP): Likewise.
49640         (R14_LP): Likewise.
49641         (R15_LP): Likewise.
49643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49645         * sysdeps/x86_64/x32/dl-machine.h: New file.
49647 2012-05-14  Andreas Jaeger  <aj@suse.de>
49649         * manual/Makefile (subdir): Remove export of subdir.
49650         (all): Remove target.
49651         (.PHONY): Remove all from list.
49652         (mkinstalldirs): Remove.
49653         (.PHONY): Remove installdirs from list.
49654         ($(inst_infodir)/libc.info): Use make-target-directory.
49655         (installdirs): Remove.
49656         (subdir_%): Remove.
49657         (glibc-targets): Remove.
49658         (lib): Remove.
49659         (stubs): Remove.
49660         ($(objpfx)stubs ../po/manual.pot): Remove.
49661         ($(objpfx)stamp%): Remove.
49662         (make-target-directory): Remove.
49663         (subdir_install): Remove.
49664         (routines): Remove.
49665         (aux): Remove.
49666         (sources): Remove.
49667         (objects): Remove.
49668         (headers): Remove.
49670         [BZ #13750]
49671         * manual/.gitignore: Remove, it's not needed anymore.
49672         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49673         all files in it.
49674         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49675         directory.
49676         (texis): Renamed to $(objpfx)texis.
49677         (texis-path): New, contains path to generated files.
49678         (chapters.%): Use texis-path for complete path, add extra argument
49679         libc-texinfo.sh.
49680         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49681         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49682         (summary,texi, stamp-summary): Use complete path of
49683         files. Generate files in build dir.
49684         (dir-add.texi): Build in build dir.
49685         (libm-err.texi,stamp-libm-err): Likewise.
49686         (version.texi, stamp-version): Likewise.
49687         (.%c.texi): Likewise.
49688         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49689         (mostlyclean): Remove target.
49690         (realclean): Remove target.
49691         (generated): Add new variable with contents from mostlyclean and
49692         realclean, remove entries duplicated in common-mostlyclean, add
49693         stamp-libm-err and stamp-version.
49694         (generated-dirs): Add libc directory.
49695         ($(inst_infodir)/libc.info): Install files from build dir.
49697         * manual/install.texi (Configuring and compiling): Adjust since
49698         the info files are not part of the tar ball anymore.
49700 2012-05-14  Andreas Jaeger  <aj@suse.de>
49702         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49703         variable.
49705 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49707         [BZ #13717]
49708         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49709         to 2.2.0 where earlier.
49710         * sysdeps/unix/sysv/linux/configure: Regenerated.
49711         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49712         Remove conditional code.
49713         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49714         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49715         Remove conditional code.
49716         [!__NR_lchown]: Likewise.
49717         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49718         [__NR_lchown]: Likewise.
49719         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49720         comment referencing __ASSUME_LCHOWN_SYSCALL.
49721         * sysdeps/unix/sysv/linux/i386/sigaction.c
49722         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49723         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49724         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49725         Remove conditional code.
49726         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49727         (__protocol_available): Remove #if 0 code.
49728         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49729         conditional code.
49730         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49731         * sysdeps/unix/sysv/linux/kernel-features.h
49732         (__ASSUME_GETCWD_SYSCALL): Don't define.
49733         (__ASSUME_REALTIME_SIGNALS): Likewise.
49734         (__ASSUME_PREAD_SYSCALL): Likewise.
49735         (__ASSUME_PWRITE_SYSCALL): Likewise.
49736         (__ASSUME_POLL_SYSCALL): Likewise.
49737         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49738         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49739         non-SPARC.
49740         (__ASSUME_SIOCGIFNAME): Don't define.
49741         (__ASSUME_MSG_NOSIGNAL): Likewise.
49742         (__ASSUME_SENDFILE): Define unconditionally.
49743         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49744         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49745         conditional code.
49746         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49747         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49748         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49749         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49750         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49751         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49752         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49754         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49755         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49757         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49758         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49760         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49761         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49763         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49766         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49767         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49769         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49770         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49772         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49773         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49775         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49776         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49777         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49778         Remove conditional code.
49779         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49780         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49781         Remove conditional code.
49782         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49783         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49784         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49785         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49786         Remove conditional code.
49787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49788         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49789         Remove conditional code.
49790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49791         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49792         Remove conditional code.
49793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49794         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49795         Remove conditional code.
49796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49797         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49798         Remove conditional code.
49799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49800         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49803         * sysdeps/unix/sysv/linux/sigaction.c
49804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49806         * sysdeps/unix/sysv/linux/sigpending.c
49807         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49808         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49809         * sysdeps/unix/sysv/linux/sigprocmask.c
49810         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49811         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49812         * sysdeps/unix/sysv/linux/sigsuspend.c
49813         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49814         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49815         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49816         (__libc_missing_rt_sigs): Remove.
49817         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49818         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49819         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49820         Remove conditional code.
49821         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49822         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49823         return 1.
49824         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49825         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49826         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49827         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49829 2012-05-14  Andreas Jaeger  <aj@suse.de>
49831         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49832         it's not used in glibc.
49833         (__coshm1): Likewise.
49834         (__acosh1p): Likewise.
49835         (__sgn): Likewise.
49837         * manual/string.texi (Copying and Concatenation): Add missing
49838         variable in concat example.
49839         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49843         [BZ #14103]
49844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49845         __builtin_clzl with __builtin_clzll.
49847 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49849         [BZ #14104]
49850         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49851         libc_freeres_ptr.
49853 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49855         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49856         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49857         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49858         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49860 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49862         * NEWS: Update ia64 info.
49864 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49866         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49867         used as bcopy.
49869 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49871         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49872         * sysdeps/unix/syscalls.list (dup3): Likewise.
49873         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49874         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49876 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49878         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49879         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49881 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49883         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49884         thread pointer.
49885         (TLS_IE): Use mov/add instead of movq/addq to load thread
49886         pointer.
49887         (TLS_GD_PREFIX): New.
49888         (TLS_GD): Use it.
49890 2012-05-11  David S. Miller  <davem@davemloft.net>
49892         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49893         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49894         (_FPU_SETCW): Likewise.
49896 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49898         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49899         is 32-byte aligned.
49901 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49903         [BZ #11837]
49904         * iconvdata/gb18030.c: Update tables.
49905         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49906         characters specially.
49907         (BODY for TO_LOOP): Add encoding of missing ranges.
49909 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49911         [BZ #13673]
49912         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49913         * sysdeps/mach/hurd/dup3.c: Likewise.
49914         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49915         * sysdeps/powerpc/memmove.c:: Likewise.
49917 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49919         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49920         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49922 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49924         * elf/elf.h (R_X86_64_RELATIVE64): New.
49925         (R_X86_64_NUM): Updated.
49926         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49927         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49928         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49929         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49930         tst-quad1pie tst-quad2pie
49931         (modules-names): Add tst-quadmod1 tst-quadmod2.
49932         ($(objpfx)tst-quad1): New dependency.
49933         ($(objpfx)tst-quad2): Likewise.
49934         ($(objpfx)tst-quad1pie): Likewise.
49935         ($(objpfx)tst-quad2pie): Likewise.
49936         * sysdeps/x86_64/tst-quad1.c: New file.
49937         * sysdeps/x86_64/tst-quad1pie.c: New file.
49938         * sysdeps/x86_64/tst-quad2.c: Likewise.
49939         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49940         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49941         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49942         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49943         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49947         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49948         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49949         * streams/stropts.h (t_scalar_t): Define type.
49951         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49952         (_PATH_PRESERVE): Set to "/var/lib".
49953         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49955         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49956         instead of int.
49958         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49959         if __dir_mkfile succeeded.
49961         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49962         checking for _hurd_dtablesize.  Unlock it right after having
49963         finished _hurd_dtable allocation.
49965 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49967         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49968         * sysdeps/mach/hurd/configure: Regenerated.
49969         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49970         special-casing to...
49971         * sysdeps/gnu/configure.in: ... this new file.
49972         * sysdeps/unix/sysv/linux/configure: Regenerated.
49973         * sysdeps/gnu/configure: New generated file.
49975         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49976         for Linux: use nsec instead of usec, as well as:
49977         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49978         members of type struct timespec.
49979         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49980         New macros.
49981         (struct stat64): Likewise.
49982         (_STATBUF_ST_NSEC): New macro.
49983         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49985         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49986         __strtoul_internal rather than strtoul.
49988 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49990         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49991         and reject them.
49993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49995         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49996         which preserves existing values.
49997         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49999 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50001         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50002         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50003         greater than FD_SETSIZE.
50005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50007         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50008         allocated, call __vm_protect to finish enabling the existing space, and
50009         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50010         allocate the remainder.
50012 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50014         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50015         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50019         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50020         sysdeps/mach/hurd/readlink.c.
50022         * posix/tst-sysconf.c (posix_options): Only use
50023         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50024         _POSIX_SYNCHRONIZED_IO when they are defined
50025         * sysdeps/mach/hurd/bits/posix_opt.h:
50026         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50027         (_XOPEN_REALTIME): Undefine macro.
50028         (_XOPEN_REALTIME_THREADS): Undefine macro.
50029         (_XOPEN_SHM): Undefine macro.
50030         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50031         macro to -1.
50032         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50033         macro to -1.
50034         (_POSIX_ASYNC_IO): Undefine macro.
50035         (_POSIX_PRIORITIZED_IO): Undefine macro.
50036         (_POSIX_SPIN_LOCKS): Define macro to -1.
50038         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50039         SA_NODEFER, SA_RESETHAND.
50040         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50041         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50042         F_DUPFD_CLOEXEC.
50044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50046         * elf/Makefile (pldd-modules): Define unconditionally.
50048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50050         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50054         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50055         Return ENOENT when name is empty.
50056         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50060         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50062         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50066         Fix mlock in all cases except non-readable pages.
50067         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50068         instead of VM_PROT_ALL as parameter to __vm_wire function.
50070         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50071         (__mkdir): When path is `/', just fail with EEXIST.
50072         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50076         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50077         <sys/uio.h> (for writev).
50078         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50079         and <sys/param.h> (for MIN).
50081 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50083         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50084         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50085         if interrupted.
50087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50089         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50090         Depend on against $(link-rpcuserlibs).
50092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50094         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50095         (__libc_stack_end): Do not use attribute_relro.
50096         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50097         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50098         to libthread-provided value.
50099         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50100         attribute_relro.
50102 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50104         [BZ #3748]
50105         * bits/libc-lock.h (__libc_once_get): New macro.
50106         * sysdeps/mach/bits/libc-lock.h: Likewise.
50107         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50109         instead of using implementation details.
50111         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50112         * libio/freopen.c: Likewise.
50113         * libio/freopen64.c: Likewise.
50114         * misc/syslog.c: Likewise.
50115         * nscd/connections.c: Likewise.
50116         * nscd/netgroupcache.c: Likewise.
50117         * sysdeps/posix/getcwd.c: Likewise.
50119 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50121         * math/w_ilogbf.c: Add #include <limits.h>.
50123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50125         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50126         path instead of returning without unlocking.
50128         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50129         immediate-write ioctls.
50130         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50134         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50135         __builtin_frame_address instead of making assumptions about the
50136         location of the return address relative to DATA.  Force early load of
50137         the return address.
50138         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50139         __builtin_frame_address.
50141         dup3 for GNU Hurd.
50142         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50143         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50144         implement dup3 and do some further code clean-ups.
50145         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50146         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50150         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50152         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50153         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50154         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50155         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50156         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50157         d->port.lock.
50159         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50160         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50161         when handler == SIG_ERR, not when handler != SIG_ERR.
50163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50165         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50166         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50167         definitions.
50169         accept4 for GNU Hurd.
50170         * include/sys/socket.h (__libc_accept4): New prototype.
50171         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50172         to implement __libc_accept4.
50173         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50174         __libc_accept4.
50175         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50177         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50178         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50179         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50180         signal-defines.sym.
50182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50184         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50188         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50189         assertion on O_CLOEXEC flag.
50190         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50191         * hurd/intern-fd.c: Likewise.
50192         * hurd/port2fd.c: Likewise.
50194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50196         [BZ #3906]
50197         * bits/in.h (IPV6_PKTINFO): Define new macro.
50198         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50200 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50202         [BZ #13954]
50203         [BZ #13955]
50204         [BZ #13956]
50205         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50207         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50208         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50210         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50211         * math/libm-test.inc (logb_test) : Additional logb tests.
50213 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50214             Andreas Jaeger  <aj@suse.de>
50216         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50217         * configure: Regenerated.
50218         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50219         * config.make.in (link-obsolete-rpc): New substituted variable.
50220         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50221         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50222         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50223         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50224         so that libc.a contains the symbols.
50225         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50226         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50227         * sunrpc/auth_none.c: Likewise.
50228         * sunrpc/auth_unix.c: Likewise.
50229         * sunrpc/authdes_prot.c: Likewise.
50230         * sunrpc/authuxprot.c: Likewise.
50231         * sunrpc/clnt_gen.c: Likewise.
50232         * sunrpc/clnt_perr.c: Likewise.
50233         * sunrpc/clnt_raw.c: Likewise.
50234         * sunrpc/clnt_simp.c: Likewise.
50235         * sunrpc/clnt_tcp.c: Likewise.
50236         * sunrpc/clnt_udp.c: Likewise.
50237         * sunrpc/clnt_unix.c: Likewise.
50238         * sunrpc/des_crypt.c: Likewise.
50239         * sunrpc/des_soft.c: Likewise.
50240         * sunrpc/get_myaddr.c: Likewise.
50241         * sunrpc/key_call.c: Likewise.
50242         * sunrpc/key_prot.c: Likewise.
50243         * sunrpc/netname.c: Likewise.
50244         * sunrpc/pm_getmaps.c: Likewise.
50245         * sunrpc/pm_getport.c: Likewise.
50246         * sunrpc/pmap_clnt.c: Likewise.
50247         * sunrpc/pmap_prot.c: Likewise.
50248         * sunrpc/pmap_prot2.c: Likewise.
50249         * sunrpc/pmap_rmt.c: Likewise.
50250         * sunrpc/publickey.c: Likewise.
50251         * sunrpc/rpc_cmsg.c: Likewise.
50252         * sunrpc/rpc_common.c: Likewise.
50253         * sunrpc/rpc_dtable.c: Likewise.
50254         * sunrpc/rpc_prot.c: Likewise.
50255         * sunrpc/rpc_thread.c: Likewise.
50256         * sunrpc/rtime.c: Likewise.
50257         * sunrpc/svc.c: Likewise.
50258         * sunrpc/svc_auth.c: Likewise.
50259         * sunrpc/svc_raw.c: Likewise.
50260         * sunrpc/svc_run.c: Likewise.
50261         * sunrpc/svc_tcp.c: Likewise.
50262         * sunrpc/svc_udp.c: Likewise.
50263         * sunrpc/svc_unix.c: Likewise.
50264         * sunrpc/svcauth_des.c: Likewise.
50265         * sunrpc/xcrypt.c: Likewise.
50266         * sunrpc/xdr.c: Likewise.
50267         * sunrpc/xdr_array.c: Likewise.
50268         * sunrpc/xdr_float.c: Likewise.
50269         * sunrpc/xdr_intXX_t.c: Likewise.
50270         * sunrpc/xdr_mem.c: Likewise.
50271         * sunrpc/xdr_rec.c: Likewise.
50272         * sunrpc/xdr_ref.c: Likewise.
50273         * sunrpc/xdr_sizeof.c: Likewise.
50274         * sunrpc/xdr_stdio.c: Likewise.
50276 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50279         change.  Update copyright years.
50281 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50283         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50285 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50286             Joseph Myers  <joseph@codesourcery.com>
50287             Paul Pluzhnikov  <ppluzhnikov@google.com>
50289         [BZ #14012]
50290         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50291         requiring rpcgen.
50292         [cross-compiling] (extra-libs): Likewise.
50293         [cross-compiling] (extra-libs-others): Likewise.
50294         [cross-compiling] (librpcsvc-routines): Likewise.
50295         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50296         [cross-compiling] (omit-deps): Likewise.
50297         (sunrpc-CPPFLAGS): New variable.
50298         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50299         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50300         (cross-rpcgen-objs): New variable.
50301         (extra-objs): Append $(cross-rpcgen-objs).
50302         ($(cross-rpcgen-objs)): New rule.
50303         ($(objpfx)cross-rpcgen): Likewise.
50304         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50305         comment.
50306         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50307         ($(objpfx)x%.stmp): Likewise.
50308         * sunrpc/proto.h [IS_IN_build] (_): Define.
50309         [IS_IN_build] (_libc_intl_domainname): Likewise.
50311 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50314         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50315         and R_X86_64_TPOFF64.
50317 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50319         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50320         sysdeps/unix/sysv/syscalls.list.
50321         (stime): Likewise.
50322         (utime): Likewise.
50323         * sysdeps/unix/sysv/syscalls.list: Remove file.
50325 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50327         [BZ #3440]
50328         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50329         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50330         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50331         (__LC_IDENTIFICATION): Make these macros useful in #if
50332         expressions, as required by C99.
50334 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50336         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50337         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50338         after this.
50340 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50342         * stdlib/longlong.h: Updated from GCC.
50344 2012-05-09  Andreas Jaeger  <aj@suse.de>
50346         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50347         default is first entry.
50348         (run_mode): Set type.
50349         (main): Remove informal message about syslog.
50350         (options): Fix typo.
50352         [BZ #14053]
50353         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50354         to asm.
50355         (lrint): Likewise.
50356         (llrintf): Likewise.
50357         (llrint): Likewise.
50358         (rint): Likewise.
50359         (rintf): Likewise.
50360         (nearbyint): Likewise.
50361         (nearbyintf): Likewise.
50363 2012-05-09  Andreas Jaeger  <aj@suse.de>
50364             Pedro Alves  <palves@redhat.com>
50366         * nscd/nscd.c (run_mode): Use enum.
50367         (main): Cleanup coding style issue.
50369 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50370             Andreas Jaeger  <aj@suse.de>
50372         * nscd/nscd.c (go_background): Replaced with...
50373         (run_mode): ... this.
50374         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50375         (options): Add -F --foreground.
50376         (main): Implement it.
50377         (parse_opt): Parse it.
50379 2012-05-09  Andreas Jaeger  <aj@suse.de>
50381         [BZ #14083]
50382         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50383         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50384         -Wconversion warning.
50385         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50386         Likewise.
50388 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50390         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50391         == 0.
50392         (LC_ALL): Use macro-int-constant.
50393         (LC_COLLATE): Likewise.
50394         (LC_CTYPE): Likewise.
50395         (LC_MESSAGES): Likewise.
50396         (LC_MONETARY): Likewise.
50397         (LC_NUMERIC): Likewise.
50398         (LC_TIME): Likewise.
50399         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50400         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50402         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50403         Specify type.
50404         [C99-based standards] (float_t): Expect type.
50405         [C99-based standards] (double_t): Expect type.
50406         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50407         type.
50408         [C99-based standards] (HUGE_VALL): Likewise.
50409         [C99-based standards] (INFINITY): Likewise.
50410         [C99-based standards] (NAN): Likewise.
50411         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50412         [C99-based standards] (FP_NAN): Likewise.
50413         [C99-based standards] (FP_NORMAL): Likewise.
50414         [C99-based standards] (FP_SUBNORMAL): Likewise.
50415         [C99-based standards] (FP_ZERO): Likewise.
50416         [C99-based standards] (FP_FAST_FMA): Use
50417         optional-macro-int-constant.  Specify type.  Require == 1.
50418         [C99-based standards] (FP_FAST_FMAF): Likewise.
50419         [C99-based standards] (FP_FAST_FMAL): Likewise.
50420         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50421         [C99-based standards] (FP_ILOGBNAN): Likewise.
50422         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50423         Specify type.
50424         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50425         [C99-based standards] (math_errhandling): Specify type.
50426         [ISO99 || ISO11] (signgam): Do not allow.
50427         [non-C99-based standards] (copysignf): Do not allow.
50428         [non-C99-based standards] (exp2f): Likewise.
50429         [non-C99-based standards] (log2f): Likewise.
50430         [non-C99-based standards] (modff): Allow.
50431         [non-C99-based standards] (erff): Do not allow.
50432         [non-C99-based standards] (erfcf): Likewise.
50433         [non-C99-based standards] (gammaf): Likewise.
50434         [non-C99-based standards] (hypotf): Likewise.
50435         [non-C99-based standards] (j0f): Likewise.
50436         [non-C99-based standards] (j1f): Likewise.
50437         [non-C99-based standards] (jnf): Likewise.
50438         [non-C99-based standards] (lgammaf): Likewise.
50439         [non-C99-based standards] (tgammaf): Likewise.
50440         [non-C99-based standards] (y0f): Likewise.
50441         [non-C99-based standards] (y1f): Likewise.
50442         [non-C99-based standards] (ynf): Likewise.
50443         [non-C99-based standards] (isnanf): Likewise.
50444         [non-C99-based standards] (acoshf): Likewise.
50445         [non-C99-based standards] (asinhf): Likewise.
50446         [non-C99-based standards] (atanhf): Likewise.
50447         [non-C99-based standards] (cbrtf): Likewise.
50448         [non-C99-based standards] (expm1f): Likewise.
50449         [non-C99-based standards] (ilogbf): Likewise.
50450         [non-C99-based standards] (log1pf): Likewise.
50451         [non-C99-based standards] (logbf): Likewise.
50452         [non-C99-based standards] (nextafterf): Likewise.
50453         [non-C99-based standards] (remainderf): Likewise.
50454         [non-C99-based standards] (rintf): Likewise.
50455         [non-C99-based standards] (scalbf): Likewise.
50456         [non-C99-based standards] (copysignl): Likewise.
50457         [non-C99-based standards] (exp2l): Likewise.
50458         [non-C99-based standards] (log2l): Likewise.
50459         [non-C99-based standards] (modfl): Allow.
50460         [non-C99-based standards] (erfl): Do not allow.
50461         [non-C99-based standards] (erfcl): Likewise.
50462         [non-C99-based standards] (gammal): Likewise.
50463         [non-C99-based standards] (hypotl): Likewise.
50464         [non-C99-based standards] (j0l): Likewise.
50465         [non-C99-based standards] (j1l): Likewise.
50466         [non-C99-based standards] (jnl): Likewise.
50467         [non-C99-based standards] (lgammal): Likewise.
50468         [non-C99-based standards] (tgammal): Likewise.
50469         [non-C99-based standards] (y0l): Likewise.
50470         [non-C99-based standards] (y1l): Likewise.
50471         [non-C99-based standards] (ynl): Likewise.
50472         [non-C99-based standards] (isnanl): Likewise.
50473         [non-C99-based standards] (acoshl): Likewise.
50474         [non-C99-based standards] (asinhl): Likewise.
50475         [non-C99-based standards] (atanhl): Likewise.
50476         [non-C99-based standards] (cbrtl): Likewise.
50477         [non-C99-based standards] (expm1l): Likewise.
50478         [non-C99-based standards] (ilogbl): Likewise.
50479         [non-C99-based standards] (log1pl): Likewise.
50480         [non-C99-based standards] (logbl): Likewise.
50481         [non-C99-based standards] (nextafterl): Likewise.
50482         [non-C99-based standards] (remainderl): Likewise.
50483         [non-C99-based standards] (rintl): Likewise.
50484         [non-C99-based standards] (scalbl): Likewise.
50485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50486         [non-C99-based standards] (FP_*): Do not allow.
50487         [C99-based standards] (FP_*): Change to
50488         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50489         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50490         allow.
50491         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50492         (SIG_ERR): Likewise.
50493         [X/Open-based standards] (SIG_HOLD): Likewise.
50494         (SIG_IGN): Likewise.
50495         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50496         positive value.
50497         (SIGFPE): Likewise.
50498         (SIGILL): Likewise.
50499         (SIGINT): Likewise.
50500         (SIGSEGV): Likewise.
50501         (SIGTER): Likewise.
50502         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50503         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50504         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50505         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50506         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50507         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50508         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50509         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50510         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50511         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50512         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50513         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50514         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50515         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50516         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50517         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50518         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50519         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50520         [X/Open-based standards] (SIGTRAP): Likewise.
50521         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50522         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50523         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50524         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50525         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50526         allow.
50528 2012-05-08  Ian Wienand  <ianw@vmware.com>
50530         [BZ #14080]
50531         * time/tzset.c (__tzset_parse_tz): Update default rules for
50532         daylight time changes in the Energy Policy Act of 2005.
50534 2012-05-09  Andreas Jaeger  <aj@suse.de>
50536         [BZ #13983]
50537         * elf/ldconfig.c (parse_conf): Change string to make clear that
50538         ldconfig only issued a warning if ld.so.conf does not exist.
50540 2012-05-08  David S. Miller  <davem@davemloft.net>
50542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50543         movxtod instead of popping the value on the stack.
50545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50547 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50549         * config.h.in: Add HAVE_ARM_PCS_VFP.
50551 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50553         [BZ #13979]
50554         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50555         checking but the checks are disabled for any reason.
50557 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50559         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50560         and ELF64_R_TYPE with ELFW(R_TYPE).
50562 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50564         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50565         (ulimit): Likewise.
50567         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50568         (settimeofday): Likewise.
50570 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50572         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50573         a struct th_u2 inside the union, and move tu_block/tu_code into
50574         a new th_u3 union of tu_block/tu_code inside of that.  Move
50575         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50576         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50577         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50578         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50579         (th_stuff): Change to th_u1.tu_stuff.
50580         (th_data): Define.
50581         (th_msg): Change to th_u1.th_u2.tu_data.
50583 2012-05-07  David S. Miller  <davem@davemloft.net>
50585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50587         [BZ #14074]
50588         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50589         (SETUP_PIC_REG): Use it.
50590         (SETUP_PIC_REG_LEAF): Use it.
50592 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50594         [BZ #13885]
50595         [BZ #13923]
50596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50597         USE_AS_EXPM1L.
50598         (EXPL_FINITE): Likewise.
50599         (FLDLOG): Likewise.
50600         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50601         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50602         e_expl.S.
50603         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50604         USE_AS_EXPM1L.
50605         (EXPL_FINITE): Likewise.
50606         (FLDLOG): Likewise.
50607         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50608         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50609         e_expl.S.
50610         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50611         test of -max_value argument for long double.
50612         * sysdeps/i386/fpu/libm-test-ulps: Update.
50613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50615 2012-05-06  David S. Miller  <davem@davemloft.net>
50617         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50618         quad soft-float symbols whose references which are compiler
50619         generated.
50620         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50622 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50624         [BZ #13884]
50625         [BZ #13914]
50626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50627         USE_AS_EXP10L.
50628         (EXPL_FINITE): Likewise.
50629         (FLDLOG): Likewise.
50630         (c0): Likewise.
50631         (c1): Likewise.
50632         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50633         Adjust comments for base varying.
50634         (__expl_finite): Change alias to EXPL_FINITE.
50635         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50636         e_expl.S.
50637         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50638         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50639         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50640         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50642         USE_AS_EXP10L.
50643         (EXPL_FINITE): Likewise.
50644         (FLDLOG): Likewise.
50645         (c0): Likewise.
50646         (c1): Likewise.
50647         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50648         Adjust comments for base varying.
50649         (__expl_finite): Change alias to EXPL_FINITE.
50650         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50651         tests for bugs.
50652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50654         [BZ #14064]
50655         * math/libm-test.inc (check_float_internal): Correct ulp
50656         calculation for subnormal expected results.
50658 2012-05-06  Andreas Jaeger  <aj@suse.de>
50660         * Makeconfig (+math-flags): New, set to -frounding-math.
50661         (+cflags): Add +math-flags so that all of glibc gets compiled with
50662         it.
50664         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50666 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50668         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50669         Disable one test.
50671         [BZ #13787]
50672         [BZ #13922]
50673         [BZ #14036]
50674         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50675         (__ieee754_expl): Allow for and saturate large arguments.
50676         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50677         (u_threshold): Likewise.
50678         (__exp): Call __ieee754_exp before checking for overflow and
50679         underflow.
50680         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50681         (u_threshold): Likewise.
50682         (__expf): Call __ieee754_expf before checking for overflow and
50683         underflow.
50684         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50685         (u_threshold): Likewise.
50686         (__expl): Call __ieee754_expl before checking for overflow and
50687         underflow.
50688         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50689         (__ieee754_expl): Allow for and saturate large arguments.
50690         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50691         missing overflow exception on overflow.
50692         (expm1_test): Do not allow missing overflow exception on overflow.
50694         * sysdeps/i386/fpu/e_expl.c: Move to ...
50695         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50696         rather than using inline asm.
50697         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50698         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50699         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50701         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50702         (nice): Likewise.
50703         (poll): Likewise.
50704         (signal): Likewise.
50705         (time): Likewise.
50706         (times): Likewise.
50708 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50710         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50711         sysdeps/unix/common/syscalls.list.
50712         (fchmod): Likewise.
50713         (fchown): Likewise.
50714         (ftruncate): Likewise.
50715         (getrusage): Likewise.
50716         (gettimeofday): Likewise.
50717         (setpgid): Likewise.
50718         (setregid): Likewise.
50719         (setreuid): Likewise.
50720         (sigaction): Likewise.
50721         (truncate): Likewise.
50722         (vhangup): Likewise.
50723         * sysdeps/unix/common/syscalls.list: Remove file.
50724         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50725         * sysdeps/unix/sysv/linux/Implies: Likewise.
50727 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50729         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50731         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50732         Moved to ...
50733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50734         Here.
50735         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50736         to ...
50737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50738         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50739         to ...
50740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50741         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50742         to ...
50743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50744         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50745         to ...
50746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50747         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50748         to ...
50749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50750         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50751         to ...
50752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50753         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50754         to ...
50755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50756         Here.
50757         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50758         to ...
50759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50760         Here.
50761         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50762         to ...
50763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50764         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50765         Moved to ...
50766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50767         Here.
50768         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50769         to ...
50770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50772 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50774         * sysdeps/unix/common/bits/dirent.h: Remove file.
50775         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50777         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50778         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50779         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50780         * sysdeps/unix/bsd/isatty.c: Likewise.
50781         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50782         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50783         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50785 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50787         [BZ #13563]
50788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50789         long double comparison inaccuracies.
50790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50793 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50795         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50796         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50798 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50800         [BZ #14049]
50801         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50802         nonzero digits before rounding a hex value.
50803         * stdlib/tst-strtod.c (tests): Add another test.
50805 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50807         * sysdeps/s390/fpu/libm-test-ulps: Update.
50809 2012-05-03  Andreas Jaeger  <aj@suse.de>
50811         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50812         does not get optimized out.
50813         (malloc_opt_barrier): New.
50815 2012-05-03  Andreas Jaeger  <aj@suse.de>
50816             Roland McGrath  <roland@hack.frob.com>
50818         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50819         intermediate file deletion.
50820         (generated): Add .symlist files.
50822 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50824         [BZ #13775]
50825         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50826         Redirect under this condition.
50827         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50828         [__USE_GNU] (__dprintf_chk): Not under this condition.
50829         [__USE_GNU] (__vdprintf_chk): Likewise.
50830         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50831         under this condition.
50832         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50833         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50834         [__USE_XOPEN2K8] (vdprintf): Likewise.
50835         [__USE_GNU] (__dprintf_chk): Not under this condition.
50836         [__USE_GNU] (__vdprintf_chk): Likewise.
50837         [__USE_GNU] (dprintf): Likewise.
50838         [__USE_GNU] (vdprintf): Likewise.
50840 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50842         * elf/Makefile (common-generated): Set this instead of generated for
50843         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50844         $(all-built-dso)-derived lists.
50846 2012-05-03  Andreas Jaeger  <aj@suse.de>
50848         * sysdeps/i386/fpu/libm-test-ulps: Update.
50850         * FAQ: Removed.
50851         * FAQ.in: Likewise.
50852         * scripts/gen-FAQ.pl: Likewise.
50853         * manual/install.texi (Installation): Point to online location of
50854         FAQ.
50855         * Makefile (files-for-dist): Remove FAQ.
50856         (FAQ): Remove.
50858 2012-05-02  Allan McRae  <allan@archlinux.org>
50860         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50861         (LDFLAGS-reldepmod5.so): Likewise.
50862         (LDFLAGS-reldep6mod1.so): Likewise.
50863         (LDFLAGS-reldep6mod4.so): Likewise.
50864         (LDFLAGS-reldep8mod3.so): Likewise.
50865         (LDFLAGS-unload4mod1.so): Likewise.
50866         (LDFLAGS-unload4mod2.so): Likewise.
50867         (LDFLAGS-tst-initorder): Likewise.
50868         (LDFLAGS-tst-initordera2.so): Likewise.
50869         (LDFLAGS-tst-initordera3.so): Likewise.
50870         (LDFLAGS-tst-initordera4.so): Likewise.
50871         (LDFLAGS-tst-initorderb2.so): Likewise.
50872         (LDFLAGS-noload): Likewise.
50873         (LDFLAGS-next): Likewise.
50874         (LDFLAGS-order2mod1.so): Likewise.
50875         (LDFLAGS-order2mod2.so): Likewise.
50876         (LDFLAGS-tst-initorder2): Likewise.
50877         (LDFLAGS-tst-initorder2a.so): Likewise.
50878         (LDFLAGS-tst-initorder2b.so): Likewise.
50879         (LDFLAGS-tst-initorder2c.so): Likewise.
50880         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50882 2012-05-02  David S. Miller  <davem@davemloft.net>
50884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50886 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50888         [BZ #14055]
50889         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50891 2012-05-02  Andreas Jaeger  <aj@suse.de>
50893         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50894         since we manipulate rounding mode.
50895         (CPPFLAGS-test-idouble.c): Likewise.
50896         (CPPFLAGS-test-ifloat.c): Likewise.
50897         (CFLAGS-test-ldouble.c): Likewise.
50898         (CFLAGS-test-double.c): Likewise.
50899         (CFLAGS-test-float.c): Likewise.
50900         (CFLAGS-test-misc.c): Likewise.
50901         (CFLAGS-test-test-fenv.c): Likewise.
50903 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50905         [BZ #2550]
50906         [BZ #2570]
50907         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50908         comparisons to determine direction to adjust input.
50910 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50912         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50913         output to the target.
50915         * scripts/localplt.awk: New file.
50916         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50917         (check-localplt-CFLAGS): Variable removed.
50918         ($(all-built-dso:=.jmprel)): New static pattern rule.
50919         (generated): Add those targets.
50920         (localplt-built-dso): New variable.
50921         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50923         * elf/check-localplt.c: File removed.
50925         * scripts/check-execstack.awk: New file.
50926         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50927         (check-execstack-CFLAGS): Variable removed.
50928         ($(objpfx)check-execstack.h): Target removed.
50929         ($(objpfx)execstack-default): New target.
50930         (generated): Add that instead of check-execstack.h.
50931         ($(all-built-dso:=.phdr)): New static pattern rule.
50932         (generated): Add those targets.
50933         * elf/check-execstack.c: File removed.
50935         * scripts/check-textrel.awk: New file.
50936         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50937         (check-textrel-CFLAGS): Variable removed.
50938         (all-built-dso): Use := to define.o
50939         ($(all-built-dso:=.dyn)): New static pattern rule.
50940         (generated): Add those targets.
50941         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50942         * config.make.in (READELF): New substituted variable.
50943         * elf/check-textrel.c: File removed.
50945 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50947         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50948         allow.
50949         * conform/data/ctype.h-data [C99-based standards] (isblank):
50950         Expect function.
50951         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50952         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50954         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50955         Specify type.  Require positive value.
50956         (EILSEQ): Likewise.
50957         (ERANGE): Likewise.
50958         [ISO || POSIX] (EILSEQ): Do not expect.
50959         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50960         Specify type.  Require positive value.
50961         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50962         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50966         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50967         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50968         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50969         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50970         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50971         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50973         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50974         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50975         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50976         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50977         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50978         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50979         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50980         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50981         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50982         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50983         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50984         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50985         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50986         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50987         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50988         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50989         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50990         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50991         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50992         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50993         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50994         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50995         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50996         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50997         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50998         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50999         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51000         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51001         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51002         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51003         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51004         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51005         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51006         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51007         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51008         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51009         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51010         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51011         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51012         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51013         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51014         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51015         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51016         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51017         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51018         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51019         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51020         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51021         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51022         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51023         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51024         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51025         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51026         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51027         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51028         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51033         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51034         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51035         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51036         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51037         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51038         Require >= 2.
51039         (FLT_ROUNDS): Expect as macro, not constant.
51040         (FLT_MANT_DIG): Use macro-int-constant.
51041         (DBL_MANT_DIG): Likewise.
51042         (LDBL_MANT_DIG): Likewise.
51043         (FLT_DIG): Likewise.
51044         (DBL_DIG): Likewise.
51045         (LDBL_DIG): Likewise.
51046         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51047         (DBL_MIN_EXP): Likewise.
51048         (LDBL_MIN_EXP): Likewise.
51049         (FLT_MAX_EXP): Use macro-int-constant.
51050         (DBL_MAX_EXP): Likewise.
51051         (LDBL_MAX_EXP): Likewise.
51052         (FLT_MAX_10_EXP): Likewise.
51053         (DBL_MAX_10_EXP): Likewise.
51054         (LDBL_MAX_10_EXP): Likewise.
51055         (FLT_MAX): Use macro-constant.
51056         (DBL_MAX): Likewise.
51057         (LDBL_MAX): Likewise.
51058         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51059         (DBL_EPSILON): Likewise.
51060         (LDBL_EPSILON): Likewise.
51061         (FLT_MIN): Likewise.
51062         (DBL_MIN): Likewise.
51063         (LDBL_MIN): Likewise.
51064         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51065         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51066         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51067         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51068         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51069         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51070         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51071         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51072         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51073         [ISO11] (FLT_TRUE_MIN): Likewise.
51074         [ISO11] (LDBL_TRUE_MIN): Likewise.
51075         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51076         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51077         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51078         (SCHAR_MAX): Likewise.
51079         (UCHAR_MAX): Likewise.
51080         (CHAR_MIN): Likewise.
51081         (CHAR_MAX): Likewise.
51082         (MB_LEN_MAX): Use macro-int-constant.
51083         (SHRT_MIN): Use macro-int-constant.  Specify type.
51084         (SHRT_MAX): Likewise.
51085         (USHRT_MAX): Likewise.
51086         (INT_MAX): Likewise.
51087         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51088         bound negative.
51089         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51090         bound with "U".
51091         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51092         bound with "L".
51093         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51094         bound negative.  Suffix upper bound with "L".
51095         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51096         bound with "UL".
51097         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51098         Specify type.
51099         [C99-based standards] (LLONG_MAX): Likewise.
51100         [C99-based standards] (ULLONG_MAX): Likewise.
51101         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51102         == 0.
51103         [ISO11] (max_align_t): Require type.
51104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51106         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51107         from $CFLAGS, without defining away __attribute__ calls.
51108         (checknamespace): Use $CFLAGS_namespace.
51110         * conform/conformtest.pl (@keywords): Only include C99 keywords
51111         for standards based on C99 or C11.
51113         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51114         Disable tests.
51115         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51116         UNIX98]: Likewise.
51118         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51119         usability of symbols in #if.
51121         * conform/conformtest.pl: If macro or constant types start
51122         "promoted:", expect the symbol to be of the following type
51123         promoted by the integer promotions.
51125         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51126         in one place.  Also handle "macro-constant".
51128         * conform/conformtest.pl: Only accept expected macro values with
51129         "==".  Parse all "macro" lines in one place.
51130         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51132         * conform/conformtest.pl: Handle braced types on "constant" lines
51133         instead of handling "typed-constant".
51134         * conform/data/signal.h-data: Use "constant" instead of
51135         "typed-constant".
51137         * conform/conformtest.pl: Handle "optional-" at start of lines in
51138         one place rather than duplicating several cases.  Handle each
51139         format of "macro" line with initial "optional-".
51141         * conform/conformtest.pl: Only accept expected constant or
51142         optional-constant values with "==".  Parse all "constant" lines in
51143         one place.  Parse all "optional-constant" lines in one place.
51144         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51145         * conform/data/fmtmsg.h-data: Likewise.
51146         * conform/data/netinet/in.h-data: Likewise.
51147         * conform/data/tar.h-data: Likewise.
51148         * conform/data/limits.h-data: Use "==" form on "constant" and
51149         "optional-constant" lines.
51151         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51152         Use -std=c99 for XOPEN2K.
51153         (@knownproblems): Remove.
51154         (newtoken): Don't check %isknown.
51156         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51157         Do not expect macro.
51158         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51159         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51160         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51161         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51162         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51163         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51164         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51165         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51166         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51167         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51168         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51169         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51170         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51171         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51172         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51173         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51174         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51175         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51176         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51177         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51178         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51179         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51180         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51181         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51182         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51183         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51184         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51185         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51186         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51187         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51188         [XPG3] (acosh): Likewise.
51189         [XPG3] (asinh): Likewise.
51190         [XPG3] (atanh): Likewise.
51191         [XPG3] (cbrt): Likewise.
51192         [XPG3] (expm1): Likewise.
51193         [XPG3] (ilogb): Likewise.
51194         [XPG3] (log1p): Likewise.
51195         [XPG3] (logb): Likewise.
51196         [XPG3] (nextafter): Likewise.
51197         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51198         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51199         [XPG3] (remainder): Likewise.
51200         [XPG3] (rint): Likewise.
51201         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51202         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51203         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51204         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51205         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51206         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51208         [UNIX98 || XOPEN2K] (scalb): Expect.
51209         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51210         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51213         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51214         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51218         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51219         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51237         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51238         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51347         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51348         _XOPEN_SOURCE_EXTENDED for XPG4.
51350         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51352         * Makeconfig (localtime): Remove variable.
51353         (inst_localtime-file): Likewise.
51355 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51358         Update.
51359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51360         Update.
51361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51362         Update.
51363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51364         Update.
51365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51366         Update.
51367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51368         Update.
51369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51370         Update.
51371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51372         Update.
51373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51374         Update.
51376 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51378         [BZ #2550]
51379         [BZ #2570]
51380         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51381         comparisons to determine direction to adjust input.
51382         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51383         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51384         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51385         Likewise.
51386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51387         Likewise.
51388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51389         Likewise.
51390         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51391         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51392         Likewise.
51393         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51394         Likewise.
51395         * math/libm-test.inc (nexttoward_test): Add more tests.
51397 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51399         [BZ #14040]
51400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51401         in version GLIBC_2.1, not GLIBC_2.0.
51402         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51403         Likewise.
51405 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51407         [BZ #13942]
51408         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51409         (1 - x) * (1 + x).
51410         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51411         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51412         * math/libm-test.inc (acos_test): Add more tests.
51413         (asin_test): Likewise.
51414         * sysdeps/i386/fpu/libm-test-ulps: Update.
51415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51417         [BZ #14034]
51418         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51419         of square root.
51420         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51421         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51422         * math/libm-test.inc (acos_test_tonearest): New function.
51423         (acos_test_towardzero): Likewise.
51424         (acos_test_downward): Likewise.
51425         (acos_test_upward): Likewise.
51426         (asin_test_tonearest): Likewise.
51427         (asin_test_towardzero): Likewise.
51428         (asin_test_downward): Likewise.
51429         (asin_test_upward): Likewise.
51430         (main): Call the new functions.
51431         * sysdeps/i386/fpu/libm-test-ulps: Update.
51432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51434         [BZ #13884]
51435         [BZ #13924]
51436         * math/e_exp10.c: Include <float.h>.
51437         (__ieee754_exp10): Handle underflow here rather than multiplying
51438         large negative argument by M_LN10.
51439         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51440         of __ieee754_expf.
51441         * math/e_exp10l.c: Include <float.h>.
51442         (__ieee754_exp10l): Handle underflow here rather than multiplying
51443         large negative argument by M_LN10l.
51444         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51445         spurious overflow exception on underflow.
51447 2012-04-29  Marek Polacek  <polacek@redhat.com>
51449         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51450         (__fortify_function): New macro.
51451         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51452         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51453         __extern_always_inline.
51454         * libio/bits/stdio2.h: Likewise.
51455         * libio/bits/stdio.h: Likewise.
51456         * string/string.h: Likewise.
51457         * string/bits/string3.h: Likewise.
51458         * include/stdio.h: Likewise.
51459         * stdlib/bits/stdlib.h: Likewise.
51460         * stdlib/stdlib.h: Likewise.
51461         * rt/bits/mqueue2.h: Likewise.
51462         * rt/mqueue.h: Likewise.
51463         * posix/bits/unistd.h: Likewise.
51464         * posix/unistd.h: Likewise.
51465         * io/bits/poll2.h: Likewise.
51466         * io/bits/fcntl2.h: Likewise.
51467         * io/fcntl.h: Likewise.
51468         * io/sys/poll.h: Likewise.
51469         * misc/bits/syslog.h: Likewise.
51470         * misc/bits/syslog-ldbl.h: Likewise.
51471         * misc/sys/syslog.h: Likewise.
51472         * socket/bits/socket2.h: Likewise.
51473         * socket/sys/socket.h: Likewise.
51474         * debug/tst-chk1.c: Likewise.
51475         * wcsmbs/bits/wchar2.h: Likewise.
51476         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51477         * wcsmbs/wchar.h: Likewise.
51479 2012-04-29  Andreas Jaeger  <aj@suse.de>
51481         * Makerules (tests): Remove enable-check-abi protection.
51482         (check-abi-warn): Remove.
51483         (check-abi-%): Remove check-abi-warn usage.
51485         * configure.in: Remove check-abi configure option.
51486         * configure: Regenerated.
51487         * config.make.in (enable-check-abi): Remove.
51489 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51491         [BZ #14033]
51492         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51493         double functions to double *_finite functions.
51495         [BZ #13941]
51496         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51497         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51498         LDBL_MIN_EXP.
51499         * stdio-common/Makefile (tests): Add tst-sprintf3.
51500         * stdio-common/tst-sprintf3.c: New file.
51502         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51503         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51505 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51507         * conform/conformtest.pl: Remove duplicate typed-constant
51508         handling.
51510 2012-04-28  David S. Miller  <davem@davemloft.net>
51512         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51513         (check-abi-%): Remove AWK script prerequisite and explicit
51514         abilist directory.
51515         (check-abi): Rewrite to just diff the symlist with the abilist.
51516         (config-tls, config-abi-config): Delete, no longer used.
51517         (update-abi-%): Remove AWK script and explicit abilist directory.
51518         (update-abi): Rewrite to simply compare and conditionally copy the
51519         symlist and the sysdep abilist file.  Remove update-abi-config
51520         checks.
51521         * abilist/ld.abilist: Remove.
51522         * abilist/libBrokenLocale.abilist: Remove.
51523         * abilist/libanl.abilist: Remove.
51524         * abilist/libcrypt.abilist: Remove.
51525         * abilist/libdl.abilist: Remove.
51526         * abilist/librt.abilist: Remove.
51527         * abilist/libthread_db.abilist: Remove.
51528         * abilist/libutil.abilist: Remove.
51529         * scripts/extract-abilist.awk: Remove.
51530         * scripts/merge-abilist.awk: Remove.
51531         * sysdeps/generic/libcidn.abilist: New file.
51532         * sysdeps/generic/libnss_compat.abilist: New file.
51533         * sysdeps/generic/libnss_db.abilist: New file.
51534         * sysdeps/generic/libnss_dns.abilist: New file.
51535         * sysdeps/generic/libnss_files.abilist: New file.
51536         * sysdeps/generic/libnss_hesiod.abilist: New file.
51537         * sysdeps/generic/libnss_nis.abilist: New file.
51538         * sysdeps/generic/libnss_nisplus.abilist: New file.
51539         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51540         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51541         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51542         file.
51543         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51544         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51545         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51546         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51547         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51548         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51549         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51550         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51551         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51552         file.
51553         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51554         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51555         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51556         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51557         file.
51558         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51559         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51560         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51561         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51562         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51563         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51564         file.
51565         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51566         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51567         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51568         file.
51569         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51571         New file.
51572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51573         New file.
51574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51575         New file.
51576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51577         New file.
51578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51579         New file.
51580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51581         New file.
51582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51583         New file.
51584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51585         New file.
51586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51587         New file.
51588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51589         New file.
51590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51591         New file.
51592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51593         New file.
51594         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51595         New file.
51596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51597         file.
51598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51599         New file.
51600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51601         New file.
51602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51603         file.
51604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51605         New file.
51606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51607         New file.
51608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51609         file.
51610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51611         New file.
51612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51613         New file.
51614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51615         New file.
51616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51617         New file.
51618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51619         New file.
51620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51621         New file.
51622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51624         file.
51625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51626         New file.
51627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51628         file.
51629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51630         file.
51631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51632         file.
51633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51634         file.
51635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51636         file.
51637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51638         New file.
51639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51640         file.
51641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51642         file.
51643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51644         New file.
51645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51646         file.
51647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51649         file.
51650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51651         New file.
51652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51653         file.
51654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51655         file.
51656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51657         file.
51658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51659         file.
51660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51661         file.
51662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51663         New file.
51664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51665         file.
51666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51667         file.
51668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51669         New file.
51670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51671         file.
51672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51673         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51674         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51675         file.
51676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51677         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51678         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51679         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51680         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51681         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51682         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51683         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51684         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51685         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51688         file.
51689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51690         New file.
51691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51692         file.
51693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51694         file.
51695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51696         file.
51697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51698         file.
51699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51700         file.
51701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51702         New file.
51703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51704         New file.
51705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51706         file.
51707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51708         New file.
51709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51710         file.
51711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51713         file.
51714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51715         New file.
51716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51717         file.
51718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51719         file.
51720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51721         file.
51722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51723         file.
51724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51725         file.
51726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51727         New file.
51728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51729         New file.
51730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51731         file.
51732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51733         New file.
51734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51735         file.
51737 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51739         * conform/conformtest.pl: Fix typo in handling typed-constant from
51740         allow-header.
51742 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51744         * README: Cut down references to pre-2.6 Linux kernels and
51745         Linuxthreads.  Update lists of configurations in libc and ports
51746         and sort alphabetically.  Say "or newer" with Linux kernel version
51747         requirements.
51749         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51751 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51753         [BZ #887]
51754         * math/libm-test.inc (logb_test_downward): New test to expose
51755         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51756         rounding mode.
51758 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51760         [BZ #14027]
51761         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51762         to be done.
51763         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51764         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51766 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51768         * sysdeps/unix/i386/brk.S: Remove file.
51769         * sysdeps/unix/i386/dl-brk.S: Likewise.
51770         * sysdeps/unix/i386/pipe.S: Likewise.
51771         * sysdeps/unix/i386/sigreturn.S: Likewise.
51772         * sysdeps/unix/i386/syscall.S: Likewise.
51773         * sysdeps/unix/i386/vfork.S: Likewise.
51774         * sysdeps/unix/i386/wait.S: Likewise.
51776         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51777         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51779         * configure.in (arm*-none*): Do not allow without
51780         --enable-hacker-mode.
51781         (netbsd*): Remove case setting base_os.
51782         (386bsd*): Likewise.
51783         (freebsd*): Likewise.
51784         (bsdi*): Likewise.
51785         (osf*): Likewise.
51786         (sunos*): Likewise.
51787         (ultrix*): Likewise.
51788         (newsos*): Likewise.
51789         (dynix*): Likewise.
51790         (*bsd*): Likewise.
51791         (sysv*): Likewise.
51792         (isc*): Likewise.
51793         (esix*): Likewise.
51794         (sco*): Likewise.
51795         (minix*): Likewise.
51796         (irix4*): Likewise.
51797         (irix6*): Likewise.
51798         (solaris[2-9]*): Likewise.
51799         (none): Likewise.
51800         * configure: Regenerated.
51802 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51804         [BZ #11521]
51805         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51806         overflow or cancellation in calculating denominator.
51807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51809         down expression to avoid unexpected rounding in newer GCCs.
51810         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51812 2012-04-26  David S. Miller  <davem@davemloft.net>
51814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51815         long-double compat symbols.
51816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51830 2012-04-25  David S. Miller  <davem@davemloft.net>
51832         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51833         HWCAP_* values only after the memory barriers have been defined.
51834         (atomic_full_barrier): Define.
51835         (atomic_read_barrier): Define.
51836         (atomic_write_barrier): Define.
51838 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51840         * shlib-versions: Add libgcc_s version information.
51841         * sysdeps/generic/libgcc_s.h: Remove.
51842         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51843         libgcc_s.h.
51844         * sysdeps/gnu/unwind-resume.c: Likewise.
51845         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51847 2012-04-25  David S. Miller  <davem@davemloft.net>
51849         * sysdeps/unix/sparc/brk.S: Delete.
51850         * sysdeps/unix/sparc/dl-brk.S: Delete.
51851         * sysdeps/unix/sparc/pipe.S: Delete.
51852         * sysdeps/unix/sparc/sysdep.S: Delete.
51853         * sysdeps/unix/sparc/sysdep.h: Delete.
51854         * sysdeps/unix/sparc/vfork.S: Delete.
51855         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51856         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51858         (ret_ERRVAL, r0, r1, MOVE): Define.
51859         (JUMPTARGET): Remove.
51860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51861         sysdeps/unix/sparc/sysdep.h
51862         (ENTRY, END): Remove.
51863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51865 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51867         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51868         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51869         -DIS_IN_build.
51871         * timezone/README: Update upstream location and email address for
51872         tzcode and tzdata.
51873         * timezone/zdump.c: Update from tzcode 2012b.
51874         * timezone/zic.c: Likewise.
51876         * configure.in (libc_cv_as_needed): Remove test.
51877         * configure: Regenerated.
51878         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51879         conditional definition.
51880         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51881         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51882         * config.make.in (have-as-needed): Remove variable.
51884 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51885             Paul Pluzhnikov  <ppluzhnikov@google.com>
51887         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51888         strings correctly.
51890 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51892         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51893         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51894         * sysdeps/sh/strlen.S: Likewise.
51896 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51898         * sysdeps/unix/fork.S: Remove file.
51899         * sysdeps/unix/i386/fork.S: Likewise.
51900         * sysdeps/unix/sparc/fork.S: Likewise.
51902         * sysdeps/unix/system.c: Remove file.
51903         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51905         * sysdeps/unix/getegid.S: Remove file.
51906         * sysdeps/unix/geteuid.S: Likewise.
51908 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51910         * scripts/check-localplt.awk: New file.
51911         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51912         of diff.
51913         * scripts/data/localplt-generic.data: Add a comment.
51915         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51916         NODE when __dir_mkfile failed.
51917         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51918         Reported by Ludovic Courtès <ludo@gnu.org>.
51920 2012-04-24  Andreas Jaeger  <aj@suse.de>
51922         * Makerules (common-clean): Also remove gen-as-const-headers
51923         files.
51925 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51927         * Makerules (native-compile): Do not change working directory for
51928         build.  Use $(OUTPUT_OPTION) in command.
51929         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51931 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51933         [BZ #13886]
51934         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51935         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51936         * math/libm-test.inc (floor_test): Add more tests.
51937         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51939 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51941         * sysdeps/unix/getdents.c: Remove file.
51942         * sysdeps/unix/sysv/getdents.c: Likewise.
51943         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51945         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51946         sysdeps/unix/mman/syscalls.list.
51947         (mmap): Likewise.
51948         (mprotect): Likewise.
51949         (msync): Likewise.
51950         (munmap): Likewise.
51951         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51952         * sysdeps/unix/mman/syscalls.list: Remove.
51953         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51955         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51956         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51957         * configure: Regenerated.
51958         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51959         $(libgcc_s_suffix).
51960         * config.make.in (libgcc_s_suffix): Remove variable.
51962 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51964         * sysdeps/unix/sysv/gethostname.c: Move to ...
51965         * sysdeps/posix/gethostname.c: ... here.
51967         * sysdeps/unix/execve.S: Remove file.
51969         * sysdeps/unix/_exit.S: Remove file.
51971 2012-04-23  Andreas Jaeger  <aj@suse.de>
51973         [BZ #13739]
51974         * manual/Makefile: Remove make dist support, there's no
51975         need for a stand-alone documentation tar ball.
51976         (TEXI2DVI): Define always, it's not in Makeconfig.
51977         (dist): Removed.
51978         (tar-it): Removed.
51979         (edition): Removed.
51980         (glibc-doc-$(edition).tar): Removed
51981         (%.Z): Removed.
51982         (%.gz): Removed.
51983         (%.uu): Removed.
51984         (ETAGS): Remove, it's in Makeconfig.
51985         (move-if-change): Remove, it's in Makeconfig.
51987 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51989         [BZ #13970]
51990         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51991         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51992         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51993         (strtod_l, strtof_l, strtold_l): Remove __wur.
51994         It is not necessarily an error to ignore strtol's return value.
51995         One can reliably look at the stored endptr to decide whether
51996         the number had valid syntax.
51998 2012-04-21  Andreas Jaeger  <aj@suse.de>
52000         [BZ #13739]
52001         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52003 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52005         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52006         * sysdeps/unix/sysv/Versions: Remove file.
52008 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52010         [BZ #13927]
52011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52013 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52015         [BZ #7064]
52016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52017         version from __vm86.
52019 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52021         * sysdeps/unix/common/lxstat.c: Remove file.
52022         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52024         * sysdeps/unix/sysv/Makefile: Remove file.
52026         * sysdeps/unix/sysv/direct.h: Remove file.
52028         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52029         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52030         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52031         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52032         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52033         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52034         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52036         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52038         * sysdeps/unix/xmknod.c: Remove file.
52039         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52041         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52043         * sysdeps/unix/sysv/i386/time.S: Remove file.
52045         * sysdeps/unix/fxstat.c: Remove file.
52046         * sysdeps/unix/xstat.c: Likewise.
52047         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52049         * sysdeps/unix/sysv/sigaction.c: Remove file.
52051         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52052         (sysdep_headers): Remove variable.
52053         [termio.h not in sysdep_headers] (generated): Likewise.
52054         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52055         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52056         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52057         * sysdeps/unix/sysv/tcflow.c: Likewise.
52058         * sysdeps/unix/sysv/tcflush.c: Likewise.
52059         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52060         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52061         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52062         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52063         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52065         * sysdeps/unix/siglist.c: Remove file.
52067         * sysdeps/unix/getppid.S: Remove file.
52069         * sysdeps/unix/mkdir.c: Remove file.
52070         * sysdeps/unix/rmdir.c: Likewise.
52072 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52074         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52075         ERR_MAX value.
52076         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52077         errlist-compat value.
52079 2012-04-18  David S. Miller  <davem@davemloft.net>
52081         * sysdeps/generic/memcopy.h (reg_char): Delete.
52082         * debug/strcat_chk.c: Use char, not reg_char.
52083         * debug/strcpy_chk.c: Likewise.
52084         * debug/strncat_chk.c: Likewise.
52085         * debug/strncpy_chk.c: Likewise.
52086         * string/memchr.c: Likewise.
52087         * string/memrchr.c: Likewise.
52088         * string/rawmemchr.c: Likewise.
52089         * string/strcat.c: Likewise.
52090         * string/strchr.c: Likewise.
52091         * string/strchrnul.c: Likewise.
52092         * string/strcmp.c: Likewise.
52093         * string/strcpy.c: Likewise.
52094         * string/strncat.c: Likewise.
52095         * string/strncmp.c: Likewise.
52096         * string/strncpy.c: Likewise.
52098 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52100         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52101         __builtin_memcopy is called when src and dest ranges are known to not
52102         overlap.
52104 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52107         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52108         fwd_align_merge macro call.
52109         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52110         bwd_align_merge macro call.
52111         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52113 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52116         bwd_align_merge macros.
52117         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52118         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52121 2012-04-18  David S. Miller  <davem@davemloft.net>
52123         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52125 2012-04-18  Andreas Jaeger  <aj@suse.de>
52127         [BZ# 6794]
52128         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52129         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52130         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52132         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52133         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52134         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52136         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52137         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52138         Adjust for changed ldbl-128 files.
52140         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52141         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52142         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52144 2012-04-17  David S. Miller  <davem@davemloft.net>
52146         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52148 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52150         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52151         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52152         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52153         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52154         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52155         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52157 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52159         [BZ #6794]
52160         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52161         * math/libm-test.inc: Add ilogb errno and exception tests.
52162         * math/w_ilogb.c: New file: ilogb wrapper.
52163         * math/w_ilogbf.c: New file: ilogbf wrapper.
52164         * math/w_ilogbl.c: New file: ilogbl wrapper.
52165         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52166         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52167         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52168         exception being thrown with 0.0 as argument.
52169         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52170         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52171         exception being thrown with 0.0 as argument.
52172         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52173         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52174         exception being thrown with 0.0 as argument.
52175         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52176         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52177         exception being thrown with 0.0 as argument.
52178         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52179         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52181         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52182         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52183         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52184         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52185         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52186         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52188 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52190         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52191         with altivec.
52193 2012-04-16  Marek Polacek  <polacek@redhat.com>
52195         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52197 2012-04-16  Marek Polacek  <polacek@redhat.com>
52199         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52200         operands of fdivp instruction.
52202 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52204         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52205         * elf/tst-auditmod3b.c: Likewise.
52206         * elf/tst-auditmod4b.c: Likewise.
52207         * elf/tst-auditmod5b.c: Likewise.
52208         * elf/tst-auditmod6b.c: Likewise.
52209         * elf/tst-auditmod6c.c: Likewise.
52210         * elf/tst-auditmod7b.c: Likewise.
52211         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52212         * sysdeps/x86_64/preconfigure.in: Likewise.
52213         * sysdeps/x86_64/preconfigure: Regenerated.
52215 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52217         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52218         __ILP32__.
52220 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52222         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52223         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52225 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52227         [BZ #13973]
52228         * locale/iso-639.def: Fix gl language name. Spotted by
52229         Yaron Shahrabani.
52231 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52233         [BZ #2074]
52234         * libio/libio.h (__io_write_fn): Update comment.
52236 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52238         [BZ #2074]
52239         * stdio.texi (Hook Functions): The user provided writer function
52240         is not allowed to return -1.
52242 2012-04-11  David S. Miller  <davem@davemloft.net>
52244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52246 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52248         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52249         Add a leading slash to rtkaio.
52251 2012-04-11  Jim Meyering  <meyering@redhat.com>
52253         [BZ #11959]
52254         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52255         It is not necessarily an error to ignore fwrite's return
52256         value.  One can reliably use ferror to test for errors after
52257         the fact.
52259 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52261         * bits/types.h (__snseconds_t): New type.
52262         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52264         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52266         (__SNSECONDS_T_TYPE): Likewise.
52267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52268         (__SNSECONDS_T_TYPE): Likewise.
52269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52270         (__SNSECONDS_T_TYPE): Likewise.
52272 2012-04-10  Andreas Jaeger  <aj@suse.de>
52274         [BZ #2636]
52275         * manual/time.texi (Processor Time): Return type of times is
52276         elapsed real time since an arbitrary point in the past.
52277         (CPU Time): Move CLK_TCK from here...
52278         (Processor Time): ...to here.  Correct description.
52279         * manual/conf.texi (Constants for Sysconf): Correct description of
52280         _SC_CLK_TCK.
52282 2012-04-10  David S. Miller  <davem@davemloft.net>
52284         [BZ #13967]
52285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52286         where the is a gap between DT_REL(A) and DT_JMPREL.
52288 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52290         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52291         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52292         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52294 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52297         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52298         (dl_main): Handle --inhibit-cache.
52299         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52300         _dl_inhibit_cache.
52301         * elf/dl-load.c (_dl_map_object): Use it.
52302         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52304 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52306         [BZ #13872]
52307         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52308         (__ieee754_powl): Saturate large exponents rather than testing for
52309         overflow of y*log2(x).
52310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52311         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52312         exceptions.
52314         [BZ #11521]
52315         * math/s_ctan.c: Include <float.h>.
52316         (__ctan): Avoid internal overflow or cancellation in calculating
52317         denominator.
52318         * math/s_ctanf.c: Likewise.
52319         * math/s_ctanl.c: Likewise.
52320         * math/s_ctanh.c: Likewise.
52321         * math/s_ctanhf.c: Likewise.
52322         * math/s_ctanhl.c: Likewise.
52323         * math/libm-test.inc (ctan_test): Add more tests.
52324         (ctanh_test): Likewise.
52325         * sysdeps/i386/fpu/libm-test-ulps: Update.
52326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52328 2012-04-09  Andreas Jaeger  <aj@suse.de>
52330         [BZ #6894]
52331         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52332         is an optional BSD extension.
52334         [BZ #10254]
52335         * manual/stdio.texi (Opening Streams): Document additional fopen
52336         parameters.
52338 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52340         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52341         %eax without telling the compiler.
52343 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52345         [BZ # 13963]
52346         * manual/install.texi: Use sourceware.org.
52348 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52350         [BZ #13873]
52351         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52352         (__ieee754_pow): Generate overflow and underflow using huge*huge
52353         and tiny*tiny rather than just returning constant infinity or zero
52354         for large exponents.
52355         * math/libm-test.inc (pow_test): Require overflow exceptions for
52356         applicable cases of large exponents.
52358         [BZ #706]
52359         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52360         (__ieee754_pow): Use iterative multiplication algorithm only for
52361         integer exponents with absolute value below 1024.  Check for odd
52362         integer exponents when using algorithm for real exponents.
52363         * math/libm-test.inc (pow_test): Add more tests.
52364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52366 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52368         [BZ #13705]
52369         * math/libm-test.inc (exp_test): Do not allow overflow exception
52370         on underflow test.
52372 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52374         [BZ #13705]
52375         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52376         instead of __kernel_standard_f.
52378 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52380         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52381         * sysdeps/x86_64/memset_chk.S: Likewise.
52383 2012-04-08  Andreas Jaeger  <aj@suse.de>
52385         [BZ #10153]
52386         * manual/startup.texi (Environment Access): Describe return value
52387         for putenv and setenv.
52389         [BZ #6895]
52390         * manual/filesys.texi (Directory Entries): Add description for
52391         DT_LNK.
52393         [BZ #6890]
52394         * manual/filesys.texi (Directory Entries): Clarify that it's file
52395         system not operating system in the description of DT_UNKNOWN.
52397         [BZ #6578]
52398         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52400 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52402         [BZ #6649]
52403         * manual/llio.texi (Opening and Closing Files): Add cross
52404         reference to explain mode argument.
52406 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52408         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52409         * sysdeps/x86_64/memset_chk.S: Likewise.
52411 2012-04-07  David S. Miller  <davem@davemloft.net>
52413         * elf/elf.h (R_SPARC_WDISP10): Define.
52414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52415         R_SPARC_SIZE32.
52416         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52417         R_SPARC_SIZE64 and R_SPARC_H34.
52419 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52421         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52422         conditions and remove no longer applicable assertion.
52424 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52426         * bits/byteswap.h: Include <features.h>.
52427         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52428         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52430 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52432         * bits/byteswap.h (__bswap_16): Removed.
52433         Include <bits/byteswap-16.h> to get __bswap_16.
52434         * sysdeps/i386/bits/byteswap.h: Likewise.
52435         * sysdeps/s390/bits/byteswap.h: Likewise.
52436         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52437         * bits/byteswap-16.h: New file.
52438         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52439         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52440         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52441         * string/Makefile (headers): Add bits/byteswap-16.h.
52443 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52445         [BZ #13895]
52446         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52447         extra indirection.
52448         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52449         * nss/tst-nss-static.c: New.
52451 2012-04-06  Robert Millan  <rmh@gnu.org>
52453         [BZ #6486]
52454         * manual/llio.texi (File Position Primitive): lseek
52455         refers to WHENCE when it really means OFFSET.
52457 2012-04-06  Andreas Jaeger  <aj@suse.de>
52459         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52460         strncmp declarations.
52462         * abilist/libc.abilist: Add __poll and __ppoll.
52464 2012-04-05  David S. Miller  <davem@davemloft.net>
52466         * scripts/check-local-headers.sh: Accept a host triplet in the
52467         path matched by the exclude regexp.
52469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52470         definition.
52471         * sysdeps/powerpc/powerpc32/dl-machine.h
52472         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52473         * sysdeps/s390/s390-32/dl-machine.h
52474         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52475         * sysdeps/sparc/sparc32/dl-machine.h
52476         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52477         * sysdeps/sparc/sparc64/dl-machine.h
52478         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52480         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52481         lazy binding.
52482         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52483         undefined symbol errors.
52485         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52486         DT_NEEDED entries.
52488 2012-04-05  Michael Matz  <matz@suse.de>
52490         [BZ #13592]
52491         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52493 2012-04-05  Andreas Jaeger  <aj@suse.de>
52495         [BZ #13908]
52496         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52497         comment.
52499 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52502         which ROUND is no valid rounding mode.
52504 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52507         read again.
52508         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52510 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52512         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52513         an exception using FPU order intentionally.
52515 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52517         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52518         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52519         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52520         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52522 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52524         [BZ #12340]
52525         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52526         EINVAL when BUFLEN is too smal.
52528 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52530         [BZ #13553]
52531         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52532         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52534 2012-04-03  Andreas Jaeger  <aj@suse.de>
52536         [BZ #13938]
52537         * manual/setjmp.texi (System V contexts): Fix sentence.
52539         [BZ #13926]
52540         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52541         New macro for this case.
52542         [!__GNUC__] (__bswap_64): New inline function for this case.
52543         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52544         * bits/byteswap.h: Likewise.
52545         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52546         ull, guard with __GLIBC_HAVE_LONG_LONG.
52548         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52549         __GLIBC_HAVE_LONG_LONG.
52551         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52552         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52554 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52556         [BZ #13691]
52557         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52558         inptr and inend, rather than using last_ch.
52560 2012-04-02  David S. Miller  <davem@davemloft.net>
52562         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52563         * stdio-common/printf-parse.h (read_int): Change return type to
52564         'int', return -1 on INT_MAX overflow.
52565         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52566         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52567         overflows INT_MAX.  Check for overflow of in-format-string precision
52568         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52569         SIZE_MAX not INT_MAX for integer overflow test.
52570         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52571         skip the construct in the format string but do not record anything.
52572         * stdio-common/bug22.c: Adjust to test both width/prevision
52573         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52574         explicitly for proper errno values.
52576 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52578         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52579         CHAR_MAX.
52580         * string/test-strcmp.c [! WIDE]: Likewise.
52581         * time/tst-mktime2.c: Likewise for INT_MAX.
52582         * string/test-string.h: #include <sys/param.h> for MIN.
52584         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52585         * sysdeps/i386/init-first.c (init): Likewise.
52586         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52587         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52588         * sysdeps/sh/init-first.c (init): Likewise.
52590 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52592         * po/ru.po: Update from translation team.
52593         * po/vi.po: Likewise.
52595 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52597         * resolv/nss_dns/dns-host.c: Merge copyright years.
52599 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52601         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52602         Optimize memcpy with prefetch if
52603         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52604         src, dst pointers have unequal 16 byte alignments.
52606 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52608         [BZ #13928]
52609         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52610         from a CNAME entry and return the minimum ttl for the query.
52611         (gaih_getanswer_slice): Likewise.
52613 2012-03-30  Jeff Law  <law@redhat.com>
52615         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52616         due to long keys.
52617         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52618         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52620         * resolv/nss_dns/dns-host.c: Update copyright year.
52622 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52624         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52625         requests to save a system call.  Fix check that all bytes are sent.
52627         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52628         comments for sendmmsg.
52630 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52632         [BZ #13691]
52633         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52634         with only 1 character between 0x0041 and 0x01b0.
52635         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52636         * wcsmbs/tst-mbsnrtowcs.c: New file.
52638 2012-03-29  David S. Miller  <davem@davemloft.net>
52640         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52641         small copies by hand.
52643 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52645         [BZ #13761]
52646         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52647         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52648         group memberships.
52650 2012-03-28  David S. Miller  <davem@davemloft.net>
52652         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52653         that branches into memcpy.
52654         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52655         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52657         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52659         bits.
52660         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52661         implementation too.
52662         * sysdeps/sparc/mempcpy.S: New file.
52664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52665         the IFUNC routine in the libc case.
52666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52668         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52669         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52670         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52671         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52672         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52673         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52674         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52675         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52677         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52678         loop to 256 bytes instead of 64 bytes and fix test signedness.
52680         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52681         * sysdeps/sparc/sparc32/Makefile: rather than here...
52682         * sysdeps/sparc/sparc64/Makefile: and here.
52684 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52686         * malloc/mallocbug.c: Avoid warnings about unused variables.
52688 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52690         [BZ #13760]
52691         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52692         in the right place. Discard and retry query if response is
52693         larger than input buffer size.
52695 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52697         [BZ #369]
52698         [BZ #2678]
52699         [BZ #3866]
52700         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52701         x for large integer exponent.
52702         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52703         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52704         sign of result as needed afterwards.
52705         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52706         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52707         result for underflowing pow the same as for overflow.
52708         (__kernel_standard_l): Handle powl overflow and underflow here
52709         rather than calling __kernel_standard.
52710         * math/libm-test.inc (pow_test): Add more tests.
52712         [BZ #3868]
52713         [BZ #13879]
52714         [BZ #13910]
52715         [BZ #13911]
52716         [BZ #13912]
52717         [BZ #13913]
52718         [BZ #13915]
52719         [BZ #13916]
52720         [BZ #13917]
52721         [BZ #13918]
52722         [BZ #13919]
52723         [BZ #13920]
52724         [BZ #13921]
52725         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52726         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52727         (__kernel_standard_l): New function.
52728         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52729         __kernel_standard.
52730         * math/w_acosl.c (__acosl): Likewise.
52731         * math/w_asinl.c (__asinl): Likewise.
52732         * math/w_atan2l.c (__atan2l): Likewise.
52733         * math/w_atanhl.c (__atanhl): Likewise.
52734         * math/w_coshl.c (__coshl): Likewise.
52735         * math/w_exp10l.c (__exp10l): Likewise.
52736         * math/w_exp2l.c (__exp2l): Likewise.
52737         * math/w_fmodl.c (__fmodl): Likewise.
52738         * math/w_hypotl.c (__hypotl): Likewise.
52739         * math/w_j0l.c (__j0l, __y0l): Likewise.
52740         * math/w_j1l.c (__j1l, __y1l): Likewise.
52741         * math/w_jnl.c (__jnl, __ynl): Likewise.
52742         * math/w_lgammal.c (__lgammal): Likewise.
52743         * math/w_log10l.c (__log10l): Likewise.
52744         * math/w_log2l.c (__log2l): Likewise.
52745         * math/w_logl.c (__logl): Likewise.
52746         * math/w_powl.c (__powl): Likewise.
52747         * math/w_remainderl.c (__remainderl): Likewise.
52748         * math/w_scalbl.c (sysv_scalbl): Likewise.
52749         * math/w_sinhl.c (__sinhl): Likewise.
52750         * math/w_sqrtl.c (__sqrtl): Likewise.
52751         * math/w_tgammal.c (__tgammal): Likewise.
52752         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52753         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52754         * math/libm-test.inc (acos_test): Add more tests.
52755         (acosh_test): Likewise.
52756         (asin_test): Likewise.
52757         (atanh_test): Likewise.
52758         (exp_test): Likewise.
52759         (exp10_test): Likewise.
52760         (exp2_test): Likewise.
52761         (expm1_test): Likewise.
52762         (lgamma_test): Likewise.
52763         (log_test): Likewise.
52764         (log10_test): Likewise.
52765         (log1p_test): Likewise.
52766         (log2_test): Likewise.
52767         (pow_test): Do not allow some spurious overflow exceptions.
52768         (sqrt_test): Add more tests.
52769         (tgamma_test): Likewise.
52770         (y0_test): Likewise.
52771         (y1_test): Likewise.
52772         (yn_test): Likewise.
52774 2012-03-27  Anton Blanchard  <anton@samba.org>
52776         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52777         MAP_HUGETLB.
52778         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52779         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52782 2012-03-27  David S. Miller  <davem@davemloft.net>
52784         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52786         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52787         have-as-vis3 check.
52789 2012-03-27  Andreas Jaeger  <aj@suse.de>
52791         * sysdeps/x86_64/elf/configure.in: Moved to ...
52792         * sysdeps/x86_64/configure.in: ... here.
52793         * sysdeps/x86_64/elf/start.S: Moved to ...
52794         * sysdeps/x86_64/start.S: ... here.
52795         * sysdeps/x86_64/elf/configure: Delete.
52797         * sysdeps/x86_64/configure.in: Merge contents from
52798         sysdeps/i386/configure.in (without i686 check).
52800         * sysdeps/i386/elf/Versions: Merge into ...
52801         * sysdeps/i386/Versions: ... this.
52802         * sysdeps/i386/elf/Versions: Delete file.
52803         * sysdeps/i386/elf/start.S: Moved to ...
52804         * sysdeps/i386/start.S: ...here.
52805         * sysdeps/i386/elf/configure.in: Merge into...
52806         * sysdeps/i386/configure.in: ...here.
52807         * sysdeps/i386/elf/configure.in: Delete file.
52808         * sysdeps/i386/elf/configure: Delete file.
52810         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52811         * debug/backtracesyms.c: ... here.
52812         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52813         * debug/backtracesymsfd.c: ... here.
52814         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52815         * sysdeps/generic/ifunc-sel.h: ... here.
52817         * sysdeps/unix/i386/start.c: Delete file.
52818         * sysdeps/unix/sparc/start.c: Delete file.
52819         * sysdeps/unix/start.c: Delete file.
52821         * sysdeps/sh/elf/configure.in: Moved to ...
52822         * sysdeps/sh/configure.in: ... here.
52823         * sysdeps/sh/elf/start.S: Moved to ...
52824         * sysdeps/sh/start.S: ... here.
52825         * sysdeps/sh/elf/configure: Delete file.
52827         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52828         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52829         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52830         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52831         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52832         * sysdeps/powerpc/powerpc64/start.S: here.
52833         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52834         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52835         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52836         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52837         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52839         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52840         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52841         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52842         * sysdeps/powerpc/powerpc32/start.S: ... here.
52843         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52844         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52845         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52847         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52848         * sysdeps/powerpc/ifunc-sel.h: ... here.
52849         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52850         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52852         * sysdeps/sparc/elf/configure.in: Moved to ...
52853         * sysdeps/sparc/configure.in: ... here.
52854         * sysdeps/sparc/elf/configure: Delete file.
52855         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52856         * sysdeps/sparc/sparc32/start.S: ... here.
52857         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52858         * sysdeps/sparc/sparc64/start.S: ... here.
52859         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52860         * sysdeps/sparc/sparc32/Makefile: ... this.
52861         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52862         * sysdeps/sparc/sparc64/Makefile: ... this.
52864         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52865         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52866         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52867         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52868         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52869         * sysdeps/s390/s390-32/setjmp.S: ... here.
52870         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52871         * sysdeps/s390/s390-32/configure.in: ... here.
52872         * sysdeps/s390/s390-32/elf/configure: Delete file.
52873         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52874         * sysdeps/s390/s390-32/start.S: ... here.
52876         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52877         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52878         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52879         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52880         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52881         * sysdeps/s390/s390-64/setjmp.S: ... here.
52882         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52883         * sysdeps/s390/s390-64/configure.in: ... here
52884         * sysdeps/s390/s390-64/elf/configure: Delete file.
52885         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52886         * sysdeps/s390/s390-64/start.S: ... here.
52887         * sysdeps/s390/s390-64/elf/configure: Delete.
52889         * configure.in: Remove support for elf directories in sysdeps.
52891         * configure: Regenerated.
52892         * sysdeps/i386/configure: Regenerated.
52893         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52894         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52895         * sysdeps/s390/s390-32/configure: Regenerated.
52896         * sysdeps/s390/s390-64/configure: Regenerated.
52897         * sysdeps/sh/configure: Regenerated.
52898         * sysdeps/sparc/configure: Regenerated.
52899         * sysdeps/x86_64/configure: Regenerated.
52901 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52906         denormal result into account.
52908 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52910         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52911         Reported by Allan McRae <allan@archlinux.org>.
52913 2012-03-23  Jeff Law  <law@redhat.com>
52915         * nss/getnssent.c (__nss_getent): Fix typo.
52917 2012-03-23  David S. Miller  <davem@davemloft.net>
52919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52921 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52923         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52924         to pad to uint64_t for each field.
52925         (dl_tls_index): Replace unsigned long with uint64_t.
52927 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52928         Paul Pluzhnikov  <ppluzhnikov@google.com>
52930         [BZ #6528]
52931         * grp/Makefile (otherlibs): Don't set it.
52932         * inet/Makefile (otherlibs): Likewise.
52933         * login/Makefile (otherlibs): Likewise.
52934         * nscd/Makefile (otherlibs): Likewise.
52935         * posix/Makefile (otherlibs): Likewise.
52936         * pwd/Makefile (otherlibs): Likewise.
52937         * rt/Makefile (otherlibs): Likewise.
52938         * sunrpc/Makefile (otherlibs): Likewise.
52939         * nss/Makefile (otherlibs): Likewise.
52940         Add libnss_files to routines and static-only-routines.
52941         ($(objpfx)getent): Remove rule.
52942         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52943         static-only-routines.
52945 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52947         [BZ #13892]
52948         * math/s_cexp.c: Include <float.h>.
52949         (__cexp): Handle exp result overflowing not necessarily
52950         overflowing both real and imaginary parts of result.
52951         * math/s_cexpf.c: Likewise.
52952         * math/s_cexpl.c: Likewise.
52953         * math/libm-test.inc (cexp_test): Add more tests.
52954         * sysdeps/i386/fpu/libm-test-ulps: Update.
52955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52957 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52959         * include/link.h (ELFW): New macro.
52960         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52961         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52963 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52965         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52966         with uint64_t.
52968 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52970         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52971         declaration.
52972         (struct La_x32_retval): Likewise.
52974 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52976         * sysdeps/x86_64/preconfigure.in: New file.
52977         * sysdeps/x86_64/preconfigure: New generated file.
52979 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52981         [BZ #13824]
52982         * math/e_exp2l.c: Include <float.h>.
52983         (__ieee754_exp2l): Handle overflow and underflow cases
52984         separately.  Only pass fractional part of argument to
52985         __ieee754_expl.
52986         * math/libm-test.inc (exp2_test): Add more tests.
52988         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52989         negating x to take absolute value.
52990         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52991         Likewise.
52992         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52993         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52994         Likewise.
52995         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52996         computing low part if x was negated.
52997         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52999 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53001         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53002         la_x32_gnu_pltexit.
53003         (pltexit): Cast int_retval to ptrdiff_t.
53004         * elf/tst-auditmod3b.c: Likewise.
53005         * elf/tst-auditmod4b.c: Likewise.
53006         * elf/tst-auditmod5b.c: Likewise.
53007         * elf/tst-auditmod6b.c: Likewise.
53008         * elf/tst-auditmod6c.c: Likewise.
53009         * elf/tst-auditmod7b.c: Likewise.
53011         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53012         and x32_gnu_pltexit.
53014         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53015         __ELF_NATIVE_CLASS.
53016         (La_x32_regs): New macro.
53017         (La_x32_retval): Likewise.
53018         (la_x32_gnu_pltenter): New function prototype.
53019         (la_x32_gnu_pltexit): Likewise.
53021 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53023         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53024         exponent.
53026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53028         * configure.in (libc_cv_cc_nofma): Check for option to disable
53029         generation of FMA instructions.
53030         * configure: Regenerate.
53031         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53032         * sysdeps/ieee754/dbl-64/Makefile: New file.
53033         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53034         Remove brandred-fma4.
53035         (CFLAGS-brandred-fma4.c): Remove.
53036         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53037         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53038         define.
53039         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53040         define.
53042 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53044         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53045         LLONG_MAX != LONG_MAX.
53046         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53047         (_fitoa_word): Likewise.
53048         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53049         LLONG_MAX != LONG_MAX.
53050         * stdio-common/_itowa.h: Include <_itoa.h>.
53051         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53052         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53053         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53054         only if not defined.
53055         (_ITOA_WORD_TYPE): Likewise.
53056         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53057         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53059 2012-03-21  David S. Miller  <davem@davemloft.net>
53061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53063 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53065         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53066         of x86_64 when setting libc_cv_slibdir, libdir and
53067         libc_cv_localedir.
53068         * sysdeps/unix/sysv/linux/configure: Regenerated.
53070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53072         * manual/lang.texi (Old Varargs): Remove section.
53073         (How Variadic): Update menu.
53074         (va_start): Do not mention varargs.h.
53076 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53077             Joseph Myers  <joseph@codesourcery.com>
53079         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53080         link test.
53081         * configure: Regenerated.
53083 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53085         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53086         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53087         conformtest.pl
53089 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53091         * NOTES: Remove.
53092         * Makefile (files-for-dist): Remove NOTES.
53093         (NOTES): Remove rule.
53094         * README: Don't refer to NOTES.
53095         * manual/creature.texi: Don't include macros.texi.
53096         * manual/intro.texi (creature.texi): Remove comment referring to
53097         NOTES.
53099         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53100         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53101         * configure: Regenerated.
53102         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53103         LIBC_TRY_CC_OPTION.
53104         (libc_cv_as_i686): Likewise.
53105         (libc_cv_cc_avx): Likewise.
53106         (libc_cv_cc_sse2avx): Likewise.
53107         (libc_cv_cc_fma4): Likewise.
53108         (libc_cv_cc_novzeroupper): Likewise.
53109         * sysdeps/i386/configure: Regenerated.
53111         [BZ #13883]
53112         * sysdeps/i386/fpu/s_cexp.S: Remove.
53113         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53114         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53115         * math/libm-test.inc (cexp_test): Add more tests.
53116         * sysdeps/i386/fpu/libm-test-ulps: Update.
53117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53119 2012-03-21  Allan McRae  <allan@archlinux.org>
53121         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53123 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53125         [BZ #13871]
53126         * math/w_exp2.c: Do not include <float.h>.
53127         (o_threshold, u_threshold): Remove.
53128         (__exp2): Calculate result before checking finiteness and calling
53129         __kernel_standard.
53130         * math/w_exp2f.c: Likewise.
53131         * math/w_exp2l.c: Likewise.
53132         * math/libm-test.inc (exp2_test): Require overflow exception for
53133         1e6 input.
53135         [BZ #3866]
53136         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53137         range of signed 64-bit integers before using fistpll.  Remove
53138         checks for whether integers fit in mantissa bits.
53139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53140         the range of signed 32-bit integers before using fistpl.  Remove
53141         checks for whether integers fit in mantissa bits.
53142         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53143         (__ieee754_powl): Test for y outside the range of signed 64-bit
53144         integers before using fistpll.  Reduce 64-bit values to 63-bit
53145         ones as needed.
53146         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53147         divide-by-zero is raised for zero to large negative powers.
53148         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53149         (__ieee754_powl): Test for y outside the range of signed 64-bit
53150         integers before using fistpll.  Reduce 64-bit values to 63-bit
53151         ones as needed.
53152         * math/libm-test.inc (pow_test): Add more tests.
53154 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53156         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53157         <stdio-common/_itoa.h>.
53158         * debug/segfault.c: Likewise.
53159         * elf/dl-cache.c: Likewise.
53160         * elf/dl-minimal.c: Likewise.
53161         * elf/dl-misc.c: Likewise.
53162         * elf/dl-sysdep.c: Likewise.
53163         * elf/dl-version.c: Likewise.
53164         * elf/rtld.c: Likewise.
53165         * hurd/hurdsock.c: Likewise.
53166         * hurd/lookup-retry.c: Likewise.
53167         * malloc/malloc.c: Likewise.
53168         * malloc/mtrace.c: Likewise.
53169         * nscd/nscd_getgr_r.c: Likewise.
53170         * nscd/nscd_getpw_r.c: Likewise.
53171         * nscd/nscd_getserv_r.c: Likewise.
53172         * posix/getopt_init.c: Likewise.
53173         * posix/wordexp.c: Likewise.
53174         * stdio-common/_itoa.c: Likewise.
53175         * stdio-common/printf_fphex.c: Likewise.
53176         * stdio-common/vfprintf.c: Likewise.
53177         * string/_strerror.c: Likewise.
53178         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53179         * sysdeps/i386/i686/hp-timing.h: Likewise.
53180         * sysdeps/mach/_strerror.c: Likewise.
53181         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53182         * sysdeps/mach/hurd/sethostid.c: Likewise.
53183         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53184         * sysdeps/mach/xpg-strerror.c: Likewise.
53185         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53187         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53188         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53189         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53190         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53192         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53193         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53194         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53195         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53196         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53197         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53198         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53199         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53200         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53201         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53202         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53203         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53204         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53205         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53207         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53209         * stdio-common/_itoa.h: Moved to ...
53210         * sysdeps/generic/_itoa.h: Here.
53212         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53214         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53215         instead of "_itoa.h" and "_itowa.h".
53216         * stdio-common/vfprintf.: Likewise.
53218 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53220         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53221         <bits/wordsize.h>.
53222         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53223         (__signbit): Likwise.
53224         (llrintf): Likwise.
53225         (llrint): Likwise.
53227 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53229         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53230         __WORDSIZE != 64.
53232 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53234         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53235         OVERFLOW_EXCEPTION_OK.
53236         * math/libm-test.inc ("Philosophy"): Update comment about
53237         exception testing.
53238         (OVERFLOW_EXCEPTION): Define.
53239         (OVERFLOW_EXCEPTION_OK): Likewise.
53240         (INVALID_EXCEPTION_OK): Renumber.
53241         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53242         (IGNORE_ZERO_INF_SIGN): Likewise.
53243         (test_exceptions): Handle FE_OVERFLOW.
53244         (exp10_test): Expect overflow exceptions.
53245         (exp2_test): Likewise.
53246         (expm1_test): Likewise.
53247         (nextafter_test): Likewise.
53248         (pow_test): Likewise.
53249         (scalbn_test): Likewise.
53250         (scalbln_test): Likewise.
53252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53254         * sysdeps/x86_64/bits/atomic.h
53255         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53256         64bit integer.
53257         (atomic_exchange_acq): Likewise.
53258         (__arch_exchange_and_add_body): Likewise.
53259         (__arch_add_body): Likewise.
53260         (atomic_add_negative): Likewise.
53261         (atomic_add_zero): Likewise.
53263 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53265         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53266         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53268 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53270         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53271         Check __x86_64__ instead of __WORDSIZE.
53273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53275         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53277 2012-03-19  David S. Miller  <davem@davemloft.net>
53279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53281         * sysdeps/sparc/fpu/fenv_private.h: New file.
53282         * sysdeps/sparc/fpu/math_private.h: Use it.
53283         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53284         Remove.
53285         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53286         (libc_feholdexcept_setroundl): Remove.
53287         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53288         Remove.
53289         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53290         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53294         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53295         int64_t instead of long int.
53296         (INSERT_WORDS64): Likwise.
53298 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53300         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53301         _Unwind_GetCFA return to _Unwind_Ptr first.
53303 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53305         [BZ #13629]
53306         * math/s_clog.c: Include <float.h>.
53307         (__clog): Scale large or subnormal inputs.
53308         * math/s_clogf.c: Likewise.
53309         * math/s_clogl.c: Likewise.
53310         * math/s_clog10.c: Include <float.h>.
53311         (M_LOG10_2): Define.
53312         (__clog10): Scale large or subnormal inputs.
53313         * math/s_clog10f.c: Likewise.
53314         * math/s_clog10l.c: Likewise.
53315         * math/libm-test.inc (clog_test): Add more tests.
53316         (clog10_test): Likewise.
53317         * sysdeps/i386/fpu/libm-test-ulps: Update.
53318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53320         [BZ #11451]
53321         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53322         x and y.
53323         * math/libm-test.inc (atan2_test): Add another test.
53325         * Makerules (common-objdir-compile): Remove.
53326         * sysdeps/unix/Makefile (config-generated): Do not add
53327         $(unix-generated) to variable.
53328         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53329         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53330         Remove rule.
53331         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53332         Likewise.
53333         [generic bits/local_lim.h] (before-compile): Do not append to
53334         variable.
53335         [generic bits/local_lim.h] (common-generated): Likewise.
53336         [generic sys/param.h] (before-compile): Do not append to variable.
53337         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53338         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53339         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53340         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53341         include.
53342         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53343         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53344         [generic sys/param.h] ($(addprefix
53345         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53346         [generic sys/param.h] (common-generated): Do not append to
53347         variable.
53348         [generic sys/param.h] (sysdep_headers): Likewise.
53349         [generic bits/errno.h] (before-compile): Do not append to
53350         variable.
53351         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53352         rule.
53353         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53354         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53355         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53356         [generic bits/errno.h] (common-generated): Do not append to
53357         variable.
53358         [generic bits/ioctls.h] (before-compile): Do not append to
53359         variable.
53360         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53361         rule.
53362         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53363         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53364         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53365         rule.
53366         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53367         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53368         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53369         [generic bits/ioctls.h] (common-generated): Do not append to
53370         variable.
53371         [generic sys/syscall.h] (syscall.h): Remove variable.
53372         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53373         rule.
53374         [generic sys/syscall.h] (before-compile): Do not append to
53375         variable.
53376         [generic sys/syscall.h] (common-generated): Likewise.
53377         * sysdeps/unix/errnos-tmpl.c: Remove file.
53378         * sysdeps/unix/errnos.awk: Likewise.
53379         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53380         * sysdeps/unix/ioctls.awk: Likewise.
53381         * sysdeps/unix/mk-local_lim.c: Likewise.
53382         * sysdeps/unix/snarf-ioctls: Likewise.
53384 2012-03-19  Richard Henderson  <rth@twiddle.net>
53386         * sysdeps/i386/fpu/fenv_private.h: New file.
53387         * sysdeps/i386/fpu/math_private.h: Use it.
53388         (math_opt_barrier, math_force_eval): Remove.
53389         (libc_feholdexcept_setround_53bit): Remove.
53390         (libc_feupdateenv_53bit): Remove.
53391         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53392         (math_opt_barrier, math_force_eval): Remove.
53393         (libc_feholdexcept): Remove.
53394         (libc_feholdexcept_setround): Remove.
53395         (libc_fetestexcept, libc_fesetenv): Remove.
53396         (libc_feupdateenv_test): Remove.
53397         (libc_feupdateenv, libc_feholdsetround): Remove.
53398         (libc_feresetround): Remove.
53400         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53401         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53403         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53404         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53405         (libc_feupdateenv_testl): New.
53406         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53407         (libc_feupdateenv_testf): New.
53408         (libc_feupdateenv): Use libc_feupdateenv_test.
53409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53410         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53412         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53413         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53414         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53415         (libc_feresetround_noex): New.
53416         (libc_feresetround_noexf): New.
53417         (libc_feresetround_noexl): New.
53418         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53419         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53420         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53421         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53422         SET_RESTORE_ROUND.
53423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53425         (__cos): Likewise.
53426         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53428         SET_RESTORE_ROUND_NOEX.
53429         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53430         SET_RESTORE_ROUND_NOEXF.
53431         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53432         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53433         (libc_feholdsetroundf): New.
53434         (libc_feresetround, libc_feresetroundf): New.
53436         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53437         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53438         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53440         * sysdeps/generic/math_private.h: Include <fenv.h>.
53441         (default_libc_feholdexcept): New.
53442         (default_libc_feholdexcept_setround): New.
53443         (default_libc_fesetenv, default_libc_feupdateenv): New.
53444         (libc_feholdexcept): Only define if undefined.
53445         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53446         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53447         (libc_feholdexcept_setroundl): Likewise.
53448         (libc_feholdexcept_setround_53bit): Likewise.
53449         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53450         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53451         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53452         (libc_feupdateenv_53bit): Likewise.
53453         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53454         (libc_feholdexcept): Convert from macro to inline function.
53455         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53456         (libc_fesetenv, libc_feupdateenv): Likewise.
53458         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53459         not previously defined.
53460         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53461         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53462         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53463         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53464         * sysdeps/ieee754/flt-32/math_private.h: New file.
53465         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53466         math_private.h below SET_FLOAT_WORD.
53467         (__isnan, __isinf_ns, __finite): Remove.
53468         (__isnanf, __isinf_nsf, __finitef): Remove.
53470 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53474 2012-03-17  David S. Miller  <davem@davemloft.net>
53476         [BZ #6471]
53477         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53478         for 2.16.
53480 2012-03-16  David S. Miller  <davem@davemloft.net>
53482         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53483         warnings.
53485         [BZ #6471]
53486         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53487         properly.
53488         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53489         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53490         sysdep_routines when subdir is sysvipc.
53491         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53492         __getshmlba helper.
53494         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53496 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53498         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53499         [__LP64__].
53501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53504         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53505         (__lround): Renamed to ...
53506         (__llround): This.  Replace long int with long long int.
53507         Define lround functions as aliases of llround functions.
53508         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53510 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53512         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53513         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53514         adresses to uintptr_t.  Replace "long int" and "unsigned long
53515         int" with "greg_t" on va_arg.
53517 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53519         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53520         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53522         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53523         Move e_machine check before EI_CLASS check.  Handle x32
53524         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53525         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53526         SKIP_EM_IA_64 and include
53527         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53529         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53530         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53531         (add_system_dir): New macro.
53533         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53534         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53536 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #2551]
53539         [BZ #2552]
53540         [BZ #2553]
53541         [BZ #2554]
53542         [BZ #2562]
53543         [BZ #2563]
53544         [BZ #2565]
53545         [BZ #2566]
53546         [BZ #2576]
53547         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53548         (y0): Likewise.
53549         * math/w_j0f.c (j0f): Likewise.
53550         (y0f): Likewise.
53551         * math/w_j0l.c (__j0l): Likewise.
53552         (__y0l): Likewise.
53553         * math/w_j1.c (j1): Likewise.
53554         (y1): Likewise.
53555         * math/w_j1f.c (j1f): Likewise.
53556         (y1f): Likewise.
53557         * math/w_j1l.c (__j1l): Likewise.
53558         (__y1l): Likewise.
53559         * math/w_jn.c (jn): Likewise.
53560         (yn): Likewise.
53561         * math/w_jnf.c (jnf): Likewise.
53562         (ynf): Likewise.
53563         * math/w_jnl.c (__jnl): Likewise.
53564         (__ynl): Likewise.
53565         * math/libm-test.inc (j0_test): Add more tests.
53566         (j1_test): Likewise.
53567         (jn_test): Likewise.  Add trailing semicolon to existing test.
53568         (y0_test): Likewise.
53569         (y1_test): Likewise.
53570         * sysdeps/i386/fpu/libm-test-ulps: Update.
53571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53573         [BZ #13851]
53574         [BZ #13854]
53575         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53576         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53577         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53578         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53579         (__tanl): Set errno for infinite argument.
53580         * sysdeps/i386/fpu/mptan.c: Remove.
53581         * sysdeps/i386/fpu/s_tan.S: Likewise.
53582         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53583         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53584         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53585         * math/libm-test.inc (tan_test): Add more tests and enable more
53586         tests for double and long double.
53587         * sysdeps/i386/fpu/libm-test-ulps: Update.
53588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53590 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53592         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53593         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53595 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53597         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53598         * configure.in: Use it for both main tree and add-ons.
53599         * configure: Regenerated.
53601 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53603         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53605 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53607         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53608         in comment.
53610         [BZ #13851]
53611         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53612         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53613         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53614         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53615         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53616         infinite argument.
53617         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53618         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53619         != 0 for prec == 2.
53620         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53621         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53622         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53623         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53624         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53625         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53626         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53627         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53628         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53629         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53630         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53631         * math/libm-test.inc (cos_test): Add more tests and enable more
53632         tests for long double.
53633         (sin_test): Likewise.
53634         (sincos_test): Likewise.
53635         * sysdeps/i386/fpu/libm-test-ulps: Update.
53636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53638 2012-03-16  David S. Miller  <davem@davemloft.net>
53640         * sysdeps/sparc/fpu/math_private.h: New file.
53642 2012-03-15  David S. Miller  <davem@davemloft.net>
53644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53645         file.
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53648         file.
53649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53654         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53655         sysdep routines.
53656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53658         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53659         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53661         * sysdeps/sparc/sparc-ifunc.h: New file.
53662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53663         sparc-ifunc.h
53664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53666         Likewise.
53667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53668         Likewise.
53669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53673         Likewise.
53674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53679         Likewise.
53680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53681         Likewise.
53682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53700         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53702         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53703         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53707 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53709         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53710         scaling.
53711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53713 2012-03-15  Andreas Jaeger  <aj@suse.de>
53715         [BZ #13852]
53716         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53717         ieee754/flt-32 implementation for sin, cos and sincos.
53718         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53719         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53720         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53721         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53722         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53723         ieee754/flt-32 implementation for tan.
53725         * math/libm-test.inc (cos_test): Enable some large input tests for
53726         float as well
53727         (sin_test): Likewise.
53728         (sincos_test): Likewise.
53729         (tan_test): Add tests for large input.
53731         * sysdeps/i386/fpu/libm-test-ulps: Update.
53733 2012-03-15  Andreas Jaeger  <aj@suse.de>
53735         [BZ #13658]
53736         * math/libm-test.inc (cos_test): Add more test cases.
53737         (sin_test): Likewise.
53738         (sincos_test): Likewise.
53740 2012-03-15  Andreas Jaeger  <aj@suse.de>
53742         [BZ #13837]
53743         * math/libm-test.inc (cos_test): Add a test case for large input
53744         value.
53745         (sin_test): Likewise.
53746         (sincos_test): Likewise.
53748 2012-03-15  Andreas Jaeger  <aj@suse.de>
53749             Joseph Myers  <joseph@codesourcery.com>
53751         [BZ #13658]
53752         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53753         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53754         * sysdeps/i386/fpu/branred.c: Likewise.
53755         * sysdeps/i386/fpu/dosincos.c: Likewise.
53756         * sysdeps/i386/fpu/mpa.c: Likewise.
53757         * sysdeps/i386/fpu/s_cos.S: Likewise.
53758         * sysdeps/i386/fpu/s_sin.S: Likewise.
53759         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53760         * sysdeps/i386/fpu/sincos32.c: Likewise.
53762         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53763         Define.
53764         (libc_feupdateenv_53bit): Define.
53765         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53766         Define.
53767         (libc_feupdateenv_53bit): Define.
53769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53770         53 bit (without extend i386 double precision).
53772         * math/libm-test.inc (sincos_test): Add tests for large input.
53773         (sin): Likewise.
53774         (cos): Likewise.
53776         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53778 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53782 2012-03-15  David S. Miller  <davem@davemloft.net>
53784         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53785         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53786         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53787         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53800         file.
53801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53803         file.
53804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53806         file.
53807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53809         file.
53810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53812         fmin/fmax sysdep routines.
53813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53815 2012-03-14  David S. Miller  <davem@davemloft.net>
53817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53821         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53822         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53823         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53824         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53835         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53837         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53838         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53839         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53841         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53844         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53845         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53846         routines.
53847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53848         file.
53849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53851         file.
53852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53854         file.
53855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53857         file.
53858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53860         file.
53861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53863         file.
53864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53865         file.
53866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53867         file.
53868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53869         file.
53870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53871         New file.
53872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53873         file.
53874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53875         file.
53876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53878         file.
53879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53881         file.
53882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53884         file.
53885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53887         VIS3 routines.
53889         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53890         New file.
53892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53894         * sysdeps/sparc/configure.in: New file.
53895         * sysdeps/sparc/configure: Generate.
53896         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53897         * configure: Regenerate.
53898         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53899         * config.make.in (have-as-vis3): New.
53900         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53901         available use -Av9d instead of -Av9a.
53902         * sysdeps/sparc/sparc64/Makefile: Likewise.
53903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53905         New file.
53906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53907         file.
53908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53909         New file.
53910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53911         file.
53912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53915         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53918         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53919         fzeros/fnegs to load 0x80000000 into a float register instead of
53920         using the stack.
53921         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53923 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53926         bits/syscall.h.
53927         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53928         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53929         ($(inst_includedir)/bits/syscall.h): Remove rule.
53930         ($(objpfx)bits/syscall.d): Include instead of
53931         $(objpfx)syscall-list.d.
53932         (generated): Change syscall-list.h and syscall-list.d to
53933         bits/syscall.h and bits/syscall.d.
53935 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53937         [BZ #13846]
53938         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53940 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53942         [BZ #13841]
53943         * math/s_csqrt.c: Include <float.h>.
53944         (__csqrt): Scale large or subnormal inputs.
53945         * math/s_csqrtf.c: Likewise.
53946         * math/s_csqrtl.c: Likewise.
53947         * math/libm-test.inc (csqrt_test): Add more tests.
53948         * sysdeps/i386/fpu/libm-test-ulps: Update.
53949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53951         [BZ #13840]
53952         * math/libm-test.inc (hypot_test): Add more tests.
53954 2012-03-13  David S. Miller  <davem@davemloft.net>
53956         [BZ #13840]
53957         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53958         double-precision for the calculation instead of scaling.
53960 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53962         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53963         manipulate bits before adding and subtracting TWO52[sx].
53964         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53965         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53966         Likewise.
53967         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53969 2012-03-13  David S. Miller  <davem@davemloft.net>
53971         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53972         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53973         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53974         rtld-global-offsets.h
53975         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53977         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53978         large parameters.
53980         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53982         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53983         'err' in the ifdef scope in which it is actually used.
53985         * nss/nss_db/db-init.c: Include string.h
53987 2012-03-12  David S. Miller  <davem@davemloft.net>
53989         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53990         masking out of the most significant byte of random value used.
53991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53992         Fix coding style in previous change.
53994         * sysdeps/unix/sysv/linux/kernel-features.h
53995         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53996         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53997         expression.
53998         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53999         later.
54001 2012-03-11  David S. Miller  <davem@davemloft.net>
54003         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54004         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54006         for 'resultvar' otherwise things get truncated on 64-bit.
54008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54009         Fix masking out of the most significant byte of random value used.
54011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54013 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54017 2012-03-09  David S. Miller  <davem@davemloft.net>
54019         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54020         variables with appropriate CPP guards.
54021         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54022         from the frame pointer, not the stack pointer.  Correct layout
54023         comments.  Fix test on resulting framesize and the management of
54024         the outregs buffer for pltexit.  Preserve floating point return
54025         values across _dl_call_pltexit call.
54026         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54027         framesize and the management of the outregs buffer for pltexit.
54028         Preserve floating point return values across _dl_call_pltexit
54029         call.
54030         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54031         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54032         (la_sparc64_gnu_pltexit): New functions.
54033         (print_exit): Fix format string for return register value.
54035 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54037         * sunrpc/Makefile (others): Add rpcgen.
54038         ($(objpfx)rpcgen): Remove special build rule and dependency on
54039         libc.
54040         * sunrpc/rpcgen.c: New file.
54042 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54044         [BZ #13673]
54045         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54046         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54047         * sysdeps/i386/crti.S: Likewise.
54048         * sysdeps/i386/crtn.S: Likewise.
54049         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54050         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54051         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54052         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54053         * sysdeps/sh/crti.S: Likewise.
54054         * sysdeps/sh/crtn.S: Likewise.
54055         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54057         [BZ #13673]
54058         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54059         with URL.
54060         * locale/programs/locfile-kw.gperf: Likewise.
54061         * locale/programs/charmap-kw.h: Regenerated.
54062         * locale/programs/locfile-kw.h: Likewise.
54064         [BZ #13673]
54065         * intl/plural.y: Replace FSF snail mail address with URL.
54066         * intl/plural.c: Regenerated.
54068 2012-03-09  Richard Henderson  <rth@twiddle.net>
54070         * include/math_private.h: Remove file.
54071         * math/math_private.h: Move file ...
54072         * sysdeps/generic/math_private.h: ... here.
54074         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54075         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54076         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54078         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54079         and <math_private.h>.
54080         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54081         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54082         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54083         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54084         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54091         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54092         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54093         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54094         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54095         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54096         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54097         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54098         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54101         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54102         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54104         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54105         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54106         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54110         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54112         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54113         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54114         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54115         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54116         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54120         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54121         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54122         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54123         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54124         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54125         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54126         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54127         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54129         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54130         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54131         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54132         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54133         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54134         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54135         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54136         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54137         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54138         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54139         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54140         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54141         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54142         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54143         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54144         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54145         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54146         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54147         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54168         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54169         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54170         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54171         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54174         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54175         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54176         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54177         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54178         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54180         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54181         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54182         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54183         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54185         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54186         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54187         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54188         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54190         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54191         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54192         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54193         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54194         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54195         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54197         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54198         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54199         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54200         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54201         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54203         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54204         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54205         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54206         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54207         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54208         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54209         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54210         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54211         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54212         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54213         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54214         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54215         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54216         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54217         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54218         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54219         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54220         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54221         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54222         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54223         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54224         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54225         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54226         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54227         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54228         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54229         * sysdeps/ieee754/k_standard.c: Likewise.
54230         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54234         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54239         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54240         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54241         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54244         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54245         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54246         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54247         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54249         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54251         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54254         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54256         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54257         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54258         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54260         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54261         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54262         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54263         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54265         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54266         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54267         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54268         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54269         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54270         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54271         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54272         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54273         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54274         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54275         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54276         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54278         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54280         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54350         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54352         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54357         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54362         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54369         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54370         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54371         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54378         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54379         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54380         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54390         * sysdeps/ieee754/s_lib_version.c: Likewise.
54391         * sysdeps/ieee754/s_matherr.c: Likewise.
54392         * sysdeps/ieee754/s_signgam.c: Likewise.
54393         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54394         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54395         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54396         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54397         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54398         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54399         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54400         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54401         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54402         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54403         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54404         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54405         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54406         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54407         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54408         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54409         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54410         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54415 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54417         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54418         * sunrpc/rpc_main.c: Likewise.
54419         * sunrpc/rpc_svcout.c: Likewise.
54421 2012-03-09  David S. Miller  <davem@davemloft.net>
54423         * include/math_private.h: New file.
54425 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54427         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54428         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54429         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54430         from <bits/socket_type.h>.
54431         (enum __socket_type): Don't define here.
54432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54434         bits/socket_type.h.
54436         [BZ #13566]
54437         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54438         checking __USE_GNU.
54440         * Makerules ($(inst_includedir)/%.h): New rule.
54441         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54442         (install-others): Remove variable setting.
54443         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54445 2012-03-08  Richard Henderson  <rth@twiddle.net>
54447         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54448         from macro to inline function; merge with the
54449         !__LIBC_INTERNAL_MATH_INLINES version.
54450         (__ieee754_sqrtf): Likewise.
54452         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54453         to inline function.
54454         (__rintf, __floor, __floorf): Likewise.
54456         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54457         macro to inline function.
54458         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54461         not <math/math_private.h>.
54463 2012-03-08  David S. Miller  <davem@davemloft.net>
54465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54466         copyright year.
54467         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54469 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54471         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54472         normalization.
54473         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54474         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54476 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54478         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54479         be defined individually, they must be defined as a block.  Define
54480         S for printing a string instead of hidint the different by using a
54481         macro for adding the 'l'.
54482         * stdio-common/tst-fphex-wide.c: Adjust.
54484 2012-03-07  Marek Polacek  <polacek@redhat.com>
54486         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54488 2012-03-08  Marek Polacek  <polacek@redhat.com>
54490         [BZ #13806]
54491         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54492         * stdio-common/tst-fphex.c: Define a few macros to make the
54493         test reusable.  Use them.
54494         * stdio-common/tst-fphex-wide.c: New file.
54496 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54498         [BZ #6911]
54499         * manual/macros.texi (gnusystems): New macro.
54500         (nongnusystems): Likewise.
54501         (gnulinuxhurdsystems): Likewise.
54502         (gnuhurdsystems): Likewise..
54503         (gnulinuxsystems): Likewise.
54504         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54505         variants of the GNU system, not "GNU system".
54506         * manual/conf.texi: Likewise.
54507         * manual/errno.texi: Likewise.  Update example of errno macro
54508         expansion.
54509         * manual/filesys.texi: Likewise.
54510         (getumask): Document as specific to GNU/Hurd.
54511         * manual/install.texi: Likewise.  Reword some references to
54512         GNU/Linux.
54513         * manual/intro.texi: Likewise.
54514         * manual/io.texi: Likewise.
54515         (File Name Portability): Detail which constraints are inapplicable
54516         to all GNU systems and which are only inapplicable to GNU/Hurd.
54517         * manual/job.texi: Likewise.
54518         * manual/llio.texi: Likewise.
54519         (O_NOCTTY): Document as present on GNU/Linux.
54520         * manual/maint.texi: Likewise.
54521         * manual/memory.texi: Likewise.
54522         * manual/pattern.texi: Likewise.
54523         * manual/pipe.texi: Likewise.
54524         * manual/process.texi: Likewise.
54525         * manual/resource.texi: Likewise.
54526         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54527         child on GNU/Hurd.
54528         * manual/setjmp.texi: Likewise.
54529         * manual/signal.texi: Likewise.
54530         * manual/startup.texi: Likewise.
54531         * manual/stdio.texi: Likewise.
54532         * manual/terminal.texi: Likewise.
54533         (ONLCR): Document as POSIX.
54534         (OXTABS): Document availability on GNU/Linux as XTABS.
54535         (ONOEOT): Document availability separately from other bits.
54536         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54537         * manual/time.texi: Likewise.
54538         * manual/users.texi: Likewise.
54539         * INSTALL: Regenerated.
54540         * sysdeps/gnu/errlist.c: Regenerated.
54542         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54543         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54544         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54545         puts.
54546         * configure: Regenerated.
54548 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54550         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54551         default includes instead of AC_HEADER_CHECK.
54552         * sysdeps/i386/configure: Regenerated.
54554         [BZ #10716]
54555         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54556         * math/s_cacoshf.c (__cacoshf): Likewise.
54557         * math/s_cacoshl.c (__cacoshl): Likewise.
54558         * math/s_casinh.c (__casinh): Set signs of result from argument.
54559         * math/s_casinhf.c (__casinhf): Likewise.
54560         * math/s_casinhl.c (__casinhl): Likewise.
54561         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54562         (casinh_test): Add more tests.
54563         * sysdeps/i386/fpu/libm-test-ulps: Update.
54564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54566 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54568         * po/zh_TW.po: Update from translation team.
54570         * login/Makefile (distribute): Remove variable.
54571         * catgets/Makefile: Likewise.
54572         * mach/Makefile: Likewise.
54573         * malloc/Makefile: Likewise.
54574         * misc/Makefile: Likewise.
54575         * iconv/Makefile: Likewise.
54576         * nscd/Makefile: Likewise.
54577         * hurd/Makefile: Likewise.
54578         * manual/Makefile: Likewise.
54579         * locale/Makefile: Likewise.
54580         * intl/Makefile: Likewise.
54581         * conform/Makefile: Likewise.
54582         * nss/Makefile: Likewise.
54583         * time/Makefile: Likewise.
54584         * soft-fp/Makefile: Likewise.
54585         * dirent/Makefile: Likewise.
54586         * gmon/Makefile: Likewise.
54587         * po/Makefile: Likewise.
54588         * rt/Makefile: Likewise.
54589         * socket/Makefile: Likewise.
54590         * math/Makefile: Likewise.
54591         * signal/Makefile: Likewise.
54592         * debug/Makefile: Likewise.
54593         * elf/Makefile: Likewise.
54594         * timezone/Makefile: Likewise.
54595         * stdlib/Makefile: Likewise.
54596         * iconvdata/Makefile: Likewise.
54597         * sunrpc/Makefile: Likewise.
54598         * io/Makefile: Likewise.
54599         * argp/Makefile: Likewise.
54600         * inet/Makefile: Likewise.
54601         * hesiod/Makefile: Likewise.
54602         * grp/Makefile: Likewise.
54603         * csu/Makefile: Likewise.
54604         * wctype/Makefile: Likewise.
54605         * crypt/Makefile: Likewise.
54606         * libio/Makefile: Likewise.
54607         * string/Makefile: Likewise.
54608         * nis/Makefile: Likewise.
54609         * resolv/Makefile: Likewise.
54610         * stdio-common/Makefile: Likewise.
54611         * wcsmbs/Makefile: Likewise.
54612         * dlfcn/Makefile: Likewise.
54613         * posix/Makefile: Likewise.
54615         [BZ #6959]
54616         * timezone/Makefile: Don't install timezone files, just the programs
54617         and scripts.
54619 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54621         * nss/databases.def: Add missing gshadow entry.
54623         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54625 2012-03-06  Marek Polacek  <polacek@redhat.com>
54627         [BZ #13726]
54628         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54629         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54630         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54631         * stdio-common/tst-long-dbl-fphex.c: New file.
54633 2012-03-06  David S. Miller  <davem@davemloft.net>
54635         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54636         (set_obp_int): New function.
54637         (get_obp_int): New function.
54638         (__get_clockfreq_via_dev_openprom): Likewise.
54639         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54640         Avoid unused variable warnings on 'val' and use builtin_expect.
54641         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54642         __builtin_expect.
54643         (INLINE_CLONE_SYSCALL): Likewise.
54645 2012-03-05  David S. Miller  <davem@davemloft.net>
54647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54649 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54653         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54654         only for |x| >= 40.
54655         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54657 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54660         Replace gettimeofday with __vdso_gettimeofday.
54662         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54663         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54664         __vdso_clock_gettime and __vdso_getcpu.
54666         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54667         time with __vdso_time.
54669 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54671         * manual/lang.texi (size_t): Note types to which size_t may be
54672         equivalent with the GNU C Library, but do not describe when
54673         differences between them are significant.
54675 2012-03-05  Andreas Jaeger  <aj@suse.de>
54677         * sysdeps/i386/fpu/libm-test-ulps: Update.
54679 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54681         [BZ #3976]
54682         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54683         (__ieee754_pow): Save and restore rounding mode and use
54684         round-to-nearest for main computations.
54685         * math/libm-test.inc (pow_test_tonearest): New function.
54686         (pow_test_towardzero): Likewise.
54687         (pow_test_downward): Likewise.
54688         (pow_test_upward): Likewise.
54689         (main): Call the new functions.
54690         * sysdeps/i386/fpu/libm-test-ulps: Update.
54691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54693         [BZ #3976]
54694         * math/libm-test.inc (cosh_test_tonearest): New function.
54695         (cosh_test_towardzero): Likewise.
54696         (cosh_test_downward): Likewise.
54697         (cosh_test_upward): Likewise.
54698         (sinh_test_tonearest): Likewise.
54699         (sinh_test_towardzero): Likewise.
54700         (sinh_test_downward): Likewise.
54701         (sinh_test_upward): Likewise.
54702         (main): Call the new functions.
54703         * sysdeps/i386/fpu/libm-test-ulps: Update.
54704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54706 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54709         default stack guard is set in last bytes.
54710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54712 2012-03-05  Kees Cook  <keescook@chromium.org>
54714         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54716         [BZ #13656]
54717         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54718         possibly allocate from heap instead of stack.
54719         * stdio-common/bug-vfprintf-nargs.c: New file.
54720         * stdio-common/Makefile (tests): Add nargs overflow test.
54722 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54726 2012-03-03  Marek Polacek  <polacek@redhat.com>
54728         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54729         * math/math_private.h: Likewise.
54730         * stdlib/tst-strtod.c: Likewise.
54731         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54732         * sysdeps/x86_64/bits/atomic.h: Likewise.
54734 2012-03-02  David S. Miller  <davem@davemloft.net>
54736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54740         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54741         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54742         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54743         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54745 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54747         [BZ #13792]
54748         * manual/examples/README: New file, says the example source files
54749         can be used under GPL>=2.
54750         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54751         line containing just "*/".
54752         * manual/examples/add.c: Add copyright header (GPL>=2).
54753         * manual/examples/argp-ex1.c: Likewise.
54754         * manual/examples/argp-ex2.c: Likewise.
54755         * manual/examples/argp-ex3.c: Likewise.
54756         * manual/examples/argp-ex4.c: Likewise.
54757         * manual/examples/atexit.c: Likewise.
54758         * manual/examples/db.c: Likewise.
54759         * manual/examples/dir.c: Likewise.
54760         * manual/examples/dir2.c: Likewise.
54761         * manual/examples/execinfo.c: Likewise.
54762         * manual/examples/filecli.c: Likewise.
54763         * manual/examples/filesrv.c: Likewise.
54764         * manual/examples/fmtmsgexpl.c: Likewise.
54765         * manual/examples/genpass.c: Likewise.
54766         * manual/examples/inetcli.c: Likewise.
54767         * manual/examples/inetsrv.c: Likewise.
54768         * manual/examples/isockad.c: Likewise.
54769         * manual/examples/longopt.c: Likewise.
54770         * manual/examples/memopen.c: Likewise.
54771         * manual/examples/memstrm.c: Likewise.
54772         * manual/examples/mkfsock.c: Likewise.
54773         * manual/examples/mkisock.c: Likewise.
54774         * manual/examples/mygetpass.c: Likewise.
54775         * manual/examples/pipe.c: Likewise.
54776         * manual/examples/popen.c: Likewise.
54777         * manual/examples/rprintf.c: Likewise.
54778         * manual/examples/search.c: Likewise.
54779         * manual/examples/select.c: Likewise.
54780         * manual/examples/setjmp.c: Likewise.
54781         * manual/examples/sigh1.c: Likewise.
54782         * manual/examples/sigusr.c: Likewise.
54783         * manual/examples/stpcpy.c: Likewise.
54784         * manual/examples/strdupa.c: Likewise.
54785         * manual/examples/strftim.c: Likewise.
54786         * manual/examples/strncat.c: Likewise.
54787         * manual/examples/subopt.c: Likewise.
54788         * manual/examples/swapcontext.c: Likewise.
54789         * manual/examples/termios.c: Likewise.
54790         * manual/examples/testopt.c: Likewise.
54791         * manual/examples/testpass.c: Likewise.
54792         * manual/examples/timeval_subtract.c: Likewise.
54794         [BZ #13792]
54795         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54796         function to ...
54797         * manual/timeval_subtract.c.texi: ... here, new file.
54799 2012-03-02  David S. Miller  <davem@davemloft.net>
54801         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54803 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54805         [BZ #3976]
54806         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54807         (__sin): Save and restore rounding mode and use round-to-nearest
54808         for all computations.
54809         (__cos): Save and restore rounding mode and use round-to-nearest
54810         for all computations.
54811         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54812         <fenv.h>.
54813         (tan): Save and restore rounding mode and use round-to-nearest for
54814         all computations.
54815         * math/libm-test.inc (cos_test_tonearest): New function.
54816         (cos_test_towardzero): Likewise.
54817         (cos_test_downward): Likewise.
54818         (cos_test_upward): Likewise.
54819         (sin_test_tonearest): Likewise.
54820         (sin_test_towardzero): Likewise.
54821         (sin_test_downward): Likewise.
54822         (sin_test_upward): Likewise.
54823         (tan_test_tonearest): Likewise.
54824         (tan_test_towardzero): Likewise.
54825         (tan_test_downward): Likewise.
54826         (tan_test_upward): Likewise.
54827         (main): Call the new functions.
54828         * sysdeps/i386/fpu/libm-test-ulps: Update.
54829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54831         [BZ #10135]
54832         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54833         small n, then large n, before computing and testing k+n.
54834         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54836         Likewise.
54837         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54838         Likewise.
54839         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54840         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54841         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54842         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54843         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54844         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54845         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54846         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54847         * math/libm-test.inc (scalbn_test): Add more tests.
54848         (scalbln_test): Likewise.
54850         * manual/filesys.texi (mode_t): Describe constraints on size and
54851         signedness, not exact equivalence to a particular type.
54852         (ino_t): Likewise.
54853         (ino64_t): Likewise.
54854         (dev_t): Likewise.
54855         (nlink_t): Likewise.
54856         (blkcnt_t): Likewise.
54857         (blkcnt64_t): Likewise.
54858         * manual/llio.texi (off_t): Likewise.
54860         [BZ #3976]
54861         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54862         (__ieee754_exp): Save and restore rounding mode and use
54863         round-to-nearest for all computations.
54864         * math/libm-test.inc (exp_test_tonearest): New function.
54865         (exp_test_towardzero): Likewise.
54866         (exp_test_downward): Likewise.
54867         (exp_test_upward): Likewise.
54868         (main): Call the new functions.
54869         * sysdeps/i386/fpu/libm-test-ulps: Update.
54870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54872 2012-03-01  Chris Demetriou  <cgd@google.com>
54874         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54875         have predictable order.
54877 2012-03-01  David S. Miller  <davem@davemloft.net>
54879         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54881         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54882         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54883         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54884         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54886         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54887         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54888         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54890         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54891         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54892         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54893         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54894         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54898         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54899         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54900         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54902         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54903         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54904         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54905         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54906         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54907         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54908         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54909         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54910         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54911         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54912         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54915         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54916         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54918         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54919         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54920         * sysdeps/sparc/elf/configure: Regenerated.
54922 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54924         * configure.in (AS, LD): Require binutils 2.20 or later.
54925         * configure: Regenerated.
54926         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54927         as required minimum version.
54928         * INSTALL: Regenerated.
54930         [BZ #2541]
54931         [BZ #4108]
54932         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54933         before squaring exponent.
54934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54935         bottom long double and 27 bits of top long double before squaring
54936         exponent.
54937         * math/libm-test.inc (erfc_test): Add more tests.
54938         * sysdeps/i386/fpu/libm-test-ulps: Update.
54939         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54942 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54944         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54945         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54946         containing bit-fields.
54947         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54948         * soft-fp/single.h (_FP_UNION_S): Likewise.
54949         * soft-fp/double.h (_FP_UNION_D): Likewise.
54951 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54953         [BZ #13786]
54954         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54955         not include ../strcmp.S.
54956         [USE_AS_STRNCASECMP_L]: Likewise.
54957         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54958         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54959         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54960         (__strncasecmp_l_ia32): Define as alias to
54961         __strncasecmp_l_nonascii.
54963         [BZ #5794]
54964         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54965         * sysdeps/i386/fpu/libm-test-ulps: Update.
54966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54968         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54971 2012-02-29  Jeff Law  <law@redhat.com>
54973         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54974         out of bounds read.
54976 2012-02-29  Marek Polacek  <polacek@redhat.com>
54978         [BZ #13706]
54979         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54980         * elf/Makefile: Add rules to run tst-unused-dep.out.
54982 2012-02-28  David S. Miller  <davem@davemloft.net>
54984         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54985         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54987         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54988         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54989         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54991 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54993         * math/libm-test.inc (llround_test): Move one test from
54994         lround_test.  Use TEST_f_L in moved test.
54995         (lround_test): Move misplaced test to llround_test.  Add testcase
54996         from bug 2561.
54998 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55000         * sysdeps/x86_64/fpu/e_expf.S: New file.
55001         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55003 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55005         [BZ #13637]
55006         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55007         of remain_len that may cause incomplete multi-byte character and
55008         false match.
55009         * posix/bug-regex33.c: New file.
55010         * posix/Makefile (tests): Add bug-regex33.
55012 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55014         * manual/macros.texi: New file.
55015         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55016         * manual/libc.texinfo: Include macros.texi.
55017         * manual/creatute.texi: Likewise.
55018         * manual/install.texi: Likewise.
55019         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55020         @glibcadj{} in references to the GNU C Library.
55021         * manual/charset.texi: Likewise.
55022         * manual/conf.texi: Likewise.
55023         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55024         when not using those macros.
55025         * manual/creature.texi: Likewise.
55026         * manual/crypt.texi: Likewise.
55027         * manual/errno.texi: Likewise.
55028         * manual/filesys.texi: Likewise.
55029         * manual/header.texi: Likewise.
55030         * manual/install.texi: Likewise.
55031         * manual/intro.texi: Likewise.
55032         * manual/io.texi: Likewise.
55033         * manual/job.texi: Likewise.
55034         * manual/lang.texi: Likewise.
55035         * manual/libc.texiinfo: Likewise.
55036         * manual/llio.texi: Likewise.
55037         * manual/locale.texi: Likewise.
55038         * manual/maint.texi: Likewise.
55039         * manual/math.texi: Likewise.
55040         * manual/memory.texi: Likewise.
55041         * manual/message.texi: Likewise.
55042         * manual/nss.texi: Likewise.
55043         * manual/pattern.texi: Likewise.
55044         * manual/process.texi: Likewise.
55045         * manual/resource.texi: Likewise.
55046         * manual/search.texi: Likewise.
55047         * manual/setjmp.texi: Likewise.
55048         * manual/signal.texi: Likewise.
55049         * manual/socket.texi: Likewise.
55050         * manual/startup.texi: Likewise.
55051         * manual/stdio.texi: Likewise.
55052         * manual/string.texi: Likewise.
55053         * manual/sysinfo.texi: Likewise.
55054         * manual/syslog.texi: Likewise.
55055         * manual/terminal.texi: Likewise.
55056         * manual/time.texi: Likewise.
55057         * manual/users.texi: Likewise.
55058         * INSTALL: Regenerated.
55059         * NOTES: Regenerated.
55060         * sysdeps/gnu/errlist.c: Regenerated.
55062 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55064         * include/dirent.h: Include <dirstream.h> before
55065         <dirent/dirent.h>.
55067 2012-02-28  David S. Miller  <davem@davemloft.net>
55069         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55070         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55071         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55072         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55074 2012-02-27  David S. Miller  <davem@davemloft.net>
55076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55078         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55079         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55082         frame pointer instead of stack pointer relative arg slot.
55083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55084         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55085         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55087 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55089         [BZ #3992]
55090         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55092 2012-02-27  David S. Miller  <davem@davemloft.net>
55094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55098         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55099         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55100         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55101         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55103 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55105         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55106         later.  Allow versions 5-9.
55107         * configure: Regenerated.
55108         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55109         required minimum version and 4.6 as recommended version.  Do not
55110         mention bugs in GCC 2.7 and 2.8.
55111         * INSTALL: Regenerated.
55113 2012-02-27  David S. Miller  <davem@davemloft.net>
55115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55119         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55120         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55121         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55122         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55125         manipulate bits before adding and subtracting TWO112[sx].
55126         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55128 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55130         [BZ #13775]
55131         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55132         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55133         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55134         being in POSIX, because they are in 1003.1-2008.
55136         * rt/tst-aio.c: Include <fcntl.h>.
55137         * rt/tst-aio7.c: Likewise.
55138         * rt/tst-aio64.c: Likewise.
55140         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55142 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55144         * manual/install.texi (--with-headers): Describe headers as
55145         interface headers, not private headers.
55146         (Specific advice for GNU/Linux systems): Describe use of headers
55147         from "make headers_install", not private headers from older
55148         kernels.
55149         * INSTALL: Regenerated.
55150         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55151         Change to 2.6.19.
55152         * sysdeps/unix/sysv/linux/configure: Regenerated.
55154         * manual/llio.texi (fclean): Remove documentation.
55156         * manual/Makefile (libc-texi-generated): New variable.  Include
55157         version.texi.
55158         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55159         $(libc-texi-generated), not duplicated list of files.
55160         (version.texi, stamp-version): New rules.
55161         (realclean): Remove $(libc-texi-generated), not individual files
55162         from that list.  Do not remove dir-add.texinfo.
55163         * manual/libc.texinfo: Comment out uses of edition numbers and
55164         references to printed manual.  Remove last-updated dates.
55165         (EDITION): Comment out.
55166         (ISBN): Likewise.
55167         (VERSION, UPDATED): Remove.
55168         (version.texi): Include.
55170 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55172         * sysdeps/posix/spawni.c: Include <signal.h>.
55173         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55174         * sysdeps/pthread/aio_fsync.c: Likewise.
55176 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55178         * conform/Makefile (tests): Run only when not cross-compiling and
55179         when fast-check is not defined.
55181         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55182         * conform/data/limits.h-data: Fixes for POSIX2008.
55183         * conform/run-conformtest.sh: Run all tests.
55184         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55185         headers.
55186         * include/bits/dlfcn.h: Likewise.
55187         * include/langinfo.h: Likewise.
55188         * include/monetary.h: Likewise.
55189         * include/sys/poll.h: Likewise.
55191         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55192         for __USE_GNU.
55193         * posix/spawn.h: Define __need_sigset_t.
55194         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55195         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55196         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55197         to get sigevent_t only.
55198         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55199         only for __USE_GNU.
55200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55201         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55202         process_vm_writev only for __USE_GNU.
55203         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55205         * conform/Makefile: For now ignore errors from run-conformtest.
55206         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55207         POSIX to avoid namespace pollution.  Don't prepend headers.
55208         * conform/data/aio.h-data: Fixes for POSIX testing.
55209         * conform/data/fcntl.h-data: Likewise.
55210         * conform/data/glob.h-data: Likewise.
55211         * conform/data/grp.h-data: Likewise.
55212         * conform/data/pthread.h-data: Likewise.
55213         * conform/data/pwd.h-data: Likewise.
55214         * conform/data/signal.h-data: Likewise.
55215         * conform/data/spawn.h-data: Likewise.
55216         * conform/data/stdio.h-data: Likewise.
55217         * conform/data/stdlib.h-data: Likewise.
55218         * conform/data/stropts.h-data: Likewise.
55219         * conform/data/sys/mman.h-data: Likewise.
55220         * conform/data/sys/stat.h-data: Likewise.
55221         * conform/data/sys/types.h-data: Likewise.
55222         * conform/data/sys/wait.h-data: Likewise.
55223         * conform/data/time.h-data: Likewise.
55224         * conform/data/unistd.h-data: Likewise.
55225         * conform/data/utime.h-data: Likewise.
55227         * io/sys/stat.h: fchmod was always in POSIX.
55228         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55229         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55230         * rt/aio.h: Define __need_timespec before including <time.h>.
55231         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55232         struct.  Add forward declaration of pthread_attr_t and use it in
55233         sigevent.
55234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55235         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55236         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55237         always remove CLK_TCK definition.
55239 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55241         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55243 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55245         * conform/run-conformtest.sh: New file.
55246         * conform/Makefile: Run run-conformtest for tests.
55247         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55248         support.
55250         * conform/data/uchar.h-data: New file.
55251         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55252         * conform/data/arpa/inet.h-data: Likewise.
55253         * conform/data/assert.h-data: Likewise.
55254         * conform/data/complex.h-data: Likewise.
55255         * conform/data/cpio.h-data: Likewise.
55256         * conform/data/ctype.h-data: Likewise.
55257         * conform/data/dirent.h-data: Likewise.
55258         * conform/data/dlfcn.h-data: Likewise.
55259         * conform/data/errno.h-data: Likewise.
55260         * conform/data/fcntl.h-data: Likewise.
55261         * conform/data/float.h-data: Likewise.
55262         * conform/data/fmtmsg.h-data: Likewise.
55263         * conform/data/fnmatch.h-data: Likewise.
55264         * conform/data/ftw.h-data: Likewise.
55265         * conform/data/glob.h-data: Likewise.
55266         * conform/data/grp.h-data: Likewise.
55267         * conform/data/iconv.h-data: Likewise.
55268         * conform/data/inttypes.h-data: Likewise.
55269         * conform/data/langinfo.h-data: Likewise.
55270         * conform/data/libgen.h-data: Likewise.
55271         * conform/data/limits.h-data: Likewise.
55272         * conform/data/locale.h-data: Likewise.
55273         * conform/data/math.h-data: Likewise.
55274         * conform/data/monetary.h-data: Likewise.
55275         * conform/data/mqueue.h-data: Likewise.
55276         * conform/data/ndbm.h-data: Likewise.
55277         * conform/data/net/if.h-data: Likewise.
55278         * conform/data/netdb.h-data: Likewise.
55279         * conform/data/netinet/in.h-data: Likewise.
55280         * conform/data/nl_types.h-data: Likewise.
55281         * conform/data/poll.h-data: Likewise.
55282         * conform/data/pthread.h-data: Likewise.
55283         * conform/data/pwd.h-data: Likewise.
55284         * conform/data/regex.h-data: Likewise.
55285         * conform/data/sched.h-data: Likewise.
55286         * conform/data/search.h-data: Likewise.
55287         * conform/data/semaphore.h-data: Likewise.
55288         * conform/data/setjmp.h-data: Likewise.
55289         * conform/data/signal.h-data: Likewise.
55290         * conform/data/spawn.h-data: Likewise.
55291         * conform/data/stdarg.h-data: Likewise.
55292         * conform/data/stdio.h-data: Likewise.
55293         * conform/data/stdlib.h-data: Likewise.
55294         * conform/data/string.h-data: Likewise.
55295         * conform/data/strings.h-data: Likewise.
55296         * conform/data/stropts.h-data: Likewise.
55297         * conform/data/sys/ipc.h-data: Likewise.
55298         * conform/data/sys/mman.h-data: Likewise.
55299         * conform/data/sys/msg.h-data: Likewise.
55300         * conform/data/sys/resource.h-data: Likewise.
55301         * conform/data/sys/select.h-data: Likewise.
55302         * conform/data/sys/sem.h-data: Likewise.
55303         * conform/data/sys/shm.h-data: Likewise.
55304         * conform/data/sys/socket.h-data: Likewise.
55305         * conform/data/sys/stat.h-data: Likewise.
55306         * conform/data/sys/statvfs.h-data: Likewise.
55307         * conform/data/sys/time.h-data: Likewise.
55308         * conform/data/sys/timeb.h-data: Likewise.
55309         * conform/data/sys/times.h-data: Likewise.
55310         * conform/data/sys/types.h-data: Likewise.
55311         * conform/data/sys/uio.h-data: Likewise.
55312         * conform/data/sys/un.h-data: Likewise.
55313         * conform/data/sys/utsname.h-data: Likewise.
55314         * conform/data/sys/wait.h-data: Likewise.
55315         * conform/data/syslog.h-data: Likewise.
55316         * conform/data/tar.h-data: Likewise.
55317         * conform/data/termios.h-data: Likewise.
55318         * conform/data/utime.h-data: Likewise.
55319         * conform/data/utmpx.h-data: Likewise.
55320         * conform/data/varargs.h-data: Likewise.
55321         * conform/data/wchar.h-data: Likewise.
55322         * conform/data/wctype.h-data: Likewise.
55323         * conform/data/wordexp.h-data: Likewise.
55325         * include/stropts.h: New file.
55326         * include/uchar.h: New file.
55327         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55328         * include/assert.h: Likewise.
55329         * include/ctype.h: Likewise.
55330         * include/dirent.h: Likewise.
55331         * include/dlfcn.h: Likewise.
55332         * include/fcntl.h: Likewise.
55333         * include/fnmatch.h: Likewise.
55334         * include/glob.h: Likewise.
55335         * include/grp.h: Likewise.
55336         * include/libio.h: Likewise.
55337         * include/locale.h: Likewise.
55338         * include/math.h: Likewise.
55339         * include/net/if.h: Likewise.
55340         * include/netdb.h: Likewise.
55341         * include/netinet/in.h: Likewise.
55342         * include/pthread.h: Likewise.
55343         * include/pwd.h: Likewise.
55344         * include/regex.h: Likewise.
55345         * include/sched.h: Likewise.
55346         * include/search.h: Likewise.
55347         * include/setjmp.h: Likewise.
55348         * include/signal.h: Likewise.
55349         * include/stdio.h: Likewise.
55350         * include/stdlib.h: Likewise.
55351         * include/string.h: Likewise.
55352         * include/sys/cdefs.h: Likewise.
55353         * include/sys/mman.h: Likewise.
55354         * include/sys/msg.h: Likewise.
55355         * include/sys/resource.h: Likewise.
55356         * include/sys/select.h: Likewise.
55357         * include/sys/socket.h: Likewise.
55358         * include/sys/stat.h: Likewise.
55359         * include/sys/statvfs.h: Likewise.
55360         * include/sys/time.h: Likewise.
55361         * include/sys/times.h: Likewise.
55362         * include/sys/uio.h: Likewise.
55363         * include/sys/utsname.h: Likewise.
55364         * include/sys/wait.h: Likewise.
55365         * include/termios.h: Likewise.
55366         * include/time.h: Likewise.
55367         * include/ulimit.h: Likewise.
55368         * include/unistd.h: Likewise.
55369         * include/utime.h: Likewise.
55370         * include/wchar.h: Likewise.
55371         * include/wctype.h: Likewise.
55372         * include/wordexp.h: Likewise.
55374         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55376         * time/time.h: TIME_UTC must be a macro.
55377         Make timespec_get available for ISO C11 only as well.
55379 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55381         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55382         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55384 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55386         * configure.in: Use -o not -a in test for unsupported multi-arch.
55388 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55390         * manual/texinfo.tex: Update to version 2012-01-19.16.
55392 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55394         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55396 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55398         [BZ #13738]
55399         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55400         * manual/fdl-1.3.texi: New file.
55401         * manual/fdl-1.1.texi: File removed.
55403         [BZ #13738]
55404         * manual/libc.texinfo (FDL_VERSION): New @set.
55405         Use it for mention of FDL in cover text.
55406         (Documentation License): Use it in @include file name.
55408 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55409             Roland McGrath  <roland@hack.frob.com>
55411         [BZ #5461]
55412         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55413         (not LONG_LONG_MAX and LONG_LONG_MIN.
55414         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55415         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55416         name.
55417         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55421         [BZ #2547]
55422         [BZ #11365]
55423         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55424         manipulate bits before adding and subtracting TWO23[sx].
55425         * math/libm-test.inc (nearbyint_test): Add more tests.
55427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55429         [BZ #2548]
55430         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55431         bits before adding and subtracting TWO23[sx].
55432         * math/libm-test.inc (rint_test): Add more tests.
55433         (rint_test_tonearest): Likewise.
55434         (rint_test_towardzero): Likewise.
55435         (rint_test_downward): Likewise.
55436         (rint_test_upward: Likewise.
55438 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55440         [BZ #10110]
55441         * include/stdc-predef.h: New file.  Extracted from features.h.
55442         * include/features.h: Include stdc-predef.h.
55443         * Makefile (headers): Add stdc-predef.h.
55444         * CONFORMANCE (Compiler limitations): Update.
55446 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55448         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55450 2012-02-21  David S. Miller  <davem@davemloft.net>
55452         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55453         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55455 2012-02-20  David S. Miller  <davem@davemloft.net>
55457         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55458         using a normal save/restore sequence, rather than allocating a
55459         dummy stack frame just to store a frame pointer and restore.
55460         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55464         * manual/install.texi: Fix stray word in line-wrapped comment.
55466 2012-02-20  David S. Miller  <davem@davemloft.net>
55468         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55469         both binutils and gcc support GOTDATA.
55471         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55472         "rd %pc" in the PIC register setup sequences.
55474         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55475         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55476         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55477         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55478         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55481         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55483         (SYSCALL_ERROR_HANDLER): Likewise.
55484         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55485         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55487         (SYSCALL_ERROR_HANDLER): Likewise.
55489         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55490         (HAVE_GCC_GOTDATA): New.
55491         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55492         relocation support in both binutils and gcc.
55493         * sysdeps/sparc/elf/configure: Regenerate.
55495         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55496         * sysdeps/sparc/sparc32/elf/configure: Delete.
55497         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55498         * sysdeps/sparc/sparc64/elf/configure: Delete.
55499         * sysdeps/sparc/elf/configure.in: New file.
55500         * sysdeps/sparc/elf/configure: Generate.
55502         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55503         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55504         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55505         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55506         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55508 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55510         * manual/install.texi: Do not mention specific glibc version
55511         numbers.
55512         * manual/libc.texinfo (VERSION, UPDATED): Update.
55513         (@copying): Use @copyright{} and range of years.
55515 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55517         [BZ #13695]
55518         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55519         [crti.S not in sysdirs] (generated): Do not append.
55520         [crti.S not in sysdirs] (omit-deps): Likewise.
55521         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55522         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55523         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55524         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55525         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55526         Likewise.
55527         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55528         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55529         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55530         * csu/defs.awk: Remove file.
55531         * sysdeps/generic/initfini.c: Likewise.
55532         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55533         variable.
55534         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55535         Likewise.
55537 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55539         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55540         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55541         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55542         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55543         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55544         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55545         <bits/epoll.h>.
55546         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55547         (__EPOLL_PACKED): Define to empty if not defined by
55548         <bits/epoll.h>.
55549         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55551         bits/epoll.h.
55553 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55555         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55556         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55557         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55558         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55559         <bits/timerfd.h>.
55560         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55562         bits/timerfd.h.
55564 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55566         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55567         in C locale.
55568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55570         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55573 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55575         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55576         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55578 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55580         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55581         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55582         defined.
55583         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55584         Likewise.
55585         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55586         entry for 2.16.
55588 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55590         * math/w_acos.c: Use non-signaling floating-point comparisons.
55591         * math/w_acosf.c: Likewise.
55592         * math/w_acosh.c: Likewise.
55593         * math/w_acoshf.c: Likewise.
55594         * math/w_acoshl.c: Likewise.
55595         * math/w_acosl.c: Likewise.
55596         * math/w_asin.c: Likewise.
55597         * math/w_asinf.c: Likewise.
55598         * math/w_asinl.c: Likewise.
55599         * math/w_atanh.c: Likewise.
55600         * math/w_atanhf.c: Likewise.
55601         * math/w_atanhl.c: Likewise.
55602         * math/w_exp2.c: Likewise.
55603         * math/w_exp2f.c: Likewise.
55604         * math/w_exp2l.c: Likewise.
55605         * math/w_j0.c: Likewise.
55606         * math/w_j0f.c: Likewise.
55607         * math/w_j0l.c: Likewise.
55608         * math/w_j1.c: Likewise.
55609         * math/w_j1f.c: Likewise.
55610         * math/w_j1l.c: Likewise.
55611         * math/w_jn.c: Likewise.
55612         * math/w_jnf.c: Likewise.
55613         * math/w_log.c: Likewise.
55614         * math/w_log10.c: Likewise.
55615         * math/w_log10f.c: Likewise.
55616         * math/w_log10l.c: Likewise.
55617         * math/w_log2.c: Likewise.
55618         * math/w_log2f.c: Likewise.
55619         * math/w_log2l.c: Likewise.
55620         * math/w_logf.c: Likewise.
55621         * math/w_logl.c: Likewise.
55622         * math/w_sqrt.c: Likewise.
55623         * math/w_sqrtf.c: Likewise.
55624         * math/w_sqrtl.c: Likewise.
55625         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55626         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55628         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55629         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55631 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55633         [BZ #9739]
55634         * manual/string.texi (strnlen): Use correct parameter name in
55635         equivalent expression.
55637 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55639         [BZ #11174]
55640         * manual/users.texi (seteuid): Consistently use neweuid for
55641         argument name.
55643 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55645         [BZ #13704]
55646         * manual/nss.texi (Services in the NSS configuration): Correct
55647         list of services in example configuration file.
55649 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55651         [BZ #11322]
55652         * manual/arith.texi: Remove statements about negative zero
55653         behaving identically to zero.
55655 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55657         [BZ #5993]
55658         * manual/install.texi: Do not document upgrading from libc5.
55660 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55662         [BZ #4596]
55663         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55665 2012-02-18  David S. Miller  <davem@davemloft.net>
55667         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55668         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55669         %o7 across the call.
55670         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55671         instead.
55672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55673         SETUP_PIC_REG_LEAF.
55674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55675         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55676         * sysdeps/sparc/crtn.S: Likewise.
55678 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55680         * aout/Makefile: Remove.
55682 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55684         [BZ #13058]
55685         * manual/examples/argp-ex1.c (main): Format definition in GNU
55686         style.
55687         * manual/examples/argp-ex2.c (main): Likewise.
55688         * manual/examples/argp-ex3.c (main): Likewise.
55689         * manual/examples/argp-ex4.c (main): Likewise.
55690         * manual/examples/longopt.c (main): Use new-style prototype
55691         definition.
55692         * manual/examples/strncat.c (main): Specify return type and use
55693         (void) for arguments.
55694         * manual/examples/subopt.c (main): Use char **argv argument.
55696 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55698         [BZ #5077]
55699         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55700         rounding modes.
55702 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55704         [BZ #6907]
55705         * manual/string.texi (strchr): Change when strchrnul is
55706         recommended.
55708 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55710         [BZ #174]
55711         * manual/locale.texi (setlocale): Document LOCPATH.
55713 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55715         [BZ #10210]
55716         * manual/process.texi (execle): Move @dots{} before last argument.
55718 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55720         [BZ #12047]
55721         * manual/charset.texi (Generic Charset Conversion): Fix typo
55722         (LC_TYPE -> LC_CTYPE).
55724 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55726         [BZ #5805]
55727         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55728         (scalbnf): Likewise.
55729         (scalbnl): Likewise.
55730         (scalbln): Likewise.
55731         (scalblnf): Likewise.
55732         (scalblnl): Likewise.
55733         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55734         (vwarnx): Likewise.
55735         (verr): Likewise.
55736         (verrx): Likewise.
55737         * manual/filesys.texi (telldir): Use braces around return type.
55738         * manual/llio.texi (mmap): Add space after comma.
55739         (mmap64): Likewise.
55740         * manual/math.texi (jn): Use @var{} on parameter names.
55741         (jnf): Likewise.
55742         (jnl): Likewise.
55743         (yn): Likewise.
55744         (ynf): Likewise.
55745         (ynl): Likewise.
55746         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55747         line.
55748         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55749         "...".
55750         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55751         (sched_get_priority_max): Likewise.
55752         * manual/signal.texi (sigvec): Add space after comma.
55753         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55754         names.
55755         (if_indextoname): Likewise.
55756         (if_freenameindex): Likewise.
55757         (sendto): Use ',' instead of '.' in prototype.
55758         * manual/startup.texi (syscall): Use @dots{} instead of literal
55759         "...".
55760         * manual/stdio.texi (__fpending): Separate initial words of
55761         paragraph from @deftypefun line.
55762         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55763         "...".
55764         (vsyslog): Use @var{} on parameter names.
55765         * manual/terminal.texi (stty): Use @var{} on parameter names.
55766         * manual/users.texi (getutmp): Use @var{} on parameter names.
55767         (getutmpx): Likewise.
55769 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55771         [BZ #6884]
55772         * manual/stdio.texi (fopen): Fix typos in description of
55773         ",ccs=STRING".
55775 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55777         [BZ #4026]
55778         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55779         get clock_id definition.
55781 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55783         [BZ #4822]
55784         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55785         (madvise): Cast every argument to void on its own.
55787 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55789         [BZ #9902]
55790         * manual/startup.texi (Exit Status): Fix typo.
55792 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55794         [BZ #10140]
55795         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55796         * manual/examples/argp-ex2.c: Likewise.
55797         * manual/examples/argp-ex3.c: Likewise.
55799 2012-02-16  Richard Henderson  <rth@redhat.com>
55801         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55802         * sysdeps/s390/s390-32/initfini.c: Remove.
55803         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55804         * sysdeps/s390/s390-64/initfini.c: Remove.
55806 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55808         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55809         compiler output for sysdeps/generic/initfini.c.
55810         * sysdeps/sh/elf/initfini.c: Remove file.
55812 2012-02-16  David S. Miller  <davem@davemloft.net>
55814         [BZ #11494]
55815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55817         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55818         * sysdeps/sparc/crti.S: New file.
55819         * sysdeps/sparc/crtn.S: New file.
55820         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55821         * sysdeps/sparc/sparc64/Makefile: Likewise.
55823 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55825         [BZ #3335]
55826         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55828 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55830         [BZ #4822]
55831         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55833         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55834         (write, read, close): Likewise.
55835         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55837 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55839         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55840         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55841         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55842         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55843         <bits/signalfd.h>.
55844         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55846         bits/signalfd.h.
55848 2012-02-14  Marek Polacek  <polacek@redhat.com>
55850         * sysdeps/x86_64/crti.S: New file.
55851         * sysdeps/x86_64/crtn.S: New file.
55852         * sysdeps/x86_64/elf/initfini.c: Remove file.
55854 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55856         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55857         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55858         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55859         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55860         <bits/inotify.h>.
55861         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55863         bits/inotify.h.
55865 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55867         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55868         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55869         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55870         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55871         <bits/eventfd.h>.
55872         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55874         bits/eventfd.h.
55876 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55878         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55879         __feraiseexcept instead of feraiseexcept.
55881         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55882         nanosleep invocations.
55883         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55884         strings, and add error checking for a nanosleep invocations.
55886 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55888         Replace FSF snail mail address with URLs, as per GNU coding standards.
55889         Most of the snail mail addresses were wrong anyway, and omitting
55890         them makes the source code easier to maintain.  Almost all of the
55891         changes are to license notices and to locale LC_IDENTIFICATION
55892         addresses, except for this one:
55893         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55894         not its snail mail address.
55896 2012-02-09  Richard Henderson  <rth@twiddle.net>
55898         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55899         of kernel-features.h.
55901         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55903 2012-02-08  Marek Polacek  <polacek@redhat.com>
55905         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55906         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55907         * sysdeps/gnu/_G_config.h: Likewise.
55908         * sysdeps/generic/_G_config.h: Likewise.
55910 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55912         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55913         tests.
55914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55916         * sysdeps/powerpc/powerpc32/crti.S: New file.
55917         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55918         * sysdeps/powerpc/powerpc64/crti.S: New file.
55919         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55921         * Makeconfig (have-initfini): Don't set.
55922         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55923         * configure.in (nopic_initfini): Don't substitute.
55924         * config.h.in (HAVE_INITFINI): Don't #undef.
55925         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55926         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55928 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55930         Support crti.S and crtn.S provided directly by architectures.
55931         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55932         [crti.S in sysdirs] (omit-deps): Likewise.
55933         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55934         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55935         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55936         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55937         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55938         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55939         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55940         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55941         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55942         compiler output for sysdeps/generic/initfini.c.
55943         * sysdeps/i386/elf/Makefile: Remove file.
55944         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55946 2012-02-07  Marek Polacek  <polacek@redhat.com>
55948         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55949         * sysdeps/gnu/_G_config.h: Likewise.
55950         * sysdeps/mach/hurd/_G_config.h: Likewise.
55952 2012-02-07  Marek Polacek  <polacek@redhat.com>
55954         * math/Makefile (tests): Add tst-CMPLX2.
55955         * math/tst-CMPLX2.c: New file.
55957 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55959         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55961         * math/libm-test.inc (jn_test): Add missing L suffix.
55963 2012-02-06  Marek Polacek  <polacek@redhat.com>
55965         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55966         * sysdeps/i386/fpu/e_powf.S: Likewise.
55967         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55968         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55969         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55970         * sysdeps/i386/fpu/e_pow.S: Likewise.
55971         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55972         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55973         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55974         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55975         * sysdeps/i386/fpu/e_log2.S: Likewise.
55976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55977         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55978         * sysdeps/i386/fpu/e_powl.S: Likewise.
55979         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55980         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55981         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55982         * sysdeps/i386/fpu/e_logl.S: Likewise.
55983         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55984         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55985         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55986         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55987         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55988         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55989         * sysdeps/i386/fpu/e_log.S: Likewise.
55990         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55991         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55992         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55993         * sysdeps/i386/fpu/e_logf.S: Likewise.
55994         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55995         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55996         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55997         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55998         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55999         * sysdeps/i386/fpu/e_log10.S: Likewise.
56000         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56001         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56002         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56003         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56004         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56005         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56006         * sysdeps/i386/asm-syntax.h: Likewise.
56007         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56008         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56009         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56010         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56011         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56012         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56013         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56014         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56015         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56016         * sysdeps/powerpc/sysdep.h: Likewise.
56017         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56020 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56022         [BZ #411]
56023         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56025 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56027         * sysdeps/i386/sysdep.h: Include <features.h>.
56028         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56029         version.
56031 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56033         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56034         Define.
56035         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56036         LOAD_PIC_REG_STR.
56038 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56040         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56041         (SETUP_PIC_REG): Use GET_PC_THUNK.
56042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56043         macro.
56045 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56047         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56048         for non-PIC compilation.
56049         (SETUP_PIC_REG): Add .p2align directive.
56050         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56051         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56052         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56053         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56054         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56065         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56066         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56067         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56068         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56069         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56071         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56072         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56073         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56077         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56078         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56079         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56080         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56081         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56082         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56083         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56084         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56085         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56086         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56087         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56088         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56089         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56090         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56092 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56094         * math/tst-CMPLX.c: Include <stdio.h>.
56096 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56098         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56099         float.
56100         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56101         * sysdeps/sparc/bits/mathdef.h: Likewise.
56103 2012-01-31  Marek Polacek  <polacek@redhat.com>
56105         * libio/libio.h: Don't define _PARAMS.
56106         * locale/programs/config.h: Don't define PARAMS.
56107         * stdlib/strtol_l.c: Likewise.
56108         (__strtol_l): Remove PARAMS from the prototype.
56110 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56112         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56113         names.  Just use the correct names.  Remove unnecessary wrapper
56114         functions.
56115         * malloc/arena.c: Likewise.
56116         * malloc/hooks.c: Likewise.
56118         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56119         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56120         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56122 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56124         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56125         into tail calls.
56126         (update_get_addr): New function.
56127         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56128         GET_ADDR_MODULE parameter.
56130 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56132         * crypt/cert.c: Remove __STDC__ conditionals.
56133         * crypt/crypt-entry.c: Likewise.
56134         * crypt/crypt_util.c: Likewise.
56135         * libio/filedoalloc.c: Likewise.
56136         * libio/fileops.c: Likewise.
56137         * libio/genops.c: Likewise.
56138         * libio/iofclose.c: Likewise.
56139         * libio/iofdopen.c: Likewise.
56140         * libio/iofopen.c: Likewise.
56141         * libio/iofopen64.c: Likewise.
56142         * libio/iogetdelim.c: Likewise.
56143         * libio/iopopen.c: Likewise.
56144         * libio/obprintf.c: Likewise.
56145         * libio/oldfileops.c: Likewise.
56146         * libio/oldiofclose.c: Likewise.
56147         * libio/oldiofdopen.c: Likewise.
56148         * libio/oldiofopen.c: Likewise.
56149         * libio/oldiopopen.c: Likewise.
56150         * libio/wfiledoalloc.c: Likewise.
56151         * libio/wgenops.c: Likewise.
56152         * locale/programs/xmalloc.c: Likewise.
56153         * misc/syslog.c: Likewise.
56154         * stdio-common/xbug.c: Likewise.
56155         * string/memchr.c: Likewise.
56156         * string/memcmp.c: Likewise.
56157         * string/memrchr.c: Likewise.
56158         * string/rawmemchr.c: Likewise.
56159         * sysdeps/posix/getcwd.c: Likewise.
56160         * time/strftime_l.c: Likewise.
56162 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56164         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56165         * config.make.in (config-cflags-sse2avx): Define.
56166         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56167         Fix typo.
56169 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56171         * scripts/config.guess: Update from upstream config git repository.
56172         * scripts/config.sub: Likewise.
56174 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56176         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56177         (EM_NUM): Update.
56178         (R_TILEPRO_*, R_TILEGX_*): New macros.
56180         * scripts/firstversions.awk: Fix bug in version range handling.
56182         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56184         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56186         * include/sys/epoll.h: New file.
56187         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56188         libc_hidden_def.
56190 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56192         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56193         Avoid unnecessary __WORDSIZE == 64 test.
56194         (fmaxf): Use VEX format if possible.
56195         (fmax): Likewise.
56196         (fminf): Likewise.
56197         (fmin): Likewise.
56199         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56200         * math/math_private.h: Remove libc_fegetround* and
56201         libc_fesetround*.
56202         * sysdeps/i386/configure.in: Check for -msse2avx.
56203         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56204         also if SSE2AVX is defined.
56205         Remove libc_fegetround* and libc_fesetround*.
56206         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56207         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56208         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56209         of HAS_YMM_USABLE.
56210         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56211         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56212         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56213         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56214         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56216         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56218 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56220         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56221         size is not set.
56222         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56224 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56226         [BZ #13618]
56227         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56228         relocation.
56229         * Makeconfig (libm): Define.
56230         * elf/Makefile: Add rules to build and run tst-relsort1.
56231         * elf/tst-relsort1.c: New file.
56232         * elf/tst-relsort1mod1.c: New file.
56233         * elf/tst-relsort1mod2.c: New file.
56235 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56237         * math/s_ldexp.c: Remove __STDC__ conditionals.
56238         * math/s_ldexpf.c: Likewise.
56239         * math/s_ldexpl.c: Likewise.
56240         * math/s_nextafter.c: Likewise.
56241         * math/s_nexttowardf.c: Likewise.
56242         * math/s_significand.c: Likewise.
56243         * math/s_significandf.c: Likewise.
56244         * math/s_significandl.c: Likewise.
56245         * math/w_jnl.c: Likewise.
56246         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56247         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56248         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56249         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56250         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56252         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56253         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56254         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56255         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56256         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56257         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56258         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56259         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56260         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56261         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56262         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56263         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56265         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56266         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56267         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56268         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56269         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56270         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56271         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56272         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56273         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56274         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56275         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56276         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56277         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56278         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56279         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56280         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56281         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56282         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56283         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56284         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56285         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56286         * sysdeps/ieee754/k_standard.c: Likewise.
56287         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56288         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56289         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56290         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56291         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56292         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56293         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56294         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56295         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56296         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56297         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56298         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56299         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56300         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56301         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56302         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56303         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56304         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56305         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56306         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56308         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56309         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56310         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56311         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56312         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56313         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56314         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56316         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56317         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56318         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56319         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56320         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56322         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56323         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56326         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56327         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56329         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56330         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56333         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56334         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56336         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56337         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56340         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56341         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56342         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56343         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56345         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56346         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56347         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56348         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56349         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56350         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56351         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56352         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56353         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56354         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56355         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56357         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56358         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56359         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56361         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56362         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56363         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56366         * sysdeps/ieee754/s_matherr.c: Likewise.
56367         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56368         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56372 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56374         * crypt/md5.h: Remove __STDC__ conditionals.
56375         * libio/libioP.h: Likewise.
56376         * locale/programs/config.h: Likewise.
56377         * sysdeps/generic/sysdep.h: Likewise.
56378         * sysdeps/i386/asm-syntax.h: Likewise.
56379         * sysdeps/s390/asm-syntax.h: Likewise.
56380         * sysdeps/unix/sysdep.h: Likewise.
56381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56384 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56386         * libio/libio.h: Remove __STDC__ conditionals.
56387         * malloc/obstack.h: Likewise.
56388         * math/complex.h: Likewise.
56389         * math/math.h: Likewise.
56390         * sysdeps/generic/_G_config.h: Likewise.
56391         * sysdeps/gnu/_G_config.h: Likewise.
56392         * sysdeps/mach/hurd/_G_config.h: Likewise.
56393         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56394         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56395         * sysdeps/sparc/bits/mathdef.h: Likewise.
56397 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56399         [BZ #13583]
56400         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56401         Clean up HAS_* macros.
56402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56403         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56404         possible.
56405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56406         HAS_AVX.
56407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56408         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56410         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56411         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56413 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56415         * elf/tst-unique3.cc (gets): Remove declaration.
56416         * elf/tst-unique3lib.cc (gets): Likewise.
56417         * elf/tst-unique3lib2.cc (gets): Likewise.
56418         * elf/tst-unique4.cc (gets): Likewise.
56420 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56422         * include/stdio.h: Add C++ protection.  Add gets declarations and
56423         definitions.
56424         * debug/tst-chk1.c: Don't declare gets here.
56425         * stdio-common/tst-gets.c: Likewise.
56427 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56429         * posix/glob: Remove directory.
56431 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56433         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56435 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56437         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56438         of the non-standard EPFNOSUPPORT.
56440 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56442         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56443         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56444         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56446 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56448         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56450 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56452         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56453         transient errors.
56454         * nscd/grpcache.c (cache_addgr): Likewise.
56455         * nscd/hstcache.c (cache_addhst): Likewise.
56456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56457         * nscd/pwdcache.c (cache_addpw): Likewise.
56458         * nscd/servicescache.c (cache_addserv): Likewise.
56460 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56462         * malloc/malloc.c: Various cleanups.
56463         * malloc/hooks.c: Likewise.
56465         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56466         * stdlib/bug-fmtmsg1.c: New file.
56468         * stdlib/fmtmsg.c (init): Add missing unlock.
56469         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56471 2012-01-12  Marek Polacek  <polacek@redhat.com>
56473         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56474         and _GNU_SOURCE.
56476 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56478         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56479         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56480         macro to ensure uniqueness of label name.
56481         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56482         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56484 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56486         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56489         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56490         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56493 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56495         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56497         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56498         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56499         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56501         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56503         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56504         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56505         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56506         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56508         * math/bits/math-finite.h: Add ldexp support.
56510 2012-01-10  Marek Polacek  <polacek@redhat.com>
56512         * locale/programs/localedef.h (show_archive_content): Add noreturn
56513         attribute.
56515 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56517         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56519 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56521         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56523         * io/Makefile (headers): Add bits/poll2.h.
56525 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56528         typo #include statement.
56530 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56532         * include/sys/cdefs.h: Define __attribute_alloc_size.
56533         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56534         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56535         * elf/pldd.c: Likewise.
56536         * iconv/iconv_charmap.c: Likewise.
56537         * iconv/iconvconfig.c: Likewise.
56538         * iconv/strtab.c: Likewise.
56539         * locale/programs/locale.c: Likewise.
56540         * locale/programs/localedef.h: Likewise.
56541         * locale/programs/simple-hash.c: Likewise.
56542         * nscd/nscd.h: Likewise.
56543         * nss/makedb.c: Likewise.
56544         * sysdeps/generic/ldconfig.h: Likewise.
56545         * locale/programs/localedef.c: Remove xmalloc prototype.
56546         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56548 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56550         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56551         appropriate.
56553 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56555         * math/Makefile (tests): Add tst-CMPLX.
56556         * math/tst-CMPLX.c: New file.
56558         * math/complex.h (CMPLXL): Fix typo.
56560         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56561         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56562         GLIBC_2.16.
56563         * debug/tst-chk1.c: Add poll and ppoll tests.
56564         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56565         * include/sys/poll.h: Add hidden proto for ppoll.
56566         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56567         * sysdeps/mach/hurd/ppoll.c: Likewise.
56568         * io/ppoll.c: Likewise.
56569         * debug/poll_chk.c: New file.
56570         * debug/ppoll_chk.c: New file.
56571         * include/bits/poll2.h: New file.
56572         * io/bits/poll2.h: New file.
56574         [BZ #1350]
56575         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56577         * configure.in: static is always set to yes.  Remove.
56578         * config.make.in: Don't set build-static.
56579         * Makeconfig: Remove use of build-static.
56580         * dlfcn/Makefile: Likewise.
56581         * elf/Makefile: Likewise.
56582         * math/Makefile: Likewise.
56583         * misc/Makefile: Likewise.
56584         * nptl/Makefile: Likewise.
56585         * sysdeps/mach/hurd/Makefile: Likewise.
56587         * configure.in: PWD_P is not used anymore.
56588         * config.make.in: Remove PWD_P entry.
56590         * configure.in: Remove last remnants of RANLIB.
56591         No need to check for signed size_t anymore.
56592         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56593         and IA-64.
56594         Remove __builtin_expect test because we require at least gcc 3.4.
56595         * aclocal.m4: Likewise.
56597         * wcsmbs/mbrtoc16.c: Implement using towc function.
56598         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56599         * wcsmbs/wcsmbsload.c: Likewise.
56600         * iconv/gconv_simple.c: Likewise.
56601         * iconv/gconv_int.h: Likewise.
56602         * iconv/gconv_builtin.h: Likewise.
56603         * iconv/iconv_prog.c: Remove CHAR16 handling.
56605         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56607         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56609         * configure.in: Remove --with-elf and --enable-bounded options.
56610         Dont set base_machine for ia64.  More non-ELF conditions removed.
56611         Remove testing and setting of leading underscore information.
56612         * config.make.in (build-bounded): Set to no.
56613         * config.h.in: Remove NO_UNDERSCORES entry.
56614         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56615         them.
56616         * csu/start.c: Remove !NO_UNDERSCORE code.
56617         * locale/localeinfo.h: Likewise.
56618         * sysdeps/generic/machine-gmon.h: Likewise.
56619         * sysdeps/generic/sysdep.h: Likewise.
56620         * sysdeps/i386/sysdep.h: Likewise.
56621         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56622         * sysdeps/mach/sysdep.h: Likewise.
56623         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56625         * sysdeps/sh/sysdep.h: Likewise.
56626         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56627         * sysdeps/unix/i386/sysdep.S: Likewise.
56628         * sysdeps/unix/sparc/start.c: Likewise.
56629         * sysdeps/unix/sparc/sysdep.S: Likewise.
56630         * sysdeps/unix/sparc/sysdep.h: Likewise.
56631         * sysdeps/unix/start.c: Likewise.
56632         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56633         * sysdeps/x86_64/sysdep.h: Likewise.
56635 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56637         [BZ #13553]
56638         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56639         for non-gcc.
56640         * argp/argp-fmtstream.h: Use const instead __const.
56641         * argp/argp.h: Likewise.
56642         * assert/assert.h: Likewise.
56643         * bits/fenv.h: Likewise.
56644         * bits/sched.h: Likewise.
56645         * bits/sigset.h: Likewise.
56646         * bits/sigthread.h: Likewise.
56647         * catgets/nl_types.h: Likewise.
56648         * conform/data/pthread.h-data: Likewise.
56649         * crypt/crypt-private.h: Likewise.
56650         * crypt/crypt.h: Likewise.
56651         * crypt/crypt_util.c: Likewise.
56652         * ctype/ctype.h: Likewise.
56653         * debug/execinfo.h: Likewise.
56654         * debug/mbsnrtowcs_chk.c: Likewise.
56655         * debug/mbsrtowcs_chk.c: Likewise.
56656         * debug/wcsnrtombs_chk.c: Likewise.
56657         * debug/wcsrtombs_chk.c: Likewise.
56658         * debug/wcstombs_chk.c: Likewise.
56659         * dirent/dirent.h: Likewise.
56660         * dlfcn/dlfcn.h: Likewise.
56661         * elf/neededtest4.c: Likewise.
56662         * grp/grp.h: Likewise.
56663         * gshadow/gshadow.h: Likewise.
56664         * iconv/gconv.h: Likewise.
56665         * iconv/gconv_int.h: Likewise.
56666         * iconv/gconv_simple.c: Likewise.
56667         * iconv/iconv.h: Likewise.
56668         * iconv/loop.c: Likewise.
56669         * iconv/skeleton.c: Likewise.
56670         * include/aio.h: Likewise.
56671         * include/aliases.h: Likewise.
56672         * include/argz.h: Likewise.
56673         * include/arpa/inet.h: Likewise.
56674         * include/assert.h: Likewise.
56675         * include/dirent.h: Likewise.
56676         * include/dlfcn.h: Likewise.
56677         * include/execinfo.h: Likewise.
56678         * include/fcntl.h: Likewise.
56679         * include/fenv.h: Likewise.
56680         * include/glob.h: Likewise.
56681         * include/grp.h: Likewise.
56682         * include/libintl.h: Likewise.
56683         * include/mntent.h: Likewise.
56684         * include/netdb.h: Likewise.
56685         * include/pwd.h: Likewise.
56686         * include/rpc/netdb.h: Likewise.
56687         * include/sched.h: Likewise.
56688         * include/search.h: Likewise.
56689         * include/shadow.h: Likewise.
56690         * include/signal.h: Likewise.
56691         * include/stdio.h: Likewise.
56692         * include/stdlib.h: Likewise.
56693         * include/string.h: Likewise.
56694         * include/sys/socket.h: Likewise.
56695         * include/sys/stat.h: Likewise.
56696         * include/sys/statfs.h: Likewise.
56697         * include/sys/statvfs.h: Likewise.
56698         * include/sys/syslog.h: Likewise.
56699         * include/sys/time.h: Likewise.
56700         * include/sys/uio.h: Likewise.
56701         * include/time.h: Likewise.
56702         * include/unistd.h: Likewise.
56703         * include/utmp.h: Likewise.
56704         * include/wchar.h: Likewise.
56705         * include/wctype.h: Likewise.
56706         * inet/aliases.h: Likewise.
56707         * inet/arpa/inet.h: Likewise.
56708         * inet/netinet/ether.h: Likewise.
56709         * inet/netinet/in.h: Likewise.
56710         * intl/libintl.h: Likewise.
56711         * io/bits/fcntl2.h: Likewise.
56712         * io/fcntl.h: Likewise.
56713         * io/ftw.h: Likewise.
56714         * io/sys/poll.h: Likewise.
56715         * io/sys/stat.h: Likewise.
56716         * io/sys/statfs.h: Likewise.
56717         * io/sys/statvfs.h: Likewise.
56718         * io/utime.h: Likewise.
56719         * libio/bits/stdio.h: Likewise.
56720         * libio/bits/stdio2.h: Likewise.
56721         * libio/libio.h: Likewise.
56722         * libio/libioP.h: Likewise.
56723         * libio/stdio.h: Likewise.
56724         * locale/lc-ctype.c: Likewise.
56725         * locale/locale.h: Likewise.
56726         * login/utmp.h: Likewise.
56727         * malloc/arena.c: Likewise.
56728         * malloc/malloc.c: Likewise.
56729         * malloc/malloc.h: Likewise.
56730         * malloc/mcheck.c: Likewise.
56731         * malloc/mtrace.c: Likewise.
56732         * math/bits/mathcalls.h: Likewise.
56733         * math/fenv.h: Likewise.
56734         * math/math_private.h: Likewise.
56735         * misc/bits/error.h: Likewise.
56736         * misc/bits/syslog.h: Likewise.
56737         * misc/err.h: Likewise.
56738         * misc/error.h: Likewise.
56739         * misc/fstab.h: Likewise.
56740         * misc/mntent.h: Likewise.
56741         * misc/regexp.h: Likewise.
56742         * misc/search.h: Likewise.
56743         * misc/sgtty.h: Likewise.
56744         * misc/sys/mman.h: Likewise.
56745         * misc/sys/syslog.h: Likewise.
56746         * misc/sys/uio.h: Likewise.
56747         * misc/sys/xattr.h: Likewise.
56748         * misc/ttyent.h: Likewise.
56749         * nis/rpcsvc/ypclnt.h: Likewise.
56750         * nss/nss.h: Likewise.
56751         * posix/bits/unistd.h: Likewise.
56752         * posix/fnmatch.h: Likewise.
56753         * posix/glob.h: Likewise.
56754         * posix/sched.h: Likewise.
56755         * posix/spawn.h: Likewise.
56756         * posix/sys/wait.h: Likewise.
56757         * posix/unistd.h: Likewise.
56758         * posix/wordexp.h: Likewise.
56759         * pwd/pwd.h: Likewise.
56760         * resolv/netdb.h: Likewise.
56761         * resource/sys/resource.h: Likewise.
56762         * rt/aio.h: Likewise.
56763         * rt/bits/mqueue2.h: Likewise.
56764         * rt/mqueue.h: Likewise.
56765         * shadow/shadow.h: Likewise.
56766         * signal/signal.h: Likewise.
56767         * socket/send.c: Likewise.
56768         * socket/sendto.c: Likewise.
56769         * socket/sys/socket.h: Likewise.
56770         * stdio-common/printf.h: Likewise.
56771         * stdlib/bits/stdlib.h: Likewise.
56772         * stdlib/fmtmsg.h: Likewise.
56773         * stdlib/monetary.h: Likewise.
56774         * stdlib/stdlib.h: Likewise.
56775         * stdlib/ucontext.h: Likewise.
56776         * streams/stropts.h: Likewise.
56777         * string/argz.h: Likewise.
56778         * string/bits/string2.h: Likewise.
56779         * string/string.h: Likewise.
56780         * string/strings.h: Likewise.
56781         * sunrpc/rpc/auth.h: Likewise.
56782         * sunrpc/rpc/auth_des.h: Likewise.
56783         * sunrpc/rpc/clnt.h: Likewise.
56784         * sunrpc/rpc/netdb.h: Likewise.
56785         * sunrpc/rpc/pmap_clnt.h: Likewise.
56786         * sunrpc/rpc/xdr.h: Likewise.
56787         * sysdeps/generic/inttypes.h: Likewise.
56788         * sysdeps/generic/net/if.h: Likewise.
56789         * sysdeps/generic/sys/swap.h: Likewise.
56790         * sysdeps/gnu/net/if.h: Likewise.
56791         * sysdeps/gnu/utmpx.h: Likewise.
56792         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56793         * sysdeps/i386/i486/bits/string.h: Likewise.
56794         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56795         * sysdeps/s390/bits/string.h: Likewise.
56796         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56797         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56798         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56799         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56800         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56801         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56802         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56803         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56804         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56805         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56806         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56807         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56808         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56810         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56811         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56812         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56813         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56814         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56816         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56817         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56818         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56819         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56820         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56821         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56822         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56824         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56825         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56826         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56827         * sysvipc/sys/ipc.h: Likewise.
56828         * sysvipc/sys/msg.h: Likewise.
56829         * sysvipc/sys/sem.h: Likewise.
56830         * sysvipc/sys/shm.h: Likewise.
56831         * termios/termios.h: Likewise.
56832         * time/sys/time.h: Likewise.
56833         * time/time.h: Likewise.
56834         * wcsmbs/bits/wchar2.h: Likewise.
56835         * wcsmbs/uchar.h: Likewise.
56836         * wcsmbs/wchar.h: Likewise.
56837         * wctype/wctype.h: Likewise.
56839         [BZ #13551]
56840         * Makeconfig: Remove all but ELF support including AIX support.
56841         * Makerules: Likewise.
56842         * config.h.in: Likewise.
56843         * config.make.in: Likewise.
56844         * configure: Likewise.
56845         * configure.in: Likewise.
56846         * csu/Makefile: Likewise.
56847         * csu/version.c: Likewise.
56848         * debug/Makefile: Likewise.
56849         * dlfcn/Makefile: Likewise.
56850         * elf/Makefile: Likewise.
56851         * extra-lib.mk: Likewise.
56852         * iconv/Makefile: Likewise.
56853         * include/libc-symbols.h: Likewise.
56854         * include/shlib-compat.h: Likewise.
56855         * resolv/Makefile: Likewise.
56856         * resolv/res_libc.c: Likewise.
56857         * rt/Makefile: Likewise.
56858         * sysdeps/i386/asm-syntax.h: Likewise.
56859         * sysdeps/i386/sysdep.h: Likewise.
56860         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56861         * sysdeps/mach/sysdep.h: Likewise.
56862         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56863         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56864         * sysdeps/s390/asm-syntax.h: Likewise.
56865         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56866         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56867         * sysdeps/sh/sysdep.h: Likewise.
56868         * sysdeps/unix/sparc/sysdep.h: Likewise.
56869         * sysdeps/wordsize-32/divdi3.c: Likewise.
56870         * sysdeps/x86_64/sysdep.h: Likewise.
56872         * argp/Versions: Remove _argp_unlock_xxx.
56874         [BZ #13559]
56875         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56876         * abilist/libBrokenLocale.abilist: Likewise.
56877         * abilist/libanl.abilist: Likewise.
56878         * abilist/libc.abilist: Likewise.
56879         * abilist/libcrypt.abilist: Likewise.
56880         * abilist/libdl.abilist: Likewise.
56881         * abilist/libm.abilist: Likewise.
56882         * abilist/libnsl.abilist: Likewise.
56883         * abilist/libpthread.abilist: Likewise.
56884         * abilist/libresolv.abilist: Likewise.
56885         * abilist/librt.abilist: Likewise.
56886         * abilist/libthread_db.abilist: Likewise.
56887         * abilist/libutil.abilist: Likewise.
56888         * abilist/libnss_db.abilist: New file.
56890         * scripts/abilist.awk: Add support for indirect functions.
56892         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56894         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56896         * shlib-versions: Remove entries for ports architectures.
56898         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56899         files in ports.
56900         * elf/stackguard-macros.h: Remove support for IA-64.
56901         * elf/tst-auditmod1.c: Likewise.
56902         * sysdeps/generic/ldsodefs.h: Likewise.
56904         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56905         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56906         configure files.
56908         [BZ #13552]
56909         * configure.in: Remove --enable-omitfp support.
56910         * FAQ.in: Adjust.
56911         * config.make.in: Likewise.
56912         * Makeconfig: Likewise.
56913         * manual/install.texi: Likewise.
56915         In case anyone cares, the IA-64 architecture could move to ports.
56916         * sysdeps/ia64/*: Removed.
56917         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56918         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56920         [BZ #13555]
56921         * configure.in: Remove entries for unsupported architectures.
56923         [BZ #13533]
56924         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56925         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56926         routines.
56927         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56928         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56929         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56930         fall back to using wcrtomb.
56931         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56932         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56933         renaming.
56934         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56935         * wcsmbs/tst-c16c32-1.c: New file.
56937         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56938         local variable.
56940         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56942         * elf/tst-unique3.cc: Add explicit declaration of gets.
56943         * elf/tst-unique3lib.cc: Likewise.
56944         * elf/tst-unique3lib2.cc: Likewise.
56945         * elf/tst-unique4.cc: Likewise.
56947         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56949 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56951         [BZ #13566]
56952         * assert/assert.h (static_assert): Don't define for C++.
56953         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56954         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56956 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56958         * iconv/loop.c (single loop): Fix assertion in storing of
56959         remaining bytes.
56961         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56963 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56965         * posix/getconf.c: Update copyright year.
56966         * nss/getent.c: Likewise.
56967         * nss/makedb.c: Likewise.
56968         * iconv/iconvconfig.c: Likewise.
56969         * iconv/iconv_prog.c: Likewise.
56970         * elf/ldconfig.c: Likewise.
56971         * elf/pldd.c: Likewise.
56972         * elf/sotruss.ksh: Likewise.
56973         * catgets/gencat.c: Likewise.
56974         * csu/version.c: Likewise.
56975         * elf/ldd.bash.in: Likewise.
56976         * elf/sprof.c (print_version): Likewise.
56977         * locale/programs/locale.c: Likewise.
56978         * locale/programs/localedef.c: Likewise.
56979         * login/programs/pt_chown.c: Likewise.
56980         * nscd/nscd.c (print_version): Likewise.
56981         * debug/xtrace.sh: Likewise.
56982         * malloc/memusage.sh: Likewise.
56983         * malloc/mtrace.pl: Likewise.
56984         * debug/catchsegv.sh: Likewise.
56986 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56988         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56989         pure attribute.
56991 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56993         [BZ #13533]
56994         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56995         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56996         transformations.
56997         * iconv/gconv_int.h: Likewise.
56998         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56999         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57000         from libc for GLIBC_2.16.
57001         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57002         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57003         * wcsmbs/uchar.h: Really define mbstate_t.
57004         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57005         * wcsmbs/c16rtomb.c: New file.
57006         * wcsmbs/mbrtoc16.c: New file.
57007         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57008         for C/POSIX locale.
57009         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57010         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57012         * wcsmbs/wchar.h: Add missing __restrict.
57014 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57016         [BZ #13532]
57017         * time/Makefile (routines): Add timespec_get.
57018         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57019         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57020         timespec for ISO C11.
57021         * time/timespec_get.c: New file.
57022         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57023         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57025         [BZ #13531]
57026         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57027         * stdlib/stdlib.h: Declare aligned_alloc.
57028         * Versions.def: Add GLIBC_2.16 for libc.
57029         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57031         [BZ 13527]
57032         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57033         ISO C11.
57035         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57036         code.
57038         [BZ #13528]
57039         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57041         [BZ #13529]
57042         * assert/assert.h (static_assert): Define.
57044         * version.h: Update for 2.16 development version.
57046         [BZ #13526]
57047         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57048         _ISOC11_SOURCE.
57050         * version.h (RELEASE): Bump for 2.15 release.
57051         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57053         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57054         Patch by Marek Polacek <mpolacek@redhat.com>.
57056         * bits/byteswap.h: Protect long long constants with __extension__.
57057         * sysdeps/i386/bits/byteswap.h: Likewise.
57058         * sysdeps/ia64/bits/byteswap.h: Likewise.
57059         * sysdeps/s390/bits/byteswap.h: Likewise.
57060         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57062 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57064         [BZ #13540]
57065         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57066         destination buffer.
57067         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57069 2011-12-23  Marek Polacek  <polacek@redhat.com>
57071         * elf/dl-addr.c (determine_info): Add inline keyword.
57072         * elf/tst-auditmod4b.c (check_avx): Likewise.
57073         * elf/tst-auditmod6b.c (check_avx): Likewise.
57074         * elf/tst-auditmod6c.c (check_avx): Likewise.
57075         * elf/tst-auditmod7b.c (check_avx): Likewise.
57077 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57079         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57080         !__SSE_MATH__.
57082 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57084         [BZ #13540]
57085         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57086         processing for last bytes.
57088 2011-08-06  Bruno Haible  <bruno@clisp.org>
57090         [BZ #13061]
57091         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57092         U+0385, not to U+1FEE.
57094         [BZ #13062]
57095         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57096         entry for U+00A5 U+0301.
57098 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57100         [BZ #13166]
57101         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57102         buffer for the output is too small.
57104         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57105         optimization.
57107         [BZ #13185]
57108         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57109         SSE flags if possible.
57111 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57113         [BZ #13540]
57114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57115         processing for last bytes.
57117 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57119         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57120         (syscall-list-default-options, syscall-list-default-condition)
57121         (syscall-list-includes): Define.
57122         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57123         list of ABIs and options and #if conditions for each ABI.  Do not
57124         handle common syscalls between ABIs specially.
57125         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57126         Remove.
57127         (syscall-list-variants, syscall-list-32bit-options)
57128         (syscall-list-32bit-condition, syscall-list-64bit-options)
57129         (syscall-list-64bit-condition): Define.
57130         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57131         (syscall-list-variants, syscall-list-32bit-options)
57132         (syscall-list-32bit-condition, syscall-list-64bit-options)
57133         (syscall-list-64bit-condition): Define.
57134         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57135         Remove.
57136         (syscall-list-variants, syscall-list-32bit-options)
57137         (syscall-list-32bit-condition, syscall-list-64bit-options)
57138         (syscall-list-64bit-condition): Define.
57139         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57140         Remove.
57141         (syscall-list-variants, syscall-list-32bit-options)
57142         (syscall-list-32bit-condition, syscall-list-64bit-options)
57143         (syscall-list-64bit-condition): Define.
57145 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57147         * locale/iso-639.def: Add brx entry.
57149         [BZ #13328]
57150         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57151         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57153         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57154         __feraiseexcept_renamed.
57156 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57158         [BZ #13538]
57159         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57160         EPOLLET with unsigned values.
57161         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57162         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57164         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57165         to large cancellation.
57166         * math/s_cacoshf.c: Likewise.
57167         * math/s_cacoshl.c: Likewise.
57169 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57171         [BZ #13305]
57172         [BZ #12786]
57173         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57174         * math/s_cacoshf.c: Likewise.
57175         * math/s_cacoshl.c: Likewise.
57177 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57179         [BZ #13439]
57180         * iconv/gconv.h: Define __GCONV_SWAP.
57181         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57182         * iconvdata/utf-16.c: Likewise.
57183         * iconvdata/utf-32.c: Likewise.
57185 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57187         [BZ #13524]
57188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57189         numerator after shifting it by one limb.
57191 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57193         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57194         under [__USE_EXTERN_INLINES].
57196 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57198         [BZ #13446]
57199         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57201 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57203         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57204         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57205         optimized code.
57206         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57207         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57208         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57209         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57210         for strncasecmp/strncasecmp_l compilation.
57211         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57212         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57214 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57216         [BZ #13484]
57217         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57218         of __asm__.
57220 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57222         [BZ #13506]
57223         * time/tzfile.c (__tzfile_read): Check values from file header.
57225 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57227         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57228         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57229         * powerpc/powerpc32/dl-start.S: Likewise.
57230         * powerpc/powerpc32/elf/start.S: Likewise.
57231         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57232         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57233         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57234         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57235         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57236         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57237         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57238         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57239         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57240         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57241         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57242         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57243         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57244         * powerpc/powerpc32/memset.S: Likewise.
57245         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57246         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57247         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57248         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57249         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57250         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57251         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57252         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57253         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57254         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57255         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57256         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57257         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57259 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57261         * math/libm-test.inc: Added more nearbyint tests.
57262         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57264         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57265         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57267 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57269         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57270         FD_CLOEXEC.
57272 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57274         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57275         Add wcscpy-ssse3 wcscpy-c.
57276         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57277         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57278         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57279         * sysdeps/x86_64/wcschr.S: New file.
57280         * sysdeps/x86_64/wcsrchr.S: New file.
57281         * string/test-strcmp.c: Remove checking of wcscmp function for
57282         wrong alignments.
57283         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57284         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57285         wcsrchr-sse2 wcsrchr-c.
57286         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57287         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57288         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57289         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57290         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57291         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57292         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57293         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57294         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57295         * wcsmbc/wcschr.c (WCSCHR): New macro.
57297 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57299         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57300         * wcsmbs/test-wcsrchr.c: New file.
57301         * string/test-strrchr.c: Add wcsrchr support.
57302         (WIDE): New macro.
57303         * wcsmbs/test-wcscpy.c: New file.
57304         * string/test-strcpy.c: Add wcscpy support.
57305         (WIDE): New macro.
57307 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57309         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57310         the inner loop.
57312 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57314         [BZ #13472]
57315         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57317 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57319         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57320         Minor optimizations.
57322         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57323         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57324         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57326 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57328         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57329         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57330         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57331         for gcc to avoid warnings.
57332         * inet/Makefile (tests): Add tst-checks.
57333         * inet/tst-checks.c: New file.
57335         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57336         warning.
57338         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57339         __wmemcmp_sse2.
57341         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57342         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57344         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57346 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57348         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57349         problem.
57351         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57353 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57355         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57356         conditional on GCC version.
57357         (__arch_compare_and_exchange_val_8_acq)
57358         (__arch_compare_and_exchange_val_16_acq)
57359         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57360         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57361         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57363 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57365         * sysdeps/sh/backtrace.c: New file.
57367 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57369         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57370         parenthesis.
57372 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57374         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57375         falling back to utime.
57377 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57379         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57380         expectations for float.
57382 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57384         * locale/weight.h (findidx): Add parameter len.
57385         * locale/weightwc.h (findidx): Likewise.
57386         * posix/fnmatch_loop.c (FCT): Adjust caller.
57387         * posix/regcomp.c (build_equiv_class): Likewise.
57388         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57389         * posix/regexec.c (check_node_accept_bytes): Likewise.
57390         * string/strcoll_l.c (STRCOLL): Likewise.
57391         * string/strxfrm_l.c (STRXFRM): Likewise.
57393 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57395         * Makefile.in: Remove CVSOPT handling.
57396         * configure.in: Remove use of AC_REVISION.
57397         * iconvdata/Makefile (distribute): No need to filter out CVS.
57398         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57399         handling.
57401 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57404         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57405         [USE_AS_STRNCASECMP_L]: Likewise.
57406         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57407         NO_TLS_DIRECT_SEG_REFS.
57408         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57409         Fix argument offsets for non-PIC.
57410         [USE_AS_STRNCASECMP_L]: Likewise.
57411         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57412         NO_TLS_DIRECT_SEG_REFS.
57414 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57416         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57417         O_CLOEXEC.
57418         * locale/loadlocale.c (_nl_load_locale): Likewise.
57420 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57422         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57423         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57424         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57425         (SYSCALL_GETTIME): Set errno on error.
57427         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57428         count references to noai6ai_cached.
57430 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57432         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57434         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57435         FD_CLOEXEC for /proc/self/maps.
57437         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57438         FD_CLOEXEC for /proc/meminfo.
57440         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57441         gai.conf.
57443         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57444         FD_CLOEXEC for given file.
57446         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57448         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57449         FD_CLOEXEC for /etc/hosts.
57450         (_gethtent): Likewise.
57452         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57454         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57455         cancellation and set FD_CLOEXEC for /etc/netgroup.
57457         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57458         reading /etc/publickey.
57460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57461         allow cancellation when reading /etc/group.
57463         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57464         cancellation.
57465         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57467         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57468         when using data file.
57470         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57472         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57473         (write_nis_obj): Use "c" and "e" in fopen.
57475         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57477         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57479         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57481         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57483         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57484         locale.alias.
57486         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57488         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57490         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57492         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57493         file parsing and set FD_CLOEXEC.
57495 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57497         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57499 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57501         * malloc/arena.c (arena_get2): Don't call reused_arena when
57502         _int_new_arena failed.
57504 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57506         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57507         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57508         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57509         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57510         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57512         to compile strcasecmp and strncasecmp.
57513         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57514         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57518 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57520         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57521         locale-defines.sym to gen-as-const-headers.
57522         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57523         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57525         to compile strcasecmp and strncasecmp.
57526         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57527         strcasecmp_l and strncasecmp_l.
57528         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57529         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57530         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57531         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57532         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57533         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57534         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57535         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57536         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57537         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57538         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57540 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57542         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57543         result of SYSDEP_GETTIME_CPU to retval.
57544         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57545         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57547         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57548         variable.
57550         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57551         mantissa words.
57552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57554         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57555         from unused variable.
57557         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57558         DWARF definitions.
57559         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57560         for assembling.
57562         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57563         over namespaces.
57565         * sunrpc/rpc_prot.c (rejected): Fix case value.
57567         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57568         unsigned long long int to avoid warnings in shift.
57570         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57571         of use of trans.
57572         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57573         variable tmp.
57575         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57576         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57577         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57579         * nis/nis_table.c (nis_list): Use variable of correct type for
57580         result of __follow_path call.
57582 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57584         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57585         of math functions ceil, trunc, floor, round, and sqrt, when
57586         avaliable on the platform.
57587         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57588         name clash.
57589         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57590         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57591         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57593 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57595         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57596         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57598 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57600         * include/unistd.h: Fix __readlink return type.
57601         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57603 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57605         * stdlib/ucontext.h: Undo last change for makecontext.
57607 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57609         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57611         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57612         * setjmp/setjmp.h: Mark functions as non-leaf.
57613         * setjmp/bits/setjmp2.h: Likewise.
57614         * stdlib/ucontext.h: Likewise.
57616 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57618         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57619         (reused_arena): Don't check arena limit.
57620         (arena_get2): Atomically check arena limit.
57622 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57624         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57625         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57628         instructions.
57630 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57632         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57633         handler when locking.
57635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57636         Fix size of allocated buffer.
57638 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57640         [BZ #10103]
57641         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57642         declarations for long double functions.
57643         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57645         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57647 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57649         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57650         installed.
57652         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57653         is disabled.
57655 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57657         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57659 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57661         * include/alloca.h (stackinfo_alloca_round): Define.
57662         (extend_alloca): Use it.
57663         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57664         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57665         here.
57667         * scripts/check-local-headers.sh: Ignore libaudit.h.
57669         * nscd/Makefile (extra-objs): Make recursively expanded.
57671 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57673         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57676         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57677         * posix/tst-rfc3484-2.c: Likewise.
57678         * posix/tst-rfc3484-3.c: Likewise.
57680         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57681         process_vm_writev.
57682         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57683         process_vm_writev.
57684         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57685         process_vm_writev from libc using GLIBC_2.15 version.
57687         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57689 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57691         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57692         stack usage.
57694 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57696         [BZ #13367]
57697         * nss/getent.c (initgroups_keys): Show error message in case no group
57698         names are given.
57700         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57701         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57702         __bump_nl_timestamp.
57703         * nscd/connections (nscd_init): When host database is served open
57704         netlink socket and request notification about configuration changes.
57705         (main_loop_poll): Track netlink file descriptor and bump timestamp
57706         in case data becomes available.
57707         (main_loop_epoll): Likewise.
57708         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57709         (database_pers_head): Add extra_data fileds.
57710         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57711         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57712         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57713         Adjust caller.
57714         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57715         in6ai data, call __free_in6ai.
57716         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57717         Add -DHAVE_NETLINK.
57718         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57719         interface information.  Reuse previous data if netlink timestamp
57720         is not changed.
57721         (__bump_nl_timestamp): New function.
57722         (__free_in6ai): New function.
57724 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57726         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57727         close_not_cancel_no_status here.
57728         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57730 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57732         [BZ #13276]
57733         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57734         return value.
57736         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57737         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57738         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57740 2011-07-03  Andreas Jaeger  <aj@suse.de>
57742         [BZ #10709]
57743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57744         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57745         * math/libm-test.inc (sin_test): Add test case.
57747 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57749         [BZ #13337]
57750         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57751         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57753         * elf/chroot_canon.c (chroot_canon): Cleanups.
57755         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57757         [BZ #13335]
57758         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57759         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57761         * string/test-strchr.c: Make usable for strchrnul testing.
57762         * string/test-strchrnul.c: New file.
57763         * string/Makefile (strop-tests): Add strchrnul.
57765         * po/it.po: Update from translation team.
57766         * po/es.po: Likewise.
57768 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57770         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57771         the three constants needed as parameters.  Drop the others.
57772         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57773         __m128i_strloadu_tolower.
57774         Create and initialize variable zero and use it in all the places
57775         where _mm_setzero_si128 was used.
57777         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57778         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57779         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57781         anymore.
57782         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57783         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57784         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57785         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57786         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57787         __mpranred, __mptan.
57788         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57789         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57790         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57791         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57792         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57793         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57794         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57795         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57796         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57798 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57800         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57801         redefine if SHARED.
57802         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57804         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57805         wide char related routines to wcsmbs subdir.
57807 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57809         [BZ #13344]
57810         * misc/sys/cdefs.h (__THROWNL): Define.
57811         * posix/unistd.h: Use __THREADNL instead of __THREAD
57812         for memory synchronization functions.
57814 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57816         [BZ #13349]
57817         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57818         doesn't exist.
57819         * manual/stdio.texi (Obstack Streams): Node removed.
57821 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57823         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57824         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57825         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57827         * math/math_private.h (math_force_eval): Allow non-addressable
57828         arguments.
57829         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57831 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57833         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57834         file is not needed.
57836         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57838         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57839         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57840         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57841         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57842         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57843         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57844         Add AVX variants.
57845         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57846         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57847         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57848         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57849         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57850         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57851         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57852         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57853         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57854         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57855         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57856         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57858         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57859         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57860         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57861         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57862         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57863         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57865         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57866         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57869         place.  Use VEX encoding when compiling for AVX.
57871 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57873         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57874         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57876         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57878 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57880         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57881         useless if() expression.
57882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57883         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57884         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57885         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57886         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57887         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57888         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57890         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57892         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57893         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57894         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57895         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57896         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57897         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57898         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57899         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57900         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57902         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57904 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57906         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57907         condition.
57908         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57910 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57912         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57913         .text section.  Avoid duplicate constants.
57914         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57915         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57918         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57922         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57923         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57924         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57925         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57926         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57927         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57928         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57929         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57930         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57932         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57934         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57935         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57936         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57938         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57939         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57940         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57941         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57942         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57943         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57944         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57945         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57946         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57947         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57948         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57949         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57950         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57951         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57952         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57953         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57954         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57955         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57956         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57957         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57958         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57960 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57962         * sysdeps/x86_64/dla.h: Move to ...
57963         * sysdeps/x86_64/fpu/dla.h: ...here.
57964         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57965         situations.  Use __builtin_fma only for gcc 4.6 and up.
57967         * config.make.in: Add have-mfma4 entry.
57968         * configure.in: Substitute libc_cv_cc_fma4.
57969         * math/Makefile (dbl-only-routines): Add sincostab.
57970         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57971         Use __sincostab not sincos.
57972         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57973         name is a macro.
57974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57978         using __copysign.
57979         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57980         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57981         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57982         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57983         and __inv.
57984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57985         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57986         __copysign.
57987         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57988         define aliases when function name is a macro.
57989         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57990         sysdeps/ieee754/dbl-64/sincos.tbl.
57991         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57992         fma4-enabled routines.
57993         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57994         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57995         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57996         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57997         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57998         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58000         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58002         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58003         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58004         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58005         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58006         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58007         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58008         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58009         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58010         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58011         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58012         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58013         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58014         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58015         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58016         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58017         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58018         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58019         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58020         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58021         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58022         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58024         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58025         rename.
58026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58030         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58032         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58033         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58035 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58037         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58039 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58041         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58043         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58044         prediction.
58045         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58047         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58048         Remove unused variable magic_bits.
58049         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58051         * string/strnlen.c: Define and use STRNLEN macro.
58052         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58053         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58055         * wcsmbs/wcslen.c: Define and use WCSLEN.
58056         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58057         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58058         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58059         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58060         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58061         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58062         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58064 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58067         strnlen-sse2-no-bsf.
58068         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58069         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58070         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58071         Add strnlen support.
58072         (USE_AS_STRNLEN): New macro.
58073         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58075         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58076         * sysdeps/x86_64/wcslen.S: New file.
58078 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58080         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58081         XMM-moves are used for copying on small sizes.
58083 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58085         * wcsmbs/Makefile (strop-tests): Add wcschr.
58086         * wcsmbs/test-wcschr.c: New file.
58087         * string/test-strchr.c: Update.
58088         Add wcschr support.
58089         (WIDE): New macro.
58091 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58093         * wcsmbs/Makefile (strop-tests): Add wcslen.
58094         * wcsmbs/test-wcslen.c: New file.
58095         * string/test-strlen.c: Update.
58096         Add wcslen support.
58097         (WIDE): New macro.
58099 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58101         * po/it.po: Update from translation team.
58103 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58105         * sysdeps/x86_64/wcscmp.S: Update.
58106         Fix wrong comparison semantics.
58107         wcscmp shall use signed comparison not unsigned.
58108         Don't use substraction to avoid overflow bug.
58109         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58110         * wcsmbc/wcscmp.c: Likewise.
58111         * string/test-strcmp.c: Likewise.
58112         Add new tests to check cases with negative values.
58114 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58116         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58117         * sysdeps/x86_64/dla.h: ...here.  New file.
58118         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58119         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58120         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58123         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58124         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58125         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58126         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58128 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58130         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58131         __ynl_finite aliases.
58133 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58137         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58138         define DLA_FMA.
58139         [DLA_FMA] (EMULV): Use DLA_FMA.
58140         [DLA_FMA] (MUL12): Use EMULV.
58141         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58142         that are not needed.
58143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58151 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58153         * math/s_nan.c: Undef __nan.
58154         * math/s_nanf.c: Undef __nanf.
58155         * math/s_nanl.c: Undef __nanl.
58156         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58157         "math_private.h".
58159 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58161         * math/s_catan.c: Add branch predictions.
58162         * math/s_catanf.c: Likewise.
58163         * math/s_catanh.c: Likewise.
58164         * math/s_catanhf.c: Likewise.
58165         * math/s_catanhl.c: Likewise.
58166         * math/s_catanl.c: Likewise.
58167         * math/s_cexp.c: Likewise.
58168         * math/s_cexpf.c: Likewise.
58169         * math/s_cexpl.c: Likewise.
58170         * math/s_clog.c: Likewise.
58171         * math/s_clog10.c: Likewise.
58172         * math/s_clog10f.c: Likewise.
58173         * math/s_clog10l.c: Likewise.
58174         * math/s_clogf.c: Likewise.
58175         * math/s_clogl.c: Likewise.
58176         * math/s_csqrt.c: Likewise.
58177         * math/s_csqrtf.c: Likewise.
58178         * math/s_csqrtl.c: Likewise.
58179         * math/s_ctanf.c: Likewise.
58180         * math/s_ctanh.c: Likewise.
58181         * math/s_ctanhf.c: Likewise.
58182         * math/s_ctanhl.c: Likewise.
58183         * math/s_ctanl.c: Likewise.
58185         * math/math_private.h: Define __nan, __nanf, __nanl.
58186         * math/s_cacosh.c: Include <math_private.h>.
58187         * math/s_cacoshl.c: Likewise.
58188         * math/s_casinh.c: Likewise.
58189         * math/s_casinhf.c: Likewise.
58190         * math/s_casinhl.c: Likewise.
58191         * math/s_ccos.c: Rely entire on ccosh.
58192         * math/s_ccosf.c: Rely entire on ccoshf.
58193         * math/s_ccosl.c: Rely entirely on ccoshl.
58194         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58195         Remove tests for FE_INVALID.
58196         * math/s_ccoshf.c: Likewise.
58197         * math/s_ccoshl.c: Likewise.
58198         * math/s_csin.c: Likewise.
58199         * math/s_csinf.c: Likewise.
58200         * math/s_csinh.c Likewise.
58201         * math/s_csinhf.c: Likewise.
58202         * math/s_csinhl.c: Likewise.
58203         * math/s_csinl.c: Likewise.
58204         * math/s_ctan.c: Likewise.
58205         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58206         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58207         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58209 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58212         compilation problems.
58214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58215         __builtin_expect.
58217 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58219         * sysdeps/i386/configure.in: Test for -mfma4 option.
58220         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58221         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58222         COMMON_CPUID_INDEX_80000001.
58223         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58224         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58225         use it if FMA3 is not supported.
58226         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58228         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58229         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58231 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58233         [BZ #12892]
58234         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58235         it would create a cycle with a link time dependency.
58237 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58239         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58240         instruction.
58241         * string/Makefile (strop-tests): Add rawmemchr.
58242         * string/test-rawmemchr.c: New file.
58244         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58245         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58246         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58247         when compiling str{,n}casecmp and when AVX is available.  Hook up
58248         new optimized code in initializers.
58250 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58252         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58253         __feraiseexcept instead of feraiseexcept.
58255 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58257         * math/math_private.h: Define defaults for libc_fetestexcept and
58258         libc_feupdateenv.
58259         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58260         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58261         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58262         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58263         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58264         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58265         libc_fetestexcept and libc_feupdateenv.
58267         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58268         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58269         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58270         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58271         libc_feholdexcept_setround.
58273         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58274         Add s_nearbyint-c and s_nearbyintf-c.
58275         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58276         nearbyintf inlines.
58277         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58278         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58279         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58280         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58282         * math/math_private.h: Define defaults for libc_fegetround,
58283         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58284         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58285         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58286         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58287         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58288         standard functions.
58289         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58290         Remove comments and hacks for old compiler versions.
58291         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58292         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58293         libc_feholdexceptl.
58295 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58297         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58298         (__feraiseexcept_renamed): Add __NTH.
58299         (feraiseexcept): Add __NTH.  Rename local variables to fix
58300         namespace violations.
58302 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58304         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58306         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58308         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58309         recently added interfaces.
58310         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58312         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58313         about macro parameter expansion.
58315         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58316         __NO_MATH_INLINES is defined.  Cleanups.
58318         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58319         and __floorf is target has SSE4.1.
58320         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58321         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58322         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58323         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58325         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58326         name.
58327         (floorf): Likewise.
58329         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58331 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58333         * misc/sys/cdefs.h: Fix last change.
58335         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58336         database lookup.
58338 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58340         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58342         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58344         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58345         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58347         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58349         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58350         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58351         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58352         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58353         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58354         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58355         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58356         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58357         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58358         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58359         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58360         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58361         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58362         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58363         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58365         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58366         ceil, ceilf, floor, floorf.
58368         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58369         Perform IRELATIVE relocations last.
58371         * elf/do-rel.h: Add another parameter nrelative, replacing the
58372         local variable with the same name.  Change name of the function
58373         to end in Rel or Rela (uppercase).
58374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58375         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58376         elf_dynamic_do_##reloc function.
58378 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58380         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58381         is sufficient, at least on modern CPUs.
58383         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58385         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58386         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58388         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58389         __expl_finite.
58390         * math/bits/math-finite.h: Add entries for exp.
58391         * math/e_expl.c: Add __*_finite alias.
58392         * sysdeps/i386/fpu/e_exp.S: Likewise.
58393         * sysdeps/i386/fpu/e_expf.S: Likewise.
58394         * sysdeps/i386/fpu/e_expl.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58396         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58397         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58399         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58400         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58401         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58403         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58404         is sufficient, at least on modern CPUs.
58406         * ctype/ctype-info.c (__ctype_init): Define.
58407         * include/ctype.h (__ctype_init): Declare.
58408         (__ctype_b_loc): The variable is always initialized.
58409         (__ctype_toupper_loc): Likewise.
58410         (__ctype_tolower_loc): Likewise.
58411         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58412         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58414 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58416         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58418         * configure.in: Also look in $cxxmachine/include for C++ system
58419         headers.
58421 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58423         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58424         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58425         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58426         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58427         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58428         (USE_AS_WMEMCMP): New macro.
58429         Fixing indents.
58430         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58431         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58432         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58433         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58435         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58436         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58437         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58438         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58439         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58440         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58441         (USE_AS_WMEMCMP): New macro.
58442         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58443         * sysdeps/string/test-memcmp.c: Update.
58444         Fix simple_wmemcmp.
58445         Add new tests.
58446         * wcsmbs/wmemcmp.c: Update.
58447         (WMEMCMP): New macro.
58448         Fix overflow bug.
58450 2011-10-12  Andreas Jaeger  <aj@suse.de>
58452         [BZ #13268]
58453         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58455 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58457         * libio/iofwide.c (do_length): Avoid warning.
58459         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58461 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58463         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58465         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58466         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58467         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58468         * sysdeps/i386/i686/fpu/e_log.S: New file.
58469         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58470         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58472         * ctype/ctype.h: Add support for inlined isXXX functions when
58473         compiling C++ code.
58475 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58477         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58479         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58481 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58483         [BZ #13291]
58484         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58486 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58488         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58489         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58490         feraiseexcept.
58492         * sysdeps/x86_64/memrchr.S: Check for zero size.
58494         * string/stratcliff.c: Add memrchr tests.
58496 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58499         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58500         rawmemchr-sse2 rawmemchr-sse2-bsf.
58501         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58502         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58503         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58504         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58505         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58506         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58507         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58508         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58509         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58510         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58511         * string/memrchr.c (MEMRCHR): New macro.
58513 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58515         Add integration with gcc's -ffinite-math-only and optimize wrapper
58516         functions in libm.
58517         * Versions.def: Define GLIBC_2.15 version for libm.
58518         * math/Makefile (headers): Add bits/math-finite.h.
58519         * math/bits/math-finite.h: New file.
58520         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58521         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58522         * math/e_acoshl.c: Add __*_finite alias.
58523         * math/e_acosl.c: Likewise.
58524         * math/e_asinl.c: Likewise.
58525         * math/e_atan2l.c: Likewise.
58526         * math/e_atanhl.c: Likewise.
58527         * math/e_coshl.c: Likewise.
58528         * math/e_exp10.c: Likewise.
58529         * math/e_exp10f.c: Likewise.
58530         * math/e_exp10l.c: Likewise.
58531         * math/e_exp2l.c: Likewise.
58532         * math/e_fmodl.c: Likewise.
58533         * math/e_gammal_r.c: Likewise.
58534         * math/e_hypotl.c: Likewise.
58535         * math/e_j0l.c: Likewise.
58536         * math/e_j1l.c: Likewise.
58537         * math/e_jnl.c: Likewise.
58538         * math/e_lgammal_r.c: Likewise.
58539         * math/e_log10l.c: Likewise.
58540         * math/e_log2l.c: Likewise.
58541         * math/e_logl.c: Likewise.
58542         * math/e_powl.c: Likewise.
58543         * math/e_sinhl.c: Likewise.
58544         * math/e_sqrtl.c: Likewise.
58545         * math/e_scalb.c: Completely rewritten and optimized.
58546         * math/e_scalbf.c: Likewise.
58547         * math/e_scalbl.c: Likewise.
58548         * math/w_acos.c: Likewise.
58549         * math/w_acosf.c: Likewise.
58550         * math/w_acosl.c: Likewise.
58551         * math/w_acosh.c: Likewise.
58552         * math/w_acoshf.c: Likewise.
58553         * math/w_acoshl.c: Likewise.
58554         * math/w_asin.c: Likewise.
58555         * math/w_asinf.c: Likewise.
58556         * math/w_asinl.c: Likewise.
58557         * math/w_atan2.c: Likewise.
58558         * math/w_atan2f.c: Likewise.
58559         * math/w_atan2l.c: Likewise.
58560         * math/w_atanh.c: Likewise.
58561         * math/w_atanhf.c: Likewise.
58562         * math/w_atanhl.c: Likewise.
58563         * math/w_exp10.c: Likewise.
58564         * math/w_exp10f.c: Likewise.
58565         * math/w_exp10l.c: Likewise.
58566         * math/w_fmod.c: Likewise.
58567         * math/w_fmodf.c: Likewise.
58568         * math/w_fmodl.c: Likewise.
58569         * math/w_j0.c: Likewise.
58570         * math/w_j0f.c: Likewise.
58571         * math/w_j0l.c: Likewise.
58572         * math/w_j1.c: Likewise.
58573         * math/w_j1f.c: Likewise.
58574         * math/w_j1l.c: Likewise.
58575         * math/w_jn.c: Likewise.
58576         * math/w_jnf.c: Likewise.
58577         * math/w_log.c: Likewise.
58578         * math/w_logf.c: Likewise.
58579         * math/w_logl.c: Likewise.
58580         * math/w_log10.c: Likewise.
58581         * math/w_log10f.c: Likewise.
58582         * math/w_log10l.c: Likewise.
58583         * math/w_log2.c: Likewise.
58584         * math/w_log2f.c: Likewise.
58585         * math/w_log2l.c: Likewise.
58586         * math/w_pow.c: Likewise.
58587         * math/w_powf.c: Likewise.
58588         * math/w_powl.c: Likewise.
58589         * math/w_remainder.c: Likewise.
58590         * math/w_remainderf.c: Likewise.
58591         * math/w_remainderl.c: Likewise.
58592         * math/w_scalb.c: Likewise.
58593         * math/w_scalbf.c: Likewise.
58594         * math/w_scalbl.c: Likewise.
58595         * math/w_sqrt.c: Likewise.
58596         * math/w_sqrtf.c: Likewise.
58597         * math/w_sqrtl.c: Likewise.
58598         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58599         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58600         used.
58601         * math/math_private.h: Declare __kernel_standard_f.
58602         * math/w_cosh.c: Remove cruft and optimize a bit.
58603         * math/w_coshf.c: Likewise.
58604         * math/w_coshl.c: Likewise.
58605         * math/w_exp2.c: Likewise.
58606         * math/w_exp2f.c: Likewise.
58607         * math/w_exp2l.c: Likewise.
58608         * math/w_hypot.c: Likewise.
58609         * math/w_hypotf.c: Likewise.
58610         * math/w_hypotl.c: Likewise.
58611         * math/w_lgamma.c: Likewise.
58612         * math/w_lgamma_r.c: Likewise.
58613         * math/w_lgammaf.c: Likewise.
58614         * math/w_lgammaf_r.c: Likewise.
58615         * math/w_lgammal.c: Likewise.
58616         * math/w_lgammal_r.c: Likewise.
58617         * math/w_sinh.c: Likewise.
58618         * math/w_sinhf.c: Likewise.
58619         * math/w_sinhl.c: Likewise.
58620         * math/w_tgamma.c: Likewise.
58621         * math/w_tgammaf.c: Likewise.
58622         * math/w_tgammal.c: Likewise.
58623         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58624         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58625         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58626         Minor optimizations.  Pretty printing.  Remove cruft.
58627         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58628         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58629         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58630         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58631         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58632         * sysdeps/i386/fpu/e_asin.S: Likewise.
58633         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58634         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58635         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58636         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58637         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58638         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58639         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58640         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58641         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58642         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58643         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58644         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58645         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58646         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58647         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58648         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58649         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58650         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58651         * sysdeps/i386/fpu/e_log.S: Likewise.
58652         * sysdeps/i386/fpu/e_log10.S: Likewise.
58653         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58654         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58655         * sysdeps/i386/fpu/e_log2.S: Likewise.
58656         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58657         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58658         * sysdeps/i386/fpu/e_logf.S: Likewise.
58659         * sysdeps/i386/fpu/e_logl.S: Likewise.
58660         * sysdeps/i386/fpu/e_pow.S: Likewise.
58661         * sysdeps/i386/fpu/e_powf.S: Likewise.
58662         * sysdeps/i386/fpu/e_powl.S: Likewise.
58663         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58664         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58665         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58666         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58667         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58668         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58669         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58670         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58671         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58672         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58673         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58675         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58679         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58680         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58681         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58682         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58683         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58685         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58686         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58688         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58689         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58692         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58693         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58694         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58695         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58696         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58697         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58698         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58699         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58700         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58701         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58702         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58703         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58704         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58706         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58707         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58708         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58709         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58710         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58711         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58712         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58713         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58714         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58715         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58716         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58717         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58718         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58719         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58720         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58721         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58722         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58723         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58724         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58725         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58727         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58728         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58729         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58730         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58731         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58732         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58733         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58735         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58736         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58737         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58738         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58739         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58740         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58742         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58743         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58746         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58748         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58749         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58750         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58752         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58753         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58754         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58755         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58756         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58757         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58758         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58759         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58760         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58761         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58762         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58763         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58764         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58765         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58766         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58767         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58768         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58769         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58770         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58771         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58772         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58773         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58774         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58775         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58776         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58777         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58778         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58779         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58780         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58781         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58782         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58783         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58784         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58785         (__isnanf): Likewise.
58786         (__isinf_ns): Likewise.
58787         (__isinf_nsf): Likewise.
58788         (__finite): Likewise.
58789         (__finitef): Likewise.
58790         (__ieee754_sqrt): Define as macro.
58791         (__ieee754_sqrtf): Define as macro.
58792         (__ieee754_sqrtl): Define as macro.
58793         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58794         inlined copy.
58795         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58796         __FINITE_MATH_ONLY__ consistent.
58797         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58799 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58801         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58802         of rawmemchr.
58804         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58806 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58808         * po/ja.po: Update from translation team.
58810 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58812         * locale/programs/locarchive.c (prepare_address_space): New function.
58813         (create_archive, enlarge_archive, open_archive): Use it.
58815         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58816         inside [SHARED], where it is used.
58818         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58820         * nss/getent.c (netgroup_keys): Remove unused variable.
58821         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58823 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58825         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58828         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58829         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58830         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58831         * math/Makefile (libm-calls): Add s_isinf_ns.
58832         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58833         * math/multc3.c: Likewise.
58834         * math/s_casin.c: Likewise.
58835         * math/s_casinf.c: Likewise.
58836         * math/s_casinl.c: Likewise.
58837         * math/s_ccos.c: Likewise.
58838         * math/s_ccosf.c: Likewise.
58839         * math/s_ccosl.c: Likewise.
58840         * math/s_ctan.c: Likewise.
58841         * math/s_ctanf.c: Likewise.
58842         * math/s_ctanh.c: Likewise.
58843         * math/s_ctanhf.c: Likewise.
58844         * math/s_ctanhl.c: Likewise.
58845         * math/s_ctanl.c: Likewise.
58846         * math/w_fmod.c: Likewise.
58847         * math/w_fmodf.c: Likewise.
58848         * math/w_fmodl.c: Likewise.
58849         * math/w_remainder.c: Likewise.
58850         * math/w_remainderf.c: Likewise.
58851         * math/w_remainderl.c: Likewise.
58852         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58853         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58855         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58856         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58857         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58858         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58859         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58861         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58862         of the number.
58863         * stdio-common/printf_fphex.c: Likewise.
58864         * stdio-common/printf_size.c: Likewise.
58866         * math/e_exp10.c: Include math_private.h using <...> not "...".
58867         * math/e_exp10f.c: Likewise.
58868         * math/e_exp10l.c: Likewise.
58869         * math/e_exp2l.c: Likewise.
58870         * math/e_j0l.c: Likewise.
58871         * math/e_j1l.c: Likewise.
58872         * math/e_jnl.c: Likewise.
58873         * math/e_lgammal_r.c: Likewise.
58874         * math/e_rem_pio2l.c: Likewise.
58875         * math/e_scalb.c: Likewise.
58876         * math/e_scalbf.c: Likewise.
58877         * math/e_scalbl.c: Likewise.
58878         * math/k_cosl.c: Likewise.
58879         * math/k_sinl.c: Likewise.
58880         * math/k_tanl.c: Likewise.
58881         * math/s_cacoshf.c: Likewise.
58882         * math/s_catan.c: Likewise.
58883         * math/s_catanf.c: Likewise.
58884         * math/s_catanh.c: Likewise.
58885         * math/s_catanhf.c: Likewise.
58886         * math/s_catanhl.c: Likewise.
58887         * math/s_catanl.c: Likewise.
58888         * math/s_ccosh.c: Likewise.
58889         * math/s_ccoshf.c: Likewise.
58890         * math/s_ccoshl.c: Likewise.
58891         * math/s_cexp.c: Likewise.
58892         * math/s_cexpf.c: Likewise.
58893         * math/s_cexpl.c: Likewise.
58894         * math/s_clog.c: Likewise.
58895         * math/s_clog10.c: Likewise.
58896         * math/s_clog10f.c: Likewise.
58897         * math/s_clog10l.c: Likewise.
58898         * math/s_clogf.c: Likewise.
58899         * math/s_clogl.c: Likewise.
58900         * math/s_csin.c: Likewise.
58901         * math/s_csinf.c: Likewise.
58902         * math/s_csinh.c: Likewise.
58903         * math/s_csinhf.c: Likewise.
58904         * math/s_csinhl.c: Likewise.
58905         * math/s_csinl.c: Likewise.
58906         * math/s_csqrt.c: Likewise.
58907         * math/s_csqrtf.c: Likewise.
58908         * math/s_csqrtl.c: Likewise.
58909         * math/s_ctan.c: Likewise.
58910         * math/s_ctanf.c: Likewise.
58911         * math/s_ctanh.c: Likewise.
58912         * math/s_ctanhf.c: Likewise.
58913         * math/s_ctanhl.c: Likewise.
58914         * math/s_ctanl.c: Likewise.
58915         * math/s_ldexp.c: Likewise.
58916         * math/s_ldexpf.c: Likewise.
58917         * math/s_ldexpl.c: Likewise.
58918         * math/s_significand.c: Likewise.
58919         * math/s_significandf.c: Likewise.
58920         * math/s_significandl.c: Likewise.
58921         * math/w_acos.c: Likewise.
58922         * math/w_acosf.c: Likewise.
58923         * math/w_acosh.c: Likewise.
58924         * math/w_acoshf.c: Likewise.
58925         * math/w_acoshl.c: Likewise.
58926         * math/w_acosl.c: Likewise.
58927         * math/w_asin.c: Likewise.
58928         * math/w_asinf.c: Likewise.
58929         * math/w_asinl.c: Likewise.
58930         * math/w_atan2.c: Likewise.
58931         * math/w_atan2f.c: Likewise.
58932         * math/w_atan2l.c: Likewise.
58933         * math/w_atanh.c: Likewise.
58934         * math/w_atanhf.c: Likewise.
58935         * math/w_atanhl.c: Likewise.
58936         * math/w_cosh.c: Likewise.
58937         * math/w_coshf.c: Likewise.
58938         * math/w_coshl.c: Likewise.
58939         * math/w_dremf.c: Likewise.
58940         * math/w_exp10.c: Likewise.
58941         * math/w_exp10f.c: Likewise.
58942         * math/w_exp10l.c: Likewise.
58943         * math/w_exp2.c: Likewise.
58944         * math/w_exp2f.c: Likewise.
58945         * math/w_fmod.c: Likewise.
58946         * math/w_fmodf.c: Likewise.
58947         * math/w_fmodl.c: Likewise.
58948         * math/w_hypot.c: Likewise.
58949         * math/w_hypotf.c: Likewise.
58950         * math/w_hypotl.c: Likewise.
58951         * math/w_j0.c: Likewise.
58952         * math/w_j0f.c: Likewise.
58953         * math/w_j0l.c: Likewise.
58954         * math/w_j1.c: Likewise.
58955         * math/w_j1f.c: Likewise.
58956         * math/w_j1l.c: Likewise.
58957         * math/w_jn.c: Likewise.
58958         * math/w_jnf.c: Likewise.
58959         * math/w_jnl.c: Likewise.
58960         * math/w_lgamma.c: Likewise.
58961         * math/w_lgamma_r.c: Likewise.
58962         * math/w_lgammaf.c: Likewise.
58963         * math/w_lgammaf_r.c: Likewise.
58964         * math/w_lgammal.c: Likewise.
58965         * math/w_lgammal_r.c: Likewise.
58966         * math/w_log.c: Likewise.
58967         * math/w_log10.c: Likewise.
58968         * math/w_log10f.c: Likewise.
58969         * math/w_log10l.c: Likewise.
58970         * math/w_log2.c: Likewise.
58971         * math/w_log2f.c: Likewise.
58972         * math/w_log2l.c: Likewise.
58973         * math/w_logf.c: Likewise.
58974         * math/w_logl.c: Likewise.
58975         * math/w_pow.c: Likewise.
58976         * math/w_powf.c: Likewise.
58977         * math/w_powl.c: Likewise.
58978         * math/w_remainder.c: Likewise.
58979         * math/w_remainderf.c: Likewise.
58980         * math/w_remainderl.c: Likewise.
58981         * math/w_scalb.c: Likewise.
58982         * math/w_scalbf.c: Likewise.
58983         * math/w_scalbl.c: Likewise.
58984         * math/w_sinh.c: Likewise.
58985         * math/w_sinhf.c: Likewise.
58986         * math/w_sinhl.c: Likewise.
58987         * math/w_sqrt.c: Likewise.
58988         * math/w_sqrtf.c: Likewise.
58989         * math/w_sqrtl.c: Likewise.
58990         * math/w_tgamma.c: Likewise.
58991         * math/w_tgammaf.c: Likewise.
58992         * math/w_tgammal.c: Likewise.
58994         * po/ja.po: Update from translation team.
58996 2011-09-29  Andreas Jaeger  <aj@suse.de>
58998         [BZ #13179]
58999         * sunrpc/netname.c (netname2host): Fix logic.
59001         [BZ #6779]
59002         [BZ #6783]
59003         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59004         correctly.
59005         * math/w_remainder.c (__remainder): Likewise.
59006         * math/w_remainderf.c (__remainderf): Likewise.
59007         * math/libm-test.inc (remainder_test): Add test cases.
59009 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59011         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59012         sdiv_qrnnd.
59014 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59016         * string/test-memcmp.c: Avoid unncessary #defines.
59017         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59019 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59021         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59022         Use new sse2 version for core i3 - i7 as it's faster
59023         than sse42 version.
59024         (bit_Prefer_PMINUB_for_stringop): New.
59025         * sysdeps/x86_64/rawmemchr.S: Update.
59026         Replace with faster SSE2 version.
59027         * sysdeps/x86_64/memrchr.S: New file.
59028         * sysdeps/x86_64/memchr.S: Update.
59029         Replace with faster SSE2 version.
59031 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59033         * elf/dl-load.c (lose): Add cast to avoid warning.
59035 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59037         * po/ca.po: Update from translation team.
59039         * inet/getnetgrent_r.c: Hook up nscd.
59040         * nscd/Makefile (routines): Add nscd_netgroup.
59041         (nscd-modules): Add netgroupcache.
59042         (CFLAGS-netgroupcache.c): Define.
59043         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59044         (cache_search): Add const to second parameter.
59045         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59046         INNETGR.
59047         (dbs): Add netgrdb entry.
59048         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59049         (verify_persistent_db): Handle netgrdb.
59050         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59051         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59052         GETFDNETGR.
59053         (netgroup_response_header): Define.
59054         (innetgroup_response_header): Define.
59055         (datahead): Add netgroup_response_header and innetgroup_response_header
59056         elements.
59057         * nscd/nscd.conf: Add entries for netgroup cache.
59058         * nscd/nscd.h (dbtype): Add netgrdb.
59059         (_PATH_NSCD_NETGROUP_DB): Define.
59060         (netgroup_iov_disabled): Declare.
59061         (xmalloc, xcalloc, xrealloc): Move declarations here.
59062         (cache_search): Adjust prototype.
59063         Add netgroup-related prototypes.
59064         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59065         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59066         (__nscd_innetgr): Declare.
59067         * nscd/selinux.c (perms): Use access_vector_t as element type and
59068         add netgroup-related initializers.
59069         * nscd/netgroupcache.c: New file.
59070         * nscd/nscd_netgroup.c: New file.
59071         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59072         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59073         For four parameters use innetgr.
59074         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59075         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59076         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59077         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59079         * nscd/connections.c (register_traced_file): Don't register file
59080         for disabled databases.
59082 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59084         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59086         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59087         from tree and freeing node.
59089 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59091         * nss/nsswitch.c (__nss_database_lookup): Handle
59092         nss_parse_service_list out of memory case.
59094 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59096         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59097         out of memory case.
59099 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59101         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59102         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59103         pass it down.
59104         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59105         elf_machine_rela, elf_machine_lazy_rel.
59106         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59107         (ELF_DYNAMIC_DO_REL): Likewise.
59108         (ELF_DYNAMIC_DO_RELA): Likewise.
59109         (ELF_DYNAMIC_RELOCATE): Likewise.
59110         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59111         to ELF_DYNAMIC_DO_REL.
59112         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59113         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59114         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59115         elf_machine_rela.
59116         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59117         skip_ifunc, don't call ifunc function if non-zero.
59118         (elf_machine_rela): Likewise.
59119         (elf_machine_lazy_rel): Likewise.
59120         (elf_machine_lazy_rela): Likewise.
59121         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59122         (elf_machine_lazy_rel): Likewise.
59123         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59124         Likewise.
59125         (elf_machine_lazy_rel): Likewise.
59126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59127         Likewise.
59128         (elf_machine_lazy_rel): Likewise.
59129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59130         (elf_machine_lazy_rel): Likewise.
59131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59132         (elf_machine_lazy_rel): Likewise.
59133         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59134         (elf_machine_lazy_rel): Likewise.
59135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59136         (elf_machine_lazy_rel): Likewise.
59137         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59138         (elf_machine_lazy_rel): Likewise.
59139         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59140         (elf_machine_lazy_rel): Likewise.
59142 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59144         * nss/nss_files/files-init.c (_nss_files_init): Use static
59145         initialization for all the *_traced_file variables.
59147 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59149         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59151 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59153         [BZ #13226]
59154         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59156 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59158         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59159         Reread the line before reparsing it.
59161 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59163         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59165 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59166             Maxim Kuvyrkov  <maxim@codesourcery.com>
59167             Joseph Myers  <joseph@codesourcery.com>
59169         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59170         if needed for __stack_chk_guard.
59172 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59174         * sysdeps/posix/spawni.c (script_execute): Always define it.
59175         It will be optimized away if unused.
59176         (maybe_script_execute): New function.
59177         (__spawni): Call it.
59179         * Makerules: Don't include tls.make.
59180         (config-tls): Always set to thread.
59181         * tls.make.c: File removed.
59183 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59185         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59186         * config.make.in (CPPFLAGS-config): New substituted variable.
59188 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59190         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59192         [BZ #13192]
59193         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59194         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59196 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59198         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59199         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59201         (CALL_FAIL): Likewise.
59202         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59203         (CALL_FAIL): Macro removed.
59204         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59206 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59208         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59209         for __FINITE_MATH_ONLY__ == 1.
59211 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59213         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59214         __ieee754_sqrt instead of sqrt.
59215         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59216         __ieee754_sqrtf instead of sqrtf.
59217         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59218         __floorf instead of floorf.
59219         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59220         __floorf, __truncf instead of floorf, truncf.
59222 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59224         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59226         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59227         __extern_always_inline.
59228         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59229         32-bit.
59231 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59233         * elf/rtld.c (dl_main): Also relocate in dependency order when
59234         doing symbol dependency testing.
59236 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59238         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59239         Always define `refsym'.
59241 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59243         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59244         (__FD_ELT): Renamed from __FDELT.
59245         * misc/bits/select2.h (__FD_ELT): Likewise.
59246         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59247         __FD_MASK instead of __FDELT, __FDMASK.
59248         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59249         Likewise.
59250         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59251         Likewise.
59253         * elf/Makefile (gen-ldd): Fix pattern.
59255         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59256         (init_tls): Likewise.
59258 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59260         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59262 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59264         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59265         `struct cmsghdr *' instead of `void *'.
59266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59267         Likewise.
59269 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59271         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59272         if non-absolute.
59273         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59274         ldd_rewrite_script.
59276 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59278         * configure.in: Remove --with-tls option.
59279         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59280         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59281         out in case it is missing.
59282         * sysdeps/ia64/elf/configure.in: Likewise.
59283         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59284         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59285         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59286         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59287         * sysdeps/sh/elf/configure.in: Likewise.
59288         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59289         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59290         * sysdeps/x86_64/elf/configure.in: Likewise.
59291         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59292         * sysdeps/mach/hurd/tls.h: Likewise.
59294         [BZ #13067]
59295         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59297         [BZ #13090]
59298         * configure.in: Fix use of AC_INIT.
59300         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59302 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59304         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59305         __set_errno.
59306         * malloc/hooks.c: Likewise.
59308         [BZ #11929]
59309         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59310         variables statically.
59311         (narenas): Initialize.
59312         (list_lock): Initialize.
59313         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59314         initializtion of main_arena and list_lock.  Small cleanups.
59315         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59316         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59317         Add initializers to main_arena and mp_.
59318         (malloc_state): Remove pagesize member.  Change all users to use
59319         GLRO(dl_pagesize).
59321         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59322         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59323         is always initialized.
59325         * malloc/malloc.c: Removed unused configurations and dead code.
59326         * malloc/arena.c: Likewise.
59327         * malloc/hooks.c: Likewise.
59328         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59330         * include/tls.h: Removed.  USE___THREAD must always be defined.
59331         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59332         * elf/dl-libc.c: Likewise.
59333         * elf/dl-tsd.c: Likewise.
59334         * include/errno.h: Likewise.
59335         * include/netdb.h: Likewise.
59336         * include/resolv.h: Likewise.
59337         * inet/herrno-loc.c: Likewise.
59338         * inet/herrno.c: Likewise.
59339         * malloc/arena.c: Likewise.
59340         * malloc/hooks.c: Likewise.
59341         * malloc/malloc.c: Likewise.
59342         * resolv/res-state.c: Likewise.
59343         * resolv/res_libc.c: Likewise.
59344         * sysdeps/i386/dl-machine.h: Likewise.
59345         * sysdeps/ia64/dl-machine.h: Likewise.
59346         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59347         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59348         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59349         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59350         * sysdeps/sh/dl-machine.h: Likewise.
59351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59352         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59353         * sysdeps/unix/i386/sysdep.S: Likewise.
59354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59355         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59360         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59364         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59365         * sysdeps/x86_64/dl-machine.h: Likewise.
59366         * tls.make.c: Likewise.
59368         * configure.in: Remove --with-__thread option.  Make tests for
59369         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59370         tls_model attribute fail if no support is available.  Remove
59371         USE_IN_LIBIO.
59372         * Makeconfig: Adjust for dropped configure option.  All features are
59373         now mandatory.
59374         * Makerules: Likewise.
59375         * Versions.def: Likewise.
59376         * argp/argp-fmtstream.c: Likewise.
59377         * argp/argp-fmtstream.h: Likewise.
59378         * argp/argp-help.c: Likewise.
59379         * assert/assert.c: Likewise.
59380         * config.h.in: Likewise.
59381         * config.make.in: Likewise.
59382         * configure: Likewise.
59383         * configure.in: Likewise.
59384         * csu/Versions: Likewise.
59385         * csu/init.c: Likewise.
59386         * elf/tst-audit2.c: Likewise.
59387         * elf/tst-tls10.c: Likewise.
59388         * elf/tst-tls10.h: Likewise.
59389         * elf/tst-tls11.c: Likewise.
59390         * elf/tst-tls12.c: Likewise.
59391         * elf/tst-tls14.c: Likewise.
59392         * elf/tst-tlsmod11.c: Likewise.
59393         * elf/tst-tlsmod12.c: Likewise.
59394         * elf/tst-tlsmod13.c: Likewise.
59395         * elf/tst-tlsmod13a.c: Likewise.
59396         * elf/tst-tlsmod14a.c: Likewise.
59397         * elf/tst-tlsmod15b.c: Likewise.
59398         * elf/tst-tlsmod16a.c: Likewise.
59399         * elf/tst-tlsmod16b.c: Likewise.
59400         * elf/tst-tlsmod7.c: Likewise.
59401         * elf/tst-tlsmod8.c: Likewise.
59402         * elf/tst-tlsmod9.c: Likewise.
59403         * gmon/gmon.c: Likewise.
59404         * grp/fgetgrent_r.c: Likewise.
59405         * grp/putgrent.c: Likewise.
59406         * hurd/fopenport.c: Likewise.
59407         * include/libc-symbols.h: Likewise.
59408         * include/tls.h: Likewise.
59409         * intl/gettextP.h: Likewise.
59410         * intl/loadinfo.h: Likewise.
59411         * locale/global-locale.c: Likewise.
59412         * locale/localeinfo.h: Likewise.
59413         * mach/devstream.c: Likewise.
59414         * malloc/arena.c: Likewise.
59415         * malloc/set-freeres.c: Likewise.
59416         * misc/err.c: Likewise.
59417         * misc/getttyent.c: Likewise.
59418         * misc/mntent_r.c: Likewise.
59419         * posix/getopt.c: Likewise.
59420         * posix/wordexp.c: Likewise.
59421         * pwd/fgetpwent_r.c: Likewise.
59422         * resolv/Versions: Likewise.
59423         * resolv/res_hconf.c: Likewise.
59424         * shadow/fgetspent_r.c: Likewise.
59425         * shadow/putspent.c: Likewise.
59426         * stdio-common/printf_fphex.c: Likewise.
59427         * stdio-common/tmpfile.c: Likewise.
59428         * stdlib/abort.c: Likewise.
59429         * stdlib/fmtmsg.c: Likewise.
59430         * sunrpc/auth_unix.c: Likewise.
59431         * sunrpc/clnt_perr.c: Likewise.
59432         * sunrpc/clnt_tcp.c: Likewise.
59433         * sunrpc/clnt_udp.c: Likewise.
59434         * sunrpc/clnt_unix.c: Likewise.
59435         * sunrpc/openchild.c: Likewise.
59436         * sunrpc/svc_simple.c: Likewise.
59437         * sunrpc/svc_tcp.c: Likewise.
59438         * sunrpc/svc_udp.c: Likewise.
59439         * sunrpc/svc_unix.c: Likewise.
59440         * sunrpc/xdr.c: Likewise.
59441         * sunrpc/xdr_array.c: Likewise.
59442         * sunrpc/xdr_rec.c: Likewise.
59443         * sunrpc/xdr_ref.c: Likewise.
59444         * sunrpc/xdr_stdio.c: Likewise.
59446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59448         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59450 2011-07-03  Andreas Jaeger  <aj@suse.de>
59452         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59453         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59454         regenerate with gen-libm-tests.pl.
59456 2010-05-12  Petr Baudis  <pasky@suse.cz>
59458         [BZ #11589]
59459         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59460         around j0() zero points by switching to j1().
59461         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59462         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59464         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59466 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59468         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59469         instead of 0.
59470         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59471         instead of 0.
59472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59473         Patch in part by Pavel Roskin <proski@gnu.org>.
59475         [BZ #13138]
59476         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59477         realloc.
59478         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59479         Free memory block if necessary.
59481         [BZ #12847]
59482         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59483         be NULL.  Don't lock in this case.
59485 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59487         * elf/elf.h (ELFOSABI_GNU): New macro.
59488         (ELFOSABI_LINUX): Define to that.
59490 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59492         * string/strncat.c (strncat): Undef the symbol in case it has been
59493         defined in bits/string.h.
59495 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59497         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59499         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59500         link map.
59502 2011-08-17  Andreas Jaeger  <aj@suse.de>
59504         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59506 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59507             Ian Lance Taylor  <iant@google.com>
59509         * math/libm-test.inc (lround_test): New testcase.
59510         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59512 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59514         * Makefile: Remove support for automatic cvs check-ins.
59515         * Makerules: Likewise.
59516         * config.make.in: Likewise.
59517         * configure.in: Likewise.
59518         * intl/Makefile: Likewise.
59519         * locale/Makefile: Likewise.
59520         * po/Makefile: Likewise.
59521         * posix/Makefile: Likewise.
59522         * sysdeps/gnu/Makefile: Likewise.
59523         * sysdeps/mach/hurd/Makefile: Likewise.
59524         * sysdeps/sparc/sparc32/Makefile: Likewise.
59526         [BZ #13118]
59527         * posix/Makefile (bug-regex32-ENV): Define.
59528         Patch by John Stanley <jpsinthemix@verizon.net>.
59530         * misc/Makefile (headers): Add bits/select2.h.
59531         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59532         * misc/bits/select2.h: New file.
59533         * include/bits/select2.h: New file.
59534         * debug/Makefile (routines): Add fdelt_chk.
59535         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59536         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59537         FD_ISSET.
59538         * debug/fdelt_chk.c: New file.
59540         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59541         * wcsmbs/test-wmemcmp.c: Likewise.
59542         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59543         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59545 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59547         * string/Makefile (strop-tests): Add memcmp.
59548         * string/test-wmemcmp.c: New file.
59549         * string/test-memcmp.c: Add wmemcmp support.
59551 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59553         [BZ #13153]
59554         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59555         2011-07-19 change.
59557         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59558         garbage value in a __mach_port_mod_refs call in the cases of the
59559         task-self and thread-self ports.
59561 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59563         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59565 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59567         * elf/dl-load.c (lose): Check for non-null L.
59569 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59571         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59573         * elf/dl-libc.c (dlerror_run): Pass back error code from
59574         dl_catch_error.
59576         [BZ #13123]
59577         * elf/dl-load.c (lose): Free l_origin if it is valid.
59579         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59580         names.
59581         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59582         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59583         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59585         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59586         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59588 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59590         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59591         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59592         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59593         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59594         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59595         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59596         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59597         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59598         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59599         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59601 2011-08-15  Alan Modra  <amodra@gmail.com>
59603         [BZ #13092]
59604         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59605         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59606         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59607         ppc_mcount to static-only-routines.
59608         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59609         __mcount_internal.
59610         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59611         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59613 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59615         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59616         for finite and infinity parameters.
59618 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59621         and add nop instructions for throughput optimization.
59622         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59624 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59626         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59627         aligned copy for power7 with vector-scalar instructions.
59628         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59630 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59633         AVX check.
59635 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59637         [BZ #13144]
59638         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59639         last change.
59641 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59643         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59644         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59645         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59646         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59647         clock_gettime.
59649 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59651         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59652         Forgot to demangle the pointer.
59654         * sysdeps/i386/sysdep.h: Define atom_text_section.
59655         * sysdeps/x86_64/sysdep.h: Likewise.
59656         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59657         section with atom_text_section.
59658         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59659         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59660         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59661         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59662         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59665         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59666         already be defined.  Change to take two parameters and don't assign
59667         result to variable.  Adjust all users.
59668         Define INTERNAL_GETTIME if not already defined.
59669         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59670         call.
59671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59672         HAVE_CLOCK_GETTIME_VSYSCALL.
59673         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59676         gettimeofday vsyscall, just use time.
59678 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59681         <errno.h>.
59683 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59685         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59686         syscall on x86-64.
59687         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59688         syscall.
59689         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59690         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59691         syscall if possible.
59693 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59695         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59696         e_ident.  Don't pass to find_mapsXX.
59697         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59699 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59702         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59703         * sysdeps/x86_64/multiarch/strchr.S: Update.
59704         Check bit_slow_BSF bit.
59705         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59707         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59709 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59711         [BZ #13134]
59712         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59713         before glibc 2.15.
59714         (tryshell): Define.
59715         (__spawni): Change last parameter to be flag.  Test
59716         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59717         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59718         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59719         * posix/spawni.c: Likewise.
59720         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59721         * posix/spawnp.c: Likewise.  Change normal version to use
59722         SPAWN_XFLAGS_USE_PATH.
59723         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59724         SPAWN_XFLAGS_TRY_SHELL.
59726         [BZ #13150]
59727         * posix/glob.h: Remove gcc 1.x support.
59729         [BZ #13068]
59730         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59732 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59734         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59735         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59736         strrchr-sse2-bsf
59737         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59738         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59739         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59740         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59741         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59742         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59744 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59746         * sysdeps/x86_64/wcscmp.S: New file.
59748         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59749         wcscmp-c wcscmp-sse2
59750         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59751         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59752         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59753         * wcsmbs/wcscmp.c: Allow renaming.
59755 2011-09-05  David S. Miller  <davem@davemloft.net>
59757         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59758         stack slot, rather than the struct return pointer slot.
59759         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59760         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59762         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59764 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59766         * po/ja.po: Update from translation team.
59768         [BZ #13144]
59769         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59770         kernel in 64-bit binaries.
59772 2011-09-01  David S. Miller  <davem@davemloft.net>
59774         * elf/elf.h (HWCAP_SPARC_*): Move to..
59775         * sysdeps/sparc/sysdep.h: this new file and add new values.
59776         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59777         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59778         _DL_HWCAP_COUNT to 24.
59779         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59780         entries.
59781         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59782         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59783         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59785         instead of magic constants.
59786         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59788 2011-08-31  David S. Miller  <davem@davemloft.net>
59790         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59792         Reimplement to do errno handling inline.
59793         (SYSCALL_ERROR_HANDLER): New macro.
59794         (__SYSCALL_STRING): Do not do errno handling in asm.
59795         (__CLONE_SYSCALL_STRING): Delete.
59796         (__INTERNAL_SYSCALL_STRING): Delete.
59797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59798         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59799         (PSEUDO): Reimplement to do errno handling inline.
59800         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59801         (SYSCALL_ERROR_HANDLER): New macro.
59802         (__SYSCALL_STRING): Do not do errno handling in asm.
59803         (__CLONE_SYSCALL_STRING): Delete.
59804         (__INTERNAL_SYSCALL_STRING): Delete.
59805         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59806         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59807         i386.
59808         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59809         (inline_syscall*): Add 'err' argument.
59810         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59811         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59812         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59813         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59815         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59816         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59818 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59820         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59822 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59824         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59825         directive.
59827 2011-08-24  David S. Miller  <davem@davemloft.net>
59829         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59831 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59833         * elf/Makefile: Add rules to build and run unload8 test.
59834         * elf/unload8.c: New file.
59835         * elf/unload8mod1.c: New file.
59836         * elf/unload8mod1x.c: New file.
59837         * elf/unload8mod2.c: New file.
59838         * elf/unload8mod3.c: New file.
59840         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59841         it wasn't used.
59843 2011-08-23  David S. Miller  <davem@davemloft.net>
59845         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59846         subtract stack bias.
59847         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59848         %sp not %fp in calculations.
59849         (_JMPBUF_UNWINDS_ADJ): Likewise.
59851         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59852         (aio_suspend): Call it to force an exception region around the
59853         AIO_MISC_WAIT() invocation.
59855 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59857         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59858         backslash.
59860 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59862         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59863         protection macro.
59864         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59865         and <dl-machine.h>.
59866         (Elf64_FuncDesc): Remove.
59868 2011-08-22  David S. Miller  <davem@davemloft.net>
59870         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59871         sigaltstack check, add missing cfi directives.
59872         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59873         missing cfi directives, and sigaltstack handling.
59875 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59877         [BZ #11724]
59878         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59879         object is seen twice.
59880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59882         * elf/Makefile (distribute): Add tst-initorder2.c.
59883         (tests): Add tst-initorder2.
59884         (modules-names): Add tst-initorder2a tst-initorder2b
59885         tst-initorder2c tst-initorder2d.  Add rules to build them.
59886         ($(objpfx)tst-initorder2.out): New rule.
59887         * elf/tst-initorder2.c: New file.
59888         * elf/tst-initorder2.exp: New file.
59890 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59892         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59894         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59895         dependencies back to end of function.
59897         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59898         $(elfobjdir)/ld.so.
59900 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59902         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59903         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59904         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59905         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59906         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59907         of __vdso_gettimeofday.
59908         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59909         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59910         attribute_hidden.
59911         (_libc_vdso_platform_setup): Remove initialization of
59912         __vdso_gettimeofday and __vdso_time.
59914 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59916         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59917         and fgetc_unlocked.
59918         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59919         getc_unlocked.
59921         * elf/dl-open.c (add_to_global): Report additions to the global scope
59922         for LD_DEBUG=scopes.
59923         (dl_open_worker): Also print scope of newly loaded dependencies.
59924         (_dl_show_scope): Indicate if there is no scope.
59926         [BZ #13114]
59927         * stdio-common/Makefile (tests): Add bug24.
59928         * stdio-common/bug24.c: New file.
59930 2011-08-19  Andreas Jaeger  <aj@suse.de>
59932         [BZ #13114]
59933         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59934         non-existant file when using close-on-exec mode.
59936 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59939         the very first instruction.
59941         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59942         the CFI state in the end.
59943         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59944         inclusion of dl-trampoline.h.
59945         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59947 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59949         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59950         expectations for long double.
59952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59953         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59955 2011-08-14  David S. Miller  <davem@davemloft.net>
59957         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59958         artificual limit depends upon the system page size.
59960 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59962         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59963         * resolv/Makefile: Define CFLAGS-libresolv.
59965 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59967         * nss/makedb.c (compute_tables): Make variables used in nested
59968         function static.
59970 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59972         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59973         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59974         if buffer was too small.
59976         * elf/pldd.c (main): Attach to all threads in the process.
59977         Rewrite /proc handling to use *at functions.
59979 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59981         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59982         specifies first scope to show.
59983         (dl_open_worker): Update callers.  Move printing scope of new
59984         object to before the relocation.
59985         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59986         * sysdeps/generic/ldsodefs.h: Update declaration.
59988         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59989         string for the scope number.
59991 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59993         * nscd/servicescache.c (cache_addserv): Make sure written is always
59994         initialized.
59996 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59998         * sysdeps/i386/i486/bits/atomic.h
59999         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60000         statement expression, so as to suppress "set but not used" warning.
60001         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60003         * string/strncat.c (STRNCAT): Use prototype definition.
60005         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60006         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60007         -Iprograms here.
60008         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60009         (localedef-modules): Add localedef.
60010         (locale-modules): Add locale.
60012         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60013         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60014         to avoid a warning.
60016 2011-08-14  David S. Miller  <davem@davemloft.net>
60018         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60019         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60021 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60023         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60024         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60025         * elf/rtld.c (dl_main): Set l_name of vDSO.
60026         Call _dl_show_scope when DL_DEBUG_SCOPES.
60027         (process_dl_debug): Recognize scopes flag and also set it for all.
60028         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60029         Declare _dl_show_scope.
60031         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60032         (do_dlopen): Pass caller_dlopen to dl_open.
60033         (__libc_dlopen_mode): Initialize caller_dlopen.
60035         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60036         of libc.  Make tolower call locale-independent.  Optimize a bit by
60037         using isdigit instead of isalnum.
60038         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60040 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60042         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60043         was a dependency or dynamically loaded.
60045 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60047         * intl/l10nflist.c: Allow architecture-specific pop function.
60048         * sysdeps/x86_64/l10nflist.c: New file.
60050         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60051         classification.
60053 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60055         * include/dirent.h: Add libc_hidden_proto for scandirat and
60056         scandirat64.  Don't declare __scandirat64.
60057         * dirent/scandirat.c: Add libc_hidden_def.
60058         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60059         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60061 2011-08-10  David S. Miller  <davem@davemloft.net>
60063         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60064         enum.
60065         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60066         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60069 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60071         * Versions.def [libc]: Add GLIBC_2.15.
60072         * dirent/Makefile (routines): Add scandirat and scandirat64.
60073         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60074         GLIBC_2.15.
60075         * dirent/dirent.h: Declare scandirat and scandirat64.
60076         * dirent/scandirat.c: New file.
60077         * dirent/scandirat64.c: New file.
60078         * sysdeps/wordsize-64/scandirat.c: New file.
60079         * sysdeps/wordsize-64/scandirat64.c: New file.
60080         * dirent/opendir.c: Define opendirat.
60081         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60082         using scandirat.
60083         * dirent/scandir64.c: Adjust for scandir.c change.
60084         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60085         __scandirat64, and __scandir_cancel_handler.
60086         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60087         additional parameter and use openat instead of open (outside of ld.so).
60088         Add new __opendir as wrapper around __opendirat.
60089         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60090         here without requiring old scandirat implementation.
60092 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60094         * dirent/scandir.c (cancel_handler): Renamed to
60095         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60096         defined.  Adjust users.
60097         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60098         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60100 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60102         * string/test-string.h (IMPL): Use __STRING to expand name and then
60103         stringify it.
60105         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60106         of cleanups.
60108 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60110         * string/Makefile: Update.
60111         (strop-tests): Append strncat.
60112         * string/test-wcscmp.c: New file.
60113         New comprehensive test for wcscmp.
60114         * string/test-strcmp.c: Update.
60115         (WIDE): New define.
60117 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60119         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60120         line.
60122 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60125         encoding to ACE if AI_IDN.
60127 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60130         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60132 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60134         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60135         Fix overflow bug in strncat.
60136         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60138         * string/test-strncat.c: Update.
60139         Add new tests for checking overflow bugs.
60141 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60144         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60145         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60146         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60147         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60148         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60149         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60150         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60151         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60153         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60154         (USE_AS_STRCAT): Define.
60155         Add strcat and strncat support.
60156         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60158 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60160         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60161         __n bigger than INT_MAX+1.
60162         (__strncmp_g): Likewise.
60164 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60166         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60167         * libio/stido.h: Likewise.
60169         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60170         (AF_NFC): Define.
60171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60172         (AF_NFC): Define.
60174         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60176         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60177         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60180         [BZ #13021]
60181         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60182         installed.
60184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60185         typo.
60186         (_dl_x86_64_save_sse): Likewise.
60188 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60190         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60191         OSXSAVE.
60192         (_dl_x86_64_save_sse): Likewise.
60194         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60196         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60198 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60200         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60201         change.
60202         (_dl_x86_64_save_sse): Use correct AVX check.
60204 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60207         bug in strncpy/strncat.
60208         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60210 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60212         * string/tester.c (test_strcat): Add tests for different alignments
60213         of source and destination.
60214         (test_strncat): Likewise.
60216 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60218         [BZ #12852]
60219         * posix/glob.c (glob): Check passed in values before using them in
60220         expressions to avoid some overflows.
60221         (glob_in_dir): Likewise.
60223         [BZ #13007]
60224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60225         check for AVX enablement so that we don't crash with old kernels and
60226         new hardware.
60227         * elf/tst-audit4.c: Add same checks here.
60228         * elf/tst-audit6.c: Likewise.
60230         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60232 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60234         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60236 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60238         * po/cs.po: Update from translation team.
60239         * po/bg.po: Likewise.
60241 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60243         * misc/sys/cdefs.h: Add support for const attribute.
60244         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60245         to gnu_dev_{major,minor,makedev} functions.
60247 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60249         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60251 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60253         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60254         strlen results.
60256 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60259         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60260         register in order to avoid conflicts with the soft frame pointer
60261         being held in r11 when necessary.
60262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60263         (INTERNAL_VSYSCALL_NCS): Likewise.
60265 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60267         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60268         * elf/dl-fini.c (_dl_fini): Adjust caller.
60269         * elf/dl-close.c (_dl_close_worker): Likewise.
60270         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60272 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60274         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60275         "aux_cache->nlibs < 0".
60277         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60278         in the reload-count case.
60280 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60283         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60284         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60285         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60286         * sysdeps/x86_64/multiarch/strcat.S: New file.
60287         * sysdeps/x86_64/multiarch/strncat.S: New file.
60288         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60289         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60290         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60291         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60292         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60293         (USE_AS_STRCAT): Define.
60294         Add strcat and strncat support.
60295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60296         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60297         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60298         * string/strncat.c: Update.
60299         (USE_AS_STRNCAT): Define.
60300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60301         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60302         and i7.
60303         * sysdeps/x86_64/multiarch/init-arch.h
60304         (bit_Prefer_PMINUB_for_stringop): New.
60305         (index_Prefer_PMINUB_for_stringop): Likewise.
60306         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60307         bit_Prefer_PMINUB_for_stringop.
60309 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60311         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60312         buffer64.
60313         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60314         of casting of buffer.
60315         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60316         buffer32 and buffer64.
60317         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60318         writes instead of casting of buffer.
60319         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60320         buffer32.
60321         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60322         casting of buffer.
60324 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60326         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60328 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60330         * nscd/nscd.c (termination_handler): Don't do anything for a database
60331         if it has not yet been initialized.
60333 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60335         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60337 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60339         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60341 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60343         * po/nl.po: Update from translation team.
60344         * po/sv.po: Likewise.
60346 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60348         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60349         now disallowed by GCC.
60351         * configure.in (use-default-link): Default to yes if a test -shared
60352         link meets our qualifications.
60353         * configure: Regenerated.
60355         * config.make.in (output-format): New variable.
60356         * configure.in: Check for ld --print-output-format support.
60357         * configure: Regenerated.
60358         * Makerules ($(common-objpfx)format.lds)
60359         [$(output-format) != unknown]: Just use $(output-format),
60360         instead of the linker-script munging.
60362 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60364         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60365         of $(common-objpfx)shlib.lds.
60366         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60368         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60369         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60371         * configure.in (-z relro check): Adjust test code to add a large
60372         writable data section after it.
60373         * configure: Regenerated.
60375 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60377         * configure.in (-z relro check): Fix test code to make the variable
60378         truly const.
60379         * configure: Regenerated.
60381 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60383         * nscd/nscd.h (struct traced_file): Define.
60384         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60385         elements.  Add traced_files.
60386         (inotify_fd): Declare.
60387         (register_traced_file): Declare.
60388         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60389         (inotify_fd): Export.
60390         (resolv_conf_descr): Remove.
60391         (nscd_init): Move inotify descriptor creation to main.
60392         Don't register files for notification here.
60393         (register_traced_file): New function.
60394         (invalidate_cache): Don't use reset_res to determine whether to call
60395         res_init, go through the list of registered files.
60396         (main_loop_poll): The inotify descriptors are now stored in the
60397         structures for the traced files.
60398         (main_loop_epoll): Likewise
60399         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60400         to __nss_disable_nscd.
60401         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60402         for a database anymore.  Check the records for all the registered
60403         files instead.
60404         * nss/Makefile (libnss_files-routines): Add files-init.
60405         (libnss_db-routines): Add db-init.
60406         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60407         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60408         * nss/nss_db/db-init.c: New file.
60409         * nss/nss_files/files-init.c: New file.
60410         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60411         __nss_lookup_function.
60412         (__nss_lookup_function): Call nss_load_library.
60413         (nss_load_all_libraries): New function.
60414         (__nss_disable_nscd): Take parameter with callback function for files
60415         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60416         used for the cached services.
60417         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60418         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60419         options for features to all the files in nscd.
60421         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60423 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60425         * csu/elf-init.c (__libc_csu_init): Comment typo.
60427 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60429         * po/pl.po: Update from translation team.
60430         * po/ja.po: Likewise.
60431         * po/ru.po: Likewise.
60432         * po/ko.po: Likewise.
60433         * po/fr.po: Likewise.
60435 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60437         * configure.in (.ctors/.dtors header and trailer check):
60438         Use an empirical test on a built program.
60439         * configure: Regenerated.
60441         * configure.in (-z relro check): Use an empirical test on a built DSO.
60442         Detect, but do not require, on ia64.
60443         * configure: Regenerated.
60445         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60446         Update tests that use readelf to use $READELF instead.
60447         * configure: Regenerated.
60449 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60451         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60452         if the result is not used.
60454 2011-07-05  Andreas Jaeger  <aj@suse.de>
60456         [BZ#9696]
60457         * stdlib/tst-strtod.c: Add testcase.
60459 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60461         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60462         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60463         The latter has a higher limit.  Take additional parameter to pass to
60464         the new function.
60465         (__pathconf): Pass file to __statfs_link_max.
60466         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60467         __statfs_link_max.
60468         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60469         __statfs_link_max.
60471         [BZ #12868]
60472         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60473         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60474         Handle Lustre.
60475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60476         (__statfs_filesize_max): Likewise.
60477         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60479 2011-07-05  Andreas Jaeger  <aj@suse.de>
60481         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60483 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60485         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60486         `status' variable.
60487         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60488         Likewise.
60490 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60492         * Makefile (strop-tests): Add strncat.
60493         * string/test-strncat.c: New file.
60495 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60497         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60499 2011-06-21  Andreas Jaeger  <aj@suse.de>
60501         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60502         Copy rule from iconvdata/Makefile.
60504 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60506         [BZ #12922]
60507         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60508         but no long options are defined, just return 'W'.
60510 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60512         [BZ #9696]
60513         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60515 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60517         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60518         netgroups to read.
60519         (innetgr): Likewise.
60521 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60523         * config.make.in (install_root): Default to $(DESTDIR).
60525 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60527         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60529 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60531         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60533         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60534         containing directory rather than embedding absolute directory names.
60536         * scripts/check-local-headers.sh: Rewritten using awk.
60537         Match by word, not by line.  Print error messages for matches.
60538         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60540         * Makerules [shlib-lds-flags empty]:
60541         ($(common-objpfx)libc_pic.opts): New target.
60542         ($(common-objpfx)libc_pic.os.clean): New target.
60543         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60545         * config.make.in (OBJCOPY): New variable.
60546         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60547         * configure: Regenerated.
60549         * config.make.in (use-default-link): New variable.
60550         * configure.in (use_default_link): Grok --with-default-link to set it.
60551         * configure: Regenerated.
60552         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60553         (shlib-lds, shlib-lds-flags): Define to empty.
60555         * Makerules (shlib-lds): New variable.
60556         (shlib-lds-flags): New variable.
60557         (build-shlib, build-moduile, build-module-asneeded): Use it.
60558         ($(common-objpfx)libc.so): Use $(shlib-lds).
60559         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60560         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60562         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60563         DT_FLAGS/DT_FLAGS_1 with zero flags.
60565         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60566         linker script munging.
60568 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60570         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60571         as 128-bit value.
60572         * crypt/sha512.c (sha512_process_block): Perform total addition using
60573         128-bit if possible.
60574         (__sha512_finish_ctx): Likewise.
60575         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60576         as 64-bit value.
60577         * crypt/sha256.c (SWAP64): Define.
60578         (sha256_process_block): Perform total addition using 64-bit if
60579         possible.
60580         (__sha256_finish_ctx): Likewise.
60582 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60584         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60586         * nscd/hstcache.c (cache_addhst): Likewise.
60587         * nscd/grpcache.c (cache_addgr): Likewise.
60588         * nscd/aicache.c (addhstaiX): Likewise
60589         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60591 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60593         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60595         * nscd/hstcache.c (cache_addhst): Likewise.
60596         * nscd/grpcache.c (cache_addgr): Likewise.
60597         * nscd/aicache.c (addhstaiX): Likewise
60599 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60601         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60602         domain only when needed.
60604 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60607         is always restored.
60609 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60611         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60612         are re-adding the entry.
60613         * nscd/servicescache.c (cache_addserv): Likewise.
60615 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60617         * sysdeps/generic/dl-irel.h: fix protection against multiple
60618         inclusions.
60619         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60621 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60623         [BZ #12935]
60624         * malloc/memusage.sh: Fix quoting in message.
60625         * debug/xtrace.sh: Likewise.
60627         * configure.in: Remove support for --experimental-malloc option, make
60628         it the default.
60629         * config.make.in: Likewise.
60630         * malloc/Makefile: Likewise.
60632 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60634         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60635         two-byte characters.
60637 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60639         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60640         AC_CACHE_CHECK invocation.
60641         * configure: Regenerated.
60643         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60645 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60647         [BZ #12350]
60648         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60649         bit from old_res_options.
60651         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60653         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60654         value type for setfct.
60656 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60658         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60659         __gettimeofday instead of gettimeofday.
60661 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60663         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60665 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60667         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60669         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60670         info.
60672 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60675         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60676         strcpy-sse2-unaligned strncpy-sse2-unaligned
60677         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60678         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60679         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60680         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60681         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60684         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60685         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60686         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60687         (STRCPY): Support SSE2 and SSSE3 versions.
60689 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60691         [BZ #12874]
60692         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60693         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60694         kernels which artificially limit size of requests.
60696 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60699         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60700         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60701         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60702         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60703         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60704         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60705         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60706         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60707         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60708         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60709         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60710         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60711         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60712         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60714         Enable unaligned load optimization for Intel Core i3, i5 and i7
60715         processors.
60716         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60717         Define.
60718         (index_Fast_Unaligned_Load): Define.
60719         (HAS_FAST_UNALIGNED_LOAD): Define.
60721 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60723         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60725 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60727         [BZ #12907]
60728         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60729         until it is clear that the information is realy needed.
60730         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60732 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60736 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60738         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60739         /sys/devices/system/cpu/online if it is usable.
60741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60742         reading the information from the /proc filesystem to once a second.
60744 2011-06-21  Andreas Jaeger  <aj@suse.de>
60746         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60747         NULL after inclusion of kernel headers.
60749 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60751         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60752         calls to internal_setent.
60754         [BZ #12885]
60755         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60756         addresses using gethostbyname4_r ignore IPv4 addresses.
60758         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60759         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60761         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60763 2011-06-20  David S. Miller  <davem@davemloft.net>
60765         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60766         inclusions.
60767         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60769         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60770         (elf_irel): Use it.
60771         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60772         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60773         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60774         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60775         * sysdeps/x86_64/dl-irel.h: Likewise.
60777         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60778         * elf/dl-sym.c: Likewise.
60780 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60782         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60783         need to dereference resplen2.
60785 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60787         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60789 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60791         * Makeconfig: Define vardbdir and inst_vardbdir.
60792         * nss/Makefile: Add rules to install db-Makefile.
60794         * nss/nss_db/db-XXX.c: Cleanup.
60796         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60797         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60798         GLIBC_PRIVATE.
60799         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60800         * nss/makedb.c: Implement -g option to specify that value strings
60801         are generated and should not be added to table iterated over for
60802         get*ent calls.
60803         * nss/nss_db/db-initgroups.c: New file.
60805         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60806         interface.
60808         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60809         (internal_getgrouplist): Adjust to name change.
60810         Update use_initgroups_entry if this is not the first call.
60811         * nss/databases.def: Add initgroups entry.
60813         * nss/makedb.c (compute_tables): Check result of multiple hash table
60814         sizes to minimize maximum chain length.
60816 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60818         * Versions.def: Add entry for libnss_db.
60819         * shlib-versions: Likewise.
60820         * nss/Makefile: Add rules to build libnss_db.
60821         * nss/Versions: Add libnss_db information.  Organize libnss_files
60822         entries better.
60823         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60824         makedb progra.  Some minor improvements to generate smaller files.
60825         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60826         here from...
60827         * nss/makedb.c: ...here.
60828         Improve database format to be smaller and require less memory at
60829         runtime.
60830         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60831         db anymore.
60832         * nss/nss_db/db-netgrp.c: Likewise.
60833         * nss/nss_db/db-open.c: Likewise.
60834         * nss/nss_files/flies-XXX.x: Adjust comments.
60835         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60836         * nss/nss_files/files-grp.c: Likewise.
60837         * nss/nss_files/files-hosts.c: Likewise.
60838         * nss/nss_files/files-network.c: Likewise.
60839         * nss/nss_files/files-proto.c: Likewise.
60840         * nss/nss_files/files-pwd.c: Likewise.
60841         * nss/nss_files/files-rpc.c: Likewise.
60842         * nss/nss_files/files-service.c: Likewise.
60843         * nss/nss_files/files-sgrp.c: Likewise.
60844         * nss/nss_files/files-spwd.c: Likewise.
60845         * nss/nss_db/db-alias.c: Removed.
60846         * nss/nss_db/dummy-db.h: Removed.
60848 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60850         * nss/makedb.c: Rewritten to not use database library.
60851         * nss/Makefile: Update to build new makedb program.
60853 2011-06-14  Andreas Jaeger  <aj@suse.de>
60855         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60856         memset declaration.
60858 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60861         tmpbuf.
60863 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60865         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60866         * elf/Makefile ($(objpfx)ld.so): Likewise.
60868         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60869         Don't list ld.so twice in dependencies.
60871         * posix/bug-regex31.c: Include <stdlib.h>.
60873         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60875         * nis/nss_compat/compat-spwd.c
60876         (getspent_next_nss_netgr): Remove unused variable.
60877         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60879         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60880         nonmembers" output to use the right array.
60882         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60884         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60886         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60887         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60888         * catgets/gencat.c (read_input_file): Likewise.
60889         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60891         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60892         variable definition inside #if's controlling its use.
60894         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60896         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60898         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60900         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60901         unreachable code.
60903         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60905         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60906         * configure: Regenerated.
60908         * Makerules: Revert last change.
60909         * elf/Makefile: Likewise.
60911 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60913         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60914         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60915         (reloc-link): Likewise.
60917 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60919         * elf/Makefile: Add rules to build pldd.
60920         * elf/pldd.c: New file.
60921         * elf/pldd-xx.c: New file.
60923 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60925         * version.h: Update for 2.15 development version.
60927 2011-06-07  David S. Miller  <davem@davemloft.net>
60929         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60930         ifuncs.
60931         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60932         elf_machine_lazy_rel): Likewise.
60933         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60935         elf_machine_lazy_rel): Likewise.
60936         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60937         dl_hwcap via passed in argument.
60938         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60939         Likewise.
60941 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60943         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60945 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60947         [BZ #12849]
60948         * manual/fdl-1.1.texi: New file, verbatim from:
60949         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60950         * manual/lgpl-2.1.texi: New file, verbatim from:
60951         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60952         * manual/Makefile (licenses): New variable, list those new file names.
60953         (texis): Use it.
60954         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60956         * manual/fdl.texi: File removed.
60957         * manual/lesser.texi: File removed.
60958         * manual/libc.texinfo (Copying, Documentation License):
60959         Use new @include file names, put @appendix directive before @include.
60961 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60963         [BZ #12841]
60964         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60965         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60966         (mq_open): Add __NTH.
60968 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60971         Assume Intel Core i3/i5/i7 processor if AVX is available.
60973 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60976         typo.
60978 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60980         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60981         memory.  Use alloca_account.  Fix memory leak when retrying.
60983 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60985         * version.h (RELEASE): Bump for 2.14 release.
60986         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60988         * config.make.in (RANLIB): Remove entry.
60990 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60992         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60993         (libc.pot): Work around missing support for .ksh extension in xgettext.
60995         [BZ #12684]
60996         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60997         if both request failed.
60998         (send_dg): In case of server errors clear resplen or *resplen2.
61000         [BZ #12454]
61001         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61002         when there are multiple maps.
61003         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61004         (_dl_fini): Remove test here.
61006         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61008 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61010         [BZ #12350]
61011         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61012         bit from old_res_options.
61013         (gaih_inet): Likewise.
61015         [BZ #11099]
61016         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61017         as signed.
61019         * resolv/res_init.c (res_setoptions): Make the code more compact.
61021         [BZ #11558]
61022         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61023         set RES_USEVC.
61025         [BZ #11634]
61026         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61028         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61030         [BZ #11781]
61031         * malloc/malloc.h: Declare malloc hook variables as volatile.
61033         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61034         in last patch.
61036         [BZ #11799]
61037         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61038         raise in the comment.
61039         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61041         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61043 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61045         [BZ #12811]
61046         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61047         grow the buffers more if it already has to be sufficient.
61048         (build_wcs_upper_buffer): Likewise.
61049         * posix/regexec.c (check_matching): Likewise.
61050         (clean_state_log_if_needed): Likewise.
61051         (extend_buffers): Don't enlarge buffers beyond size of the input
61052         buffer.
61053         Patches mostly by Emil Wojak <emil@wojak.eu>.
61054         * posix/bug-regex32.c: New file.
61055         * posix/Makefile (tests): Add bug-regex32.
61057         * locale/findlocale.c (_nl_find_locale): Return right away if
61058         _nl_explode_name failed.
61059         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61061         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61063         * debug/xtrace.sh: Unify messages.
61064         * malloc/memusage.sh: Likewise.
61066         [BZ #12813]
61067         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61068         time symbol from vDSO.  Substitute with vsyscall if not available.
61069         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61070         __vdso_time.
61072         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61073         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61074         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61075         Add sendmmsg and internal_sendmmsg.
61076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61077         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61078         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61080         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61081         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61084 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61086         [BZ #12813]
61087         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61088         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61089         available.
61090         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61091         __vdso_getcpu.
61093         [BZ #12814]
61094         * iconvdata/Makefile (tests): Add bug-iconv9.
61095         * iconvdata/bug-iconv9.c: New file.
61097 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61099         [BZ #12814]
61100         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61102 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61104         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61105         (struct user_regs_struct): Change intcs field back to cs.
61107 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61109         * po/ja.po: Update from translation team.
61111 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61113         [BZ #12795]
61114         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61115         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61117 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61119         * stdlib/longlong.h: Update from GCC.
61121 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61123         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61124         parameter name.
61125         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61126         Add parameter name.
61127         (__sysconf): Pass it down.
61129 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61131         [BZ #12671]
61132         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61133         some situations.
61134         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61135         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61136         add in in __libc_use_alloca calls.  Adjust callers.
61137         (glob): Use malloc in some situations.
61139         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61140         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61141         pltexit.
61143 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61145         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61146         and CLOCK_BOOTTIME_ALARM.
61148         [BZ #12782]
61149         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61150         is returned.
61152         * string/_strerror.c (__strerror_r): Print negative errors as signed
61153         numbers.
61155         [BZ #12777]
61156         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61157         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61158         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61160         * configure.in: Fix typo in redirection and correct removal of test
61161         files in two cases.
61163         [BZ #12788]
61164         * locale/setlocale.c (new_composite_name): Fix test to check for
61165         identical name of all categories.
61167         [BZ #12792]
61168         * libio/filedoalloc.c (local_isatty): New function.
61169         (_IO_file_doallocate): Use local_isatty.
61170         * stdio-common/perror.c (perror): In case a new stream is used
61171         forward the stream error.
61172         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61173         error flag.
61175 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61177         [BZ #11869]
61178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61179         alloca.
61180         * include/alloca.h (extend_alloca_account): Define.
61182         [BZ #11857]
61183         * posix/regex.h: Fix comments with documentation of user-accessible
61184         fields after compilation and describe correct free'ing of pattern
61185         after re_compile_pattern.
61186         Patch by Reuben Thomas <rrt@sc3d.org>.
61188 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61190         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61191         and -mno-altivec to prevent the compiler from using Altivec and/or
61192         VSX instructions when the corresponding registers are not available.
61194 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61196         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61198 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61200         * libio/freopen.c (freopen): Use __dup2, not dup2.
61201         * libio/freopen64.c (freopen64): Likewise.
61203 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61205         [BZ #12775]
61206         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61207         * math/Makefile (tests): Add test-powl.
61208         (CFLAGS-test-powl.c): Define.
61209         * math/test-powl.c: New file.
61211 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61213         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61215 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61217         [BZ #11837]
61218         * iconvdata/gb18030.c: Update to GB18020-2005.
61220 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61222         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61223         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61224         Patch by Aharon Robbins <arnold@skeeve.com>.
61226         [BZ #11892]
61227         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61228         on the stack.
61230         [BZ #11895]
61231         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61232         through underflows.
61234         [BZ #12766]
61235         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61236         point to strings before performing equality test for error_one_per_line
61237         mode.
61239         [BZ #11697]
61240         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61242         [BZ #11820]
61243         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61244         (struct user_fpregs_struct): Avoid __uint*_t types.
61246         [BZ #6420]
61247         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61248         symbol info.  Use it instead of calling _dl_addr locally.
61249         (lock_and_info): New function.
61250         (tr_freehook): Call lock_and_info and pass symbol info as additional
61251         parameter to tr_where.
61252         (tr_mallochook): Likewise.
61253         (tr_reallochook): Likewise.
61254         (tr_memalignhook): Likewise.
61256         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61257         used and couldn't be at all thread-safe.
61259 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61261         * libio/freopen.c (freopen): Don't close old file descriptor
61262         before the new one is opened.  Instead dup the new file descriptor
61263         to the old one after the new stream is created.
61264         * libio/freopen64.c (freopen64): Likewise.
61265         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61266         * libio/fileops.c (_IO_new_file_close_it): Handle new
61267         _IO_FLAGS2_NOCLOSE flag.
61268         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61269         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61270         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61271         _IO_FLAGS2_NOCLOSE flag.
61272         * include/unistd.h: Add hidden_proto for dup3.
61273         Define __have_dup3.
61274         * io/dup3.c: Define hidden symbol.
61275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61277         [BZ #7101]
61278         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61279         when an incomplete long option is used.
61280         * posix/tst-getopt_long1.c: New file.
61281         * posix/Makefile (tests): Add tst-getopt_long1.
61283         [BZ #10138]
61284         * scripts/config.guess: Update from autoconf-2.68.
61285         * scripts/config.sub: Likewise.
61287         [BZ #10157]
61288         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61289         tests into ...
61290         (has_cpuclock): ...this.  New function.
61291         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61292         macro here based on has_cpuclock code.
61294         [BZ #10149]
61295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61296         First byte (not low byte) is now always NUL.
61297         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61300         Use non-cancelable interfaces.
61302         [BZ #9809]
61303         * locale/iso-639.def: Add entry for Sorani.
61305         [BZ #11901]
61306         * include/stdlib.h: Move include protection to the right place.
61307         Define abort_msg_s.  Declare __abort_msg with it.
61308         * stdlib/abort.c (__abort_msg): Adjust type.
61309         * assert/assert.c (__assert_fail_base): New function.  Majority
61310         of code from __assert_fail.  Allocate memory for __abort_msg with
61311         mmap.
61312         (__assert_fail): Now call __assert_fail_base.
61313         * assert/assert-perr.c: Remove bulk of implementation.  Use
61314         __assert_fail_base.
61315         * include/assert.hL Declare __assert_fail_base.
61316         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61317         mmap.
61318         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61320 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61322         [BZ #11952]
61323         [BZ #12453]
61324         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61325         until all modules are registered in the DTV.
61326         * elf/Makefile: Add rules to build and run tst-tls19.
61327         * elf/tst-tls19.c: New file.
61328         * elf/tst-tls19mod1.c: New file.
61329         * elf/tst-tls19mod2.c: New file.
61330         * elf/tst-tls19mod3.c: New file.
61331         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61333         [BZ #12083]
61334         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61335         correctly.
61337         [BZ #12601]
61338         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61339         two-byte sequence errors.
61340         * iconvdata/Makefile (tests): Add bug-iconv8.
61341         * iconvdata/bug-iconv8.c: New file.
61343         [BZ #12626]
61344         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61345         buf2 definition.
61347         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61349         [BZ #12432]
61350         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61351         (dummy_getcfa): New function.
61352         (init): Get _Unwind_GetCFA address, use dummy if not found.
61353         (backtrace_helper): In recursion check, also check whether CFA changes.
61354         (__backtrace): Completely initialize arg.
61356         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61357         storing incomplete byte sequence in state object.  Avoid testing for
61358         guaranteed too small input if we know there is enough data available.
61360 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61362         * Makeconfig (+link-pie): Indent.
61363         * Rules (binaries-pie): Define if $(have-fpie) and
61364         $(build-shared).
61365         (binaries-shared): Also filter out $(binaries-pie).
61366         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61367         * nscd/Makefile (others-pie): Add nscd.
61368         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61369         ($(objpfx)nscd): Remove command override.
61370         * login/Makefile (others-pie): Add pt_chown.
61371         ($(objpfx)pt_chown): Remove command override.
61372         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61373         remove command overrides.
61375 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61377         * libio/tst_putwc.c: Fix error messages.
61379         [BZ #12724]
61380         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61381         currently writing and seek to current position when not.
61382         * libio/Makefile (tests): Add bug-fclose1.
61383         * libio/bug-fclose1.c: New file.
61385 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61387         [BZ #12511]
61388         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61389         don't set DF_1_NODELETE here.
61390         (do_lookup_x): When entering new entry test for copy relocation
61391         and if necessary set DF_1_NODELETE flag.
61392         * elf/tst-unique4.cc: New file.
61393         * elf/tst-unique4.h: New file.
61394         * elf/tst-unique4lib.cc: New file.
61395         * elf/Makefile: Add rules to build and run tst-unique4.
61396         Patch by Piotr Bury <pbury@goahead.com>.
61398 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61400         [BZ #12052]
61401         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61403         [BZ #12625]
61404         * misc/mntent_r.c (addmntent): Flush the stream after the output
61406         [BZ #12393]
61407         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61408         (is_trusted_path_normalize): Skip initial colon.  Append slash
61409         to empty buffer.  Duplicate is_trusted_path code but allow
61410         constructed patch to be prefix.
61411         (is_dst): Allow $ORIGIN followed by /.
61412         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61413         Correct testing of result of is_trusted_path_normalize
61414         (decompose_rpath): Fix warning.
61416 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61418         [BZ #11257]
61419         * grp/initgroups.c (internal_getgrouplist): When we found the service
61420         list through the initgroups entry in nsswitch.conf do not always
61421         continue on a successful lookup.  Don't always use the
61422         __nss_group_database value if it is set.
61423         * nss/nsswitch.conf (initgroups): Change action for successful db
61424         lookup to continue for compatibility.
61426 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61428         [BZ #11532]
61429         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61430         and CP774 modules.
61431         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61432         and CP774 modules.
61433         * iconvdata/tst-tables.sh: Likewise.
61434         * iconvdata/cp770.c: New file.
61435         * iconvdata/cp771.c: New file.
61436         * iconvdata/cp772.c: New file.
61437         * iconvdata/cp773.c: New file.
61438         * iconvdata/cp774.c: New file.
61439         * iconvdata/testdata/CP770: New file.
61440         * iconvdata/testdata/CP770..UTF8: New file.
61441         * iconvdata/testdata/CP771: New file.
61442         * iconvdata/testdata/CP771..UTF8: New file.
61443         * iconvdata/testdata/CP772: New file.
61444         * iconvdata/testdata/CP772..UTF8: New file.
61445         * iconvdata/testdata/CP773: New file.
61446         * iconvdata/testdata/CP773..UTF8: New file.
61447         * iconvdata/testdata/CP774: New file.
61448         * iconvdata/testdata/CP774..UTF8: New file.
61450         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61451         END CHARMAP line.
61452         * iconvdata/gen-8bit-gap.sh: Likewise.
61453         * iconvdata/gen-8bit.sh: Likewise.
61455         * locale/iso-639.def: Add ary entry.
61457         [BZ #11258]
61458         * locale/C-translit.h.in: Add U20A1 transliteration.
61460         [BZ #12178]
61461         * locale/iso-639.def: Add wae entry.
61462         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61464         [BZ #12545]
61465         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61466         for n.
61468         [BZ #12711]
61469         * locale/C-translit.h.in: Add entry for U20B9.
61470         Patch by pravin.d.s@gmail.com.
61472 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61474         [BZ #12713]
61475         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61476         ENAMETOOLONG use generic getcwd.
61477         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61478         in rtld.  Use *stat64.
61479         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61480         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61481         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61482         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61483         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61484         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61485         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61486         __fstatat64 macros.
61487         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61488         * dirent/rewinddir.c: Add libc_hidden_def.
61489         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61490         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61492         * include/dirent.h (__alloc_dir): Add flags parameter.
61493         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61494         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61495         __alloc_dir.
61496         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61497         from fdopendir if O_CLOEXEC is already set.
61499 2011-03-15  Alan Modra  <amodra@gmail.com>
61501         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61502         l_tls_firstbyte_offset non-zero.  Save padding offset in
61503         l_tls_firstbyte_offset for later use.
61504         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61505         freeing static tls block.
61507 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61509         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61510         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61511         being defined by the kernel headers.
61513 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61515         [BZ #12734]
61516         * resolv/resolv.h: Define RES_NOTLDQUERY.
61517         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61518         no-tld-query and set RES_NOTLDQUERY.
61519         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61520         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61521         modern BIND to search name as TLD unless forbidden.
61523 2011-05-07  Petr Baudis  <pasky@suse.cz>
61524             Ulrich Drepper  <drepper@gmail.com>
61526         [BZ #12393]
61527         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61528         (is_trusted_path): ...to here.
61529         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61530         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61531         using is_trusted_path_normalize() in setuid scripts.
61533 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61535         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61536         __BEGIN/__END_DECLS.
61538 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61540         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61541         NSS_STATUS_NOTFOUND if no record was found.
61543 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61545         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61546         (headers-not-in-tirpc): Remove rpc/netdb.h
61547         * resolv/netdb.h: Revert last change.
61549 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61551         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61552         circular dependency between libgcc.a and libc.a.
61554 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61556         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61557         * nis/Makefile: Don't install rpcsvc/*.
61558         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61559         instead of <rpc/types.h>.
61560         (MAXHOSTNAMELEN): Define.
61562 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61564         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61566 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61568         [BZ #12714]
61569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61570         gethostbyname4_r when IPv6 results are possible.
61572 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61574         [BZ #12723]
61575         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61576         _PC_PIPE_BUF handling.
61578 2011-04-30  Bruno Haible  <bruno@clisp.org>
61580         [BZ #12717]
61581         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61582         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61583         to 'int'.
61584         * inet/getnameinfo.c (getnameinfo): Likewise.
61586 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61588         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61589         to groups setting in database lookup.
61590         * nss/nsswitch.conf: Add initgroups entry.
61592 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61594         [BZ #12685]
61595         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61596         mode string.
61597         Patch by Eric Blake <eblake@redhat.com>.
61599 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61601         * sunrpc/Makefile (need-export-routines): Add svc_run.
61602         (routines): Remove svc_run.
61603         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61604         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61605         * sunrpc/svc_run.c (svc_run): Likewise.
61606         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61608 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61611         problem in reallocation in last patch.
61613 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61615         * sunrpc/Makefile: Move inclusion of Rules.
61617 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61619         * nss/nss_files/files-initgroups.c: New file.
61620         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61621         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61622         _nss_files_initgroups_dyn.
61624 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61626         * elf/elf.h (R_ARM_IRELATIVE): Define.
61628 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61630         * po/ru.po: Update from translation team.
61632 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61634         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61635         dependencies.
61637 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61639         [BZ #12653]
61640         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61641         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61642         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61644         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61646 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61648         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61649         differing bytes.
61650         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61652         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61654 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61656         [BZ #12420]
61657         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61658         storing it.
61659         * stdlib/bug-getcontext.c: New file.
61660         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61662 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61664         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61665         instructions into .machine "z9-109".
61666         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61667         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61669 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61671         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61672         between environment variables and auxiliary vector.
61674 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61676         * Makefile: Add rules to build linkobj/libc.so.
61677         * include/libc-symbols.h: Define libc_hidden_nolink.
61678         * include/rpc/auth.h: Mark functions which are to be hidden.
61679         * include/rpc/auth_des.h: Likewise.
61680         * include/rpc/auth_unix.h: Likewise.
61681         * include/rpc/clnt.h: Likewise.
61682         * include/rpc/des_crypt.h: Likewise.
61683         * include/rpc/key_prot.h: Likewise.
61684         * include/rpc/pmap_clnt.h: Likewise.
61685         * include/rpc/pmap_prot.h: Likewise.
61686         * include/rpc/pmap_rmt.h: Likewise.
61687         * include/rpc/rpc_msg.h: Likewise.
61688         * include/rpc/svc.h: Likewise.
61689         * include/rpc/svc_auth.h: Likewise.
61690         * include/rpc/xdr.h: Likewise.
61691         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61692         * nss/Makefile: Likewise.
61693         * sunrpc/Makefile: Don't install headers.  Build library with normal
61694         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61695         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61696         for the compat linking library.  Remove use of INTDEF/INTUSE.
61697         * sunrpc/auth_none.c: Likewise.
61698         * sunrpc/auth_unix.c: Likewise.
61699         * sunrpc/authdes_prot.c: Likewise.
61700         * sunrpc/authuxprot.c: Likewise.
61701         * sunrpc/clnt_gen.c: Likewise.
61702         * sunrpc/clnt_perr.c: Likewise.
61703         * sunrpc/clnt_raw.c: Likewise.
61704         * sunrpc/clnt_simp.c: Likewise.
61705         * sunrpc/clnt_tcp.c: Likewise.
61706         * sunrpc/clnt_udp.c: Likewise.
61707         * sunrpc/clnt_unix.c: Likewise.
61708         * sunrpc/des_crypt.c: Likewise.
61709         * sunrpc/des_soft.c: Likewise.
61710         * sunrpc/get_myaddr.c: Likewise.
61711         * sunrpc/key_call.c: Likewise.
61712         * sunrpc/key_prot.c: Likewise.
61713         * sunrpc/netname.c: Likewise.
61714         * sunrpc/pm_getmaps.c: Likewise.
61715         * sunrpc/pm_getport.c: Likewise.
61716         * sunrpc/pmap_clnt.c: Likewise.
61717         * sunrpc/pmap_prot.c: Likewise.
61718         * sunrpc/pmap_prot2.c: Likewise.
61719         * sunrpc/pmap_rmt.c: Likewise.
61720         * sunrpc/publickey.c: Likewise.
61721         * sunrpc/rpc_cmsg.c: Likewise.
61722         * sunrpc/rpc_common.c: Likewise.
61723         * sunrpc/rpc_dtable.c: Likewise.
61724         * sunrpc/rpc_prot.c: Likewise.
61725         * sunrpc/rpc_thread.c: Likewise.
61726         * sunrpc/rtime.c: Likewise.
61727         * sunrpc/svc.c: Likewise.
61728         * sunrpc/svc_auth.c: Likewise.
61729         * sunrpc/svc_authux.c: Likewise.
61730         * sunrpc/svc_raw.c: Likewise.
61731         * sunrpc/svc_run.c: Likewise.
61732         * sunrpc/svc_simple.c: Likewise.
61733         * sunrpc/svc_tcp.c: Likewise.
61734         * sunrpc/svc_udp.c: Likewise.
61735         * sunrpc/svc_unix.c: Likewise.
61736         * sunrpc/svcauth_des.c: Likewise.
61737         * sunrpc/xcrypt.c: Likewise.
61738         * sunrpc/xdr.c: Likewise.
61739         * sunrpc/xdr_array.c: Likewise.
61740         * sunrpc/xdr_float.c: Likewise.
61741         * sunrpc/xdr_intXX_t.c: Likewise.
61742         * sunrpc/xdr_mem.c: Likewise.
61743         * sunrpc/xdr_rec.c: Likewise.
61744         * sunrpc/xdr_ref.c: Likewise.
61745         * sunrpc/xdr_sizeof.c: Likewise.
61746         * sunrpc/xdr_stdio.c: Likewise.
61748 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61750         [BZ #12650]
61751         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61752         * sysdeps/ia64/dl-tls.h: Likewise.
61753         * sysdeps/powerpc/dl-tls.h: Likewise.
61754         * sysdeps/s390/dl-tls.h: Likewise.
61755         * sysdeps/sh/dl-tls.h: Likewise.
61756         * sysdeps/sparc/dl-tls.h: Likewise.
61757         * sysdeps/x86_64/dl-tls.h: Likewise.
61758         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61760 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61762         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61763         rpath element also skip the following colon.
61764         (expand_dynamic_string_token): Add is_path parameter and pass
61765         down to DL_DST_REQUIRED and _dl_dst_substitute.
61766         (decompose_rpath): Call expand_dynamic_string_token with
61767         non-zero is_path.  Ignore empty rpaths.
61768         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61769         with zero is_path.
61771 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61774         Make cancelable.
61776 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61778         [BZ #12655]
61779         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61780         Patch by Filipe David Manana <fdmanana@apache.org>.
61782 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61785         Maintain aligned stack.
61786         (CHECK_RSP): Remove unused macro.
61788 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61790         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61793 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61795         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61797         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61799 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61801         [BZ #12518]
61802         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61803         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61804         * sysdeps/x86_64/memmove.c: New file.
61805         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61806         (memcpy): Renamed to ...
61807         (__new_memcpy): This.
61808         (memcpy): Provide GLIBC_2_14 memcpy.
61809         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61810         (memcpy): Provide GLIBC_2_2_5 memcpy.
61812 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61814         [BZ #12631]
61815         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61817 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61819         * misc/syncfs.c: New file.
61820         * misc/Makefile (routines): Add syncfs.
61821         * posix/unistd.h: Declare syncfs.
61822         * sysdeps/unix/syscalls.list: Add syncfs.
61824 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61826         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61827         open_by_handle_at.
61828         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61829         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61833         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61834         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61836 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61838         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61839         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61840         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61844         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61846         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61847         sync_file_range.c with -fexceptions.
61848         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61849         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61850         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61851         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61852         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61853         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61855         sync_file_range as cancellation point
61856         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61857         now a wrapper around __call_sync_file_range with cancellation handling.
61858         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61859         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61860         function name to __call_sync_file_range.
61861         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61862         Add call_sync_file_range.
61864 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61867         bits/timex.h.
61869 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61871         * iconv/iconv.h: Fix typo in comment.
61872         * io/fcntl.h: Likewise.
61873         * libio/stdio.h: Likewise.
61874         * posix/spawn.h: Likewise.
61875         * posix/unistd.h: Likewise.
61876         * stdlib/stdlib.h: Likewise.
61877         * time/time.h: Likewise.
61878         * wcsmbs/wchar.h: Likewise.
61880         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61881         open_by_handle): Add.
61882         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61883         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61884         Augment a few comments.
61885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61886         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61887         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61889         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61890         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61891         open_by_handle.
61893         * io/fcntl.h (AT_EMPTY_PATH): Define.
61895 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61897         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61898         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61899         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61900         to...
61901         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61902         * Versions.def: Add GLIBC_2.14.
61903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61904         Export.
61906 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61908         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61909         round counter.
61910         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61912 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61914         [BZ #12597]
61915         * string/test-strncmp.c (do_page_test): New function.
61916         (check2): Likewise.
61917         (test_main): Call check2.
61918         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61920 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61922         [BZ #12587]
61923         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61924         Handle cache information in CPU leaf 4.
61925         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61927 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61929         [BZ #12583]
61930         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61931         character representation.
61932         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61934 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61936         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61937         END(__isnan) to END(__isnanf) to match function entry point/label
61938         EALIGN(__isnanf,...).
61940 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61942         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61944 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61946         [BZ #12510]
61947         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61948         copy from the symbol referenced in the relocation to initialize the
61949         used variable.
61950         Patch by Piotr Bury <pbury@goahead.com>.
61951         * elf/Makefile: Add rules to build and tst-unique3.
61952         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61953         * elf/tst-unique3.cc: New file.
61954         * elf/tst-unique3.h: New file.
61955         * elf/tst-unique3lib.cc: New file.
61956         * elf/tst-unique3lib2.cc: New file.
61958         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61960 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61962         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61963         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61964         to _start.
61966 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61968         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61969         to-be-loaded object along a path to loader is ld.so.
61971 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61972             Ulrich Drepper  <drepper@gmail.com>
61974         * sysdeps/x86_64/memset.S: After aligning destination, code
61975         branches to different locations depending on the value of
61976         misalignment, when multiarch is enabled. Fix this.
61978 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61980         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61981         Set _x86_64_preferred_memory_instruction for AMD processsors.
61982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61983         Set bit_Prefer_SSE_for_memop for AMD processors.
61985 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61987         * libio/fmemopen.c (fmemopen): Optimize a bit.
61989 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61991         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61993 2011-03-03  Roland McGrath  <roland@redhat.com>
61995         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61997 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61999         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62000         __bzero_ultra1 instead of __memset_ultra1.
62002 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62003             Ulrich Drepper  <drepper@gmail.com>
62005         [BZ #12509]
62006         * include/link.h (struct link_map): Add l_orig_initfini.
62007         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62008         returning unsuccessfully.
62009         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62010         close of a file loaded at startup, restore the original l_initfini
62011         list.
62012         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62013         list, store the pointer.
62014         * elf/Makefile ($(objpfx)noload-mem): New rule.
62015         (noload-ENV): Define.
62016         (tests): Add $(objpfx)noload-mem.
62017         * elf/noload.c: Include <memcheck.h>.
62018         (main): Call mtrace.  Close all opened handles.
62020 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62022         [BZ #12454]
62023         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62024         dependencies are missing.
62026 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62028         Fix __if_freereq crash: Unlike the generic version which uses free,
62029         Hurd needs munmap.
62030         * sysdeps/mach/hurd/ifreq.h: New file.
62032 2011-01-27  Petr Baudis  <pasky@suse.cz>
62033             Ulrich Drepper  <drepper@gmail.com>
62035         [BZ 12445]#
62036         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62037         to extend_alloca().
62038         * stdio-common/bug23.c: New file.
62039         * stdio-common/Makefile (tests): Add bug23.
62041 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62042             Ulrich Drepper  <drepper@gmail.com>
62044         [BZ #12489]
62045         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62046         before performing relro protection.  At old place add assertion
62047         to make sure nothing changed.
62049 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62050             Glauber de Oliveira Costa  <glommer@gmail.com>
62052         * elf/elf.h: Add new ARM TLS relocs.
62054 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62057         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62058         cast from r3.
62059         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62060         'tests' variable.
62061         * sysdeps/wordsize-64/tst-writev.c: New file.
62063 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62065         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62066         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62067         insns in _dl_start to prevent a TOC reference before relocs are
62068         resolved.
62070 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62072         [BZ #12469]
62073         * Makeconfig: Remove RANLIB definition.
62074         * Makerules: Don't use RANLIB.
62075         * aclocal.m4: Remove ranlib test.
62076         * configure.in: No need to check for ranlib.
62077         * elf/rtld-Rules: Don't use RANLIB.
62079 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62081         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62082         protection macro.
62083         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62084         inclusion protection macro.
62086         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62087         SIGRTMIN and SIGRTMAX and print information in that case only when
62088         SIGRTMIN is defined.
62090 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62092         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62093         arginfo fn returning -1.
62095         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62096         and thousands string is zero terminated.
62098 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62100         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62101         sysdeps/unix/sysv/linux/bits/socket.h.
62103 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62105         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62106         (__CPU_COUNT): Remove old macros.
62107         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62108         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62109         (__CPU_ALLOC, __CPU_FREE): Add macros.
62110         (__sched_cpualloc, __sched_cpufree): Add declarations.
62112 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62114         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62115         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62116         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62117         (readdhstai): Return value of addhstaiX call.
62118         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62119         (addgrbyX): Return value returned by cache_addgr.
62120         (readdgrbyname): Return value returned by addgrbyX.
62121         (readdgrbygid): Likewise.
62122         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62123         (addpwbyX): Return value returned by cache_addpw.
62124         (readdpwbyname): Return value returned by addhstbyX.
62125         (readdpwbyuid): Likewise.
62126         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62127         (addservbyX): Return value returned by cache_addserv.
62128         (readdservbyname): Return value returned by addservbyX:
62129         (readdservbyport): Likewise.
62130         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62131         (addhstbyX): Return value returned by cache_addhst.
62132         (readdhstbyname): Return value returned by addhstbyX.
62133         (readdhstbyaddr): Likewise.
62134         (readdhstbynamev6): Likewise.
62135         (readdhstbyaddrv6): Likewise.
62136         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62137         (readdinitgroups): Return value returned by addinitgroupsX.
62138         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62139         (prune_cache): Keep track of timeout value of re-added entries.
62140         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62141         * nscd/nscd.h: Adjust prototypes of readd* functions.
62143 2011-02-04  Roland McGrath  <roland@redhat.com>
62145         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62146         (nis_stats): Likewise.
62147         * nis/nis_modify.c (nis_modify): Likewise.
62148         * nis/nis_remove.c (nis_remove): Likewise.
62149         * nis/nis_add.c (nis_add): Likewise.
62151         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62153         * posix/fnmatch_loop.c: Add some consts.
62155         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62157 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62159         [BZ #12460]
62160         * config.make.in (config-cflags-novzeroupper): Define.
62161         * configure.in: Substitute libc_cv_cc_novzeroupper.
62162         * elf/Makefile (AVX-CFLAGS): Define.
62163         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62164         (CFLAGS-tst-auditmod4a.c): Likewise.
62165         (CFLAGS-tst-auditmod4b.c): Likewise.
62166         (CFLAGS-tst-auditmod6b.c): Likewise.
62167         (CFLAGS-tst-auditmod6c.c): Likewise.
62168         (CFLAGS-tst-auditmod7b.c): Likewise.
62169         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62171 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62173         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62174         function to the callback.
62175         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62177 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62179         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62180         of errno.
62182 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62184         [BZ #11724]
62185         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62186         of constructors.
62187         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62188         of destructors.
62189         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62191         [BZ #11724]
62192         * elf/Makefile: Add rules to build and run new test.
62193         * elf/tst-initorder.c: New file.
62194         * elf/tst-initorder.exp: New file.
62195         * elf/tst-initordera1.c: New file.
62196         * elf/tst-initordera2.c: New file.
62197         * elf/tst-initordera3.c: New file.
62198         * elf/tst-initordera4.c: New file.
62199         * elf/tst-initorderb1.c: New file.
62200         * elf/tst-initorderb2.c: New file.
62201         * elf/tst-order-a1.c: New file.
62202         * elf/tst-order-a2.c: New file.
62203         * elf/tst-order-a3.c: New file.
62204         * elf/tst-order-a4.c: New file.
62205         * elf/tst-order-b1.c: New file.
62206         * elf/tst-order-b2.c: New file.
62207         * elf/tst-order-main.c: New file.
62208         New test case by George Gensure <werkt0@gmail.com>.
62210 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62213         decoding ACE if AI_CANONIDN.
62215 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62217         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62219 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62221         * version.h (RELEASE): Bump for 2.13 release.
62222         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62224         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62226         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62227         MADV_NOHUGEPAGE.
62228         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62231         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62232         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62233         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62235         * posix/getconf.c: Update copyright year.
62236         * catgets/gencat.c: Likewise.
62237         * csu/version.c: Likewise.
62238         * debug/catchsegv.sh: Likewise.
62239         * debug/xtrace.sh: Likewise.
62240         * elf/ldconfig.c: Likewise.
62241         * elf/ldd.bash.in: Likewise.
62242         * elf/sprof.c (print_version): Likewise.
62243         * iconv/iconv_prog.c: Likewise.
62244         * iconv/iconvconfig.c: Likewise.
62245         * locale/programs/locale.c: Likewise.
62246         * locale/programs/localedef.c: Likewise.
62247         * malloc/memusage.sh: Likewise.
62248         * malloc/mtrace.pl: Likewise.
62249         * nscd/nscd.c (print_version): Likewise.
62250         * nss/getent.c: Likewise.
62252         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62253         PF_CAIF, and PF_ALG.
62254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62256 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62258         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62259         (modules-names): Use them.
62260         (ifunc-test-modules, ifunc-pie-tests): Define.
62261         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62262         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62263         (test-extras): Likewise.
62264         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62265         $(compile-command.c).
62266         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62267         (all-built-dso): Define.
62268         (check-textrel.out, check-execstack.out): Depend on it.
62270         * configure.in: Don't override --enable-multi-arch.
62272 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62274         [BZ #6812]
62275         * nscd/hstcache.c (tryagain): Define.
62276         (cache_addhst): Return tryagain not notfound for temporary errors.
62277         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62278         failed.
62280 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62282         [BZ #10563]
62283         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62284         to make the syscall.
62285         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62287         [BZ #12378]
62288         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62289         and fall back to matching as normal character if the string ends before
62290         the matching ']' is found.  This is what POSIX requires.
62291         * posix/testfnm.c: Adjust test result.
62292         * posix/globtest.sh: Adjust test result.  Add new test.
62293         * posix/tst-fnmatch.input: Likewise.
62294         * posix/tst-fnmatch2.c: Add new test.
62296 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62298         * elf/Makefile (check-execstack): Revert last change.  Depend on
62299         check-execstack.h.
62300         (check-execstack.h): New target.
62301         (generated): Add check-execstack.h.
62302         * elf/check-execstack.c: Include "check-execstack.h".
62303         (main): Revert last change.
62304         (handle_file): Return zero if GNU_STACK is absent and
62305         DEFAULT_STACK_PERMS doesn't include PF_X.
62307 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62309         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62310         in child fails because the descriptor is already closed.
62311         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62312         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62313         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62315         [BZ #12397]
62316         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62317         syscall.
62319         [BZ #10484]
62320         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62321         temporary buffer used to handle multi lookups locally.
62322         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62324 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62326         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62327         loader is ld.so.
62329 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62331         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62332         alignment for SSE2.
62334 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62336         [BZ #12394]
62337         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62338         characters.  When rounding increased number of integer digits recompute
62339         number of groups.
62340         * stdio-common/tst-grouping.c: New file.
62341         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62343 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62345         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62346         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62348         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62349         void.
62350         * bits/select.h: Likewise.
62352 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62354         * po/ja.po: Update from translation team.
62356 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62358         [BZ #11155]
62359         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62360         implementation just like for lxstat, fxstatat, et al.
62362 2010-12-27  Jim Meyering  <meyering@redhat.com>
62364         [BZ #12348]
62365         * posix/regexec.c (build_trtable): Return failure indication upon
62366         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62368 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62370         [BZ #12201]
62371         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62372         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62373         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62374         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62376         [BZ #12207]
62377         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62379         [BZ #12204]
62380         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62381         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62383 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62385         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62386         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62387         script has SORT_BY_INIT_PRIORITY.
62388         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62389         NO_CTORS_DTORS_SECTIONS is defined.
62390         * elf/soinit.c: Likewise.
62391         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62392         NO_CTORS_DTORS_SECTIONS is defined.
62393         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62394         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62395         * sysdeps/sh/init-first.c: Likewise.
62396         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62398 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62400         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62401         always use the slow path.
62403 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62405         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62406         similar rule which adds the sysdep directories to the header search in
62407         order to pick up the correct platform stackinfo.h.
62408         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62409         perform test if it is, otherwise return successfully without testing.
62410         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62411         DEFAULT_STACK_PERMS define in stackinfo.h.
62412         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62413         defined in stackinfo.h.
62414         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62415         DEFAULT_STACK_PERMS defined in stackinfo.h.
62416         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62417         * sysdeps/ia64/stackinfo.h: Likewise.
62418         * sysdeps/s390/stackinfo.h: Likewise.
62419         * sysdeps/sh/stackinfo.h: Likewise.
62420         * sysdeps/sparc/stackinfo.h: Likewise.
62421         * sysdeps/x86_64/stackinfo.h: Likewise.
62422         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62423         PF_X for powerpc64.  Retain PF_X for powerpc32.
62425 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62427         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62428         accurately.
62429         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62430         GETDENTS_64BIT_ALIGNED.
62432 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62434         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62436 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62438         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62439         _GNU_SOURCE.
62441         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62442         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62443         Remove __restrict.
62444         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62445         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62447 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62449         [BZ #11655]
62450         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62451         are initialized.
62453 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62455         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62457 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62459         * po/it.po: Update from translation team.
62461 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62464         unused codes.
62466 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62468         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62470 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62472         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62473         specially.
62474         (gaih_getanswer_slice): Likewise.
62476 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62480 2010-05-31  Petr Baudis  <pasky@suse.cz>
62482         [BZ #11149]
62483         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62484         silently even in the chroot mode.
62486 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62488         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62489         last patch a bit.  Pretty printing
62491 2010-05-31  Petr Baudis <pasky@suse.cz>
62493         [BZ #10085]
62494         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62495         initialization of skip_initgroups_dyn.
62497 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62499         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62500         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62502 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62504         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62506 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62508         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62509         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62510         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62511         ($(objpfx)tst-fnmatch-mem): New rule.
62512         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62513         * posix/tst-fnmatch.c (main): Call mtrace.
62515 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62518         Support Intel processor model 6 and model 0x2c.
62520 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62522         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62523           signed comparison.
62525 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62527         [BZ #12205]
62528         * string/test-strncasecmp.c (check_result): New function.
62529         (do_one_test): Use it.
62530         (check1): New function.
62531         (test_main): Use it.
62532         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62533         Support strcasecmp and strncasecmp.
62535 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62537         [BZ #12194]
62538         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62539         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62541 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62543         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62544         IFUNC support.
62545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62546         memset-x86-64.
62547         * sysdeps/x86_64/multiarch/bzero.S: New file.
62548         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62549         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62550         * sysdeps/x86_64/multiarch/memset.S: New file.
62551         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62553         Set bit_Prefer_SSE_for_memop for Intel processors.
62554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62555         Define.
62556         (index_Prefer_SSE_for_memop): Define.
62557         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62559 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62561         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62564 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62566         [BZ #12191]
62567         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62568         (__x86_64_raw_data_cache_size_half): Likewise.
62569         (__x86_64_raw_shared_cache_size): Likewise.
62570         (__x86_64_raw_shared_cache_size_half): Likewise.
62572         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62573         (__x86_64_raw_data_cache_size_half): Likewise.
62574         (__x86_64_raw_shared_cache_size): Likewise.
62575         (__x86_64_raw_shared_cache_size_half): Likewise.
62576         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62577         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62578         and __x86_64_raw_shared_cache_size_half.  Round
62579         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62580         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62581         to multiple of 256 bytes.
62583 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62585         [BZ #12167]
62586         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62587         of inacessible symlinks.  Verify result of symlink before returning it.
62588         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62589         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62591 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62593         * math/math.h (isinf): Fix typo in comment.
62595 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62597         * po/da.po: Update from translation team.
62599 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62601         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62602         is added to the list.
62604 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62605             Ulrich Drepper  <drepper@gmail.com>
62607         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62608         the global list here.  Move code to...
62609         (_dl_add_to_namespace_list): ...here.  New function.
62610         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62611         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62612         * elf/dl-load.c (lose): Don't remove the element from the list.
62613         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62614         (_dl_map_object): Likewise.
62616 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62618         [BZ #12159]
62619         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62620         into all bytes of SSE register.
62621         Patch by Richard Li <richardpku@gmail.com>.
62623 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62625         [BZ #12140]
62626         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62627         perturbing.
62629 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62631         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62632         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62633         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62634         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62636         submachine.
62637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62639 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62641         * include/dlfcn.h (__RTLD_SECURE): Define.
62642         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62643         mode & __RTLD_SECURE instead.
62644         (open_path): Rename preloaded parameter to secure.
62645         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62646         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62647         * elf/dl-deps.c (openaux): Likewise.
62648         * elf/rtld.c (struct map_args): Remove is_preloaded.
62649         (map_doit): Don't use it.
62650         (dl_main): Likewise.
62651         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62652         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62654 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62656         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62657         (sysd-rules-targets): Remove duplicates.
62658         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62659         rtld-%.$o dependency.
62661 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62663         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62664         _dl_map_object do it.
62666 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62668         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62669         fast fma builtins, define the macros in the C99 standard.
62670         (FP_FAST_FMAF): Likewise.
62671         (FP_FAST_FMAL): Likewise.
62672         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62674         * bits/mathdef.h: Update copyright year.
62675         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62677 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62679         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62680         builtins, define the macros in the C99 standard.
62681         (FP_FAST_FMAF): Likewise.
62682         (FP_FAST_FMAL): Likewise.
62683         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62684         multiply/add.
62685         (FP_FAST_FMAF): Likewise.
62687 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62689         [BZ #3268]
62690         * math/libm-test.inc (fma_test): Some new testcases.
62691         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62692         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62693         y and infinite z.  Do multiplication by C already in long double.
62694         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62696         y and infinite z.  Do bitwise or of inexact bit into u.d.
62697         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62698         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62699         * sysdeps/i386/fpu/s_fma.S: Removed.
62700         * sysdeps/i386/fpu/s_fmal.S: Removed.
62702 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62704         [BZ #3268]
62705         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62707         computation is not scheduled after fetestexcept.  Fix value
62708         of minimum denormal long double.
62710 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62712         [BZ #3268]
62713         * math/libm-test.inc (fma_test): Add some more tests.
62714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62715         correctly.
62717 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62719         * scripts/data/localplt-s390-linux-gnu.data: New file.
62720         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62722 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62724         [BZ #3268]
62725         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62726         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62727         instead of dbl-64.
62728         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62729         inlines.
62730         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62732         if one of x and y is very large and the other is subnormal.
62733         * sysdeps/s390/fpu/s_fmaf.c: New file.
62734         * sysdeps/s390/fpu/s_fma.c: New file.
62735         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62736         * sysdeps/powerpc/fpu/s_fma.S: New file.
62737         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62738         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62739         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62741 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62743         [BZ #3268]
62744         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62745         fma tests.
62746         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62747         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62748         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62749         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62750         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62751         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62752         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62754 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62756         [BZ #12078]
62757         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62758         * posix/bug-regex31.input: Add test case.
62760 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62762         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62763         * posix/bug-regex31.input: New file.
62765         [BZ #12078]
62766         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62767         (parse_sub_exp): Fix last change, use postorder.
62769         * posix/bug-regex31.c: New file.
62770         * posix/Makefile: Add rules to build and run bug-regex31.
62772         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62774         [BZ #12078]
62775         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62777         [BZ #12108]
62778         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62779         to have entries in sys_siglist.
62781         [BZ #12093]
62782         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62783         be NULL.
62785 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62787         [BZ #3268]
62788         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62789         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62790         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62791         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62792         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62793         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62794         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62795         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62796         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62797         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62798         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62799         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62800         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62801         * math/ftestexcept.c (fetestexcept): Likewise.
62802         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62803         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62804         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62805         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62806         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62807         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62808         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62810 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62812         [BZ #12107]
62813         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62814         newline.
62816 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62818         * string/bug-strstr1.c: New file.
62819         * string/Makefile: Add rules to build and run bug-strstr1.
62821 2010-10-05  Eric Blake  <eblake@redhat.com>
62823         [BZ #12092]
62824         * string/str-two-way.h (two_way_long_needle): Always clear memory
62825         when skipping input due to the shift table.
62827 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62829         [BZ #12005]
62830         * malloc/mcheck.c: Handle large requests.
62832         [BZ #12077]
62833         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62834         for strncmp and strncasecmp.
62835         * string/stratcliff.c: Add tests for strcmp and strncmp.
62836         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62838 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62840         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62841         __set_fpscr.
62843 2010-09-30  Andreas Jaeger  <aj@suse.de>
62845         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62846         (CGROUP_SUPER_MAGIC): Define.
62847         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62848         Handle btrfs and cgroup file systems.
62849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62850         Likewise.
62852 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62854         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62855         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62857 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62859         [BZ #12067]
62860         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62861         trying to locate the ELF header.
62863 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62865         [BZ #11611]
62866         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62867         Mask out sign-bit copies when constructing f_fsid.
62869 2010-09-24  Petr Baudis <pasky@suse.cz>
62871         * debug/stack_chk_fail_local.c: Add missing licence exception.
62872         * debug/warning-nop.c: Likewise.
62874 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62876         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62877         implementing getdents64 using getdents syscall, set d_type if
62878         __ASSUME_GETDENTS32_D_TYPE.
62880 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62882         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62883         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62885 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62887         [BZ #12037]
62888         * posix/unistd.h: Undo change of feature selection for ftruncate from
62889         2010-01-11.
62891 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62893         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62894         detection.
62896 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62899         fanotify_mark.
62900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62902 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62904         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62905         variables after CHECK_SP call.
62906         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62908 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62909             Ulrich Drepper  <drepper@redhat.com>
62911         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62912         re-relocationg ld.so.
62913         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62914         _dl_init_paths call.
62915         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62916         here anymore.
62918 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62920         * resolv/res_init.c (__res_vinit): Count the default server we added.
62922 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62923             Ulrich Drepper  <drepper@redhat.com>
62925         [BZ #11968]
62926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62927         (____longjmp_chk): Use %ebx for saving value across system call.
62928         Add unwind info.
62930 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62932         * manual/Makefile: Don't mix pattern rules with normal rules.
62934 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62936         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62937         operation.
62938         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62939         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62940         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62941         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62943         Likewise.
62945 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62947         [BZ #11979]
62948         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62949         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62951 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62953         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62954         * sysdeps/x86_64/addmul_1.S: Likewise.
62955         * sysdeps/x86_64/lshift.S: Likewise.
62956         * sysdeps/x86_64/mul_1.S: Likewise.
62957         * sysdeps/x86_64/rshift.S: Likewise.
62958         * sysdeps/x86_64/sub_n.S: Likewise.
62959         * sysdeps/x86_64/submul_1.S: Likewise.
62961 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62963         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62964         Define __sched_param instead of SCHED_* and sched_param when
62965         <bits/sched.h> is included with __need_schedparam defined.
62966         * bits/sched.h [__need_schedparam]
62967         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62968         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62969         (__defined_schedparam): Define to 1.
62970         (__sched_param): New structure, identical to sched_param.
62971         (__need_schedparam): Undefine.
62973 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62975         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62976         (epoll_create1): Declare.
62978         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62980 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62982         [BZ #7066]
62983         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62984         shifting retval into place.
62986 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62988         * nis/rpcsvc/nis.h: Update copyright notice.
62989         * nis/rpcsvc/nis.x: Likewise.
62990         * nis/rpcsvc/nis_callback.h: Likewise.
62991         * nis/rpcsvc/nis_callback.x: Likewise.
62992         * nis/rpcsvc/nis_object.x: Likewise.
62993         * nis/rpcsvc/nis_tags.h: Likewise.
62994         * nis/rpcsvc/yp.h: Likewise.
62995         * nis/rpcsvc/yp.x: Likewise.
62996         * nis/rpcsvc/ypupd.h: Likewise.
62997         * nis/yp_xdr.c: Likewise.
62998         * nis/ypupdate_xdr.c: Likewise.
63000         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63001         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63002         (pmap_getport): Use __libc_rpc_getport.
63003         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63004         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63005         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63007 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63010         fanotify_mark.
63012 2010-08-27  Roland McGrath  <roland@redhat.com>
63014         * sysdeps/i386/i686/multiarch/Makefile
63015         (CFLAGS-varshift.c): New variable.
63017 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63019         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63020         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63024         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63026 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63028         * sysdeps/x86_64/strlen.S: Unroll the loop.
63029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63030         strlen-sse2 strlen-sse2-bsf.
63031         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63032         __strlen_no_bsf if bit_Slow_BSF is set.
63033         (__strlen_sse42): Removed.
63034         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63035         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63037 2010-08-25  Roland McGrath  <roland@redhat.com>
63039         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63040         * sysdeps/x86_64/multiarch/varshift.c: New file.
63041         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63042         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63043         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63044         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63046 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63048         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63049         strlen-sse2 strlen-sse2-bsf.
63050         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63051         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63052         (__strlen_sse2): Removed.
63053         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63056         bit_Slow_BSF for Atom.
63057         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63058         (index_Slow_BSF): Define.
63059         (HAS_SLOW_BSF): Define.
63061 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63063         [BZ #10851]
63064         * resolv/res_init.c (__res_vinit): When no server address at all
63065         is given default to loopback.
63067 2010-08-24  Roland McGrath  <roland@redhat.com>
63069         * configure.in: Remove config-name.h generation.
63070         * configure: Regenerated.
63071         * config-name.in: File removed.
63072         * scripts/config-uname.sh: New file.
63073         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63074         ($(objdir)config-name.h): New target.
63076         * sunrpc/rpc_parse.h: Avoid nested comment.
63078 2010-08-24  Richard Henderson  <rth@redhat.com>
63079             Ulrich Drepper  <drepper@redhat.com>
63080             H.J. Lu  <hongjiu.lu@intel.com>
63082         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63084         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63085         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63086         _mm_alignr_epi8 with _mm_loadu_si128.
63087         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63088         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63089         (__m128i_shift_right): Removed.
63090         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63091         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63092         * sysdeps/x86_64/multiarch/varshift.h: New file.
63093         * sysdeps/x86_64/multiarch/varshift.S: New file.
63095 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63097         * configure.in: Move assembler checks to before sysdep dir checking.
63099 2010-08-20  Petr Baudis  <pasky@suse.cz>
63101         * LICENSES: Sync the sunrpc license.
63103 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63105         * sunrpc/auth_des.c: Update copyright notice once again.
63106         * sunrpc/auth_none.c: Likewise.
63107         * sunrpc/auth_unix.c: Likewise.
63108         * sunrpc/authdes_prot.c: Likewise.
63109         * sunrpc/authuxprot.c: Likewise.
63110         * sunrpc/bindrsvprt.c: Likewise.
63111         * sunrpc/clnt_gen.c: Likewise.
63112         * sunrpc/clnt_perr.c: Likewise.
63113         * sunrpc/clnt_raw.c: Likewise.
63114         * sunrpc/clnt_simp.c: Likewise.
63115         * sunrpc/clnt_tcp.c: Likewise.
63116         * sunrpc/clnt_udp.c: Likewise.
63117         * sunrpc/clnt_unix.c: Likewise.
63118         * sunrpc/des_crypt.c: Likewise.
63119         * sunrpc/des_soft.c: Likewise.
63120         * sunrpc/get_myaddr.c: Likewise.
63121         * sunrpc/getrpcport.c: Likewise.
63122         * sunrpc/key_call.c: Likewise.
63123         * sunrpc/key_prot.c: Likewise.
63124         * sunrpc/openchild.c: Likewise.
63125         * sunrpc/pm_getmaps.c: Likewise.
63126         * sunrpc/pm_getport.c: Likewise.
63127         * sunrpc/pmap_clnt.c: Likewise.
63128         * sunrpc/pmap_prot.c: Likewise.
63129         * sunrpc/pmap_prot2.c: Likewise.
63130         * sunrpc/pmap_rmt.c: Likewise.
63131         * sunrpc/rpc/auth.h: Likewise.
63132         * sunrpc/rpc/auth_unix.h: Likewise.
63133         * sunrpc/rpc/clnt.h: Likewise.
63134         * sunrpc/rpc/des_crypt.h: Likewise.
63135         * sunrpc/rpc/key_prot.h: Likewise.
63136         * sunrpc/rpc/netdb.h: Likewise.
63137         * sunrpc/rpc/pmap_clnt.h: Likewise.
63138         * sunrpc/rpc/pmap_prot.h: Likewise.
63139         * sunrpc/rpc/pmap_rmt.h: Likewise.
63140         * sunrpc/rpc/rpc.h: Likewise.
63141         * sunrpc/rpc/rpc_des.h: Likewise.
63142         * sunrpc/rpc/rpc_msg.h: Likewise.
63143         * sunrpc/rpc/svc.h: Likewise.
63144         * sunrpc/rpc/svc_auth.h: Likewise.
63145         * sunrpc/rpc/types.h: Likewise.
63146         * sunrpc/rpc/xdr.h: Likewise.
63147         * sunrpc/rpc_clntout.c: Likewise.
63148         * sunrpc/rpc_cmsg.c: Likewise.
63149         * sunrpc/rpc_common.c: Likewise.
63150         * sunrpc/rpc_cout.c: Likewise.
63151         * sunrpc/rpc_dtable.c: Likewise.
63152         * sunrpc/rpc_hout.c: Likewise.
63153         * sunrpc/rpc_main.c: Likewise.
63154         * sunrpc/rpc_parse.c: Likewise.
63155         * sunrpc/rpc_parse.h: Likewise.
63156         * sunrpc/rpc_prot.c: Likewise.
63157         * sunrpc/rpc_sample.c: Likewise.
63158         * sunrpc/rpc_scan.c: Likewise.
63159         * sunrpc/rpc_scan.h: Likewise.
63160         * sunrpc/rpc_svcout.c: Likewise.
63161         * sunrpc/rpc_tblout.c: Likewise.
63162         * sunrpc/rpc_util.c: Likewise.
63163         * sunrpc/rpc_util.h: Likewise.
63164         * sunrpc/rpcinfo.c: Likewise.
63165         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63166         * sunrpc/rpcsvc/key_prot.x: Likewise.
63167         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63168         * sunrpc/rpcsvc/mount.x: Likewise.
63169         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63170         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63171         * sunrpc/rpcsvc/rex.x: Likewise.
63172         * sunrpc/rpcsvc/rstat.x: Likewise.
63173         * sunrpc/rpcsvc/rusers.x: Likewise.
63174         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63175         * sunrpc/rpcsvc/spray.x: Likewise.
63176         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63177         * sunrpc/rtime.c: Likewise.
63178         * sunrpc/svc.c: Likewise.
63179         * sunrpc/svc_auth.c: Likewise.
63180         * sunrpc/svc_authux.c: Likewise.
63181         * sunrpc/svc_raw.c: Likewise.
63182         * sunrpc/svc_run.c: Likewise.
63183         * sunrpc/svc_simple.c: Likewise.
63184         * sunrpc/svc_tcp.c: Likewise.
63185         * sunrpc/svc_udp.c: Likewise.
63186         * sunrpc/svc_unix.c: Likewise.
63187         * sunrpc/svcauth_des.c: Likewise.
63188         * sunrpc/xcrypt.c: Likewise.
63189         * sunrpc/xdr.c: Likewise.
63190         * sunrpc/xdr_array.c: Likewise.
63191         * sunrpc/xdr_float.c: Likewise.
63192         * sunrpc/xdr_mem.c: Likewise.
63193         * sunrpc/xdr_rec.c: Likewise.
63194         * sunrpc/xdr_ref.c: Likewise.
63195         * sunrpc/xdr_sizeof.c: Likewise.
63196         * sunrpc/xdr_stdio.c: Likewise.
63198         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63199         handling.
63201 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63203         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63205 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63207         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63208         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63210         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63212         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63213         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63214         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63215         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63216         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63217         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63218         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63219         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63220         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63222 2010-07-26  Anton Blanchard  <anton@samba.org>
63224         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63225         * malloc/arena.c (heap_trim): Likewise.
63227 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63229         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63230         here.  Not...
63231         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63232         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63234 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63236         * sysdeps/i386/elf/Makefile: New file.
63238 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63240         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63241         from fanotify_init.
63242         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63243         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63245 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63247         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63248         of strncasecmp_l.
63249         * sysdeps/multiarch/strcmp.S: Likewise.
63251 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63253         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63254         strncase_l-nonascii.
63255         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63256         Add strncase_l-ssse3.
63257         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63258         * sysdeps/x86_64/strcmp.S: Likewise.
63259         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63260         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63261         * sysdeps/x86_64/strncase.S: New file.
63262         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63263         * sysdeps/x86_64/strncase_l.S: New file.
63264         * string/Makefile (strop-tests): Add strncasecmp.
63265         * string/test-strncasecmp.c: New file.
63267         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63268         warning.
63270         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63271         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63273 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63275         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63277 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63279         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63280         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63281         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63283 2010-05-01  Alan Modra  <amodra@gmail.com>
63285         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63286         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63287         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63288         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63289         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63290         tidying.  Don't tail-call __sigjmp_save for static lib.
63291         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63292         save location.
63293         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63294         (CALL_MCOUNT): Add eh info, and nop after bl.
63295         (TAIL_CALL_SYSCALL_ERROR): New macro.
63296         (PSEUDO_RET): Use it.
63297         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63298         Correct save location of integer regs and cr.
63299         (_dl_profile_resolve): Correct cr save location.  Delete nops
63300         after bl when SHARED.  Reduce cfi size a little by better
63301         placement of cfi directives.
63302         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63303         make a stack frame.  Instead use parm save area as a temp.
63304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63305         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63307         Don't make a stack frame for parent, use parm save area.
63308         Increase child stack frame to 112 bytes.  Don't save unused reg,
63309         and adjust reg usage.  Set up cfi on error recovery and
63310         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63312         (__makecontext): Add dummy nop after jump to exit.
63313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63314         Use correct parm save area and cr save, reduce stack frame.
63315         Correct cfi for possible PSEUDO_RET frame setup.
63316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63317         Branch to local label emitted by PSEUDO_RET rather than
63318         __syscall_error.
63320 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63322         [BZ #11904]
63323         * locale/programs/locale.c (print_assignment): New function.
63324         (show_locale_vars): Use it.
63326 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63328         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63329         field.
63330         (struct statfs64): Likewise.
63331         (_STATFS_F_FLAGS): Define.
63332         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63334         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63335         (ST_VALID): Define locally.
63336         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63337         __statvfs_getflags, use the provided value.
63338         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63339         __ASSUME_STATFS_F_FLAGS.
63341         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63343         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63344         Add sys/fanotify.h.
63345         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63346         fanotify_mask for GLIBC_2.13.
63347         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63348         fanotify_init and fanotify_mark.
63349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63350         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63352         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63353         Add prlimit.
63354         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63355         prlimit64 for GLIBC_2.13.
63356         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63357         prlimit64.
63358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63359         syscall.
63360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63362         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63363         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63365         add prlimit alias.
63366         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63368         [BZ #11903]
63369         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63370         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63372         * nss/Makefile: Add rules to build and run tst-nss-test1.
63373         * shlib-versions: Add entry for libnss_test1.
63374         * nss/nss_test1.c: New file.
63375         * nss/tst-nss-test1.c: New file.
63377         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63378         (__nss_configure_lookup): Set appropriate entry in
63379         __nss_configure_lookup to true.
63380         * nss/nsswitch.h: Define enum with indeces of databases in
63381         databases and __nss_database_custom arrays.  Declare
63382         __nss_database_custom.
63383         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63384         to avoid using nscd when custom rules are installed.
63385         * nss/getXXbyYY_r.c: Likewise.
63386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63388         * nss/nss_files/files-parse.c: Whitespace fixes.
63390 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63392         [BZ #11883]
63393         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63394         * posix/fnmatch_loop.c: Likewise.
63396 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63398         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63399         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63400         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63401         * Versions.def [GLIBC_2.13]: Add.
63403 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63405         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63406         Also fail if tpwd after pwuid call is NULL.
63408 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63410         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63411         when converting to ms.
63413 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63415         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63416         EOPNOTSUPP errors with ENOTTY.
63417         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63418         EOPNOTSUPP errors with ENOTTY.
63420 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63422         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63423         Add strcasecmp_l-ssse3.
63424         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63425         strcasecmp.
63426         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63427         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63428         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63430 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63432         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63434         * string/Makefile (strop-tests): Add strcasecmp.
63435         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63436         strcasecmp_l-nonascii.
63437         (gen-as-const-headers): Add locale-defines.sym.
63438         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63439         * sysdeps/x86_64/strcasecmp.S: New file.
63440         * sysdeps/x86_64/strcasecmp_l.S: New file.
63441         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63442         * sysdeps/x86_64/locale-defines.sym: New file.
63443         * string/test-strcasecmp.c: New file.
63445         * string/test-strcasestr.c: Test both ends of the range of characters.
63446         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63448 2010-07-29  Roland McGrath  <roland@redhat.com>
63450         [BZ #11856]
63451         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63453 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63455         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63456         for ld.so.
63458 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63460         * manual/memory.texi (Malloc Tunable Parameters): Document
63461         M_PERTURB.
63463 2010-07-26  Roland McGrath  <roland@redhat.com>
63465         [BZ #11840]
63466         * configure.in (-fgnu89-inline check): Set and substitute
63467         gnu89_inline, not libc_cv_gnu89_inline.
63468         * configure: Regenerated.
63469         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63471 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63473         * string/test-strnlen.c: New file.
63474         * string/Makefile (strop-tests): Add strnlen.
63475         * string/tester.c (test_strnlen): Add a few more test cases.
63476         * string/tst-strlen.c: Better error reporting.
63478         * sysdeps/x86_64/strnlen.S: New file.
63480 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63482         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63483         lower-latency instructions.
63485 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63487         * string/test-strcasestr.c: New file.
63488         * string/test-strstr.c: New file.
63489         * string/Makefile (strop-tests): Add strstr and strcasestr.
63490         * string/str-two-way.h: Don't undefine MAX.
63491         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63493 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63496         strcasestr-nonascii.
63497         (CFLAGS-strcasestr-nonascii.c): Define.
63498         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63499         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63500         Remove unused attribute.
63502 2010-07-20  Roland McGrath  <roland@redhat.com>
63504         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63505         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63506         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63507         like LD_HWCAP_MASK can disable hwcaps.
63509 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63511         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63513 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63515         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63516         call in strcasestr.
63517         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63518         __strcasestr_sse42_nonascii.
63519         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63520         strcasestr-nonascii.c.
63521         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63523 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63525         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63526         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63527         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63528         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63530 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63532         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63533         fcntl.
63535 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63537         [BZ #11577]
63538         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63539         dl_signal_cerror.
63541 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63543         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63544         _PC_PIPE_BUF using F_GETPIPE_SZ.
63546 2010-07-05  Roland McGrath  <roland@redhat.com>
63548         * manual/arith.texi (Rounding Functions): Fix rint description
63549         implicit in round description.
63551 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63553         * elf/Makefile: Fix linking for a few tests to make recent linker
63554         happy.
63556 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63558         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63559         $(common-objpfx)libc_nonshared.a.
63561 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63563         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63564         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63565         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63566         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63567         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63568         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63569         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63570         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63585         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63586         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63587         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63588         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63589         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63590         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63591         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63592         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63593         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63594         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63595         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63596         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63612 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63614         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63615         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63616         * string/memmove.c (memmove): Renamed to ...
63617         (MEMMOVE): ...this.  Default to memmove.
63618         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63619         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63620         (END_CHK): Define.
63621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63622         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63623         mempcpy-ssse3-back memmove-ssse3-back.
63624         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63625         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63626         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63627         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63628         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63629         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63630         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63631         * sysdeps/x86_64/multiarch/memmove.c: New file.
63632         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63633         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63634         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63635         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63636         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63637         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63638         Define.
63639         (index_Fast_Copy_Backward): Define.
63640         (HAS_ARCH_FEATURE): Define.
63641         (HAS_FAST_REP_STRING): Define.
63642         (HAS_FAST_COPY_BACKWARD): Define.
63644 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63646         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63647         Restore proper fallback handling.
63649 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63651         [BZ #11701]
63652         * posix/group_member.c (__group_member): Correct checking loop.
63654         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63655         OOM in getpwuid_r correctly.  Return error number when the caller
63656         should return, otherwise -1.
63657         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63658         call returning > 0 value.
63659         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63661 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63663         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63664         libc_nonshared.a from targets in modules-names.
63666 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63668         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63669         requires it.
63671 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63673         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63674         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63675         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63678 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63680         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63682 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63684         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63685         and F_GETPIPE_SZ.
63686         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63687         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63689         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63693 2010-06-14  Roland McGrath  <roland@redhat.com>
63695         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63697 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63699         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63700         __REDIRECT followed by __THROW.
63701         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63702         * posix/getopt.h (getopt): Likewise.
63704 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63706         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63707         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63708         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63709         in AT_FLAGS.
63710         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63711         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63713 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63715         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63717 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63719         [BZ #11640]
63720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63721         Properly check family and model.
63723 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63725         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63727 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63729         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63731 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63733         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63734         symbol reference.
63736 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63738         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63739         symbol reference.
63741 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63743         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63744         and internal_recvmmsg.
63745         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63746         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63747         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63748         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63750         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63751         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63752         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63754 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63756         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63758 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63760         POWER7 optimizations.
63761         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63762         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63764 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63766         * version.h: Update for 2.13 development version.
63768 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63770         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63771         exceptions.  Return 0.
63773 2010-05-07  Roland McGrath  <roland@redhat.com>
63775         * elf/ldconfig.c (main): Add a const.
63777 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63779         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63780         (args_options): Add no-idn option.
63781         (ahosts_keys_int): Add idn_flags to ai_flags.
63782         (parse_option): Handle 'i' option to clear idn_flags.
63784         * malloc/malloc.c (_int_free): Possible race in the most recently
63785         added check.  Only act on the data if no current modification
63786         happened.
63788 See ChangeLog.17 for earlier changes.