Fix exponents in manual.
[glibc.git] / ChangeLog
blobc45db5e55893fc50608bee941a1047befe73f4c3
1 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
3         [BZ #17787]
4         * manual/macros.texi: Add twoexp macro.
5         * manual/filesys.texi: Fix exponents.
6         * manual/llio.texi: Likewise.
7         * manual/stdio.texi: Likewise.
9 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12         incorrect use.
14 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16         [BZ #18370]
17         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18         whose real or imaginary part has small absolute value.
19         * math/s_csqrtf.c (__csqrtf): Likewise.
20         * math/s_csqrtl.c (__csqrtl): Likewise.
21         * math/auto-libm-test-in: Add more tests of csqrt.
22         * math/auto-libm-test-out: Regenerated.
23         * sysdeps/i386/fpu/libm-test-ulps: Update.
25 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28         __ppc_set_ppr_very_low): New functions.
29         * manual/platform.texi: Add documentation about
30         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
34         * string/stpncpy.c (stpncpy): Improve performance using
35         __strnlen/memcpy/memset.
37 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
39         [BZ #18796]
40         * scripts/test-installation.pl: Don't add -lmvec to build options if
41         libmvec wasn't built.
43 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
45         [BZ #14341]
46         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
47         case when there is a gap between DT_REL and DT_JMPREL sections.
48         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
49         (LDFLAGS-tst-split-dynreloc): New.
50         (tst-split-dynreloc-ENV): Likewise.
51         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
52         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
54 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
56         [BZ #18822]
57         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
58         attribute_hidden.
59         (__xstat64_conv): Likewise.
60         (__xstat32_conv): Likewise.
62 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
64         [BZ #18822]
65         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
66         Don't load %ebx when calling __setcontext.  Call __setcontext
67         with HIDDEN_JUMPTARGET.
68         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
69         libc_hidden_def.
71 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
73         * sysdeps/i386/i686/Makefile
74         [$(subdir) == string] (sysdep_routines): Moved to ...
75         * sysdeps/i386/Makefile: Here.
76         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
77         * sysdeps/i386/cacheinfo.c: Here.
78         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
79         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
80         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
81         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
83 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
85         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
86         __i586__ is defined.
87         (HAS_I686): Defined to 1 if __i686__ is defined.
89 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
91         * elf/Makefile [$(have-z-execstack) = yes]
92         (CPPFLAGS-tst-execstack.c): New variable.
94         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
95         conditional to [defined UTMPX || _HAVE_UT_TYPE].
96         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
97         UTMPX || _HAVE_UT_TV].
98         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
99         UTMPX || _HAVE_UT_TV - 0].
101 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
103         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
104         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
105         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
107 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
109         * sysdeps/powerpc/dl-procinfo.c:
110         (_dl_powerpc_cap_flags): Added missing strings for some
111         hwcap features.
112         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
114 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
116         Port the 0x7efe...feff pattern to GCC 6.
117         See Steve Ellcey's bug report in:
118         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
119         * string/memrchr.c (MEMRCHR):
120         * string/rawmemchr.c (RAWMEMCHR):
121         * string/strchr.c (strchr):
122         * string/strchrnul.c (STRCHRNUL):
123         Rewrite code to avoid issues with signed shift overflow.
125 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
127         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
128         whether cpuid is available only if HAS_CPUID is 0.
129         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
130         (HAS_I586): Likewise.
131         (HAS_I686): Likewise.
133 2015-08-18  Zack Weinberg  <zackw@panix.com>
135         * misc/Versions (libc): Add GLIBC_2.23.
137 2015-08-18  Alan Modra  <amodra@gmail.com>
139         [BZ #18421]
140         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
141         .Lp__global.
142         (_start): Load %dp via .Lp__global.
143         [!SHARED]: Use .section .rodata.
145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
147         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
148         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
150 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
152         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
153         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
155 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
157         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
158         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
160 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
162         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
163         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
165 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
167         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
168         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
170 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
172         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
173         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
175 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
177         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
179 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
181         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
182         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
183         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
184         (__ASSUME_LWS_CAS): Delete.
186 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
188         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
189         * sysdeps/hppa/configure: Regenerated.
190         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
191         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
192         * sysdeps/hppa/nptl/tls.h: Likewise.
194 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
196         [BZ #18823]
197         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
198         for scaling up small arguments.
199         * math/s_csqrtf.c (__csqrtf): Likewise.
200         * math/s_csqrtl.c (__csqrtl): Likewise.
201         * math/auto-libm-test-in: Add more tests of csqrt.
202         * math/auto-libm-test-out: Regenerated.
204 2015-08-17  Andreas Schwab  <schwab@suse.de>
206         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
207         version set GLIBC_2.19.
209 2015-08-16  Zack Weinberg  <zackw@panix.com>
211         [BZ #18681]
212         * misc/regexp.h: This interface is no longer supported.
213         Remove all contents, leaving only an #error directive.
214         * misc/regexp.c (loc1, loc2, locs, step, advance):
215         Demote to compatibility symbols.
217 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
219         [BZ #18084]
220         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
221         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
222         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
223         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
224         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
225         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
226         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
227         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
228         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
230 2015-08-15  Zack Weinberg  <zackw@panix.com>
232         [BZ #18795]
233         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
234         buffer length is known to be too large, not if it's known to be
235         small enough.
236         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
237         overflow at runtime, involving a length parameter, twice: once
238         with a compile-time constant length parameter, once without.
240 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
242         [BZ #18824]
243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
244         scaling x * y up instead of down.
245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
247         * math/auto-libm-test-in: Add more tests of fma.
248         * math/auto-libm-test-out: Regenerated.
250 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
254 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
256         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
257         unnecessary movq.
258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
259         Likewise.
261 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
263         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
264         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
265         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
266         and tgamma.
267         * math/auto-libm-test-out: Regenerated.
268         * sysdeps/i386/fpu/libm-test-ulps: Update.
269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
271         [BZ #16520]
272         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
273         (__tanh): Force underflow exception for arguments with small
274         absolute value.
275         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
276         (__tanhf): Force underflow exception for arguments with small
277         absolute value.
278         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
279         (__tanhl): Force underflow exception for arguments with small
280         absolute value.
281         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
282         (__tanhl): Force underflow exception for arguments with small
283         absolute value.
284         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
285         (__tanhl): Force underflow exception for arguments with small
286         absolute value.
287         * math/auto-libm-test-in: Add more tests of tanh.
288         * math/auto-libm-test-out: Regenerated.
289         * sysdeps/i386/fpu/libm-test-ulps: Update.
291 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
293         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
294         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
296 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
298         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
299         <cpuid.h>.
301 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
303         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
304         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
306 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
308         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
309         Remove $(objpfx)init-arch.o.
310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
311         init-arch.
312         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
313         (INIT_ARCH_EXT): Defined as empty.
314         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
316         __init_cpu_features call.  Replace HAS_XXX with
317         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
320         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
321         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
323         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
324         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
325         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
326         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
330         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
338         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
354 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
356         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
357         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
358         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
359         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
360         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
361         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
362         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
363         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
364         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
365         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
366         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
367         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
368         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
383         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
384         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
385         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
386         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
387         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
388         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
389         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
390         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
391         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
392         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
393         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
394         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
395         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
396         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
397         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
398         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
400 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
403         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
405         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
406         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
407         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
409         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
410         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
411         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
412         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
413         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
414         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
415         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
416         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
417         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
418         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
419         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
420         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
421         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
423         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
424         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
425         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
426         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
427         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
428         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
429         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
430         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
431         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
432         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
433         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
434         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
435         * sysdeps/x86_64/multiarch/memset.S: Likewise.
436         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
437         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
438         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
439         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
440         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
441         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
442         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
443         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
444         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
446 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
448         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
449         (dl_platform_init): Call init_cpu_features.
450         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
451         * sysdeps/i386/i686/cacheinfo.c
452         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
453         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
454         * sysdeps/i386/i686/multiarch/Versions: Removed.
455         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
456         Removed.
457         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
458         * sysdeps/unix/sysv/linux/x86/Makefile
459         (libpthread-sysdep_routines): Remove init-arch.
460         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
461         <sysdeps/x86_64/dl-procinfo.c> instead of
462         sysdeps/generic/dl-procinfo.c>.
463         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
464         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
465         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
466         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
467         [$(subdir) == elf] (tests-static): Add
468         tst-get-cpu-features-static.
469         * sysdeps/x86/Versions: New file.
470         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
471         * sysdeps/x86/cpu-features.c: Likewise.
472         * sysdeps/x86/cpu-features.h: Likewise.
473         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
474         * sysdeps/x86/libc-start.c: Likewise.
475         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
476         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
477         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
478         * sysdeps/x86_64/dl-procinfo.c: Likewise.
479         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
480         Assume USE_MULTIARCH is defined and don't check it.
481         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
482         (is_amd): Likewise.
483         (max_cpuid): Likewise.
484         (intel_check_word): Likewise.
485         (__cache_sysconf): Don't call __init_cpu_features.
486         (__x86_preferred_memory_instruction): Removed.
487         (init_cacheinfo): Don't call __init_cpu_features. Replace
488         __cpu_features with GLRO(dl_x86_cpu_features).
489         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
490         (dl_platform_init): Call init_cpu_features.
491         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
492         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
493         * sysdeps/x86_64/multiarch/Versions: Removed.
494         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
495         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
496         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
497         Removed.
498         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
500 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
502         [BZ #18820]
503         * libio/Makefile (test-fmemopen-mem): New test.
504         * libio/test-fmemopen.c (do_bz18820): New test.
505         * libio/fmemopen.c (__fmemopen): Fix memory leak.
506         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
508 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
510         [BZ #16734]
511         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
512         (FREE_BUF): Delete.
513         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
514         * libio/genops.c (_IO_setb): Use malloc and free directly.
515         (_IO_default_doallocate, _IO_default_finish): Likewise.
516         ( _IO_unbuffer_all): Likewise.
517         ( libc_freeres_fn): Likewise.
518         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
519         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
520         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
521         (_IO_wdefault_doallocate): Likewise.
523 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
525         [BZ #18086]
526         * sysdeps/posix/nice.c (nice): Restore old errno.
527         * posix/tst-nice.c (do_test): Add test for BZ #18086.
529 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
533 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
535         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
536         __bcopy and add a weak_alias to bcopy.
537         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
538         for static build.
540         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
541         cleanup macro usage.
542         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
545         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
546         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
547         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
548         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
549         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
550         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
551         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
553         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
555         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
558         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
560         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
562         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
563         libc_hidden_def.
564         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
566         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
567         (sysdep_routines): Add strstr-ppc64.
568         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
570 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
572         [BZ #18778]
573         * elf/Makefile (tests): Add Add tst-nodelete2.
574         (modules-names): Add tst-nodelete2mod.
575         (tst-nodelete2mod.so-no-z-defs): New.
576         ($(objpfx)tst-nodelete2): Likewise.
577         ($(objpfx)tst-nodelete2.out): Likewise.
578         (LDFLAGS-tst-nodelete2): Likewise.
579         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
580         out of loop through all loaded libraries.
581         * elf/tst-nodelete2.c: New file.
582         * elf/tst-nodelete2mod.c: Likewise.
584 2015-08-11  Andreas Schwab  <schwab@suse.de>
586         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
587         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
588         (__openat64_nocancel): Likewise.
590 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
592         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
593         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
594         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
595         * math/auto-libm-test-out: Regenerated.
596         * sysdeps/i386/fpu/libm-test-ulps: Update.
597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
599 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
601         [BZ #18790]
602         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
603         threshold for returning +/- 1.
604         * math/auto-libm-test-in: Add more tests of tanh.
605         * math/auto-libm-test-out: Regenerated.
606         * sysdeps/i386/fpu/libm-test-ulps: Update.
608 2015-08-10  Andreas Schwab  <schwab@suse.de>
610         [BZ #18781]
611         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
612         MORE_OFLAGS to oflag.
613         * io/test-lfs.c (do_test): Test openat64.
615 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
617         [BZ #18789]
618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
619         smaller threshold for returning the argument.
620         * math/auto-libm-test-in: Add more tests of sinh.
621         * math/auto-libm-test-out: Regenerated.
622         * sysdeps/i386/fpu/libm-test-ulps: Update.
624 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
626         [BZ #18674]
627         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
628         break.
630 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
632         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
633         (generated): Don't add $(addprefix z.,$(tzfiles)).
635 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
637         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
638         * scripts/sysd-rules.awk: Likewise.
640 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
642         * iconvdata/tst-tables.sh: Change echo -n to printf.
643         * nss/db-Makefile: Likewise.
644         * posix/tst-getconf.sh: Likewise.
645         * stdio-common/tst-unbputc.sh: Likewise.
647 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
649         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
650         MADV_*_PAGES defines behind this feature check.
652 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
654         [BZ #18480]
655         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
656         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
657         Define.
658         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
659         LOAD_REGS_5, LOAD_REGS_6): Update.
660         (INTERNAL_SYSCALL): Update using new LOAD defines.
661         (INTERNAL_SYSCALL_NCS): Likewise.
662         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
664 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
666         [BZ #16734]
667         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
669 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
671         [BZ #17905]
672         * catgets/Makefile (tst-catgets-mem): New test.
673         * catgets/catgets.c (catopen): Don't use unbounded alloca.
674         * catgets/open_catalog.c (__open_catalog): Likewise.
675         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
677 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
679         [BZ #18787]
680         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
681         clobber registers.
682         (atomic_compare_and_exchange_val_acq): Use register asms to assign
683         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
684         Cast return to __typeof (oldval).
686 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
688         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
689         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
690         and delete sys/syscall.h include.
692 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #16517]
695         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
696         (tan): Force underflow exception for arguments with small absolute
697         value.
698         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
699         (__kernel_tanf): Force underflow exception for arguments with
700         small absolute value.
701         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
702         (__kernel_tanl): Force underflow exception for arguments with
703         small absolute value.
704         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
705         (__kernel_tanl): Force underflow exception for arguments with
706         small absolute value.
707         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
708         (__kernel_tanl): Force underflow exception for arguments with
709         small absolute value.
710         * math/auto-libm-test-in: Add more tests of tan.
711         * math/auto-libm-test-out: Regenerated.
713 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
715         Fix sysdeps/i386/fpu/s_scalbn.S build
717         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
719 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
721         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
723 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
725         Fix gcrt0.o compilation
727         When static-start-installed-name is different from
728         start-installed-name, we must not use the shared objects.
730         * csu/Makefile
731         (extra-objs): Add gmon-start.o when building shared library and
732         $(static-start-installed-name) is different from
733         $(start-installed-name).
734         $(objpfx)g$(static-start-installed-name): When building shared
735         library and $(static-start-installed-name) is different from
736         $(static-start-installed-name), revert to non-shared rule,
737         i.e. using $(objpfx)% and gmon-start.o.
739 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
741         [BZ #16519]
742         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
743         (__ieee754_sinh): Force underflow exception for arguments with
744         small absolute value.
745         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
746         (__ieee754_sinhf): Force underflow exception for arguments with
747         small absolute value.
748         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
749         (__ieee754_sinhl): Force underflow exception for arguments with
750         small absolute value.
751         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
752         (__ieee754_sinhl): Force underflow exception for arguments with
753         small absolute value.
754         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
755         (__ieee754_sinhl): Force underflow exception for arguments with
756         small absolute value.
757         * math/auto-libm-test-in: Add more tests of sinh.
758         * math/auto-libm-test-out: Regenerated.
759         * sysdeps/i386/fpu/libm-test-ulps: Update.
761 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
763         * libio/oldfileops.c: Include unistd.h.
765 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
767         * stdlib/isomac.c: Include ctype.h.
769 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
771         * dirent/tst-seekdir.c (main): Converted to ...
772         (do_test): ... this.
773         (TEST_FUNCTION): New macro.
774         Include test-skeleton.c.
775         * elf/tst-dlmodcount.c (main): Converted to ...
776         (do_test): ... this.
777         (TEST_FUNCTION): New macro.
778         Include test-skeleton.c.
779         * elf/tst-order-main.c (main): Converted to ...
780         (do_test): ... this.
781         (TEST_FUNCTION): New macro.
782         Include test-skeleton.c.
783         * elf/tst-pie2.c (main): Converted to ...
784         (do_test): ... this.
785         (TEST_FUNCTION): New macro.
786         Include test-skeleton.c.
787         * inet/tst-ether_aton.c (main): Converted to ...
788         (do_test): ... this.
789         (TEST_FUNCTION): New macro.
790         Include test-skeleton.c.
791         * misc/tst-mntent.c (main): Converted to ...
792         (do_test): ... this.
793         (TEST_FUNCTION): New macro.
794         Include test-skeleton.c.
795         * misc/tst-tsearch.c (main): Converted to ...
796         (do_test): ... this.
797         (TEST_FUNCTION): New macro.
798         Include test-skeleton.c.
799         * posix/tst-regexloc.c (main): Converted to ...
800         (do_test): ... this.
801         (TEST_FUNCTION): New macro.
802         Include test-skeleton.c.
803         * resolv/tst-aton.c (main): Converted to ...
804         (do_test): ... this.
805         (TEST_FUNCTION): New macro.
806         Include test-skeleton.c.
807         * stdio-common/test-fwrite.c (main): Converted to ...
808         (do_test): ... this.
809         (TEST_FUNCTION): New macro.
810         Include test-skeleton.c.
811         * stdio-common/tst-ferror.c (main): Converted to ...
812         (do_test): ... this.
813         (TEST_FUNCTION): New macro.
814         Include test-skeleton.c.
815         * stdio-common/tst-printf.c (main): Converted to ...
816         (do_test): ... this.
817         (TEST_FUNCTION): New macro.
818         Include test-skeleton.c.
819         * stdio-common/tst-printfsz.c (main): Converted to ...
820         (do_test): ... this.
821         (TEST_FUNCTION): New macro.
822         Include test-skeleton.c.
823         * stdlib/tst-strtod.c (main): Converted to ...
824         (do_test): ... this.
825         (TEST_FUNCTION): New macro.
826         Include test-skeleton.c.
827         * string/tst-strlen.c (main): Converted to ...
828         (do_test): ... this.
829         (TEST_FUNCTION): New macro.
830         Include test-skeleton.c.
831         * string/tst-svc.c (main): Converted to ...
832         (do_test): ... this.
833         (TEST_FUNCTION): New macro.
834         Include test-skeleton.c.
835         * time/tst-strptime.c (main): Converted to ...
836         (do_test): ... this.
837         (TEST_FUNCTION): New macro.
838         Include test-skeleton.c.
839         * timezone/tst-timezone.c (main): Converted to ...
840         (do_test): ... this.
841         (TEST_FUNCTION): New macro.
842         Include test-skeleton.c.
844 2015-08-05  Zack Weinberg  <zackw@panix.com>
846         * misc/regexp.h: Update comments.
848 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
850         [BZ #18635]
851         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
852         before return label.
854 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
856         [BZ #18661]
857         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
858         when calling __errno_location.
859         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
860         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
862 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
864         [BZ #18661]
865         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
866         (__lll_timedwait_tid): Align stack to 16 bytes when calling
867         __gettimeofday.
869 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
871         [BZ #18661]
872         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
873         (__start_context): Don't use pop to restore %rdi so that stack
874         is aligned to 16 bytes when calling __setcontext.
876 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
878         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
879         only for libc.
880         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
882 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
884         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
885         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
886         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
888 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
890         * string/memccpy.c (memccpy):
891         Improve performance by using memchr/memcpy/__mempcpy.
893 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
895         * string/strncpy.c (strncpy):
896         Improve performance by using __strnlen/memcpy.
898 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
900         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
901         Optimize to avoid an unnecessary FPCR read.
903 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
905         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
906         Optimize to reduce FPCR/FPSR accesses.
908 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
910         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
911         dead->data[category] != NULL.
913 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
915         [BZ #18647]
916         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
917         and |x| close to 1, use absolute value of x when computing log.
918         * math/auto-libm-test-in: Add more tests of pow.
919         * math/auto-libm-test-out: Regenerated.
921 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
923         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
924         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
925         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
927 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
929         [BZ #18525]
930         * locales/km_KH: Remove timezone definition.
931         * locales/lo_LA: Likewise.
932         * locales/my_MM: Likewise.
933         * locales/nan_TW@latin: Likewise.
934         * locales/th_TH: Likewise.
935         * locales/uk_UA: Likewise.
937 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
939         [BZ #18265]
940         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
941         (wcsncat): Likewise.
942         (wcscmp): Likewise.
943         (wcsncmp): Likewise.
945 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
947         * test-skeleton.c (usage): New function.
948         (main): Call usage when opt is '?'.
950 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
952         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
953         before first use.
955 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
957         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
958         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
959         in there too.
961 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
963         * version.h (RELEASE): Set to "development".
964         (VERSION): Set to "2.22.90"
966         * version.h (RELEASE): Set to "stable".
967         (VERSION): Set to "2.22"
968         * include/features.h (__GLIBC_MINOR__): Set to 22.
970 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
972         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
973         Restructure macro to avoid "value computed is not used" warning.
974         (atomic_compare_and_exchange_val_acq): Likewise.
976 2015-08-04  Andreas Schwab  <schwab@suse.de>
978         [BZ #18635]
979         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
980         ret.
981         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
983 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
985         * po/pl.po: Updated translation.
986         * po/uk.po: Likewise.
987         * po/fi.po: Likewise.
988         * po/ko.po: Likewise.
989         * po/ru.po: Likewise.
990         * po/vi.po: Likewise.
992 2015-07-31  Zack Weinberg  <zackw@panix.com>
994         [BZ #18681]
995         * regexp.h: Add unconditional #warning stating that this header
996         will be removed soon.  Revise banner comment to match.
997         (compile): Consistently use ERROR instead of RETURN to report
998         errors (partial fix for bz#18681).
999         * regexp.c: Don't include regexp.h. Remove some unnecessary
1000         declarations.
1002 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1004         * po/libc.pot: Regenerated.
1006 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1008         [BZ #18740]
1009         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1010         float-vlen4-arch-ext-cflags): Removed.
1011         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1012         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1014 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1016         [BZ #14113]
1017         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1018         aligned to __aligned__.
1019         (pthread_cond_t, pthread_rwlock_t): Likewise.
1021 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1023         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1025 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1027         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1028         (struct sigaction): Change sa_flags from a long to an int, and add
1029         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1031 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1033         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1034         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1035         sysdeps/generic/sysdep.h include.
1036         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1037         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1038         sysdeps/hppa/sysdep.h.
1039         (ENTRY, PSEUDO): Undefine before defining.
1041 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1043         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1044         from scratch to use INTERNAL_SYSCALL.
1046 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1048         [BZ #18078]
1049         * scripts/check-localplt.awk: Support alternate relocations.
1050         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1051         sections.
1052         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1053         malloc entries with + REL R_386_GLOB_DAT.
1054         * sysdeps/x86_64/localplt.data: New file.
1056 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1058         [BZ #18731]
1059         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1060         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1061         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1063 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1065         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1067 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1069         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1070         directly in terms of __sync_fetch_and_add and delete (int) cast.
1072 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1074         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1075         the -D_ASM_IA64_CURRENT_H flag.
1077 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1079         [BZ #18641]
1080         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1082 2015-07-27  Andreas Schwab  <schwab@suse.de>
1084         * conform/conformtest.pl (checknamespace): Filter out string
1085         literals while tokenizing.
1087 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1089         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1090         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1091         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1093 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1095         * nptl/tst-join7mod.c: Add #include <string.h>.
1097 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1099         * sysdeps/nios2/libm-test-ulps: Update.
1101 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1103         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1104         Fix order of arguments to the rt_sigprocmask syscall.
1105         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1106         Likewise.
1108 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1110         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1112 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1114         [BZ #18457]
1115         * nptl/Makefile (tests): New test case tst-join7.
1116         (modules-names): New test case module tst-join7mod.
1117         * nptl/tst-join7.c: New file.
1118         * nptl/tst-join7mod.c: New file.
1119         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1120         all translation units in libc.so, libpthread.so and rtld.
1122 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1126 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1130         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1133         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1137         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1139         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1140         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1141         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1143         implementation.
1145 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1147         [BZ #17711]
1148         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1149         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1150         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1151         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1152         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1153         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1155 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1157         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1158         instead of just saying load lock in the comments.
1160 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1162         * sysdeps/unix/Subdirs: Moved ...
1163         * sysdeps/posix/Subdirs: ... here.
1164         * login/pty.h (struct termios, struct winsize): Add forward decls.
1165         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1166         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1167         * sysdeps/arm/nacl/libc.abilist: Updated.
1168         * sysdeps/nacl/libutil.abilist: New file.
1170         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1171         (SIGWINCH): New macro.
1173         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1174         * sysdeps/arm/nacl/libc.abilist: Add it.
1176 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1178         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1180 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1182         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1183         Swap __glibc_reserved0 and sa_flags order.
1185 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1187         [BZ #18657]
1188         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1189         are pending TLS destructor calls.
1190         * include/link.h (struct link_map): Add concurrency note for
1191         L_TLS_DTOR_COUNT.
1192         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1193         Don't touch the link map flag.  Atomically increment
1194         l_tls_dtor_count.
1195         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1196         Avoid taking the load lock and don't touch the link map flag.
1197         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1198         * stdlib/Makefile (tests): Use it.
1199         * stdlib/tst-tls-atexit.c (do_test): dlopen
1200         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1201         to allow tst-tls-atexit-nodelete test case to use it.
1203 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1205         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1206         to bits/types.h.
1207         (msgqnum_t): New typedef.
1208         (msglen_t): Likewise.
1209         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1210         and msg_qbytes type to msglen_t.
1212 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1214         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1215         pad0 to __glibc_reserved0.
1216         (struct stat64): Likewise.
1218 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1220         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1221         Change sa_flags from a long to an int and add __glibc_reserved0 before
1222         it for padding.
1224 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1226         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1227         anonymous by deleting "siginfo" name.
1229 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1231         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1232         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1233         rather than __nacl_irt_filename.
1234         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1236         * NEWS: New item for arm-nacl port.
1237         * sysdeps/arm/nacl/libc.abilist: New file.
1238         * sysdeps/nacl/ld.abilist: New file.
1239         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1240         * sysdeps/nacl/libanl.abilist: New file.
1241         * sysdeps/nacl/libcrypt.abilist: New file.
1242         * sysdeps/nacl/libdl.abilist: New file.
1243         * sysdeps/nacl/libm.abilist: New file.
1244         * sysdeps/nacl/libpthread.abilist: New file.
1245         * sysdeps/nacl/libresolv.abilist: New file.
1246         * sysdeps/nacl/librt.abilist: New file.
1248 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1250         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1251         __startcontext to initialize the new context.
1252         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1253         up CFI directive to forbid further backtracing.
1255 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1257         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1258         reference.
1259         * charmaps/ANSI_X3.4-1968: Likewise.
1260         * charmaps/BS_4730: Likewise.
1261         * charmaps/BS_VIEWDATA: Likewise.
1262         * charmaps/CP1250: Likewise.
1263         * charmaps/CP1251: Likewise.
1264         * charmaps/CP1252: Likewise.
1265         * charmaps/CP1253: Likewise.
1266         * charmaps/CP1254: Likewise.
1267         * charmaps/CP1255: Likewise.
1268         * charmaps/CP1256: Likewise.
1269         * charmaps/CSN_369103: Likewise.
1270         * charmaps/EBCDIC-DK-NO: Likewise.
1271         * charmaps/GB_1988-80: Likewise.
1272         * charmaps/GREEK-CCITT: Likewise.
1273         * charmaps/GREEK7: Likewise.
1274         * charmaps/INIS-8: Likewise.
1275         * charmaps/ISIRI-3342: Likewise.
1276         * charmaps/ISO_2033-1983: Likewise.
1277         * charmaps/ISO_5427-EXT: Likewise.
1278         * locales/POSIX: Likewise.
1279         * locales/ar_SA: Likewise.
1280         * locales/be_BY: Likewise.
1281         * locales/be_BY@latin: Likewise.
1282         * locales/ca_ES: Likewise.
1283         * locales/cs_CZ: Likewise.
1284         * locales/da_DK: Likewise.
1285         * locales/de_BE: Likewise.
1286         * locales/de_CH: Likewise.
1287         * locales/de_LU: Likewise.
1288         * locales/en_AU: Likewise.
1289         * locales/en_BW: Likewise.
1290         * locales/en_CA: Likewise.
1291         * locales/en_DK: Likewise.
1292         * locales/en_GB: Likewise.
1293         * locales/en_IE: Likewise.
1294         * locales/en_NZ: Likewise.
1295         * locales/en_ZA: Likewise.
1296         * locales/en_ZW: Likewise.
1297         * locales/es_AR: Likewise.
1298         * locales/es_BO: Likewise.
1299         * locales/es_CL: Likewise.
1300         * locales/es_CO: Likewise.
1301         * locales/es_DO: Likewise.
1302         * locales/es_EC: Likewise.
1303         * locales/es_ES: Likewise.
1304         * locales/es_HN: Likewise.
1305         * locales/es_MX: Likewise.
1306         * locales/es_PA: Likewise.
1307         * locales/es_PE: Likewise.
1308         * locales/es_PY: Likewise.
1309         * locales/es_SV: Likewise.
1310         * locales/es_US: Likewise.
1311         * locales/es_UY: Likewise.
1312         * locales/es_VE: Likewise.
1313         * locales/et_EE: Likewise.
1314         * locales/fa_IR: Likewise.
1315         * locales/fo_FO: Likewise.
1316         * locales/fr_CA: Likewise.
1317         * locales/fr_CH: Likewise.
1318         * locales/gv_GB: Likewise.
1319         * locales/he_IL: Likewise.
1320         * locales/hr_HR: Likewise.
1321         * locales/id_ID: Likewise.
1322         * locales/is_IS: Likewise.
1323         * locales/it_CH: Likewise.
1324         * locales/iw_IL: Likewise.
1325         * locales/kl_GL: Likewise.
1326         * locales/ko_KR: Likewise.
1327         * locales/kw_GB: Likewise.
1328         * locales/lg_UG: Likewise.
1329         * locales/lt_LT: Likewise.
1330         * locales/lv_LV: Likewise.
1331         * locales/mi_NZ: Likewise.
1332         * locales/nhn_MX: Likewise.
1333         * locales/nl_BE: Likewise.
1334         * locales/pl_PL: Likewise.
1335         * locales/sk_SK: Likewise.
1336         * locales/sl_SI: Likewise.
1337         * locales/sv_FI: Likewise.
1338         * locales/tl_PH: Likewise.
1339         * locales/tr_TR: Likewise.
1340         * locales/vi_VN: Likewise.
1342 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1344         [BZ #17475]
1345         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1346         of tu_IN and bh_IN.
1348 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1350         [BZ #18694]
1351         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1352         bits/wordsize.h.
1353         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1355 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1357         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1358         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1359         (spawn_thread): New function.
1360         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1361         (do_test): ... here.  Use IS_LOADED to test for its
1362         availability.
1364 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1366         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1368 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1370         [BZ #18696]
1371         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1372         si_addr_bnd.
1373         (si_lower): New.
1374         (si_upper): Likewise.
1376 2015-07-16  David S. Miller  <davem@davemloft.net>
1378         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1380 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1382         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1383         buffer.
1384         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1385         fail output information.
1387 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1390         and strstr-ppc64..
1391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1392         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1393         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1394         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1395         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1397 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1399         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1400         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1401         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1402         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1404 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1406         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1407         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1408         rtld_hidden_proto.
1409         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1411 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1413         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1414         the test can fail.
1416         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1418         [BZ #18676]
1419         * elf/tst-nodelete-opened.c: New test case.
1420         * elf/tst-nodelete-opened-lib.c: New test case module.
1421         * elf/Makefile (tests, modules-names): Use them.
1422         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1423         early.
1425 2015-07-15  David S. Miller  <davem@davemloft.net>
1427         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1428         futex-intenal.h
1429         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1430         * sysdeps/sparc/sparc64/Makefile: Likewise.
1431         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1432         Remove space from macro define.
1433         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1435 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1437         [BZ #17475]
1438         * locale/iso-639.def: Update Bhili and Tulu language codes as
1439         per iso639-3.
1441 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1443         * elf/tst-leaks1.c (main): Converted to ...
1444         (do_test): ... this.
1445         (TEST_FUNCTION): New macro.
1446         Include test-skeleton.c.
1447         * localedata/tst-langinfo.c (main): Converted to ...
1448         (do_test): ... this.
1449         (TEST_FUNCTION): New macro.
1450         Include test-skeleton.c.
1451         * math/test-fpucw.c (main): Converted to ...
1452         (do_test): ... this.
1453         (TEST_FUNCTION): New macro.
1454         Include test-skeleton.c.
1455         * math/test-tgmath.c (main): Converted to ...
1456         (do_test): ... this.
1457         (TEST_FUNCTION): New macro.
1458         Include test-skeleton.c.
1459         * math/test-tgmath2.c (main): Converted to ...
1460         (do_test): ... this.
1461         (TEST_FUNCTION): New macro.
1462         Include test-skeleton.c.
1463         * setjmp/tst-setjmp.c (main): Converted to ...
1464         (do_test): ... this.
1465         (TEST_FUNCTION): New macro.
1466         Include test-skeleton.c.
1467         * stdio-common/tst-sscanf.c (main): Converted to ...
1468         (do_test): ... this.
1469         (TEST_FUNCTION): New macro.
1470         Include test-skeleton.c.
1471         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1472         (do_test): ... this.
1473         (TEST_FUNCTION): New macro.
1474         Include test-skeleton.c.
1476         * elf/tst-audit9.c (main): Converted to ...
1477         (do_test): ... this.
1478         (TEST_FUNCTION): New macro.
1479         Include test-skeleton.c.
1481 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1483         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1485 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1487         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1488         New variable.
1490 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1492         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1494 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1496         * sysdeps/generic/dl-fileid.h: New file.
1497         * sysdeps/posix/dl-fileid.h: New file.
1498         * sysdeps/nacl/dl-fileid.h: New file.
1499         * include/link.h: Include <dl-fileid.h>.
1500         (struct link_map): Replace l_dev and l_ino with l_file_id.
1501         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1502         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1503         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1505 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1507         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1509 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1511         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1512         Add iff $CXX is set.
1513         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1514         Likewise.
1515         (tst-nodelete-zmodiff): Likewise.
1516         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1518 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1520         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1522 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1524         * sysdeps/aarch64/fpu/math_private.h
1525         (define math_opt_barrier): Add AArch64 version.
1526         (math_force_eval): Likewise.
1528 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1530         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1532 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1534         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1535         %ld with %jd and cast to intmax_t.
1536         (do_test_length_zero): Likewise.
1538 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1540         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1542 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1544         * sysdeps/tile/libm-test-ulps: Regenerated.
1546         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1547         Comment out the whole function, not just its body.
1549 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1551         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1552         locks.
1554         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1556 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1558         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1559         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1561 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1563         * sysdeps/nptl/futex-internal.h: New file.
1564         * sysdeps/nacl/futex-internal.h: New file.
1565         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1566         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1567         error checking.
1568         (setxid_unmark_thread): Likewise.
1569         (__nptl_setxid): Likewise.
1570         (__wait_lookup_done): Likewise.
1571         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1572         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1573         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1574         * nptl/pthread_once.c (clear_once_control): Likewise.
1575         (__pthread_once_slow): Likewise.
1576         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1577         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1578         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1579         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1580         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1581         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1582         Likewise.
1583         (__pthread_rwlock_rdlock): Likewise.
1584         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1585         Likewise.
1586         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1587         Likewise.
1588         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1589         Likewise.
1590         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1591         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1592         Likewise.
1593         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1594         __ASSUME_PRIVATE_FUTEX check.
1595         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1596         Check that shared futexes are supported.
1597         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1598         wrappers with error checking.
1599         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1600         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1601         * nptl/pthread_barrierattr_setpshared.c
1602         (pthread_barrierattr_setpshared): Check that shared futexes are
1603         supported.
1604         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1605         Likewise.
1606         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1607         Likewise.
1608         * nptl/sem_init.c (futex_private_if_supported): Remove.
1609         (__new_sem_init): Adapt and check that shared futexes are supported.
1610         * nptl/sem_open.c (sem_open): Likewise.
1611         * nptl/sem_post.c (futex_wake): Remove.
1612         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1613         (do_futex_wait): Use futex wrappers with error checking.
1614         * nptl/sem_wait.c: Include lowlevellock.h.
1615         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1616         Use futex_supports_pshared.
1617         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1618         Use futex wrappers with error checking.
1619         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1620         Likewise.
1621         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1622         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1623         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1624         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1625         (futex_wake): Likewise.
1626         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1627         (do_futex_wait): Use futex wrappers with error checking.
1628         (__new_sem_wait_slow): Update EINTR handling.
1629         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1631 2015-07-09  Martin Sebor  <msebor@redhat.com>
1633         [BZ #18435]
1634         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1635         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1636         * nptl/Makefile (test-xfail-tst-once5): Define.
1638 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1640         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1641         * elf/dl-minimal.c: For readability, reorder some definitions and
1642         introduce more page breaks.  Include <stdio.h>.
1643         (__libc_fatal): New function.
1645         * include/unistd.h: Add rtld_hidden_proto for _exit.
1646         * posix/_exit.c: Add rtld_hidden_def.
1647         * sysdeps/mach/hurd/_exit.c: Likewise.
1648         * sysdeps/nacl/_exit.c: Likewise.
1649         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1650         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1652 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1655         bndmov encoding with zero displacement.
1657 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1658             H.J. Lu  <hongjiu.lu@intel.com>
1660         [BZ #18134]
1661         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1662         * sysdeps/i386/configure: Regenerated.
1663         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1664         (_dl_runtime_profile): Save and restore Intel MPX return bound
1665         registers when calling _dl_call_pltexit.  Add
1666         PRESERVE_BND_REGS_PREFIX before return.
1667         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1668         (LRV_BND1_OFFSET): Likewise.
1669         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1670         lrv_bnd1.
1671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1672         typo in bndmov encoding.
1673         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1674         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1675         branch instructions to preserve bounds.
1677 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1680         [GLIBC_2.22]: Add fmemopen.
1682 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1684         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1685         returns an error, also try to use host port from __mach_host_self for
1686         the __vm_wire call.
1687         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1689 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1691         [BZ #18400]
1692         [BZ #18648]
1693         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1694         Fix pr_uid and pr_gid members.
1695         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1696         definition to elf_greg_t.
1698 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1700         [BZ #18383]
1701         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1702         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1703         * sysdeps/arm/configure: Regenerated.
1704         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1705         (test-xfail-tst-tlsalign-static): Variable removed.
1707         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1708         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1709         rather than explicit 'ln -s'.
1711         * resolv/rpc/netdb.h: New file.
1712         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1714 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1716         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1717         length buffers.
1718         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1719         test-skeleton.c.
1721         [BZ #6544]
1722         [BZ #11216]
1723         [BZ #12836]
1724         [BZ #13151]
1725         [BZ #13152]
1726         [BZ #14292]
1727         * include/stdio.h (fmemopen): Remove hidden prototype.
1728         (__fmemopen): Add new hidden prototype.
1729         * libio/Makefile: Add oldfmemopen object.
1730         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1731         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1732         compliance.
1733         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1734         symbol compatibility.
1735         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1736         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1737         fmemopen.
1738         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1739         on append and read mode.
1740         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1741         fmemopen.
1742         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1743         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1744         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1745         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1746         Likewise.
1747         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1748         [GLIBC_2.22]: Likewise.
1749         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1750         Likewise.
1751         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1752         Likewise.
1753         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1754         [GLIBC_2.22]: Likewise.
1755         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1756         [GLIBC_2.22]: Likewise.
1757         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1758         [GLIBC_2.22]: Likewise.
1759         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1760         [GLIBC_2.22]: Likewise.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1762         [GLIBC_2.22]: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1764         [GLIBC_2.22]: Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1766         [GLIBC_2.22]: Likewise.
1767         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1768         Likewise.
1769         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1770         Likewise.
1771         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1772         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1773         [GLIBC_2.22]: Likewise.
1774         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1775         [GLIBC_2.22]: Likewise.
1776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1777         [GLIBC_2.22]: Likewise.
1778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1779         [GLIBC_2.22]: Likewise.
1780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1783         Likewise.
1784         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1785         Likewise.
1786         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1787         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1789 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1791         [BZ #18643]
1792         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1793         IPV6_PATHMTU, and IPV6_DONTFRAG.
1795 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1797         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1798         and _IO_UNBUFFERED.
1799         * libio/oldfileops.c: Likewise.
1800         * libio/wfileops.c: Likewise.
1802 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1804         * nscd/selinux.c: Delete selinux/flask.h include.
1806 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1808         [BZ #18641]
1809         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1810         (putpwent): Likewise.
1811         (getpwnam): Likewise.
1812         (getpwent_r): Likewise.
1813         (getpwuid_r): Likewise.
1814         (getpwnam_r): Likewise.
1815         (fgetpwent_r): Likewise.
1817 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1819         [BZ #18557]
1820         * inet/rcmd.c (__validuser2_sa): Check user first to
1821         short-circuit host check.
1823 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1824             Mikhail Ilin  <m.ilin@samsung.com>
1826         [BZ #17833]
1827         * elf/Makefile (tests): Add tst-nodelete.
1828         (modules-names): Add tst-nodelete-uniquemod.
1829         (tst-nodelete-uniquemod.so-no-z-defs): New.
1830         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1831         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1832         ($(objpfx)tst-nodelete): Likewise.
1833         ($(objpfx)tst-nodelete.out): Likewise.
1834         (LDFLAGS-tst-nodelete): Likewise.
1835         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1836         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1837         implement forced object deletion.
1838         (_dl_close): Pass false to _dl_close_worker.
1839         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1840         * elf/tst-nodelete.cc: New file.
1841         * elf/tst-nodeletelib.cc: Likewise.
1842         * elf/tst-znodeletelib.cc: Likewise.
1843         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1845 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1847         [BZ #18508]
1848         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1849         Depend on $(libdl).
1850         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1851         is not called infinitely times.
1852         (backtrace_helper): New function.
1853         (trace_arg): New struct.
1854         (st1): Enlarge stack size.
1855         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1856         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1857         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1858         Likewise.
1860 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1862         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1864 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1866         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1867         Include sys/types.h instead of bits/types.h.
1868         Remove inclusion of bits/wordsize.h.
1870 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1872         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1873         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1874         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1875         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1876         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1877         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1879 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1881         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1882         link-defines.sym.
1883         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1884         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1885         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1886         and LR_SIZE.
1887         * sysdeps/i386/link-defines.sym: New file.
1889 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1891         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1892         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1893         ($(objpfx)tst-audit3): New rule.
1894         ($(objpfx)tst-audit3.out): Likewise.
1895         * sysdeps/i386/tst-audit3.c: New file.
1896         * sysdeps/i386/tst-audit3.h: Likewise.
1897         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1898         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1900 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1902         [BZ #18633]
1903         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1904         pointer in C code.
1905         (__strcat_c): Likewise.
1906         (__strcat_g): Likewise.
1908 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1910         [BZ #18592]
1911         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1913 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1915         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1916         New function.  (__ieee754_sqrtf): New function.
1917         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1918         New function.
1919         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1920         New function.
1922 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1924         * sysdeps/ieee754/support.c: Remove unused file.
1926 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1928         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1929         registers instead of d ones so the layout is kernel abi compatible.
1930         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1931         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1932         Likewise.
1934 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1936         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1938 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1940         [BZ #18619]
1941         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1942         and return argument in case of subnormal argument.
1944 2015-07-01  Martin Sebor  <msebor@redhat.com>
1946         [BZ #18435]
1947         * nptl/Makefile: Add tst-once5.cc.
1948         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1949         Remove macro redefinitions.
1950         * nptl/tst-once5.cc: New test.
1952 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1956         * sysdeps/arm/libm-test-ulps: Regenerated.
1958         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1959         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1961 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1963         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1964         lll_lock_wait_private and lll_futex_wake probes.
1966         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1968         Likewise.
1969         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1970         atomic_spin_nop.
1971         * sysdeps/x86_64/bits/atomic.h: Likewise.
1972         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1973         to atomic_spin_nop and move ...
1974         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1975         ... here and ...
1976         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1977         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1978         atomic_spin_nop instead of BUSY_WAIT_NOP.
1979         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1980         Likewise.
1981         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1982         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1983         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1984         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1985         instead of atomic_delay.
1987 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1989         [BZ #18613]
1990         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1991         X_ADJ not X when adjusting exponent.
1992         (__ieee754_gamma_r): Do intermediate computations in
1993         round-to-nearest then adjust overflowing and underflowing results
1994         as needed.
1995         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1996         of X_ADJ not X when adjusting exponent.
1997         (__ieee754_gammaf_r): Do intermediate computations in
1998         round-to-nearest then adjust overflowing and underflowing results
1999         as needed.
2000         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2001         log of X_ADJ not X when adjusting exponent.
2002         (__ieee754_gammal_r): Do intermediate computations in
2003         round-to-nearest then adjust overflowing and underflowing results
2004         as needed.  Use 1.0L not 1.0f as numerator of division.
2005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2006         log of X_ADJ not X when adjusting exponent.
2007         (__ieee754_gammal_r): Do intermediate computations in
2008         round-to-nearest then adjust overflowing and underflowing results
2009         as needed.  Use 1.0L not 1.0f as numerator of division.
2010         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2011         of X_ADJ not X when adjusting exponent.
2012         (__ieee754_gammal_r): Do intermediate computations in
2013         round-to-nearest then adjust overflowing and underflowing results
2014         as needed.  Use 1.0L not 1.0f as numerator of division.
2015         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2016         to auto-libm-test-in.
2017         (tgamma_test): Use ALL_RM_TEST.
2018         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2019         tests of tgamma with spurious-overflow.
2020         * math/auto-libm-test-out: Regenerated.
2021         * math/gen-libm-have-vector-test.sh: Do not check for START.
2022         * sysdeps/i386/fpu/libm-test-ulps: Update.
2023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2025         [BZ #18612]
2026         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2027         arguments, just return 0.5 times the argument, with underflow
2028         forced as needed.
2029         * math/auto-libm-test-in: Add more tests of j1.
2030         * math/auto-libm-test-out: Regenerated.
2032         [BZ #16559]
2033         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2034         (__ieee754_j1): Force underflow exception for small results.
2035         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2036         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2037         (__ieee754_j1f): Force underflow exception for small results.
2038         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2039         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2041         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2042         (__ieee754_j1l): Force underflow exception for small results.
2043         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2044         * math/auto-libm-test-in: Add more tests of j1 and jn.
2045         * math/auto-libm-test-out: Regenerated.
2047         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2048         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2049         (PF_MPLS): Likewise.
2050         (AF_IB): Likewise.
2051         (AF_MPLS): Likewise.
2052         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2053         value and macro.
2054         (MS_RMT_MASK): Include MS_LAZYTIME.
2056 2015-06-26  Mel Gorman  <mgorman@suse.de>
2058         [BZ #18502]
2059         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2060         already minimal.
2062 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2064         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2065         (DT_MIPS_NUM): Update.
2066         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2067         DT_MIPS_RLD_MAP_REL.
2069 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #16559]
2072         [BZ #18602]
2073         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2074         round-to-nearest internally then recompute results that
2075         underflowed to zero in the original rounding mode.
2076         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2077         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2079         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2080         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2081         * sysdeps/i386/fpu/libm-test-ulps: Update.
2082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2084 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2086         * NEWS: Fixed description of link with vector math library.
2088 2015-06-25  Andreas Schwab  <schwab@suse.de>
2090         [BZ #18549]
2091         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2092         * libio/test-fmemopen.c (do_test): Add test for it.
2094 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2096         [BZ #17841]
2097         * Makeconfig (no-pie-ldflag): New.
2098         (+link): Set to $(+link-pie) if default to PIE.
2099         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2100         * config.make.in (build-pie-default): New.
2101         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2102         is default.  AC_SUBST.
2103         * configure: Regenerated.
2104         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2106 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2108         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2109         to 'unsigned int'.
2111         * resolv/gai_misc.h (struct waitlist): Change type of field
2112         counterp to 'volatile unsigned int *'.
2113         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2114         FUTEXADDR and OLDVAL.
2115         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2116         Give local variable TOTAL type 'volatile unsigned int'.
2117         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2118         * resolv/gai_suspend.c (gai_suspend):
2119         Give local variable CNTR type 'unsigned int'.
2121         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2122         counterp to 'volatile unsigned int *'.
2123         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2124         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2125         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2126         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2127         Give local variable TOTAL type 'volatile unsigned int'.
2128         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2130 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2132         [BZ #18383]
2133         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2134         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2135         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2136         comment for i386/x86-64.
2137         (test-xfail-tst-tlsalign-extern-static): Removed.
2139 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2141         * math/test-double.h: New file.
2142         * math/test-float.h: Likewise.
2143         * math/test-ldouble.h: Likewise.
2144         * math/test-math-inline.h: Likewise.
2145         * math/test-math-no-inline.h: Likewise.
2146         * math/test-math-scalar.h: Likewise.
2147         * math/test-math-vector.h: Likewise.
2148         * math/test-vec-loop.h: Remove file.  Contents moved into
2149         test-math-vector.h.
2150         * math/libm-test.inc (MATHCONST): Do not document macro.
2151         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2152         and test-math-scalar.h.
2153         (FUNC): Remove macro.
2154         (FUNC_TEST): Likewise.
2155         (FLOAT): Likewise.
2156         (MATHCONST): Likewise.
2157         (PRINTF_EXPR): Likewise.
2158         (PRINTF_XEXPR): Likewise.
2159         (PRINTF_NEXPR): Likewise.
2160         (TEST_DOUBLE): Likewise.
2161         (TEST_MATHVEC): Likewise.
2162         (__NO_MATH_INLINES): Likewise.
2163         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2164         and test-math-scalar.h.
2165         (FUNC): Remove macro.
2166         (FUNC_TEST): Likewise.
2167         (FLOAT): Likewise.
2168         (MATHCONST): Likewise.
2169         (PRINTF_EXPR): Likewise.
2170         (PRINTF_XEXPR): Likewise.
2171         (PRINTF_NEXPR): Likewise.
2172         (TEST_FLOAT): Likewise.
2173         (TEST_MATHVEC): Likewise.
2174         (__NO_MATH_INLINES): Likewise.
2175         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2176         and test-math-scalar.h.
2177         (FUNC): Remove macro.
2178         (FUNC_TEST): Likewise.
2179         (FLOAT): Likewise.
2180         (MATHCONST): Likewise.
2181         (PRINTF_EXPR): Likewise.
2182         (PRINTF_XEXPR): Likewise.
2183         (PRINTF_NEXPR): Likewise.
2184         (TEST_DOUBLE): Likewise.
2185         (TEST_MATHVEC): Likewise.
2186         (TEST_INLINE): Likewise.
2187         (__NO_MATH_INLINES): Likewise.
2188         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2189         test-math-scalar.h.
2190         (FUNC): Remove macro.
2191         (FUNC_TEST): Likewise.
2192         (FLOAT): Likewise.
2193         (MATHCONST): Likewise.
2194         (PRINTF_EXPR): Likewise.
2195         (PRINTF_XEXPR): Likewise.
2196         (PRINTF_NEXPR): Likewise.
2197         (TEST_FLOAT): Likewise.
2198         (TEST_MATHVEC): Likewise.
2199         (TEST_INLINE): Likewise.
2200         (__NO_MATH_INLINES): Likewise.
2201         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2202         and test-math-scalar.h.
2203         (FUNC): Remove macro.
2204         (FUNC_TEST): Likewise.
2205         (FLOAT): Likewise.
2206         (MATHCONST): Likewise.
2207         (PRINTF_EXPR): Likewise.
2208         (PRINTF_XEXPR): Likewise.
2209         (PRINTF_NEXPR): Likewise.
2210         (TEST_LDOUBLE): Likewise.
2211         (TEST_MATHVEC): Likewise.
2212         (TEST_INLINE): Likewise.
2213         (__NO_MATH_INLINES): Likewise.
2214         * math/test-ldouble.c: Include test-ldouble.h,
2215         test-math-no-inline.h and test-math-scalar.h.
2216         (FUNC): Remove macro.
2217         (FUNC_TEST): Likewise.
2218         (FLOAT): Likewise.
2219         (MATHCONST): Likewise.
2220         (PRINTF_EXPR): Likewise.
2221         (PRINTF_XEXPR): Likewise.
2222         (PRINTF_NEXPR): Likewise.
2223         (TEST_LDOUBLE): Likewise.
2224         (TEST_MATHVEC): Likewise.
2225         (__NO_MATH_INLINES): Likewise.
2226         * math/test-double-vlen2.h: Include test-double.h,
2227         test-math-no-inline.h and test-math-vector.h.
2228         (FLOAT): Remove macro.
2229         (FUNC): Likewise.
2230         (MATHCONST): Likewise.
2231         (PRINTF_EXPR): Likewise.
2232         (PRINTF_XEXPR): Likewise.
2233         (PRINTF_NEXPR): Likewise.
2234         (TEST_DOUBLE): Likewise.
2235         (TEST_MATHVEC): Likewise.
2236         (__NO_MATH_INLINES): Likewise.
2237         (CNCT): Likewise.
2238         (CONCAT): Likewise.
2239         (WRAPPER_NAME): Likewise.
2240         (WRAPPER_DECL): Likewise.
2241         (WRAPPER_DECL_ff): Likewise.
2242         (WRAPPER_DECL_fFF): Likewise.
2243         (VECTOR_WRAPPER): Likewise.
2244         (VECTOR_WRAPPER_ff): Likewise.
2245         (VECTOR_WRAPPER_fFF): Likewise.
2246         (VEC_LEN): New macro.
2247         * math/test-double-vlen4.h: Include test-double.h,
2248         test-math-no-inline.h and test-math-vector.h.
2249         (FLOAT): Remove macro.
2250         (FUNC): Likewise.
2251         (MATHCONST): Likewise.
2252         (PRINTF_EXPR): Likewise.
2253         (PRINTF_XEXPR): Likewise.
2254         (PRINTF_NEXPR): Likewise.
2255         (TEST_DOUBLE): Likewise.
2256         (TEST_MATHVEC): Likewise.
2257         (__NO_MATH_INLINES): Likewise.
2258         (CNCT): Likewise.
2259         (CONCAT): Likewise.
2260         (WRAPPER_NAME): Likewise.
2261         (WRAPPER_DECL): Likewise.
2262         (WRAPPER_DECL_ff): Likewise.
2263         (WRAPPER_DECL_fFF): Likewise.
2264         (VECTOR_WRAPPER): Likewise.
2265         (VECTOR_WRAPPER_ff): Likewise.
2266         (VECTOR_WRAPPER_fFF): Likewise.
2267         (VEC_LEN): New macro.
2268         * math/test-double-vlen8.h: Include test-double.h,
2269         test-math-no-inline.h and test-math-vector.h.
2270         (FLOAT): Remove macro.
2271         (FUNC): Likewise.
2272         (MATHCONST): Likewise.
2273         (PRINTF_EXPR): Likewise.
2274         (PRINTF_XEXPR): Likewise.
2275         (PRINTF_NEXPR): Likewise.
2276         (TEST_DOUBLE): Likewise.
2277         (TEST_MATHVEC): Likewise.
2278         (__NO_MATH_INLINES): Likewise.
2279         (CNCT): Likewise.
2280         (CONCAT): Likewise.
2281         (WRAPPER_NAME): Likewise.
2282         (WRAPPER_DECL): Likewise.
2283         (WRAPPER_DECL_ff): Likewise.
2284         (WRAPPER_DECL_fFF): Likewise.
2285         (VECTOR_WRAPPER): Likewise.
2286         (VECTOR_WRAPPER_ff): Likewise.
2287         (VECTOR_WRAPPER_fFF): Likewise.
2288         (VEC_LEN): New macro.
2289         * math/test-float-vlen4.h: Include test-float.h,
2290         test-math-no-inline.h and test-math-vector.h.
2291         (FLOAT): Remove macro.
2292         (FUNC): Likewise.
2293         (MATHCONST): Likewise.
2294         (PRINTF_EXPR): Likewise.
2295         (PRINTF_XEXPR): Likewise.
2296         (PRINTF_NEXPR): Likewise.
2297         (TEST_FLOAT): Likewise.
2298         (TEST_MATHVEC): Likewise.
2299         (__NO_MATH_INLINES): Likewise.
2300         (CNCT): Likewise.
2301         (CONCAT): Likewise.
2302         (WRAPPER_NAME): Likewise.
2303         (WRAPPER_DECL): Likewise.
2304         (WRAPPER_DECL_ff): Likewise.
2305         (WRAPPER_DECL_fFF): Likewise.
2306         (VECTOR_WRAPPER): Likewise.
2307         (VECTOR_WRAPPER_ff): Likewise.
2308         (VECTOR_WRAPPER_fFF): Likewise.
2309         (VEC_LEN): New macro.
2310         * math/test-float-vlen8.h: Include test-float.h,
2311         test-math-no-inline.h and test-math-vector.h.
2312         (FLOAT): Remove macro.
2313         (FUNC): Likewise.
2314         (MATHCONST): Likewise.
2315         (PRINTF_EXPR): Likewise.
2316         (PRINTF_XEXPR): Likewise.
2317         (PRINTF_NEXPR): Likewise.
2318         (TEST_FLOAT): Likewise.
2319         (TEST_MATHVEC): Likewise.
2320         (__NO_MATH_INLINES): Likewise.
2321         (CNCT): Likewise.
2322         (CONCAT): Likewise.
2323         (WRAPPER_NAME): Likewise.
2324         (WRAPPER_DECL): Likewise.
2325         (WRAPPER_DECL_ff): Likewise.
2326         (WRAPPER_DECL_fFF): Likewise.
2327         (VECTOR_WRAPPER): Likewise.
2328         (VECTOR_WRAPPER_ff): Likewise.
2329         (VECTOR_WRAPPER_fFF): Likewise.
2330         (VEC_LEN): New macro.
2331         * math/test-float-vlen16.h: Include test-float.h,
2332         test-math-no-inline.h and test-math-vector.h.
2333         (FLOAT): Remove macro.
2334         (FUNC): Likewise.
2335         (MATHCONST): Likewise.
2336         (PRINTF_EXPR): Likewise.
2337         (PRINTF_XEXPR): Likewise.
2338         (PRINTF_NEXPR): Likewise.
2339         (TEST_FLOAT): Likewise.
2340         (TEST_MATHVEC): Likewise.
2341         (__NO_MATH_INLINES): Likewise.
2342         (CNCT): Likewise.
2343         (CONCAT): Likewise.
2344         (WRAPPER_NAME): Likewise.
2345         (WRAPPER_DECL): Likewise.
2346         (WRAPPER_DECL_ff): Likewise.
2347         (WRAPPER_DECL_fFF): Likewise.
2348         (VECTOR_WRAPPER): Likewise.
2349         (VECTOR_WRAPPER_ff): Likewise.
2350         (VECTOR_WRAPPER_fFF): Likewise.
2351         (VEC_LEN): New macro.
2352         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2353         test-vec-loop.h.
2354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2355         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2356         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2357         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2358         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2359         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2360         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2362 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2364         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2365         (__getlogin_r): ... this.
2367 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2369         [BZ #18594]
2370         * math/s_ccosh.c (__ccosh): Compare with least normal value
2371         instead of comparing class with FP_SUBNORMAL.
2372         * math/s_ccoshf.c (__ccoshf): Likewise.
2373         * math/s_ccoshl.c (__ccoshl): Likewise.
2374         * math/s_cexp.c (__cexp): Likewise.
2375         * math/s_cexpf.c (__cexpf): Likewise.
2376         * math/s_cexpl.c (__cexpl): Likewise.
2377         * math/s_csin.c (__csin): Likewise.
2378         * math/s_csinf.c (__csinf): Likewise.
2379         * math/s_csinh.c (__csinh): Likewise.
2380         * math/s_csinhf.c (__csinhf): Likewise.
2381         * math/s_csinhl.c (__csinhl): Likewise.
2382         * math/s_csinl.c (__csinl): Likewise.
2383         * math/s_ctan.c (__ctan): Likewise.
2384         * math/s_ctanf.c (__ctanf): Likewise.
2385         * math/s_ctanh.c (__ctanh): Likewise.
2386         * math/s_ctanhf.c (__ctanhf): Likewise.
2387         * math/s_ctanhl.c (__ctanhl): Likewise.
2388         * math/s_ctanl.c (__ctanl): Likewise.
2389         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2390         csin, csinh, ctan and ctanh.
2391         * math/auto-libm-test-out: Regenerated.
2392         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2393         * sysdeps/i386/fpu/libm-test-ulps: Update.
2394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2396 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2398         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2399         return value is wrong, print the expected value too.
2401 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2403         [BZ #18585]
2404         * elf/readlib.c (is_gdb_python_file): New.
2405         (process_file): Don't issue errors on filenames with -gdb.py
2406         suffix.
2408 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2410         * math/auto-libm-test-in: Add more tests of csin and csinh.
2411         * math/auto-libm-test-out: Regenerated.
2412         * math/libm-test.inc (csin_test_data): Remove tests moved to
2413         auto-libm-test-in.
2414         (csinh_test_data): Likewise.
2416         [BZ #18593]
2417         * math/s_csin.c (__csin): Negate before rather than after possibly
2418         overflowing multiplication.
2419         * math/s_csinf.c (__csinf): Likewise.
2420         * math/s_csinh.c (__csinh): Likewise.
2421         * math/s_csinhf.c (__csinhf): Likewise.
2422         * math/s_csinhl.c (__csinhl): Likewise.
2423         * math/s_csinl.c (__csinl): Likewise.
2424         * math/auto-libm-test-in: Add some tests of csin and csinh.
2425         * math/auto-libm-test-out: Regenerated.
2426         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2427         (csinh_test_data): Likewise.
2428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2430         [BZ #18586]
2431         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2432         underflow exception for small results.
2434 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2438         variable and included header.
2439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2447         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2448         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2449         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2450         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2451         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2452         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2453         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2454         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2456 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2458         [BZ #16526]
2459         [BZ #16538]
2460         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2461         (__sin): Force underflow exception for arguments with small
2462         absolute value.
2463         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2464         (__kernel_sinf): Force underflow exception for arguments with
2465         small absolute value.
2466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2467         (__kernel_sincosl): Force underflow exception for arguments with
2468         small absolute value.
2469         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2470         (__kernel_sinl): Force underflow exception for arguments with
2471         small absolute value.
2472         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2473         (__kernel_sincosl): Force underflow exception for arguments with
2474         small absolute value.
2475         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2476         (__kernel_sinl): Force underflow exception for arguments with
2477         small absolute value.
2478         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2479         (__kernel_sinl): Force underflow exception for arguments with
2480         small absolute value.
2481         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2482         (__kernel_sinf): Force underflow exception for arguments with
2483         small absolute value.
2484         * math/auto-libm-test-in: Add more tests of sin and sincos.
2485         * math/auto-libm-test-out: Regenerated.
2487         [BZ #18245]
2488         [BZ #18583]
2489         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2490         (__kernel_standard_l): Use feholdexcept and fesetenv around
2491         conversion to double instead of special-casing overflow and
2492         underflow.
2493         * math/libm-test.inc (fmod_test_data): Add more tests.
2494         (remainder_test_data): Likewise.
2495         (sqrt_test_data): Likewise.
2497 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2499         [BZ #17403]
2500         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2501         atomic_read_barrier, atomic_write_barrier): Define.
2502         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2503         atomic_read_barrier, atomic_write_barrier): Define.
2505 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2507         * math/Makefile [$(PERL) != no]
2508         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2509         dependency on libm-test.stmp below the inclusion of Rules.
2511 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2513         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2515         and included header.
2516         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2518         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2520         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2524         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2525         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2526         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2527         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2528         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2529         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2530         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2531         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2532         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2533         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2534         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2536 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2538         [BZ #18371]
2539         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2540         intermediate but not final result might underflow.
2541         * math/s_csqrtf.c (__csqrtf): Likewise.
2542         * math/s_csqrtl.c (__csqrtl): Likewise.
2543         * math/auto-libm-test-in: Add more tests of csqrt.
2544         * math/auto-libm-test-out: Regenerated.
2545         * sysdeps/i386/fpu/libm-test-ulps: Update.
2547         [BZ #18219]
2548         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2549         threshold on absolute value of exponent for which scaling is used.
2550         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2551         * math/auto-libm-test-in: Add more tests of exp2.
2552         * math/auto-libm-test-out: Regenerated.
2554 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2556         [BZ #17977]
2557         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2558         when initializing interface list, based on the bug analysis
2559         and the patch proposed by Eric Newton.
2560         * resolv/tst-res_hconf_reorder.c: New test.
2561         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2562         tst-res_hconf_reorder.
2563         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2564         and $(shared-thread-library).
2565         (tst-res_hconf_reorder-ENV): New variable.
2567         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2568         in comment.
2570 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2572         [BZ #16353]
2573         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2574         (__expm1): Force underflow exception for arguments with small
2575         absolute value.
2576         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2577         (__expm1f): Force underflow exception for arguments with small
2578         absolute value.
2579         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2580         (__expm1): Force underflow exception for arguments with small
2581         absolute value.
2582         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2583         (__expm1f): Force underflow exception for arguments with small
2584         absolute value.
2585         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2586         Check for small arguments before calling __expm1.
2587         * math/auto-libm-test-in: Do not mark underflow exceptions as
2588         possibly missing for bug 16353.
2589         * math/auto-libm-test-out: Regenerated.
2591 2015-06-22  Andreas Schwab  <schwab@suse.de>
2593         [BZ #18513]
2594         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2595         PTR queries.
2597 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2599         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2601         * string/strcoll_l.c: Remove unused struct element idxnow.
2603 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2605         [BZ #18569]
2606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2607         underflow and return argument in case of subnormal argument.
2608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2609         Likewise.
2610         * math/auto-libm-test-in: Add more tests of expm1.
2611         * math/auto-libm-test-out: Regenerated.
2613         [BZ #16361]
2614         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2615         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2616         tiny results.
2617         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2618         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2619         tiny results.
2620         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2621         mark underflow exceptions as possibly missing for bug 16361.
2622         * math/auto-libm-test-out: Regenerated.
2624 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2626         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2627         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2628         Remove variable.
2629         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2630         (test-xfail-XOPEN2K8/utmpx.h/conform).
2632         * conform/conformtest.pl ($xerrors): New variable.
2633         (note_error): New function.
2634         (compiletest): New argument $xfail.  Use not_error.
2635         (runtest): Likewise.
2636         (top level): Handle xfail- lines.  Update calls to compiletest and
2637         runtest.  Handle xfail- and optional- in headers listed with
2638         allow-header.
2639         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2640         (O_EXEC): Likewise.
2641         (O_SEARCH): Likewise.
2642         * conform/data/stropts.h-data (ioctl): Likewise.
2643         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2644         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2645         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2646         (msghdr.msg_controllen): Likewise.
2647         (cmsghdr.cmsg_len): Likewise.
2648         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2649         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2650         variable.
2651         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2652         (test-xfail-XPG4/stropts.h/conform): Likewise.
2653         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2654         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2655         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2656         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2657         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2658         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2659         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2660         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2661         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2662         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2663         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2664         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2665         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2666         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2667         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2668         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2669         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2670         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2671         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2673 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2675         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2676         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2677         definitions for proper unfolding of __MATHDECL_VEC.
2679 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2681         * benchtests/bench-strcoll.c:
2682         Include string.h.
2683         (main): Remove unused variable res.
2685 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2687         * timezone/Makefile (%/UTC %/Universal):
2688         Generate test-result files for UTC and Universal.
2690 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2692         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2694 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2696         [BZ #16350]
2697         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2698         for arguments with small absolute value.
2699         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2700         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2701         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2702         (__asinh): Force underflow exception for arguments with small
2703         absolute value.
2704         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2705         (__asinhf): Force underflow exception for arguments with small
2706         absolute value.
2707         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2708         (__asinhl): Force underflow exception for arguments with small
2709         absolute value.
2710         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2711         (__asinhl): Force underflow exception for arguments with small
2712         absolute value.
2713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2714         (__asinhl): Force underflow exception for arguments with small
2715         absolute value.
2716         * math/auto-libm-test-in: Do not mark underflow exceptions as
2717         possibly missing for bug 16350.
2718         * math/auto-libm-test-out: Regenerated.
2720         * include/bits/ipc.h: Remove file.
2721         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2722         variable.
2723         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2724         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2725         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2726         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2727         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2728         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2729         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2730         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2731         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2733         * math/auto-libm-test-in: Remove spurious underflow allowance for
2734         tests of cexp.
2735         * math/auto-libm-test-out: Regenerated.
2737         [BZ #18558]
2738         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2739         unconditional definition.
2740         (MCAST_BLOCK_SOURCE): Likewise.
2741         (MCAST_UNBLOCK_SOURCE): Likewise.
2742         (MCAST_LEAVE_GROUP): Likewise.
2743         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2744         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2745         (MCAST_MSFILTER): Likewise.
2746         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2747         Remove variable.
2748         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2749         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2750         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2751         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2752         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2754 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2756         * NEWS: Mention addition of x86_64 vector sincosf.
2757         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2758         * math/test-float-vlen4.h: Likewise.
2759         * math/test-float-vlen8.h: Likewise.
2760         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2761         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2762         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2763         * sysdeps/x86_64/fpu/Versions: New versions added.
2764         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2765         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2766         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2773         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2774         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2775         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2776         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2777         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2778         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2779         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2780         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2781         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2782         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2783         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2785         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2786         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2787         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2789         * NEWS: Mention addition of x86_64 vector sincos.
2790         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2791         * math/math.h (__MATHDECL_VEC): New macro.
2792         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2793         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2794         declaration under condition.
2795         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2796         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2797         TEST_VEC_LOOP change.
2798         * math/test-double-vlen4.h: Likewise.
2799         * math/test-double-vlen8.h: Likewise.
2800         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2801         * math/test-float-vlen4.h: Likewise.
2802         * math/test-float-vlen8.h: Likewise.
2803         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2804         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2806         * sysdeps/x86_64/fpu/Versions: New versions added.
2807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2808         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2809         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2816         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2817         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2818         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2819         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2820         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2821         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2822         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2823         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2824         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2826         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2827         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2828         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2829         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2830         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2834         redirections for powf.
2835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2836         * sysdeps/x86_64/fpu/Versions: New versions added.
2837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2839         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2840         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2847         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2848         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2849         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2850         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2851         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2852         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2853         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2854         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2856         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2859         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2860         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2861         * math/test-float-vlen16.h: Fixed 2 argument macro.
2862         * math/test-float-vlen4.h: Likewise.
2863         * math/test-float-vlen8.h: Likewise.
2864         * NEWS: Mention addition of x86_64 vector powf.
2866 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2868         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2869         and redefine.
2870         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2871         and redefine.
2872         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2873         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2876         [BZ #18553]
2877         * resource/getpriority.c (getpriority): Rename to __getpriority
2878         and define as weak alias of __getpriority.
2879         * resource/setpriority.c (setpriority): Rename to __setpriority
2880         and define as weak alias of __setpriority.
2881         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2882         __getpriority and define as weak alias of __getpriority.
2883         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2884         __setpriority and define as weak alias of __setpriority.
2885         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2886         strong name.
2887         (setpriority): Use __setpriority as strong name.
2888         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2889         __getpriority and define as weak alias of __getpriority.
2890         * include/sys/resource.h (__getpriority): Declare.  Use
2891         libc_hidden_proto.
2892         (__setpriority): Likewise.
2893         (getpriority): Don't use libc_hidden_proto.
2894         (setpriority): Likewise.
2895         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2896         getpriority.  Call __setpriority instead of setpriority.
2897         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2898         Remove variable.
2900         [BZ #18547]
2901         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2902         as weak alias of __getttynam.  Use prototype function definition.
2903         Call __setttyent, __getttyent and __endttyent instead of
2904         setttyent, getttyent and endttyent.
2905         (getttyent): Rename to __getttyent and define as weak alias of
2906         __getttyent.  Call __setttyent instead of setttyent.  Call
2907         __fgets_unlocked instead of fgets_unlocked.
2908         (setttyent): Rename to __setttyent and define as weak alias of
2909         __setttyent.
2910         (endttyent): Rename to __endttyent and define as weak alias of
2911         __endttyent.
2912         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2913         (__setttyent): Likewise.
2914         (__endttyent): Likewise.
2915         (getttyent): Don't use libc_hidden_proto.
2916         (setttyent): Likewise.
2917         (endttyent): Likewise.
2918         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2919         __endttyent instead of setttyent, getttyent and endttyent.
2920         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2921         Remove variable.
2923         [BZ #18546]
2924         * socket/recv.c (__recv): Use libc_hidden_def.
2925         * socket/socket.c (__socket): Likewise.
2926         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2927         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2928         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2929         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2930         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2931         libc_hidden_def.
2932         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2933         libc_hidden_weak.
2934         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2935         Use libc_hidden_proto.
2936         (__recv): Likewise.
2937         * socket/Versions (libc): Export __recv and __socket at version
2938         GLIBC_PRIVATE.
2939         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2940         instead of recv.
2941         (init_mq_netlink): Call __socket instead of socket.
2942         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2943         Remove variable.
2945         [BZ #18545]
2946         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2947         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2948         hidden_weak.
2949         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2950         define as alias of __mq_timedsend.  Use hidden_weak.
2951         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2952         __mq_timedsend as strong name.
2953         (mq_timedreceive): Use __mq_timedreceive as strong name.
2954         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2955         (__mq_timedreceive): Likewise.
2956         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2957         __mq_timedreceive instead of mq_timedreceive.
2958         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2959         instead of mq_timedsend.
2960         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2961         Remove variable.
2963         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2964         hidden_def and hidden_weak instead of libc_hidden_def and
2965         libc_hidden_weak.
2966         (top level): Refer to hidden_def in comment.
2967         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2968         macro.  Use it instead of libc_hidden_def.
2969         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2970         specify __GI_* name explicitly.
2971         (mq_timedreceive): Likewise.
2972         (mq_setattr): Likewise.
2974         [BZ #18544]
2975         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2976         __pthread_barrier_init and define as weak alias of
2977         __pthread_barrier_init.
2978         * sysdeps/sparc/nptl/pthread_barrier_init.c
2979         (pthread_barrier_init): Likewise.
2980         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2981         __pthread_barrier_wait and define as weak alias of
2982         __pthread_barrier_wait.
2983         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2984         (pthread_barrier_wait): Likewise.
2985         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2986         (pthread_barrier_wait): Likewise.
2987         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2988         (pthread_barrier_wait): Likewise.
2989         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2990         (pthread_barrier_wait): Likewise.
2991         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2992         __pthread_barrier_wait at version GLIBC_PRIVATE.
2993         * include/pthread.h (__pthread_barrier_init): Declare.
2994         (__pthread_barrier_wait): Likewise.
2995         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2996         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2997         (helper_thread): Likewise.
2998         (init_mq_netlink): Call __pthread_barrier_init instead of
2999         pthread_barrier_init.
3001         [BZ #18542]
3002         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3003         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3004         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3005         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3006         vswscanf.
3007         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3008         Remove variable.
3010         [BZ #18540]
3011         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3012         strong alias of _IO_fflush.  Use libc_hidden_def.
3013         * libio/iofflush_u.c (fflush_unlocked): Rename to
3014         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3015         Use libc_hidden_weak.
3016         * include/stdio.h (__fflush_unlocked): Declare.  Use
3017         libc_hidden_proto.
3018         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3019         fflush_unlocked.
3020         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3021         Remove variable.
3023         [BZ #18539]
3024         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3025         define as weak alias of __addseverity.
3026         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3027         Remove variable.
3028         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3029         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3030         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3032         [BZ #18536]
3033         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3034         (__tfind): Likewise.
3035         (__tdelete): Likewise.
3036         (__twalk): Likewise.
3037         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3038         __twalk to GLIBC_PRIVATE.
3039         * include/search.h (__tsearch): Use libc_hidden_proto.
3040         (__tfind): Likewise.
3041         (__tdelete): Likewise.
3042         (__twalk): Likewise.
3043         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3044         Call __tdelete instead of tdelete.
3045         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3046         tfind.  Call __tsearch instead of tsearch.
3047         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3048         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3049         Remove variable.
3050         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3052         [BZ #18534]
3053         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3054         (dprintf): Define as a weak alias of __dprintf, not a strong
3055         alias.
3056         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3057         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3058         dprintf.
3059         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3060         Remove variable.
3061         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3062         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3064         [BZ #18533]
3065         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3066         not a strong alias.
3067         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3068         Remove variable.
3070         [BZ #18532]
3071         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3072         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3073         (in6addr_loopback): Rename to __in6addr_loopback and define as
3074         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3075         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3076         libc_hidden_proto.
3077         (__in6addr_any): Likewise.
3078         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3079         in6addr_any.
3080         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3081         variable.
3082         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3084 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3086         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3087         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3089         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3090         redirections for pow.
3091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3092         * sysdeps/x86_64/fpu/Versions: New versions added.
3093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3095         build of SSE, AVX2 and AVX512 IFUNC versions.
3096         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3102         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3103         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3104         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3105         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3106         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3107         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3108         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3109         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3110         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3113         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3114         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3115         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3116         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3117         * NEWS: Mention addition of x86_64 vector pow.
3119         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3120         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3121         redirections for expf.
3122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3123         * sysdeps/x86_64/fpu/Versions: New versions added.
3124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3125         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3126         build of SSE, AVX2 and AVX512 IFUNC versions.
3127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3133         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3134         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3135         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3136         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3137         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3138         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3139         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3140         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3141         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3142         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3145         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3146         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3147         * NEWS: Mention addition of x86_64 vector expf.
3149         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3150         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3151         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3152         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3153         redirections for exp.
3154         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3155         * sysdeps/x86_64/fpu/Versions: New versions added.
3156         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3158         build of SSE, AVX2 and AVX512 IFUNC versions.
3159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3165         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3166         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3167         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3168         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3169         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3170         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3171         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3172         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3173         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3175         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3176         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3177         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3178         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3179         * NEWS: Mention addition of x86_64 vector exp.
3181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3183         redirections for logf.
3184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3185         * sysdeps/x86_64/fpu/Versions: New versions added.
3186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3188         build of SSE, AVX2 and AVX512 IFUNC versions.
3189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3195         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3196         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3197         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3198         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3199         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3200         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3201         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3202         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3203         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3204         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3205         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3207         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3208         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3209         * NEWS: Mention addition of x86_64 vector logf.
3211         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3212         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3213         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3214         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3215         redirections for log.
3216         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3217         * sysdeps/x86_64/fpu/Versions: New versions added.
3218         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3219         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3220         build of SSE, AVX2 and AVX512 IFUNC versions.
3221         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3222         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3223         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3224         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3225         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3226         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3227         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3228         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3229         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3230         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3231         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3232         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3233         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3234         test.
3235         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3239         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3240         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3241         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3242         * NEWS: Mention addition of x86_64 vector log.
3244 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3246         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3247         cfi_adjust_cfa_offset argument.
3248         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3249         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3251         [BZ #18034]
3252         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3253         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3254         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3255         ordering using ldar.
3256         (_dl_tlsdesc_dynamic): Likewise.
3257         (_dl_tlsdesc_return_lazy): Likewise.
3258         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3259         relaxed atomics instead of volatile and synchronize with release store.
3260         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3261         volatile.
3262         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3264 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3269         * sysdeps/x86_64/fpu/Versions: New versions added.
3270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3271         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3272         build of SSE, AVX2 and AVX512 IFUNC versions.
3273         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3279         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3280         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3281         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3282         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3283         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3284         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3285         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3286         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3287         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3288         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3291         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3293         * NEWS: Mention addition of x86_64 vector sinf.
3295 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3297         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3298         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3299         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3300         Remove variable.
3301         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3302         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3304 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3306         [BZ #18530]
3307         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3308         strong alias of _IO_fputs.  Use libc_hidden_def.
3309         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3310         and define as weak alias of __fputs_unlocked.  Use
3311         libc_hidden_weak.
3312         * include/stdio.h (__fputs_unlocked): Declare.  Use
3313         libc_hidden_proto.
3314         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3315         fputs_unlocked.
3317         [BZ #18529]
3318         * resolv/netdb.h [__USE_POSIX]: Change condition to
3319         [__USE_XOPEN2K].
3320         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3321         not expect.
3322         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3323         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3324         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3325         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3326         [XPG4 || UNIX98] (AI_ALL): Likewise.
3327         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3328         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3329         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3330         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3331         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3332         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3333         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3334         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3335         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3336         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3337         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3338         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3339         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3340         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3341         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3342         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3343         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3344         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3345         [XPG4 || UNIX98] (gai_strerror): Likewise.
3346         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3347         [XPG4 || UNIX98] (getnameinfo): Likewise.
3349         [BZ #18528]
3350         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3351         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3352         __USE_XOPEN2K8].
3353         (getgrent): Likewise.
3354         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3355         expect.
3356         [XPG3 || POSIX2008] (endgrent): Likewise.
3357         [XPG3] (setgrent): Likewise.
3358         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3359         variable.
3360         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3362         [BZ #18527]
3363         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3364         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3365         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3366         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3367         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3368         * include/unistd.h (__getlogin_r): Declare.  Use
3369         libc_hidden_proto.
3370         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3371         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3372         variable.
3373         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3374         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3375         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3377 2015-06-12  Martin Sebor  <msebor@redhat.com>
3379         [BZ #18512]
3380         * Makerules (check-install-supported): New target.
3381         (install): Add check-install-supported as a dependency.
3382         * manual/install.texi (Installing the C Library): Document
3383         that overriding prefix and exec_prefix is not supported.
3384         Mention DESTDIR.
3385         * INSTALL: Regenerate from the above.
3387 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3389         [BZ #18519]
3390         * posix/Versions (libc): Export __libc_pread at version
3391         GLIBC_PRIVATE.
3392         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3393         instead of pread.
3394         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3395         variable.
3397         [BZ #18522]
3398         * misc/efgcvt_r.c
3399         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3400         (cvt_symbol): Use weak_alias instead of strong_alias.
3401         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3402         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3403         Remove variable.
3404         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3405         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3407         [BZ #18520]
3408         * inet/herrno.c (h_errno): Rename to __h_errno.
3409         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3410         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3411         to __h_errno instead of h_errno.
3412         * nptl/herrno.c (h_errno): Rename to __h_errno.
3413         (__h_errno_location): Refer to __h_errno not h_errno.
3414         * resolv/Versions (h_errno): Rename to __h_errno.
3415         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3416         Remove variable.
3417         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3419 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3421         * configure.ac: More strict check for AVX512 assembler support.
3422         * configure: Regenerated.
3424         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3425         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3426         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3427         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3428         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3429         * sysdeps/x86_64/fpu/Versions: New versions added.
3430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3431         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3432         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3439         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3440         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3441         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3442         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3443         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3444         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3445         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3446         test.
3447         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3451         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3453         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3454         * NEWS: Mention addition of x86_64 vector sin.
3456 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3458         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3459         comment.
3461 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3463         [BZ #18479]
3464         * nptl/pt-interp.c: New file.
3465         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3466         Add pt-interp.
3467         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3468         $(common-objpfx)runtime-linker.h.
3470 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3472         * Makeconfig (+interp): Remove unused variable.
3473         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3474         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3475         $(elf-objpfx)runtime-linker.h.
3476         ($(elf-objpfx)runtime-linker.h): Rename to
3477         $(common-objpfx)runtime-linker.h and move ...
3478         * Makerules [$(build-shared) = yes]: ... here.
3479         * elf/interp.c: Include <runtime-linker.h> instead of
3480         <elf/runtime-linker.h>.
3482 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3484         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3485         (__gettimeofday_syscall): Remove vsyscall fallback.
3486         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3487         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3488         Add syscall fallback function.
3489         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3490         if vDSO is not present.
3491         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3492         fallback function.
3493         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3494         present.
3495         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3496         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3498 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3500         [BZ #18497]
3501         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3502         of wcscmp.
3503         (wcscmp): Define as weak alias of WCSCMP.
3504         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3505         wcscoll.
3506         (USE_HIDDEN_DEF): Define.
3507         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3508         __wcscoll.  Don't use libc_hidden_weak.
3509         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3510         wcscmp.
3511         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3512         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3513         __GI_wcscmp.
3514         (weak_alias): Undefine and redefine.
3515         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3516         __wcscmp and define as weak alias of __wcscmp.
3517         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3518         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3519         (__wcscoll): Likewise.
3520         (wcscmp): Don't use libc_hidden_proto.
3521         (wcscoll): Likewise.
3522         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3523         wcscoll.
3524         * posix/regexec.c (check_node_accept_bytes): Likewise.
3525         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3526         variable.
3527         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3528         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3530         [BZ #18507]
3531         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3532         __fstatvfs and define as weak alias of __fstatvfs.  Use
3533         libc_hidden_weak.
3534         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3535         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3536         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3537         Define as alias of __fstatvfs, not fstatvfs.
3538         (fstatvfs64): Likewise.
3539         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3540         Define as alias of __statvfs, not statvfs.
3541         (statvfs64): Likewise.
3542         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3543         Remove variable.
3545 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3548         (HAVE_GETCPU_VSYSCALL): Define.
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3550         (HAVE_GETCPU_VSYSCALL): Likewise.
3551         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3552         * sysdeps/unix/sysv/linux/sched_getcpu.c
3553         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3554         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3555         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3556         prototype.
3557         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3558         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3559         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3561         Define.
3562         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3563         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3564         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3565         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3567 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3569         * sysdeps/x86_64/fpu/Makefile: New file.
3570         * sysdeps/x86_64/fpu/Versions: New file.
3571         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3572         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3573         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3574         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3575         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3576         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3577         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3584         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3585         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3586         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3587         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3588         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3589         * sysdeps/x86_64/configure: Regenerated.
3590         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3591         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3592         * manual/install.texi (Configuring and compiling): Document
3593         --disable-mathvec.
3594         * INSTALL: Regenerated.
3595         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3597         * math/Makefile: Added rules for vector tests.
3598         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3599         declaration under condition.
3600         * math/test-double-vlen2.h: New file.
3601         * math/test-double-vlen4.h: New file.
3602         * math/test-double-vlen8.h: New file.
3603         * math/test-vec-loop.h: Added initialization macro.
3604         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3606         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3608         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3612         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3614         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3617         * sysdeps/x86_64/fpu/Versions: New versions added.
3618         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3621         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3622         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3625         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3628         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3629         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3630         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3632         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3633         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3634         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3635         * NEWS: Mention addition of x86_64 vector cosf.
3637         * math/Makefile: Added CFLAGS for new tests.
3638         * math/test-float-vlen16.h: New file.
3639         * math/test-float-vlen4.h: New file.
3640         * math/test-float-vlen8.h: New file.
3641         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3642         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3644         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3645         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3646         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3647         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3650         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3651         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3653 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3655         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3656         * locale/programs/ld-ctype.c: Likewise.
3658 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3660         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3661         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3662         bit_ZMM16_31_state): New macro.
3663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3664         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3666 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3668         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3670 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3672         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3674 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3676         [BZ #18498]
3677         * libio/memstream.c (open_memstream): Rename to __open_memstream
3678         and define as weak alias of __open_memstream.
3679         * include/stdio.h (__open_memstream): Declare.  Use
3680         libc_hidden_proto.
3681         (open_memstream): Don't use libc_hidden_proto.
3682         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3683         open_memstream.
3684         * posix/getopt.c (_getopt_internal_r): Likewise.
3685         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3686         variable.
3687         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3688         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3689         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3691         [BZ #18496]
3692         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3693         instead of wcrtomb.
3695         [BZ #18483]
3696         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3697         [__USE_XOPEN2K8].  Remove redundant #endif.
3698         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3699         Remove redundant #if.
3700         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3701         Remove variable.
3702         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3703         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3705         [BZ #18495]
3706         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3707         (__iswlower): Likewise.
3708         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3709         (__iswlower): Likewise.
3710         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3711         instead of towlower.
3712         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3713         instead of iswlower.  Call __towupper instead of towupper.
3714         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3715         instead of iswalnum.
3717 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3719         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3720         errors to stderr.
3722 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3724         [BZ #15661]
3725         [BZ #17322]
3726         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3727         Check for overflow properly.  Check for O_APPEND.  Ignore large
3728         file system block sizes.  Add comments about problems.
3729         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3730         * manual/filesys.texi (Storage Allocation): New node.
3732 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3734         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3735         cancellable syscalls.
3736         (SYS_ify): Add guard to no redefine it.
3737         (INLINE_SYSCALL): Likewise.
3738         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3739         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3740         SYSCALL_CANCEL instead.
3741         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3742         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3743         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3744         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3745         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3746         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3747         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3748         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3749         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3750         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3751         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3752         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3753         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3754         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3755         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3757         Likewise.
3758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3759         (__libc_pread64): Likewise.
3760         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3761         (__libc_preadv): Likewise.
3762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3763         (__libc_readv64): Likewise.
3764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3765         (__libc_pwrite): Likewise.
3766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3767         (__libc_pwrite64): Likewise.
3768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3769         (__libc_pwritev): Likewise.
3770         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3771         (__libc_pwritev64): Likewise.
3772         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3773         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3774         (sync_file_range): Likewise.
3775         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3776         Likewise.
3777         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3778         Likewise.
3779         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3780         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3781         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3782         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3783         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3784         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3785         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3786         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3788         Likewise.
3789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3790         (__libc_read64): Likewise.
3791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3792         Likewise.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3794         Likewise.
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3798         Likewise.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3800         (__libc_pread64): Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3804         (__libc_pwrite64): Likewise.
3805         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3806         (sync_file_range): Likewise.
3807         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3808         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3809         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3810         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3811         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3812         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3813         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3814         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3815         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3816         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3817         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3818         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3819         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3820         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3821         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3822         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3823         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3824         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3825         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3826         Likewise.
3827         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3828         Likewise.
3829         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3830         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3833         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3834         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3835         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3838         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3839         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3840         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3841         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3843 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3845         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3846         Include dl-vdso.
3847         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3848         Use VDSO routines for gettimeofday, clock_gettime if
3849         available.
3850         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3851         Declare VDSO symbols.
3852         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3853         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3854         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3855         * sysdeps/unix/sysv/linux/arm/Versions: Add
3856         __vdso_clock_gettime.
3858 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3860         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3861         be an inline implementation regardless of library is built within.
3862         (open_not_cancel_2): Likewise.
3863         (__read_nocancel): Likewise.
3864         (__write_nocancel): Likewise.
3865         (openat_not_cancel): Likewise.
3866         (openat_not_cancel_3): Likewise.
3867         (openat64_not_cancel): Likewise.
3868         (openat64_not_cancel_3): Likewise.
3869         (__close_nocancel): Likewise.
3870         (pause_not_cancel): Likewise.
3871         (nanosleep_not_cancel): Likewise.
3872         (sigsuspend_not_cancel): Likewise.
3874 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3876         [BZ #14958]
3877         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3878         wake-up.
3879         (__pthread_rwlock_rdlock_slow): Likewise.
3880         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3881         Likewise.
3882         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3883         Likewise.
3884         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3885         * nptl/tst-rwlock16.c: New file.
3886         * nptl/Makefile (tests): Add new test.
3888 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3890         [BZ #18324]
3891         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3892         missing wake-up of readers.
3893         * nptl/tst-rwlock15.c: New file.
3894         * nptl/Makefile (tests): Add new test.
3896 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3898         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3899         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3900         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3901         and __nacl_supply_interface_rtld.
3902         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3903         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3904         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3905         Add __nacl_supply_interface_rtld.
3906         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3908 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3911         isfinite.
3912         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3913         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3915 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3917         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3918         __signbit* with standard C99 macros.
3919         * math/e_exp10l.c: Likewise.
3920         * math/e_exp2l.c: Likewise.
3921         * math/e_scalb.c: Likewise.
3922         * math/e_scalbf.c: Likewise.
3923         * math/e_scalbl.c: Likewise.
3924         * math/s_ldexp.c: Likewise.
3925         * math/s_ldexpf.c: Likewise.
3926         * math/s_ldexpl.c: Likewise.
3927         * math/w_atan2.c: Likewise.
3928         * math/w_atan2f.c: Likewise.
3929         * math/w_atan2l.c: Likewise.
3930         * math/w_cosh.c: Likewise.
3931         * math/w_coshf.c: Likewise.
3932         * math/w_coshl.c: Likewise.
3933         * math/w_exp10.c: Likewise.
3934         * math/w_exp10f.c: Likewise.
3935         * math/w_exp10l.c: Likewise.
3936         * math/w_exp2.c: Likewise.
3937         * math/w_exp2f.c: Likewise.
3938         * math/w_exp2l.c: Likewise.
3939         * math/w_fmod.c: Likewise.
3940         * math/w_fmodf.c: Likewise.
3941         * math/w_fmodl.c: Likewise.
3942         * math/w_hypot.c: Likewise.
3943         * math/w_hypotf.c: Likewise.
3944         * math/w_hypotl.c: Likewise.
3945         * math/w_jnl.c: Likewise.
3946         * math/w_lgamma.c: Likewise.
3947         * math/w_lgamma_r.c: Likewise.
3948         * math/w_lgammaf.c: Likewise.
3949         * math/w_lgammaf_r.c: Likewise.
3950         * math/w_lgammal.c: Likewise.
3951         * math/w_lgammal_r.c: Likewise.
3952         * math/w_pow.c: Likewise.
3953         * math/w_powf.c: Likewise.
3954         * math/w_powl.c: Likewise.
3955         * math/w_remainder.c: Likewise.
3956         * math/w_remainderf.c: Likewise.
3957         * math/w_remainderl.c: Likewise.
3958         * math/w_scalb.c: Likewise.
3959         * math/w_scalbf.c: Likewise.
3960         * math/w_scalbl.c: Likewise.
3961         * math/w_scalbln.c: Likewise.
3962         * math/w_scalblnf.c: Likewise.
3963         * math/w_scalblnl.c: Likewise.
3964         * math/w_sinh.c: Likewise.
3965         * math/w_sinhf.c: Likewise.
3966         * math/w_sinhl.c: Likewise.
3967         * math/w_tgamma.c: Likewise.
3968         * math/w_tgammaf.c: Likewise.
3969         * math/w_tgammal.c: Likewise.
3970         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3971         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3973         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3974         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3976         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3977         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3978         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3979         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3980         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3981         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3982         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3985         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3987         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3989         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3991         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3992         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3993         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3994         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3995         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3996         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3997         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3998         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3999         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4001         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4002         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4003         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4004         * stdio-common/printf_fp.c: Likewise.
4005         * stdio-common/printf_fphex.c: Likewise.
4006         * stdio-common/printf_size.c: Likewise.
4008 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4010         [BZ #18470]
4011         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4012         strnlen.
4013         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4014         Remove variable.
4015         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4016         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4017         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4018         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4019         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4020         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4021         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4022         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4023         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4024         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4026         [BZ #18468]
4027         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4028         weak alias of __wmemchr.  Use libc_hidden_weak.
4029         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4030         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4031         instead of wmemchr.
4033 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4035         [BZ #18383]
4036         * elf/tst-tlsalign-extern.c: New file.
4037         * elf/tst-tlsalign-extern-static.c: New file.
4038         * elf/tst-tlsalign-vars.c: New file.
4039         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4040         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4041         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4042         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4043         (test-xfail-tst-tlsalign-extern-static): New variable.
4045 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4047         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4048         Use variable name _sc_err instead of err.
4049         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4050         instead of ret.
4051         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4052         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4053         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4054         (INLINE_SYSCALL): Likewise.
4056         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4057         * include/string.h (__strnlen): Use libc_hidden_proto.
4058         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4059         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4060         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4061         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4062         (libc_hidden_def): Undefine and redefine.
4063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4064         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4065         __GI_strnlen.
4066         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4067         libc_hidden_def.
4068         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4070         [BZ #18469]
4071         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4072         weak alias of __towlower.  Use libc_hidden_weak.
4073         (towupper): Rename to __towupper and define as weak alias of
4074         __towupper.  Use libc_hidden_weak.
4075         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4076         (__towupper): Likewise.
4077         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4078         __towlower instead of towlower.
4080 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4082         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4083         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4085 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4087         * sysdeps/aarch64/libm-test-ulps: Update.
4089 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4092         Define.
4093         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4095         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4096         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4097         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4098         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4099         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4101 2015-06-01  Martin Sebor  <msebor@redhat.com>
4103         [BZ #18116]
4104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4105         (__setcontext): Use extended four-operand version of mtsf whenever
4106         possible.
4107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4108         (__novec_swapcontext): Likewise.
4110 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4112         * benchtests/scripts/compare_bench.py: New file.
4113         * benchtests/scripts/import_bench.py (mean): New function.
4114         (split_list): Likewise.
4115         (do_for_all_timings): Likewise.
4116         (compress_timings): Likewise.
4118         * benchtests/scripts/import_bench.py: New file.
4119         * benchtests/scripts/validate_benchout.py: Import import_bench
4120         instead of jsonschema.
4121         (validate_bench): Remove function.
4122         (main): Use import_bench.
4124 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4126         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4127         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4129 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4133 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4135         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4136         set THREAD_SELF->tid to a magic value and futex-wake it.
4137         Pass its address to the thread_exit system call.
4138         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4139         bit is clear.
4140         * sysdeps/nacl/lowlevellock.h: New file.
4141         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4143         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4144         Add TIMEOUT to current time, don't subtract it.
4146 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4148         [BZ #2981]
4149         [BZ #18422]
4150         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4151         ($(objpfx)tst-audit2.out): Also depend on
4152         $(objpfx)tst-auditmod9b.so.
4153         * elf/tst-audit2.c: Include <dlfcn.h>.
4154         (calloc_called): New.
4155         (calloc): Allow to be called more than once.
4156         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4158 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4160         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4161         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4163 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4165         * stdlib/monetary.h: Fix comment.
4167 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4169         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4170         Avoid using variables in #defines that might cause shadowing.
4171         (INTERNAL_VSYSCALL_CALL): Likewise.
4173 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4175         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4177         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4178         * nptl/lll_timedlock_wait.c: ... to this new file.
4179         * nptl/Makefile (libpthread-routines): Add it.
4180         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4181         * nptl/lll_timedwait_tid.c: ... to this new file.
4182         * nptl/Makefile (libpthread-routines): Add it.
4183         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4184         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4185         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4186         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4187         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4188         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4189         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4190         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4191         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4192         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4194 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4196         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4197         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4198         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4200         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4202         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4204         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4205         * sysdeps/unix/sysv/linux/tile/sysdep.h
4206         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4207         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4208         using vDSO syscall macro.
4210 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4212         [BZ #17293]
4213         * uk_UA: Fix sorting order for Ukrainian locale
4215 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4217         * stdlib/monetary.h: Fix comment.
4219 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4221         [BZ #18234]
4222         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4223         st_mtim and st_ctim members.
4224         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4225         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4226         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4227         (struct stat64): Likewise.
4228         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4229         (struct stat64): Likewise.
4230         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4231         (struct stat64): Likewise.
4233 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4235         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4236         Define and include sysdep-vdso.h.
4237         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4242         Define with VDSO_SYMBOL and use PTR_MANGLE.
4243         (__vdso_clock_gettime): Likewise.
4244         (__vdso_clock_getres): Likewise.
4245         (_libc_vdso_platform_setup): Likewise.
4246         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4247         Likewise.
4248         (_libc_vdso_platform_setup): Likewise.
4249         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4250         Likewise.
4251         (__vdso_clock_gettime): Likewise.
4252         (__vdso_clock_getres): Likewise.
4253         (__vdso_get_tbfreq): Likewise.
4254         (__vdso_getcpu): Likewise.
4255         (__vdso_time): Likewise.
4256         (__vdso_sigtramp_rt64): Likewise.
4257         (__vdso_signtramp32): Likewise.
4258         (__vdso_sigtramp_rt32): Likewise.
4259         (_libc_vdso_platform_setup): Likewise.
4260         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4261         Likewise.
4262         (__vdso_clock_gettime): Likewise.
4263         (__vdso_clock_getres): Likewise.
4264         (_libc_vdso_platform_setup): Likewise.
4265         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4266         Likewise.
4267         (__vdso_clock_gettime): Likewise.
4268         (_libc_vdso_platform_setup): Likewise.
4269         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4270         Likewise.
4271         (__vdso_getcpu): Likewise.
4272         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4273         Use VDSO_SYMBOL macro to define.
4274         (__vdso_clock_gettime): Likewise.
4275         (__vdso_clock_getres): Likewise.
4276         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4277         Likewise.
4278         (__vdso_clock_gettime): Likewise.
4279         (__vdso_clock_getres): Likewise.
4280         (__vdso_get_tbfreq): Likewise.
4281         (__vdso_getcpu): Likewise.
4282         (__vdso_time): Likewise.
4283         (__vdso_sigtramp_rt64): Likewise.
4284         (__vdso_signtramp32): Likewise.
4285         (__vdso_sigtramp_rt32): Likewise.
4286         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4287         Likewise.
4288         (__vdso_clock_gettime): Likewise.
4289         (__vdso_clock_getres): Likewise.
4290         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4291         Likewise.
4292         (__vdso_clock_gettime): Likewise.
4293         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4294         Likewise.
4295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4296         macro.
4297         (INTERNAL_VSYSCALL): Likewise.
4298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4299         Remove macro.
4300         (INTERNAL_VSYSCALL): Likewise.
4301         (INTERNAL_VSYSCALL_NCS): Likewise.
4302         (INTERNAL_VSYSCALL_CALL): New macro.
4303         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4305         Likewise.
4306         (INTERNAL_VSYSCALL): Likewise.
4307         (INTERNAL_VSYSCALL_NCS): Likewise.
4308         (INTERNAL_VSYSCALL_CALL): New macro.
4309         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4311         (INLINE_VSYSCALL): Remove macro.
4312         (INTERNAL_VSYSCALL): Remove macro.
4313         (INTERNAL_VSYSCALL_NCS): Remove macro.
4314         (INTERNAL_VSYSCALL_CALL): New macro.
4315         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4316         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4317         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4318         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4319         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4321         (INLINE_VSYSCALL): Remove macro.
4322         (INTERNAL_VSYSCALL): Likewise.
4323         (INTERNAL_VSYSCALL_NCS): Likewise.
4324         (INTERNAL_VSYSCALL_CALL): New macro.
4325         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4326         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4327         PTR_DEMANGLE on vDSO pointer.
4328         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4329         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4330         macro.
4331         (INTERNAL_SYSCALL): Likewise.
4332         (INTERNAL_VSYSCALL_NCS): Remove macro.
4333         (INTERNAL_VSYSCALL_CALL): New macro.
4334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4335         Remove macro.
4336         (INTERNAL_VSYSCALL): Likewise.
4337         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4338         sysdep-vdso.h instead of libc-vdso.h.
4339         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4340         definition.
4341         (INLINE_VSYSCALL): Likewise.
4342         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4343         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4344         definition.
4345         (INLINE_VSYSCALL): Likewise.
4346         (INTERNAL_VSYSCALL): Likewise.
4347         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4348         * sysdeps/unix/sysv/linux/timespec_get.c
4349         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4350         (timespec_get): Use ANSI prototype.
4351         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4352         and definition for Linux.
4354 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4356         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4357         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4359 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4361         [BZ #2981]
4362         [BZ #18410]
4363         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4364         for missing DT_PLTRELSZ.
4366 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4368         Remove obsolete aliases that broke 'locale -a'
4369         [BZ #18412]
4370         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4371         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4372         breaking some applications that use 'locale -a' output.
4373         Change the encoding of this file from Latin-1 to ASCII to avoid
4374         other potential problems with people grepping this file.
4376 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4378         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4379         -fasynchronous-unwind-tables.
4380         (CFLAGS-sendto.c): Likewise.
4381         (CFLAGS-sendmsg.c): Likewise.
4382         (CFLAGS-connect.c): Likewise.
4383         (CFLAGS-recvmsg.c): Likewise.
4384         (CFLAGS-recvfrom.c): Likewise.
4385         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4386         (SOCKETCALL): New macro: non-cancellable socketcall.
4387         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4388         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4389         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4390         * sysdeps/unix/sysv/linux/accept.c: New file.
4391         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4392         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4393         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4394         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4395         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4396         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4397         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4398         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4399         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4400         * sysdeps/unix/sysv/linux/send.c: Likewise.
4401         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4402         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4403         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4404         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4405         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4406         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4407         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4408         prototype.
4409         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4410         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4411         instead of __internal_xxx function.
4412         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4413         prototype.
4414         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4415         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4416         instead of __internal_xxx function.
4417         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4418         prototype.
4419         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4420         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4421         instead of __internal_xxx function.
4422         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4423         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4424         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4425         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4426         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4427         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4428         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4429         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4430         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4431         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4432         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4433         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4434         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4435         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4436         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4437         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4438         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4439         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4440         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4441         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4444         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4445         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4446         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4447         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4448         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4449         * sysdeps/unix/sysv/linux/send.S: Likewise.
4450         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4451         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4452         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4453         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4454         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4455         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4456         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4457         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4458         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4459         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4460         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4461         socketcall is implemented in GLIBC.
4463 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4465         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4466         (__fma): Ignore uninitialized warnings around packing.
4467         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4468         (__fmaf): Ignore uninitialized warnings around packing.
4469         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4470         (__fmal): Ignore uninitialized warnings around packing.
4472         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4473         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4474         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4475         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4477         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4478         switch statement into default case.
4479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4481         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4482         a conditional in forcing "inexact".
4483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4484         Likewise.
4486 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4488         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4489         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4490         for each INTERNAL_SYSCALL use.
4492 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4494         [BZ #438]
4495         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4496         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4497         variable.
4499         [BZ #18444]
4500         * string/basename.c (basename): Rename to __basename and define as
4501         weak alias of __basename.  Use libc_hidden_weak.
4502         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4503         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4504         __basename instead of basename.
4505         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4506         Remove variable.
4507         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4509 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4511         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4512         (_IO_JUMPS_FILE_plus): New.
4513         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4514         _IO_CAST_FIELD_ACCESS.
4515         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4516         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4517         * libio/freopen.c (freopen): Likewise.
4518         * libio/freopen64.c (freopen64): Likewise.
4519         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4520         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4521         * libio/iofwide.c (_IO_fwide): Likewise.
4522         * libio/memstream.c (open_memstream): Likewise.
4523         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4524         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4525         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4527 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4529         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4530         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4531         NADJ.
4532         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4533         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4534         NADJ.
4535         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4536         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4537         NADJ.
4539         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4540         (p == 4) case.
4542         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4543         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4544         Remove variable.
4545         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4546         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4547         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4549 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4551         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4552         Adjust jump table label generation macros.
4554 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4556         * stdio-common/vfprintf.c (vfprintf): Move local variables
4557         args_malloced, specs, specs_malloced, and the code after
4558         do_positional to the printf_positional function.
4559         (printf_positional): New function.
4561 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4563         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4564         function.
4565         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4566         STEP4_TABLE, process_arg): Move macro definitions
4567         out of the vfprintf function.  (Cosmetic change only.)
4569 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4571         * benchtests/Makefile (stdio-common-bench): Define.
4572         (benchset): Add stdio-common-bench.
4573         * sprintf-inputs: New file.
4574         * sprintf-source.c: New file.
4576 2015-05-21  Andreas Schwab  <schwab@suse.de>
4578         [BZ #13028]
4579         [BZ #17053]
4580         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4581         of struct __res_state.
4582         * resolv/res_send.c (__libc_res_nsend): Likewise.
4583         (get_nsaddr): New function.
4584         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4585         statp directly.
4587 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4589         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4590         -D_POSIX_C_SOURCE=199506L.
4592         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4594         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4595         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4596         Do not mention otherwise.
4597         [POSIX] (_XOPEN_VERSION): Do not expect.
4598         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4599         [POSIX] (_POSIX2_C_BIND): Likewise.
4600         [POSIX] (_POSIX2_VERSION): Likewise.
4601         [POSIX] (_XOPEN_XPG2): Likewise.
4602         [POSIX] (_XOPEN_XPG3): Likewise.
4603         [POSIX] (_XOPEN_XPG4): Likewise.
4604         [POSIX] (_XOPEN_UNIX): Likewise.
4605         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4606         [POSIX] (_POSIX_BARRIERS): Likewise.
4607         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4608         [POSIX] (_POSIX_CPUTIME): Likewise.
4609         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4610         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4611         [POSIX] (_POSIX_SHELL): Likewise.
4612         [POSIX] (_POSIX_SPAWN): Likewise.
4613         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4614         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4615         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4616         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4617         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4618         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4619         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4620         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4621         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4622         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4623         [POSIX] (_POSIX2_PBS): Likewise.
4624         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4625         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4626         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4627         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4628         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4629         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4630         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4631         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4632         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4633         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4634         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4635         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4636         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4637         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4638         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4639         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4640         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4641         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4642         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4643         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4644         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4645         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4646         [POSIX] (_SC_2_C_BIND): Likewise.
4647         [POSIX] (_SC_2_C_VERSION): Likewise.
4648         [POSIX] (_SC_2_PBS): Likewise.
4649         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4650         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4651         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4652         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4653         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4654         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4655         [POSIX] (_SC_BARRIERS): Likewise.
4656         [POSIX] (_SC_BASE): Likewise.
4657         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4658         [POSIX] (_SC_DEVICE_IO): Likewise.
4659         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4660         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4661         [POSIX] (_SC_FD_MGMT): Likewise.
4662         [POSIX] (_SC_FIFO): Likewise.
4663         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4664         [POSIX] (_SC_FILE_LOCKING): Likewise.
4665         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4666         [POSIX] (_SC_IOV_MAX): Likewise.
4667         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4668         [POSIX] (_SC_NETWORKING): Likewise.
4669         [POSIX] (_SC_PAGE_SIZE): Likewise.
4670         [POSIX] (_SC_PASS_MAX): Likewise.
4671         [POSIX] (_SC_PIPE): Likewise.
4672         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4673         [POSIX] (_SC_REGEXP): Likewise.
4674         [POSIX] (_SC_SHELL): Likewise.
4675         [POSIX] (_SC_SIGNALS): Likewise.
4676         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4677         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4678         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4679         [POSIX] (_SC_USER_GROUPS): Likewise.
4680         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4681         [POSIX] (_SC_STREAMS): Likewise.
4682         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4683         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4684         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4685         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4686         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4687         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4688         [POSIX] (_PC_FILESIZEBITS): Likewise.
4689         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4690         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4691         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4692         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4693         [POSIX] (uid_t): Likewise.
4694         [POSIX] (gid_t): Likewise.
4695         [POSIX] (off_t): Likewise.
4696         [POSIX] (pid_t): Likewise.
4697         [POSIX] (cuserid): Allow.
4698         (_SC_2_CHAR_TERM): Require constant.
4699         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4700         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4701         variable.
4703 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4705         * sysdeps/nacl/pthread-pids.h: New file.
4706         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4707         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4709         * nptl/pthread-pids.h: New file.
4710         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4711         * nptl/nptl-init.c: Include <pthread-pids.h>.
4712         (__pthread_initialize_minimal_internal):
4713         Call __pthread_initialize_pids instead of set_tid_address syscall.
4715         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4716         * sysdeps/posix/usleep.c: ... here.
4718 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4720         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4721         call_pselect6 object.
4722         [$(subdir) = io]: Remove call_sync_file_range object.
4723         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4724         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4725         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4726         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4728 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4730         * math/s_cproj.c: Add include "math_private.h".
4731         * math/s_cprojf.c: Likewise.
4732         * math/s_cprojl.c: Likewise.
4734 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #18244]
4737         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4738         high mantissa bit when testing whether P is a NaN.
4739         * math/libm-test.inc (remainder_test_data): Add more tests.
4740         (remquo_test_data): Likewise.
4742         [BZ #18049]
4743         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4744         below -32, return the argument, with underflow if subnormal.
4745         * math/auto-libm-test-in: Add more tests of atanh.
4746         * math/auto-libm-test-out: Regenerated.
4748 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4750         [BZ #18434]
4751         * nptl/tst-sem15.c: New file.
4752         * nptl/Makefile (tests): Add it.
4753         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4754         s/<</>>/ to fix typo in EOVERFLOW check.
4755         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4757 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4759         * manual/strings.texi (envz_remove): Fix typo in safety
4760         annotations.
4762 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4763             Steve Ellcey  <sellcey@imgtec.com>
4765         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4766         in order to avoid strict alias warnings.
4767         (iruserok_af): Ditto for ra.
4769 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4771         [BZ #17581]
4772         * malloc/hooks.c
4773         (magicbyte): Convert to a function and avoid returning 0x01.
4774         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4775         (mem2chunk_check): Fix unsigned comparisons to zero.
4776         Hoist defs of sz and magic.
4778 2015-05-19  Richard Henderson  <rth@redhat.com>
4780         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4782         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4784 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4786         [BZ #16159]
4787         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4788         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4789         (reused_arena): Find a non-corrupt arena.
4790         (heap_trim): Pass arena to unlink.
4791         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4792         malloc_printerr.
4793         (top_check): Likewise.
4794         (free_check): Likewise.
4795         (realloc_check): Likewise.
4796         * malloc/malloc.c (malloc_printerr): Add arena argument.
4797         (unlink): Likewise.
4798         (munmap_chunk): Adjust.
4799         (ARENA_CORRUPTION_BIT): New macro.
4800         (arena_is_corrupt): Likewise.
4801         (set_arena_corrupt): Likewise.
4802         (sysmalloc): Use mmap if there are no usable arenas.
4803         (_int_malloc): Likewise.
4804         (__libc_malloc): Don't fail if arena_get returns NULL.
4805         (_mid_memalign): Likewise.
4806         (__libc_calloc): Likewise.
4807         (__libc_realloc): Adjust for additional argument to
4808         malloc_printerr.
4809         (_int_free): Likewise.
4810         (malloc_consolidate): Likewise.
4811         (_int_realloc): Likewise.
4812         (_int_memalign): Don't touch corrupt arenas.
4813         * malloc/tst-malloc-backtrace.c: New test case.
4815         * Makefile (summarize-tests): Fix return value on success.
4817         * manual/string.texi (Envz Functions): Add envz_remove.
4819 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4821         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4822         (invalid_name): New function, broken out of ...
4823         (__opendirat): ... here.  Call it.
4824         (need_isdir_precheck): New function, broken out of ...
4825         (__opendirat): ... here.  Call it.
4826         Use __fxstatat64, not __xstatat64.
4827         (opendir_oflags): New function, broken out of ...
4828         (__opendirat): ... here.  Call it.
4829         (opendir_tail): New function, broken out of ...
4830         (__opendirat): ... here.  Call it.
4831         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4832         opendir_tail, rather than punting to __opendirat.
4833         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4835 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4837         * .gitignore: Ignore generated *.pyc.
4839 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4841         * include/stdio.h: Define __need_wint_t.
4842         * test-skeleton.c: Avoid `for' loop initial declaration.
4843         * nptl/tst-initializers1.c: Use test-skeleton.c.
4845 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4847         [BZ #18418]
4848         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4850 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4852         [BZ #16352]
4853         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4854         (__ieee754_atanh): Force underflow exception for results with
4855         small absolute value.
4856         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4857         (__ieee754_atanhf): Force underflow exception for results with
4858         small absolute value.
4859         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4860         (__ieee754_atanh): Force underflow exception for results with
4861         small absolute value.
4862         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4863         (__ieee754_atanhf): Force underflow exception for results with
4864         small absolute value.
4865         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4866         (__ieee754_atanhl): Force underflow exception for results with
4867         small absolute value.
4868         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4869         (__ieee754_atanhl): Force underflow exception for results with
4870         small absolute value.
4871         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4872         (__ieee754_atanhl): Force underflow exception for results with
4873         small absolute value.
4874         * math/auto-libm-test-in: Do not allow missing underflow
4875         exceptions from atanh.
4876         * math/auto-libm-test-out: Regenerated.
4878         [BZ #18221]
4879         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4880         2**-28 as threshold for returning x or +/- 1/x.
4881         * math/auto-libm-test-in: Add more tests of tan.
4882         * math/auto-libm-test-out: Regenerated.
4884         [BZ #18220]
4885         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4886         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4887         * math/auto-libm-test-in: Add another test of lgamma.
4888         * math/auto-libm-test-out: Regenerated.
4890 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4892         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4893         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4894         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4895         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4896         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4897         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4898         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4901         (log1): Use fabs.  (my_log2): Use fabs.
4902         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4903         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4905         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4906         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4907         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4908         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4909         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4910         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4911         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4912         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4914 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4916         [BZ #18217]
4917         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4918         as threshold for returning 1 - x.
4919         * math/auto-libm-test-in: Add more tests of erfc.
4920         * math/auto-libm-test-out: Regenerated.
4922 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4924         [BZ #18196]
4925         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4926         threshold for large arguments.
4927         * math/auto-libm-test-in: Add another test of atan.
4928         * math/auto-libm-test-out: Regenerated.
4930         [BZ #16339]
4931         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4932         (__log1p): Force underflow exception for results with small
4933         absolute value.
4934         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4935         (__log1pf): Force underflow exception for results with small
4936         absolute value.
4937         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4938         (__log1p): Force underflow exception for results with small
4939         absolute value.
4940         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4941         (__log1pf): Force underflow exception for results with small
4942         absolute value.
4943         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4944         (__log1pl): Force underflow exception for results with small
4945         absolute value.
4946         * math/auto-libm-test-in: Do not allow missing underflow
4947         exceptions from log1p.
4948         * math/auto-libm-test-out: Regenerated.
4950 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4951             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4953         [BZ #16704]
4954         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4956 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4958         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4959         (libmvec): New variable.
4960         * configure.ac: Added option for mathvec build.
4961         * configure: Regenerated.
4962         * mathvec/Depend: New file.
4963         * mathvec/Makefile: New file.
4964         * shlib-versions: Added libmvec.
4965         * math/Makefile: Added rule for libm.so installation.
4967         * bits/math-vector.h: New file.
4968         * bits/libm-simd-decl-stubs.h: New header.
4969         * math/Makefile (headers): Added new header
4970         libm-simd-decl-stubs.h.
4971         * math/math.h (__MATHCALL_VEC): New macro.
4973         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4974         for conditions in testing functions.
4975         * math/Makefile: Added call of libm-have-vector-test.sh.
4976         * math/libm-test.inc (HAVE_VECTOR): New macros.
4978         * math/libm-test.inc: START refactored.
4979         * math/test-double.c (TEST_MATHVEC): Add define.
4980         * math/test-float.c: Likewise.
4981         * math/test-idouble.c: Likewise.
4982         * math/test-ifloat.c: Likewise.
4983         * math/test-ildoubl.c: Likewise.
4984         * math/test-ldouble.c: Likewise.
4985         * sysdeps/generic/math-tests-arch.h
4986         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4987         architecture check.
4989         * math/test-double.c (FUNC_TEST): New macro.
4990         * math/test-float.c: Likewise.
4991         * math/test-idouble.c: Likewise.
4992         * math/test-ifloat.c: Likewise.
4993         * math/test-ildoubl.c: Likewise.
4994         * math/test-ldouble.c: Likewise.
4995         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4997 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4999         * sysdeps/nacl/fdopendir.c: New file.
5001         * dirent/scandir-tail.c: New file.
5002         * dirent/scandir64-tail.c: New file.
5003         * dirent/Makefile (routines): Add them.
5004         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5005         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5006         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5007         [!SCANDIR] (SCANDIR_TAIL): New macro.
5008         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5009         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5010         (SCANDIRAT): Macro removed.
5011         (SCANDIR_TAIL): New macro.
5012         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5013         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5014         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5015         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5016         (READDIR): Macro removed.
5017         (SCANDIR_TAIL): New macro.
5018         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5019         (SCANDIR_TAIL): New macro.
5021         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5022         * dirent/scandir-cancel.c: ... to this new file.
5023         * dirent/Makefile (routines): Add it.
5024         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5025         * sysdeps/unix/sysv/linux/i386/scandir64.c
5026         (SKIP_SCANDIR_CANCEL): Macro removed.
5027         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5029         * dirent/tst-scandir.c: New file.
5030         * dirent/tst-scandir64.c: New file.
5031         * dirent/Makefile (tests): Add them.
5033 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5035         [BZ #18409]
5036         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5038 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5040         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5041         list.
5043 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5045         * benchtests/bench-strcoll.c: New benchmark.
5046         * benchtests/Makefile: Generate locales and run benchmark.
5047         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5048         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5049         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5050         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5051         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5052         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5053         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5054         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5055         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5056         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5057         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5058         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5059         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5060         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5061         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5062         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5063         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5064         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5065         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5066         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5067         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5068         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5069         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5070         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5072 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5074         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5075         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5077 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5079         * posix/uname-values.h: New file.
5080         * posix/uname.c: Include that instead of <config-name.h>.
5081         * sysdeps/nacl/uname-values.h: New file.
5082         * sysdeps/arm/nacl/uname-values.h: New file.
5084 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5086         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5087         splitting into fields.
5089 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5091         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5092         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5093         * locale/localeinfo.h: Add enum collation_encoding_type.
5094         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5095         * programs/ld-collate.c (collate_output): Add encoding type info.
5096         * string/strcoll_l.c (STRDIFF): New function.
5097         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5098         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5100 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5102         [BZ #18397]
5103         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5104         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5105         <fpu_control.h> instead of <math/fpu_control.c>.
5106         * sysdeps/mips/mips32/fpu/Makefile: New file.
5108 2015-05-11  Andreas Schwab  <schwab@suse.de>
5110         [BZ #18007]
5111         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5112         nss_endgrent.
5113         (_nss_compat_endgrent): Call nss_endgrent.
5114         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5115         nss_endpwent.
5116         (_nss_compat_endpwent): Call nss_endpwent.
5117         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5118         needent, call nss_setspent only if non-zero.
5119         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5120         (internal_endspent): Don't call nss_endspent.
5121         (_nss_compat_endspent): Call nss_endspent.
5122         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5123         Remove.  All uses removed.
5124         (internal_setent): Remove parameter stayopen, add parameter
5125         stream.  Use it instead of global variable.
5126         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5127         (internal_endent, internal_getent): Add parameter stream.  Use it
5128         instead of global variable.
5129         (CONCAT(_nss_files_end,ENTNAME))
5130         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5131         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5132         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5133         uses removed.
5134         (internal_setent, internal_endent): Add parameter stream.  Use it
5135         instead of global variable.
5136         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5137         stream.
5138         (get_next_alias): Add parameter stream.
5139         (_nss_files_getaliasent_r): Pass global stream.
5140         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5141         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5142         (_nss_files_gethostbyname4_r): Pass local stream to
5143         internal_setent, internal_getent and internal_endent.  Remove
5144         locking.
5146 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5148         * tst-strfmon1.c (tests): Update expected currency symbol.
5150 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5152         * sysdeps/nacl/gethostname.c: New file.
5154 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5156         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5157         and sinh.
5158         * math/auto-libm-test-out: Regenerated.
5159         * sysdeps/i386/fpu/libm-test-ulps: Update.
5160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5164         [BZ #18125]
5165         * stdlib/tst-setcontext3.c: New file.
5166         * stdlib/tst-setcontext3.sh: New file.
5167         * stdlib/Makefile (tests): Add tst-setcontext3.
5168         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5169         to verify test program created output file.
5170         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5171         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5172         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5173         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5175 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5177         [BZ #18383]
5178         * elf/tst-tlsalign.c: New file.
5179         * elf/tst-tlsalign-static.c: New file.
5180         * elf/tst-tlsalign-lib.c: New file.
5181         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5182         (tests-static): Add tst-tlsalign-static.
5183         (modules-names): Add tst-tlsalign-lib.
5184         (test-xfail-tst-tlsalign): New variable.
5185         (test-xfail-tst-tlsalign-static): New variable.
5187         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5188         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5190 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5192         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5193         csqrt, erfc, sin and sincos.
5194         * math/auto-libm-test-out: Regenerated.
5195         * sysdeps/i386/fpu/libm-test-ulps: Update.
5196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5198 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5200         * sysdeps/aarch64/libm-test-ulps: Update.
5202 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5204         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5205         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5206         * math/auto-libm-test-out: Regenerated.
5207         * sysdeps/i386/fpu/libm-test-ulps: Update.
5208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5210 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5212         [BZ #18265]
5213         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5214         (wcsncpy): Likewise.
5216 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5218         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5219         Assume __ASSUME_FALLOCATE is always true.
5220         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5221         (__posix_fallocate64_l64): Likweise.
5222         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5223         (posix_fallocate): Likewise.
5224         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5225         (__posix_fallocate64_l64): Likewise.
5226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5227         [!__ASSUME_FALLOCATE]: Add comment.
5229 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5231         * sysdeps/unix/sysv/linux/i386/Makefile
5232         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5233         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5234         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5235         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5236         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5237         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5238         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5240 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5242         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5243         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5244         tgamma.
5245         * math/auto-libm-test-out: Regenerated.
5246         * sysdeps/i386/fpu/libm-test-ulps: Update.
5247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5249 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5251         * math/auto-libm-test-in: Add more tests of tgamma.
5252         * math/auto-libm-test-out: Regenerated.
5253         * sysdeps/i386/fpu/libm-test-ulps: Update.
5254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256         * math/auto-libm-test-in: Add more tests of tanh.
5257         * math/auto-libm-test-out: Regenerated.
5258         * sysdeps/i386/fpu/libm-test-ulps: Update.
5259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261         * math/auto-libm-test-in: Add more tests of tan.
5262         * math/auto-libm-test-out: Regenerated.
5263         * sysdeps/i386/fpu/libm-test-ulps: Update.
5264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5266         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5267         * math/auto-libm-test-out: Regenerated.
5268         * sysdeps/i386/fpu/libm-test-ulps: Update.
5269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5271         * math/auto-libm-test-in: Add another test of pow.
5272         * math/auto-libm-test-out: Regenerated.
5273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5275         * math/auto-libm-test-in: Add more tests of lgamma.
5276         * math/auto-libm-test-out: Regenerated.
5277         * sysdeps/i386/fpu/libm-test-ulps: Update.
5278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5280         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5281         log1p.
5282         * math/auto-libm-test-out: Regenerated.
5283         * sysdeps/i386/fpu/libm-test-ulps: Update.
5284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5286 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5288         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5289         Elf64_Chdr structs and ELFCOMPRESS constants.
5291 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5293         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5294         expm1.
5295         * math/auto-libm-test-out: Regenerated.
5296         * sysdeps/i386/fpu/libm-test-ulps: Update.
5297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5299         * math/auto-libm-test-in: Add more tests of erf and erfc.
5300         * math/auto-libm-test-out: Regenerated.
5301         * sysdeps/i386/fpu/libm-test-ulps: Update.
5302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5304 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5306         * config.h.in (HAVE_AARCH64_BE): Add.
5308 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5310         * math/auto-libm-test-in: Add more tests of csqrt.
5311         * math/auto-libm-test-out: Regenerated.
5312         * sysdeps/i386/fpu/libm-test-ulps: Update.
5313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5316         * math/auto-libm-test-out: Regenerated.
5317         * sysdeps/i386/fpu/libm-test-ulps: Update.
5318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5320         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5322 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5324         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5325         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5327         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5328         (euidaccess, eaccess): Define as weak aliases.
5330         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5331         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5332         but __suseconds_t is often 'long int' so some sources assume that
5333         type is being used (e.g. they use %ld to print tv_usec).
5335 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5337         [BZ #18007]
5338         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5339         (CVE-2014-8121)
5340         * nss/tst-nss-getpwent.c: New file.
5341         * nss/Makefile (tests): Add new test.
5343 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5345         [BZ #18346]
5346         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5347         exponents less than 48 as cases where high part of mantissa needs
5348         examining to determine whether argument is integral.
5349         * math/libm-test.inc (round_test_data): Add more tests.
5351 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5353         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5355 2015-04-27  David S. Miller  <davem@davemloft.net>
5357         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5358         __tls_get_addr.
5359         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5361 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5363         [BZ#18333]
5364         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5366 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5368         [BZ#18333]
5369         * time/tzset.c (parse_tzname): Return error on memory allocation
5370         failure.
5371         * test-skeleton.c (struct temp_name_list): Change type of name
5372         member to non-const.
5373         (add_temp_file): Create a copy of the file name.
5374         (delete_temp_files): Deallocate memory.
5375         (create_temp_file): Add comment.
5377 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5379         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5380         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5382 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5384         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5385         * sysdeps/arm/configure: Regenerated.
5387 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5389         [BZ #17715]
5390         * time/tzfile.c (__tzfile_read): Check for large values of
5391         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5392         * time/tzset.c (__tzstring_len): New function, based on the old
5393         __tzstring function.
5394         (__tzstring): Call __tzstring_len.
5395         (parse_tzname): New helper function extracted from
5396         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5397         the input string.
5398         (parse_offset): New helper function extracted from
5399         __tzset_parse_tz.  Replace switch with fallthrough with
5400         initialization before sscanf.
5401         (parse_rule): Likewise.
5402         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5403         new-style function definition.
5404         * timezone/Makefile (tests): Add tst-tzset.
5405         (tst-tzset.out): Dependencies on time zone files.
5406         (tst-tzset-ENV): Set TZDIR.
5407         (testdata/XT%): Copy crafted time zone files.
5408         * timezone/README: Mention crafted time zone files.
5409         * timezone/testdata/XT1, timezone/testdata/XT2,
5410         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5411         files.
5412         * timezone/tst-tzset.c: New test.
5414 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5416         * Makeconfig (+gccwarn): Remove -Winline.
5418 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5420         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5422 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5424         * NEWS: Mention sysconf() cache information support for s390.
5425         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5427 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5429         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5430         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5431         (__nearbyint): Likewise.
5432         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5433         (copysignl): Likewise.
5435 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5437         [BZ #18287]
5438         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5439         based on padding.  (CVE-2015-1781)
5441 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5443         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5444         libc-vdso.h.
5445         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5446         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5447         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5448         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5449         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5450         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5451         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5452         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5453         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5454         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5455         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5456         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5457         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5458         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5459         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5460         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5461         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5462         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5463         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5464         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5465         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5466         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5467         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5469 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5471         * stdlib/setenv.c (__add_to_environ):
5472         Dump core quickly if setenv (..., NULL, ...) is called.
5473         This time, do it the right way, and pacify GCC with a pragma.
5475 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5477         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5478         IMAP->l_prev cannot be null, and #if out the code for the contrary
5479         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5480         believe that NS (&_dl_ns[NSID]) could point outside the array.
5482         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5483         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5484         before using NSID as an index.
5486 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5488         [BZ #17825]
5489         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5490         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5491         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5493 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5495         Add preliminary port to Google Native Client on ARM.
5496         * abi-tags (.*-.*-nacl.*): New entry.
5497         * sysdeps/arm/nacl: New directory.
5498         * sysdeps/nacl: New directory.
5500 2015-04-16  David S. Miller  <davem@davemloft.net>
5502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5503         lowlevellock-futex.h
5505 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5507         * sysdeps/tile/configure.ac: New file.
5508         * sysdeps/tile/configure: Regenerated.
5510 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5512         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5513         conditionals for weak_alias and libc_hidden_weak.
5514         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5515         libc_hidden_weak and weak_alias.
5516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5517         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5518         and weak_alias for static one.
5520 2015-04-15  David S. Miller  <davem@davemloft.net>
5522         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5524 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5526         [BZ #18206]
5527         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5528           Use signed comparision instead of substraction to avoid
5529           overflow bug.
5530         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5531           Take the sign of ret.
5532         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5533           Do not expect precise return values. Only the sign matters.
5534         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5535         * wcsmbs/test-wcsncmp.c: New File.
5536         * string/test-strncmp.c: Add wcsncmp support.
5538 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540         [BZ #6792]
5541         * math/w_log1p.c: New file.
5542         * math/w_log1pf.c: Likewise.
5543         * math/w_log1pl.c: Likewise.
5544         * math/Makefile (libm-calls): Add w_log1p.
5545         * math/s_log1pl.c (log1pl): Remove weak_alias.
5546         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5547         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5548         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5549         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5550         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5551         [NO_LONG_DOUBLE] (log1pl): Likewise.
5552         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5553         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5554         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5555         (log1p): Remove long_double_symbol.
5556         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5557         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5558         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5559         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5560         remove weak_alias for corresponding log1p function.
5561         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5562         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5563         * sysdeps/ia64/fpu/w_log1p.c: New file.
5564         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5565         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5566         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5568 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5570         [BZ #18247]
5571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5572         decimal exponent by 1.
5573         * stdlib/tst-strtod-round-data: Add more tests.
5574         * stdlib/tst-strtod-round.c (tests): Regenerated.
5576 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5578         * math/auto-libm-test-in: Add more tests of clog and clog10.
5579         * math/auto-libm-test-out: Regenerated.
5580         * sysdeps/i386/fpu/libm-test-ulps: Update.
5581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5583 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5585         * Makeconfig (module-cppflags): Exclude all .v.i files.
5586         (skip-module-cppflags): Variable removed.
5588         * configure.ac (libc_config_ok): Initialize before reading
5589         preconfigure scripts, not after.
5590         * configure: Regenerated.
5592         * test-skeleton.c (TIMEOUT): Move #define to top level.
5593         (main): Grok environment variable TEST_DIRECT.  If set, print
5594         test expectation details into that file and then behave as if
5595         given --direct.
5597 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5599         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5600         warning on 32-bit.
5602 2015-04-08  David S. Miller  <davem@davemloft.net>
5604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5606 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5608         * math/auto-libm-test-in: Add more tests of atanh.
5609         * math/auto-libm-test-out: Regenerated.
5610         * sysdeps/i386/fpu/libm-test-ulps: Update.
5611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613         * math/auto-libm-test-in: Add more tests of atan.
5614         * math/auto-libm-test-out: Regenerated.
5615         * sysdeps/i386/fpu/libm-test-ulps: Update.
5616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5618 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5620         * elf/pldd.c (main): Rewrite to use struct
5621         scratch_buffer instead of extend_alloca.
5622         * elf/pldd-xx.c (find_maps): Likewise.
5623         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5624         <alloca.h>.
5625         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5626         scratch_buffer instead of extend_alloca.
5627         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5628         grp/compat-initgroups.c.
5629         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5630         Rewrite to use struct scratch_buffer instead of extend_alloca.
5631         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5632         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5634 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5636         * math/auto-libm-test-in: Add more tests of cbrt.
5637         * math/auto-libm-test-out: Regenerated.
5638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5640         * math/auto-libm-test-in: Add more tests of cabs.
5641         * math/auto-libm-test-out: Regenerated.
5642         * sysdeps/i386/fpu/libm-test-ulps: Update.
5643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645         [BZ #18210]
5646         [BZ #18211]
5647         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5648         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5649         computations.
5650         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5651         clog10.
5652         * math/auto-libm-test-out: Regenerated.
5653         * sysdeps/i386/fpu/libm-test-ulps: Update.
5654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5656         [BZ #18197]
5657         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5658         (atan): Set FE_TONEAREST mode for internal computations.
5659         * math/auto-libm-test-in: Add more tests of atan.
5660         * math/auto-libm-test-out: Regenerated.
5662 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5664         [BZ #17930]
5665         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5667 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5669         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5671 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5673         * include/scratch_buffer.h: New file.
5674         * malloc/scratch_buffer_grow.c: Likewise.
5675         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5676         * malloc/scratch_buffer_set_array_size.c: Likewise.
5677         * malloc/tst-scratch_buffer.c: Likewise.
5678         * malloc/Makefile (routines): Add scratch_buffer_grow.
5679         (tests): Add test case.
5680         * malloc/Versions (GLIBC_PRIVATE): Export
5681         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5682         __libc_scratch_buffer_set_array_size.
5684 2015-04-06  Richard Henderson  <rth@redhat.com>
5686         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5687         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5689         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5690         unsigned int before printing.
5692 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5694         [BZ #17596]
5695         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5696         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5698 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5700         * include/libc-internal.h (libc_max_align_t): Define.
5702 2015-04-02  Andreas Schwab  <schwab@suse.de>
5704         [BZ #16850]
5705         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5707 2015-04-02  Mel Gorman  <mgorman@suse.de>
5709         [BZ #17195]
5710         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5711         as well as the main arena.
5713 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5715         [BZ #18185]
5716         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5717         sharing L2 cache to 2 for Silvermont/Knights Landing.
5719 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5721         [BZ #17711]
5722         * config.make.in (have-protected-data): New.
5723         * configure.ac: Check linker support for protected data symbol.
5724         * configure: Regenerated.
5725         * elf/Makefile (modules-names): Add tst-protected1moda and
5726         tst-protected1modb if $(have-protected-data) is yes.
5727         (tests): Add tst-protected1a and tst-protected1b if
5728         $(have-protected-data) is yes.
5729         ($(objpfx)tst-protected1a): New.
5730         ($(objpfx)tst-protected1b): Likewise.
5731         (tst-protected1modb.so-no-z-defs): Likewise.
5732         * elf/tst-protected1a.c: New file.
5733         * elf/tst-protected1b.c: Likewise.
5734         * elf/tst-protected1mod.h: Likewise.
5735         * elf/tst-protected1moda.c: Likewise.
5736         * elf/tst-protected1modb.c: Likewise.
5738 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5740         [BZ #17711]
5741         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5742         indicates it is called from do_lookup_x on relocation against
5743         protected data, skip the data definion in the executable from
5744         copy reloc.
5745         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5746         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5747         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5748         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5749         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5750         otherwise to 0.
5751         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5752         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5753         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5754         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5755         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5756         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5758 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5760         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5761         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5763 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5765         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5766         THREAD_SETMEM_NC.
5767         * sysdeps/x86_64/nptl/tls.h: Ditto.
5769 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5771         * dlfcn/tststatic.c (main): Converted to ...
5772         (do_test): ... this.
5773         (TEST_FUNCTION): New macro.
5774         Include test-skeleton.c.
5776 2015-03-26  Alan Modra  <amodra@gmail.com>
5778         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5779         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5780         zero for undefined weak.
5781         (elf_machine_plt_conflict): Similarly.
5783 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5785         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5786         atanh.
5787         * math/auto-libm-test-out: Regenerated.
5788         * sysdeps/i386/fpu/libm-test-ulps: Update.
5789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5791         * math/auto-libm-test-in: Add another test of asin.
5792         * math/auto-libm-test-out: Regenerated.
5793         * sysdeps/i386/fpu/libm-test-ulps: Update.
5794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5796         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5797         Remove macro.
5798         (LLL_EBX_REG): Likewise.
5799         (LLL_ENTER_KERNEL): Likewise.
5801         * math/auto-libm-test-in: Add more tests of asin.
5802         * math/auto-libm-test-out: Regenerated.
5803         * sysdeps/i386/fpu/libm-test-ulps: Update.
5804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5806         [BZ #18138]
5807         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5808         libc_do_syscall_args): New structure.
5809         (INTERNAL_SYSCALL_MAIN_0): New macro.
5810         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5811         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5812         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5813         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5814         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5815         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5816         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5817         Replace conditional definitions by conditional definitions of ....
5818         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5819         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5820         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5821         (libpthread-sysdep_routines): Add libc-do-syscall.
5822         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5823         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5824         to __NR_futex not 240.
5826 2015-03-25  Alan Modra  <amodra@gmail.com>
5828         * NEWS: Advertise TLS optimization.
5829         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5830         (DT_PPC_NUM): Increment.
5831         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5832         (CHECK_STATIC_TLS): Use here.
5833         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5834         TLS descriptors.
5835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5836         * sysdeps/powerpc/dl-tls.c: New file.
5837         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5838         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5839         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5840         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5845 2015-03-25  Alan Modra  <amodra@gmail.com>
5847         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5848         for overlapping .opd entries" to "support...".
5849         * sysdeps/powerpc/powerpc64/configure: Regenerate
5851 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5853         * math/auto-libm-test-in: Add more tests of acos.
5854         * math/auto-libm-test-out: Regenerated.
5855         * sysdeps/i386/fpu/libm-test-ulps: Update.
5856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858         * math/auto-libm-test-in: Add more tests of expm1.
5859         * math/auto-libm-test-out: Regenerated.
5860         * sysdeps/i386/fpu/libm-test-ulps: Update.
5861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5865         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5866         * math/auto-libm-test-out: Regenerated.
5867         * sysdeps/i386/fpu/libm-test-ulps: Update.
5868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5870         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5873         * math/auto-libm-test-in: Add more tests of log2.
5874         * math/auto-libm-test-out: Regenerated.
5875         * sysdeps/i386/fpu/libm-test-ulps: Update.
5876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5878 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5880         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5881         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5882         _IO_IS_APPENDING bit in READ_WRITE instead.
5884 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5886         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5887         (__determine_cpumask_size): Replace extend_alloca with a
5888         variable-length array.  Do not treat res == 0 as an error.
5890 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5892         [BZ #18100]
5893         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5894         and integer overflow.
5895         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5896         (main): Add integer overflow tests.
5897         * manual/pattern.texi (Calling Wordexp): Document additional use
5898         for WRDE_SYNTAX.
5900 2015-03-23  Alan Modra  <amodra@gmail.com>
5902         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5903         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5904         and false branch of conditional.
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5906         Likewise.
5908 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5910         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5911         libc-modules.h
5912         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5913         unused declaration of _hurd_intr_rpc_msg_in_trap.
5914         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5915         defined instead of whether it is non-zero.
5916         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5917         input constraint instead of both input and output constraint.  Use ecx
5918         clobber instead of %ecx.
5919         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5920         mutex_unlock): Use a statement expression instead of an expression list.
5921         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5922         type to vm_size_t instead of vm_address_t.
5923         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5924         defined instead of whether it is non-zero.
5925         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5926         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5927         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5928         comparisons with mapaddr.
5929         * nscd/nscd-client.h: Include <time.h>.
5930         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5931         9th parameter to __vm_region instead of int.
5932         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5933         * scripts/check-local-headers.sh (exclude): Add device/,
5934         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5935         cthreads.h.
5937 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5939         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5940         to account for alignment padding.
5941         * sysdeps/arm/memmove.S: Likewise.
5943 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5945         * sysdeps/unix/sysv/linux/generic/README: New file.
5947 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5949         [BZ #18138]
5950         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5951         (futex_abstimed_wait)
5952         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5953         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5954         of lll_futex_timed_wait.
5956 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5958         [BZ #17542]
5959         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5961 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5963         [BZ #17090]
5964         [BZ #17620]
5965         [BZ #17621]
5966         [BZ #17628]
5967         * NEWS: Update.
5968         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5969         entries with Static TLS too.  Skip entries past the end of the
5970         allocated DTV, from Alan Modra.
5971         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5972         Static TLS DTV entry set up from...
5973         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5974         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5975         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5976         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5977         for Static TLS.
5978         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5979         that the slot we find is associated with the given map before
5980         using its generation count.
5981         * nptl_db/db_info.c: Include ldsodefs.h.
5982         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5983         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5984         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5985         (link_map::l_tls_offset): New struct field.
5986         (dtv_t::counter): Likewise.
5987         (rtld_global): New struct.
5988         (_rtld_global): New rtld variable.
5989         (dl_tls_dtv_slotinfo_list): New rtld global field.
5990         (dtv_slotinfo_list): New struct.
5991         (dtv_slotinfo): Likewise.
5992         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5993         (td_lookup): Rename to...
5994         (td_mod_lookup): ... this.  Use new mod parameter instead of
5995         LIBPTHREAD_SO.
5996         * nptl_db/td_thr_tlsbase.c: Include link.h.
5997         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5998         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5999         addresses even if the DTV is out of date or missing them.
6000         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6001         index zero-length arrays.
6002         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6003         (td_lookup): Make it a macro implemented in terms of...
6004         (td_mod_lookup): ... this declaration.
6005         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6006         (DB_MAIN_VARIABLE): Likewise.
6008 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6010         [BZ #18134]
6011         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6013 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6015         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6017 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6019         [BZ #18128]
6020         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6021         (atomic_add, atomic_increment_and_test)
6022         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6024 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6026         * stdlib/setenv.c (__add_to_environ):
6027         Dump core quickly if setenv (..., NULL, ...) is called.
6029 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6031         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6032         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6033         all the necessary asm magic in one place.
6034         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6035         using those.
6037 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6039         [BZ #14906]
6040         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6041         traced file mtime. Use consistent log message.
6042         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6043         (register_traced_file): Call install_watches. Always set mtime.
6044         (invalidate_cache): Iterate over all trace files. Call install_watches.
6045         (inotify_check_files): Don't inline. Handle watching parent
6046         directories and configuration file movement in and out.
6047         (handle_inotify_events): New function.
6048         (main_loop_poll): Call handle_inotify_events.
6049         (main_loop_epoll): Likewise.
6050         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6051         (struct traced_file): Use array of inotify fds. Add parent directory,
6052         and basename.
6053         (struct database_dyn): Remove unused file_mtime.
6054         (init_traced_file): New inline function.
6055         (define_traced_file): New macro.
6056         * nss/nss_db/db-init.c: Use define_traced_file.
6057         (_nss_db_init): Use init_traced_file.
6058         * nss/nss_files/files-init.c: Use define_traced_file.
6059         (_nss_files_init): Use init_traced_file.
6061 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6063         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6064         [_LIBC]: Do not include <stdlib.h>.
6065         [!_LIBC] (abort): Remove declaration.
6066         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6067         _FP_STATIC_ASSERT instead of conditionally calling abort.
6068         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6069         (_FP_EXTEND_CNAN): Likewise.
6070         (FP_TRUNC): Likewise.
6071         (__FP_CLZ): Likewise.
6072         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6074 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6076         * manual/string.texi (XPG basename): Fix prototype.
6078 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6080         [BZ #18080]
6081         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6082         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6083         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6084         (__setcontext): Likewise.
6085         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6086         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6087         Call rt_sigprocmask syscall one time to set new signal mask
6088         and retrieve the current signal mask instead of two calls.
6089         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6090         (__swapcontext): Likewise.
6091         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6092         * stdlib/tst-setcontext2.c: New file.
6094 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6096         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6098 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6100         [BZ #18093]
6101         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6102         the wrong size.
6104 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6106         [BZ #18043]
6107         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6109 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6111         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6112         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6113         Remove define.
6114         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6115         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6116         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6117         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6118         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6119         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6120         define.
6121         * nptl_db/td_symbol_list.c (td_lookup): Remove
6122         HAVE_ASM_GLOBAL_DOT_NAME code.
6123         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6124         HAVE_ASM_GLOBAL_DOT_NAME check.
6125         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6126         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6127         (DOT_LABEL): Remove define.
6128         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6129         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6130         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6131         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6132         (__TLS_GET_ADDR): Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6134         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6136 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6138         [BZ #18111]
6139         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6140         (_FPU_SETCW): Initialize cw from fpsr before storing.
6141         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6142         (fesetexceptflag): Rewrite using fpu_control.h.
6143         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6145 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6147         [BZ #18110]
6148         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6149         asms.
6150         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6152 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6154         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6155         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6156         abort.
6157         (_FP_FMA): Likewise.
6158         (_FP_DIV): Likewise.
6160 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6162         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6163         with 0 in that case.
6164         * Makefile (summarize-tests): New canned sequence, factored out of
6165         commands for targets tests and xtests.  Display summary lines that
6166         don't start with PASS: or XFAIL: rather than ones that do start with
6167         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6168         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6169         do start with ERROR: or FAIL:.
6170         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6171         (except for [$(build-shared) = yes]).
6172         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6173         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6174         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6175         * nptl/Makefile: Revert 2015-03-04 changes.
6176         [$(CXX) empty] (tests-unsupported): New variable.
6177         * debug/Makefile: Likewise.
6179         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6180         gnulib file.  Replace __attribute with __attribute__ throughout.
6182 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6184         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6186 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6188         [BZ #18104]
6189         * math/auto-libm-test-in: Add another test of pow.
6190         * math/auto-libm-test-out: Regenerated.
6192 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6194         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6195         $(config-cflags-nofma).
6197 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6199         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6200         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6201         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6202         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6203         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6204         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6205         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6206         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6207         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6208         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6209         Add comment on closing #endif.
6211 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6213         * posix/wordexp.c (CHAR_IN_SET): New macro.
6214         (parse_param): Use it.
6216 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6218         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6220 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6222         [BZ #18043]
6223         * posix/wordexp.c (parse_param): Fix buffer overflow.
6224         * posix/wordexp-test.c (test_case): Add test case.
6226 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6228         [BZ #18042]
6229         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6230         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6232 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6234         [BZ #18043]
6235         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6236         (do_bz18043): Delete.
6237         (at_page_end): New.
6238         (testit): Refactor to have words at the edge of unreadable page.
6240 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6242         [BZ #16734]
6243         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6244         Cleanup read-only streams as well.
6245         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6247 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6249         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6250         <bits/libc-lockP.h>
6252 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6254         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6255         on [__KERNEL__].
6256         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6257         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6258         * soft-fp/op-common.h (_FP_DECL): Likewise.
6260 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6262         * elf/ifuncdep2.c (global): Replace
6263         __attribute__((visibility("protected"))) with
6264         asm (".protected global").
6265         * elf/ifuncmod1.c (global): Likewise.
6266         * elf/ifuncmod5.c (global): Likewise.
6268 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6270         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6271         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6273 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6275         * manual/install.texi (Configuring and compiling):
6276         Document test-wrapper-env-only.
6277         * INSTALL: Regenerated.
6279 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6281         [BZ #18043]
6282         * posix/wordexp.c (parse_param): Fix buffer overflow.
6283         * posix/wordexp-test.c (do_bz18043): Add test case.
6285 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6287         * time/tst-strptime2.c (do_test): Ensure failing tests are
6288         reported correctly.
6289         * time/tst-strptime3.c (do_test): Likewise.
6291 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6293         Fix aio_error thread-safety.
6294         * sysdeps/pthread/aio_error.c: New file
6295         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6296         synchronization.
6298 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6300         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6301         (group_number, vfprintf): Use it.
6302         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6303         (JUMP, REF): Use it.
6304         (WORK_BUFFER_SIZE): New enum constant.
6305         (process_arg, vfprintf): Use it.
6307 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6309         * manual/errno.texi (Error Messages): Complete example function
6310         by adding missing #define.
6311         (program_invocation_name): Add statement indicating GNU
6312         extension and reference which header file declares the variable.
6313         (program_invocation_short_name): Likewise.
6315 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6317         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6318         compatibility note.
6320 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6322         * Makeconfig (test-wrapper-env-only): New variable.
6323         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6324         then use that with $(test-wrapper-env-only) rather than using
6325         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6327 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6329         [BZ #18082]
6330         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6331         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6332         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6333         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6334         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6335         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6336         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6337         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6338         Likewise.
6339         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6340         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6341         Likewise.
6342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6343         Likewise.
6344         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6345         Likewise.
6346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6347         Likewise.
6348         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6349         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6350         Likewise.
6351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6352         Likewise.
6353         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6354         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6356 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6358         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6359         (ETH_ALEN): New macro.
6360         (struct ether_addr): Use it for length of ether_addr_octet.
6362         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6363         (setdb): Don't call __nss_configure_lookup for "rpc".
6364         (do_test): Don't call test_rpc.
6365         (output_rpcent, test_rpc): Functions moved ...
6366         * sunrpc/test-rpcent.c: ... to this new file.
6367         * sunrpc/Makefile (tests): Add it.
6369         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6370         __xpg_sigpause.
6371         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6372         * nptl/tst-signal6.c: Likewise.
6373         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6374         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6376         * configure.ac (libc_cv_cxx_link_ok): New check.
6377         Reset CXX to empty if it fails to link.
6378         * configure: Regenerated.
6379         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6380         bug-atexit3-lib only if $(CXX) is nonempty.
6381         * nptl/Makefile (tests): Likewise for tst-cancel24.
6382         (tests, tests-static): Likewise for tst-cancel24-static.
6383         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6384         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6385         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6386         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6388 2015-03-04  Andreas Schwab  <schwab@suse.de>
6390         [BZ #17631]
6391         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6392         for non-GCC compilers.
6393         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6394         Likewise.
6396 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6398         [BZ #17776]
6399         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6400         integer before bitwise and assembly operations.
6401         (feclearexcept): Likewise.
6402         * math/test-fenvinline.c: New file.
6403         * math/Makefile: Add test-fenvinline test.
6405 2015-03-03  Alan Modra  <amodra@gmail.com>
6407         [BZ #16512]
6408         * scripts/localplt.awk: Strip off symbol version.
6409         * NEWS: Mention bug fix.
6411 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6413         * sysdeps/pthread/timer_routines.c
6414         (timer_free_list, thread_free_list, thread_active_list): Make static.
6416 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6418         [BZ #17779]
6419         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6420         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6421         Undefine.
6422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6423         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6426         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6427         Likewise.
6429 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6431         [BZ #18036]
6432         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6433         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6435 2015-03-02  Andreas Schwab  <schwab@suse.de>
6437         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6438         variable name.
6440 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6442         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6443         Return error status.
6445 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6447         [BZ #15969]
6448         * locale/findlocale.c (_nl_find_locale): Introduce const
6449         version of loc_name and drop unsafe type casts.
6451 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6453         * dlfcn/tststatic2.c (main): Converted to ...
6454         (do_test): ... this.
6455         (TEST_FUNCTION): New macro.
6456         Include test-skeleton.c.
6458 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6460         [BZ #17711]
6461         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6462         (tests-pie): Add vismain.
6463         (CFLAGS-vismain.c): New.
6464         * elf/vismain.c: Add comments for PIE requirement.
6466 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6468         [BZ #18046]
6469         [BZ #18047]
6470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6471         0x1p-56L as threshold for just returning the argument.
6472         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6473         0x1p-32L as threshold for just returning the argument.
6474         * math/auto-libm-test-in: Add more tests of atanh.
6475         * math/auto-libm-test-out: Regenerated.
6476         * sysdeps/i386/fpu/libm-test-ulps: Update.
6477         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6479 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6481         * string/bcopy.c (bcopy): Call memmove for performance.
6483 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6485         * string/bzero.c (__bzero): Call memset for performance.
6487 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6489         [BZ #18068]
6490         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6491         to 00100000.
6493 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6495         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6497 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6499         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6500         (__kernel_standard): Use CSTR macro when setting exc.name.
6501         * sysdeps/ieee754/Makefile [$(subdir) = math]
6502         (CFLAGS-k_standard.c): Remove variable.
6504         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6505         setting p and q from "else if" to "else".
6506         (qzero): Likewise.
6507         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6508         (qone): Likewise.
6509         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6510         (qzerof): Likewise.
6511         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6512         (qonef): Likewise.
6513         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6514         (qzero): Likewise.
6515         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6516         (qone): Likewise.
6518         [BZ #18038]
6519         [BZ #18039]
6520         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6521         return pi/2 for arguments below 0x1p-113L.
6522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6523         return pi/2 for arguments below 0x1p-106L.
6524         * math/auto-libm-test-in: Add more tests of acos.
6525         * math/auto-libm-test-out: Regenerated.
6527         [BZ #16351]
6528         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6529         (MO): New macro.
6530         (__ieee754_asin): Force underflow exception for results with small
6531         absolute value.
6532         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6533         (MO): New macro.
6534         (__ieee754_asinf): Force underflow exception for results with
6535         small absolute value.
6536         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6537         (__ieee754_asin): Force underflow exception for results with small
6538         absolute value.
6539         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6540         (__ieee754_asinf): Force underflow exception for results with
6541         small absolute value.
6542         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6543         (__ieee754_asinl): Force underflow exception for results with
6544         small absolute value.
6545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6546         (__ieee754_asinl): Force underflow exception for results with
6547         small absolute value.
6548         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6549         (__ieee754_asinl): Force underflow exception for results with
6550         small absolute value.
6551         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6552         Include <math.h>.
6553         * math/auto-libm-test-in: Do not mark underflow exceptions as
6554         possibly missing for bug 16351.
6555         * math/auto-libm-test-out: Regenerated.
6557         [BZ #18030]
6558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6559         of power of 2 down when low part has opposite sign.
6560         * math/libm-test.inc (logb_test_data): Add more tests.
6562 2015-02-26  Andreas Schwab  <schwab@suse.de>
6564         [BZ #18032]
6565         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6566         over collating symbol inside a bracket expression.  Minor cleanup.
6567         * posix/tst-fnmatch3.c (do_test): Add test case.
6569 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6571         [BZ #18029]
6572         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6573         Adjust exponent of power of 2 down when low part has opposite
6574         sign.
6575         * math/libm-test.inc (ilogb_test_data): Add more tests.
6577 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6579         [BZ #15969]
6580         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6581         the previous change.
6583         [BZ #15969]
6584         * locale/findlocale.c (_nl_find_locale): Retry archive search
6585         after alias expansion.
6587 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6589         * iconv/tst-iconv3.c (main): Converted to ...
6590         (do_test): ... this.
6591         (TEST_FUNCTION): New macro.
6592         Include test-skeleton.c.
6594         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6595         (convert): Make function static.
6596         (test_unalign): Likewise.  Add const to argument pointee types.
6597         (main): Replace with static function do_test.
6598         Print "Succeeded." only if RET is zero.
6599         (TEST_FUNCTION): New macro.
6600         Include test-skeleton.c.
6602         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6603         returns a null pointer.
6605 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6607         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6608         to __memcpy_ppc only for static builds.
6610 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6612         [BZ #18020]
6613         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6614         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6615         * math/auto-libm-test-in: Add more tests of asinh.
6616         * math/auto-libm-test-out: Regenerated.
6617         * sysdeps/i386/fpu/libm-test-ulps: Update.
6618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6620 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6622         [BZ #15850]
6623         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6624         and ip6_mtuinfo definitions here.
6625         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6626         in this define too.  Update comment.
6628 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6630         * elf/sprof.c (load_shobj): Tweak error message to match others.
6632 2015-02-24  Kevin Easton  <kevin@guarana.org>
6634         [BZ #16145] (partial fix)
6635         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6636         to reduce lock contention.
6638 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6640         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6641         (struct timex): Update time comment.
6642         (ADJ_SETOFFSET): Define.
6644 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6646         [BZ #18019]
6647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6648         2**56 not 2**28 as threshold for log (2x) formula.
6649         * math/auto-libm-test-in: Add more tests of acosh.
6650         * math/auto-libm-test-out: Regenerated.
6651         * sysdeps/i386/fpu/libm-test-ulps: Update.
6652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6654 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6656         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6657         parenthesis around the buf assignment.
6658         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6660 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6662         [BZ #16783]
6663         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6664         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6665         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6666         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6667         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6668         * math/libm-test.inc (scalb_test_data): Add more tests.
6670 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6672         [BZ #17916]
6673         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6674         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6676 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6678         [BZ #17523]
6679         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6680         * io/bits/fcntl2.h (open): Use it.
6681         (openat): Likewise.
6682         * io/open.c (__libc_open): Likewise.
6683         * io/open64.c (__libc_open64): Likewise.
6684         * io/open64_2.c (__open64_2): Likewise.
6685         * io/open_2.c (__open_2): Likewise.
6686         * io/openat.c (__openat): Likewise.
6687         * io/openat64.c (__openat64): Likewise.
6688         * io/openat64_2.c (__openat64_2): Likewise.
6689         * io/openat_2.c (__openat_2): Likewise.
6690         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6691         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6692         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6693         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6694         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6695         (__open_nocancel): Likewise.
6696         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6697         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6698         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6700 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6702         [BZ #14841]
6703         * resolv/gethnamaddr.c (getanswer): Skip logging if
6704         RES_USE_DNSSEC is set.
6705         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6707 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6709         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6711 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6713         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6714         201304L, for Unicode 7.
6716 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6718         [BZ #17836]
6719         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6720         shared library.  Add gmon-start.os otherwise.
6721         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6722         $(objpfx)gmon-start.os if builing shared library.
6723         ($(objpfx)g$(static-start-installed-name)): Likewise.
6725 2015-02-23  Andreas Schwab  <schwab@suse.de>
6727         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6729 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6731         [BZ #17269]
6732         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6733         (enlarge_userbuf): Likewise.
6735 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6737         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6738         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6739         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6740         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6742 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6744         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6745         expression inside statement expression.
6747 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6749         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6750         <sysdeps/nptl/lowlevellock.h> and remove macros and
6751         functions that are now defined there.
6752         (SYS_futex): Remove.
6753         (lll_compare_and_swap): Remove.
6754         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6756 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6758         [BZ #17999]
6759         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6760         instead of scandirat.
6761         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6762         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6763         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6764         __scandirat.
6765         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6766         (__scandirat): Declare.  Use libc_hidden_proto.
6767         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6768         Remove variable.
6769         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6771 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6773         [BZ #15319]
6774         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6775         (MO): New macro.
6776         (__ieee754_atan2): For results with small absolute value, force
6777         underflow exception and remove excess range and precision from
6778         return value.
6779         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6780         (MO): New macro.
6781         (__ieee754_atan2f): For results with small absolute value, force
6782         underflow exception and remove excess range and precision from
6783         return value.
6784         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6785         (MO): New macro.
6786         (__atan): For results with small absolute value, force underflow
6787         exception and remove excess range and precision from return value.
6788         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6789         (MO): New macro.
6790         (__atanf): For results with small absolute value, force underflow
6791         exception and remove excess range and precision from return value.
6792         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6793         <math.h>.
6794         (__ieee754_atan2): Force underflow exception for results with
6795         small absolute value.
6796         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6797         <math_private.h>.
6798         (atan): Force underflow exception for results with small absolute
6799         value.
6800         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6801         (__atanf): Force underflow exception for results with small
6802         absolute value.
6803         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6804         <math.h>.
6805         (__atanl): Force underflow exception for results with small
6806         absolute value.
6807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6808         (__atanl): Force underflow exception for results with small
6809         absolute value.
6810         * sysdeps/x86/fpu/bits/mathinline.h
6811         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6812         (__ieee754_atan2): Only define inline for long double.
6813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6814         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6815         * math/auto-libm-test-in: Do not mark underflow exceptions as
6816         possibly missing for bug 15319.  Add more tests of atan2.
6817         * math/auto-libm-test-out: Regenerated.
6818         * math/libm-test.inc (casin_test_data): Do not mark underflow
6819         exceptions as possibly missing for bug 15319.
6820         (casinh_test_data): Likewise.
6821         * sysdeps/i386/fpu/libm-test-ulps: Update.
6823 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6825         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6826         * sysdeps/mips/bits/endian.h: Fix comments.
6828 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6830         [BZ #17996]
6831         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6832         (hdestroy_r): Likewise.
6833         (hsearch_r): Likewise.
6834         (__hcreate_r): Declare and use libc_hidden_proto.
6835         (__hdestroy_r): Likewise.
6836         (__hsearch_r): Likewise.
6837         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6838         (hcreate): Call __hcreate_r instead of hcreate_r.
6839         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6840         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6841         as weak alias of __hcreate_r.
6842         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6843         __hdestroy_r.
6844         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6845         __hsearch_r.
6846         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6847         Remove variable.
6848         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6849         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6850         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6851         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6853 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6855         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6856         arena_lock into a single arena_get.
6858 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6860         * dl-reloc.c: Inlucde libc-internal.h.
6861         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6862         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6863         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6864         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6865         (grow_heap): Likewise.
6866         * malloc/malloc.c: Include libc-internal.h.
6867         (do_check_malloc): Call powerof2.
6868         (sysmalloc): Use pagesize. Call ALIGN_UP.
6869         (systrim): Use pagesize.
6870         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6871         (__libc_valloc): Use pagesize.
6872         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6874 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6876         [BZ #17991]
6877         * include/sys/resource.h (__getrlimit64): Declare.  Use
6878         libc_hidden_proto.
6879         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6880         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6881         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6882         getrlimit64.
6883         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6884         __getrlimit64.
6885         [!getrlimit64] (getrlimit64): Define as weak alias of
6886         __getrlimit64.  Use libc_hidden_weak.
6887         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6888         using __getrlimit64 not __new_getrlimit64.
6889         (__GI_getrlimit64): Likewise.
6890         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6891         Likewise.
6892         (__GI_getrlimit64): Likewise.
6893         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6895         (getrlimit): Add __getrlimit64 alias.
6896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6897         Likewise.
6898         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6899         Remove variable.
6900         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6901         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6903 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6905         * libio/fileops.c: Add missing sys/mman.h
6906         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6908 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6910         * manual/math.texi (Errors in Math Functions): Clarify goals
6911         regarding inexact and underflow exceptions.
6913 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6915         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6916         * sysdeps/mips/memset.S: Ditto.
6918 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6920         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6922 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6924         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6925         (__v1longjmp): Remove versioned symbol.
6926         (__v1siglongjmp): Remove alias and versioned symbol.
6927         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6928         (__v2siglongjmp): Likewise.
6930 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6932         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6934 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6936         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6938 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6940         [BZ #17987]
6941         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6942         zero result does not depend on the sign resulting from
6943         subtraction.
6944         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6945         Likewise.
6946         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6947         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6948         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6949         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6950         * math/libm-test.inc (remquo_test_data): Add more tests.
6952 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6954         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6955         Problem reported by J William Piggott.
6957 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #17978]
6960         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6961         products 4 * y and 2 * y where those would overflow.
6962         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6963         Likewise.
6964         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6965         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6966         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6967         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6968         * math/libm-test.inc (remquo_test_data): Add more tests.
6970         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6972         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6973         [defined _COMPILING_NEWLIB].
6974         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6975         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6977         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6978         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6980 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6982         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6983         acquired.
6985 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6987         [BZ #17792]
6988         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6989         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6990         HOST_STACK_END_ADDR): Likewise.
6992 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6994         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6995         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6996         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6998 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7000         * sysdeps/generic/c++-types.data: New file.
7001         * sysdeps/generic/ld.abilist: New file.
7002         * sysdeps/generic/libBrokenLocale.abilist: New file.
7003         * sysdeps/generic/libanl.abilist: New file.
7004         * sysdeps/generic/libc.abilist: New file.
7005         * sysdeps/generic/libcrypt.abilist: New file.
7006         * sysdeps/generic/libdl.abilist: New file.
7007         * sysdeps/generic/libm.abilist: New file.
7008         * sysdeps/generic/libpthread.abilist: New file.
7009         * sysdeps/generic/libresolv.abilist: New file.
7010         * sysdeps/generic/librt.abilist: New file.
7012 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7014         [BZ #17569]
7015         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7016         Compute absolute value of x as modified by fmod, not original
7017         value of x.
7018         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7019         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7020         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7021         RUN_TEST_ffI_f1_mod8.
7022         (remquo_test_data): Add more tests.
7024 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7026         * sysdeps/init_array/pt-crti.S: New file.
7028 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7030         [BZ #17967]
7031         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7032         __builtin_fmaf instead of relying on contraction of a * b + c.
7034 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7036         [BZ #17969]
7037         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7038         node.
7040 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7042         [BZ #17964]
7043         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7044         __builtin_fma instead of relying on contraction of a * b + c.
7046 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7048         * Makeconfig (ASFLAGS): Add -Werror=undef.
7049         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7050         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7051         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7053         * Makeconfig (after-link): New variable.
7054         (+link-pie, +link-pie-tests): Use it.
7055         (+link-static, +link-static-tests): Likewise.
7056         (+link, +link-tests): Likewise.
7057         * Makerules (build-module, build-module-asneeded): Likewise.
7058         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7059         Likewise.
7060         * elf/Makefile ($(objpfx)ld.so): Likewise.
7062 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7064         [BZ #17965]
7065         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7066         both struct timeval and struct timespec.
7068 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7070         [BZ #16560]
7071         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7072         and redefine.
7073         (__ieee754_exp2l): Do not multiply small fractional parts by
7074         M_LN2l.
7075         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7076         small argument.
7077         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7078         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7079         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7080         * math/auto-libm-test-in: Add more tests of exp2.
7081         * math/auto-libm-test-out: Regenerated.
7083 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7085         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7086         unaligned path.
7088 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7090         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7091         little endian.
7093 2015-02-12  Andreas Schwab  <schwab@suse.de>
7095         [BZ #15790]
7096         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7097         Filter out elision flags from value returned in kind.
7098         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7099         * nptl/tst-pthread-mutexattr.c: New file.
7101 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7103         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7104         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7105         into gnu-gnu, and update comment to refer to abi-tags.
7107 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7109         [BZ #15467]
7110         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7111         (__sincos): Set errno to EDOM for infinite argument.
7112         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7113         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7114         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7115         (__sincosl): Set errno to EDOM for infinite argument.
7116         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7117         (__sincosl): Set errno to EDOM for infinite argument.
7118         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7119         (__sincosl): Set errno to EDOM for infinite argument.
7120         * math/libm-test.inc (sincos_test_data): Test errno setting.
7122 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7124         * string/strxfrm_l.c: Remove #define STRCMP.
7125         * string/strcoll_l.c: Remove #define STRLEN.
7126         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7127         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7129 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7131         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7132         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7133         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7134         * sysdeps/mips/mips64/Makefile: ... here.
7135         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7136         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7137         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7138         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7139         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7140         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7141         * sysdeps/mips/mips64/n64/Implies: Likewise.
7143 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7145         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7146         <sys/time.h>, <string.h>, and <errno.h>.
7147         (dest_offset, dest_address, value, zero): Remove unused variables.
7148         (ldouble): Remove typedef.
7149         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7150         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7151         1).  Fix code style.
7152         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7153         (check): Function removed.
7154         (CHECK): New macro.
7155         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7156         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7157         Don't call set_sigaction_FP and remove_sigaction_FP here.
7158         (ldouble_test): Just use 'long double' as macro argument, no need for
7159         the 'ldouble' typedef.
7160         (do_test): Set up SIGFPE handler at start, using plain signal rather
7161         than sigaction.  Fix code style.
7163 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7165         [BZ #17949]
7166         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7167         jump label.
7169 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7171         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7172         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7174         * sysdeps/powerpc/configure.ac: Remove file.
7175         * sysdeps/powerpc/configure: Likewise.
7177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7178         [sysdep_routines]: Remove wordcopy-power6 object.
7179         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7180         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7182         (__memmove_ppc32): Likewise.
7183         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7184         file.
7185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7187         Remove preprocessor.
7189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7190         [sysdep_routines]: Remove wide chars objects.
7191         [wcsmbs]: New rule for wide char objects.
7193         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7194         Remove wordcopy-power6 obejct.
7195         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7196         Use local call for wordcopy and memcpy symbols.
7197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7198         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7199         implementation for loader.
7200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7202         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7203         Remove wordcopy-power7 object.
7204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7206         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7207         (_wordcopy_fwd_dest_aligned): Likewise.
7208         (_wordcopy_bwd_aligned): Likewise.
7209         (_wordcopy_bwd_dest_aligned): Likewise.
7211         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7212         Rewrite to call __memmove_ppc instead of include default
7213         implementation.
7215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7216         Remove wide chars objects.
7217         [wcsmbs]: New rule for wide char objects.
7219 2015-02-09  Andreas Schwab  <schwab@suse.de>
7221         [BZ #17912]
7222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7223         in terms of __O_DIRECTORY.
7225 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7227         * time/getdate.c: Include <stdbool.h>.
7228         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7229         call PTR_MANGLE.
7230         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7231         PTR_DEMANGLE.
7233 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7235         Add ersatz _Static_assert on older C hosts
7236         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7237         pre-C11 C platform that is not known to support _Static_assert.
7239 2015-02-07  Richard Braun  <rbraun@sceen.net>
7241         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7242         sigstate.
7243         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7245 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7247         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7248         priority against unexistent AIO_PRIO_DELTA_MAX.
7249         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7250         instead of int.
7251         * misc/fchflags.c (fchflags): Likewise.
7252         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7253         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7254         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7255         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7256         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7257         Declare macros.
7258         [__USE_MISC] (chflags, fchflags): Declare functions.
7259         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7260         EINVAL when nfds is greater than FD_SETSIZE.
7261         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7262         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7263         45.
7264         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7265         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7266         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7267         MACH_RCV_TIMED_OUT.
7268         * hurd/hurd/signal.h (_hurd_self_sigstate,
7269         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7270         Explicit casts from void *.
7271         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7272         * abi-tags: Rename gnu-gnu os into gnu.
7274         [BZ #4719]
7275         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7276         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7277         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7278         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7279         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7280         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7282         [BZ #17944]
7283         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7284         duplicates ADDR->sun_path with sockaddr LEN limitation.
7285         * sysdeps/mach/hurd/connect.c: Include <string.h>
7286         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7287         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7288         * sysdeps/mach/hurd/sendto.c: Likewise.
7289         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7290         implementing it by hand.
7292 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7294         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7295         Use sfi_breg on ldr.
7296         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7297         Likewise.
7299         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7300         it's defined.
7301         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7302         Test SIGSETXID only if it's defined.
7304         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7306         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7307         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7309         * nptl/tst-align2.c: Moved ...
7310         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7311         * nptl/Makefile (tests): Remove tst-align2.
7312         * sysdeps/unix/sysv/linux/Makefile
7313         [$(subdir) = nptl] (tests): Add tst-align-clone.
7314         * nptl/tst-getpid1.c: Moved ...
7315         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7316         * nptl/tst-getpid2.c: Moved ...
7317         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7318         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7319         * sysdeps/unix/sysv/linux/Makefile
7320         [$(subdir) = nptl] (tests): ... here.
7321         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7322         * sysdeps/unix/sysv/linux/Makefile
7323         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7325         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7326         Drop trailing \n from perror argument.  Use return rather than exit.
7328         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7329         on [SA_SIGINFO].
7330         * nptl/tst-cancel21.c (do_test): Likewise.
7331         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7332         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7333         [!SA_SIGINFO]: Make it a stub test.
7335         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7336         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7338         * posix/tst-getlogin.c: Move to ...
7339         * login/tst-getlogin.c: ... here.
7340         * posix/Makefile (tests): Move tst-getlogin to ...
7341         * login/Makefile (tests): ... here.
7343         * libio/tst-atime.c (do_test): Move local variables SV and E
7344         inside [ST_NOATIME] conditional.
7346         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7348         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7350         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7351         (wait_code): New function replaces macro.
7352         Call nanosleep rather than syscall.
7354         * nptl/pt-system.c: Rewritten.  Put everything under
7355         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7356         Use IFUNC to redirect when possible.
7358         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7359         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7360         Use IFUNC to redirect when possible.
7362         * nptl/pt-fork.c: Rewritten.  Put everything under
7363         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7364         Use IFUNC to redirect when possible.
7365         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7367         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7368         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7369         unconditionally nowadays.  This included the only reference to
7370         __vdso_clock_gettime that appears outside libc proper.
7371         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7372         Remove version set (containing only __vdso_clock_gettime).
7373         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7374         Add attribute_hidden.
7375         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7376         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7377         libc_hidden_data_def.
7378         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7379         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7381         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7382         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7383         setrpcent, and getrpcport to ...
7384         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7385         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7386         getrpcbynumber_r, and getrpcent_r to ...
7387         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7388         * inet/getrpcbyname.c: Moved ...
7389         * sunrpc/getrpcbyname.c: ... here.
7390         * inet/getrpcbyname_r.c: Moved ...
7391         * sunrpc/getrpcbyname_r.c: ... here.
7392         * inet/getrpcbynumber.c: Moved ...
7393         * sunrpc/getrpcbynumber.c: ... here.
7394         * inet/getrpcbynumber_r.c: Moved ...
7395         * sunrpc/getrpcbynumber_r.c: ... here.
7396         * inet/getrpcent.c: Moved ...
7397         * sunrpc/getrpcent.c: ... here.
7398         * inet/getrpcent_r.c: Moved ...
7399         * sunrpc/getrpcent_r.c: ... here.
7400         * inet/Makefile (routines): Move those to ...
7401         * sunrpc/Makefile (routines): ... here.
7402         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7403         the $(subdirs) list.
7404         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7405         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7406         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7407         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7409         * elf/Makefile (routines): Include $(all-dl-routines), not just
7410         $(dl-routines).
7411         (rtld-routines): Likewise.  Use = rather than :=.
7412         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7413         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7414         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7415         * sysdeps/arm/Makefile: Likewise.
7416         * sysdeps/i386/Makefile: Likewise.
7417         * sysdeps/x86_64/Makefile: Likewise.
7418         * sysdeps/hppa/Makefile [$(subdir) = elf]
7419         (sysdep_routines, sysdep-rtld-routines): Don't add
7420         $(sysdep-dl-routines) to these.
7421         * sysdeps/ia64/Makefile: Likewise.
7422         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7423         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7424         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7425         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7426         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7427         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7428         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7429         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7430         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7431         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7432         these; sysdep-dl-routines alone is enough.
7434 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7436         [BZ #17932]
7437         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7438         where multiplication results in zero and third argument is finite
7439         and nonzero.
7440         * math/auto-libm-test-in: Add more tests of fma.
7441         * math/auto-libm-test-out: Regenerated.
7443         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7444         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7445         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7446         (_FP_CMP_EQ): Likewise.
7447         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7449         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7450         extra argument CHECK_NAN.  Redefine as wrapper around
7451         _FP_EXTEND_CNAN.
7453 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7455         * version.h (RELEASE): Set to "stable".
7456         (VERSION): Set to "2.21"
7457         * include/features.h (__GLIBC_MINOR__): Set to 21.
7459         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7461 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7462             Paul Eggert  <eggert@cs.ucla.edu>
7464         [BZ #16618]
7465         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7466         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7467         size in bytes. Store needed elements in wpmax. Use needed size
7468         in bytes for extend_alloca.
7470 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7472         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7473         binutls 2.25, and texinfo 5.2.
7474         * INSTALL: Regenerate.
7475         * sysdeps/nios2/configure: Regenerate.
7476         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7477         * manual/contrib.texi: Update.
7478         * po/be.po: Update.
7479         * po/bg.po: Update.
7480         * po/ca.po: Update.
7481         * po/cs.po: Update.
7482         * po/da.po: Update.
7483         * po/de.po: Update.
7484         * po/el.po: Update.
7485         * po/eo.po: Update.
7486         * po/es.po: Update.
7487         * po/fi.po: Update.
7488         * po/fr.po: Update.
7489         * po/gl.po: Update.
7490         * po/hr.po: Update.
7491         * po/hu.po: Update.
7492         * po/ia.po: Update.
7493         * po/id.po: Update.
7494         * po/it.po: Update.
7495         * po/ja.po: Update.
7496         * po/ko.po: Update.
7497         * po/lt.po: Update.
7498         * po/nb.po: Update.
7499         * po/nl.po: Update.
7500         * po/pl.po: Update.
7501         * po/pt_BR.po: Update.
7502         * po/ru.po: Update.
7503         * po/rw.po: Update.
7504         * po/sk.po: Update.
7505         * po/sl.po: Update.
7506         * po/sv.po: Update.
7507         * po/tr.po: Update.
7508         * po/uk.po: Update.
7509         * po/vi.po: Update.
7510         * po/zh_CN.po: Update.
7511         * po/zh_TW.po: Update.
7513         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7514         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7515         * sysdeps/hppa/dl-irel.h: Remove #warning.
7516         * sysdeps/hppa/entry.h: Provide prototype for
7517         __canonicalize_funcptr_for_compare and cast argument.
7518         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7519         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7520         * sysdeps/hppa/sotruss-lib.c: New file.
7521         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7522         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7523         (atomic_compare_and_exchange_bool_acq): Likewise.
7524         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7525         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7527         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7528         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7529         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7531 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7533         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7534         called function in non-PIC case.
7536 2015-01-31  David S. Miller  <davem@davemloft.net>
7538         * sysdeps/sparc/sparc32/bits/atomic.h
7539         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7540         unlock not after it.
7541         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7542         volatile register usage warnings from the compiler.
7544         * sysdeps/sparc/nptl/sem_init.c: Delete.
7545         * sysdeps/sparc/nptl/sem_post.c: Delete.
7546         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7547         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7548         * sysdeps/sparc/sparc32/sem_init.c: New file.
7549         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7550         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7551         padding explicitly initialized.
7552         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7553         padding for in-semaphore spinlock.
7554         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7555         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7556         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7557         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7558         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7559         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7560         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7561         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7562         version.
7563         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7564         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7566 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7568         [BZ #17801]
7569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7570         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7571         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7572         New.
7573         (index_AVX_Fast_Unaligned_Load): Likewise.
7574         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7575         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7576         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7577         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7578         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7579         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7580         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7581         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7582         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7584 2015-01-29  Andreas Schwab  <schwab@suse.de>
7586         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7588 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7590         [BZ #17892]
7591         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7593 2015-01-28  Martin Sebor  <msebor@redhat.com>
7595         * math/README.libm-test: Clarify. Add "How to read the test output."
7597 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7599         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7600         Define to 0.
7602 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7604         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7605         (__HAVE_64B_ATOMICS): Define to 0.
7607 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7609         [BZ #17885]
7610         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7611         value to set as new flag.
7613         [BZ #16576]
7614         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7615         and use _ARCH_PPCSQ instead.
7616         (__ieee754_sqrt): Likewise.
7617         (__ieee754_sqrtf): Likewise.
7618         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7619         _ARCH_PPCSQ is defined.
7620         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7621         fsqrt instruction.
7622         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7623         _ARCH_PPCSQ is defined.
7624         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7625         fsqrts instruction.
7626         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7628 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7630         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7631         bug (GCC BZ #64739).
7633 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7635         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7636         Mark _retval as used.
7637         (lll_futex_wake_unlock): Likewise.
7638         (lll_futex_timed_wait_requeue_pi): Likewise.
7640         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7641         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7642         register variables.
7644         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7645         libm_hidden_def.
7647         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7648         (__bswap_64): Mark as __always_inline.
7650 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7652         [BZ #15378]
7653         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7654         when none of the search directories exist.
7656 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7658         [BZ #17869]
7659         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7660         power8 in .machine directive.
7662         [BZ #17868]
7663         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7664         set dependency from opd value.
7666 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7669         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7670         architecture.
7672 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7674         [BZ #17870]
7675         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7676         with uint64_t.
7677         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7678         (uint64_t) 1.
7679         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7680         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7681         Replace 1UL with (uint64_t) 1.
7682         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7683         int with uint64_t.
7685 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7687         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7688         (if_freenameindex): Likewise.
7690         * resource/getrlimit64.c: Add missing libc_hidden_def.
7692 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7694         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7695         __label__.
7696         (_FP_FMA): Likewise.
7697         (_FP_TO_INT_ROUND): Likewise.
7698         (_FP_FROM_INT): Likewise.
7700 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7702         [BZ #16418]
7703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7704         Make code racy and cancel safe.
7706 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7708         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7709         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7710         attribution.
7712         * pwd/tst-getpw.c: Rewrite.
7714         [BZ #17702]
7715         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7716         (modules-names): Add moddummy1 and moddummy2.
7717         ($(objpfx)tst-rec-dlopen): Define.
7718         * dlfcn/moddummy1.c: New file.
7719         * dlfcn/moddummy2.c: New file.
7720         * dlfcn/tst-rec-dlopen.c: New file.
7721         * elf/dl-cache.c (_dl_load_cache_lookup):
7722         Return char*. Copy result with alloca/strcpy/strdup.
7723         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7724         returns char*. Free cached. If not saving realname
7725         free cached.
7726         * elf/dl-open.c (dl_open_worker): Do not assert that
7727         _r_debug->r_state is RT_CONSISTENT.
7728         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7729         returns char*.
7731 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7732             Carlos O'Donell  <carlos@redhat.com>
7734         [BZ #12674]
7735         * nptl/sem_waitcommon.c: New file.
7736         * nptl/sem_wait.c: Include sem_waitcommon.c.
7737         (__sem_wait_cleanup, do_futex_wait): Remove.
7738         (__new_sem_wait): Adapt.
7739         (__new_sem_trywait): New function.
7740         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7741         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7742         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7743         (sem_timedwait): Adapt.
7744         * nptl/sem_post.c (__new_sem_post): Adapt.
7745         (futex_wake): New function.
7746         (__old_sem_post): Add release MO fence.
7747         * nptl/sem_open.c (sem_open): Adapt.
7748         * nptl/sem_init.c (__new_sem_init): Adapt.
7749         (futex_private_if_supported): New function.
7750         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7751         (__old_sem_getvalue): Add using previous code.
7752         * sysdeps/nptl/internaltypes.h: Adapt.
7753         * nptl/tst-sem13.c (do_test): Adapt.
7754         * nptl/tst-sem11.c (main): Adapt.
7755         * nptl/sem_trywait.c: Remove.
7756         * nptl/DESIGN-sem.txt: Remove.
7757         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7758         (gen-as-const-headers): Remove structsem.sym.
7759         * nptl/structsem.sym: Remove.
7760         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7761         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7762         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7763         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7764         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7765         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7766         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7767         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7768         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7769         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7770         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7771         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7772         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7773         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7774         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7775         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7776         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7777         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7778         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7779         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7780         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7781         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7783 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7785         * INSTALL: Regenerated.
7787         * po/libc.pot: Regenerated.
7789 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7790             Sandra Loosemore  <sandra@codesourcery.com>
7791             Andrew Jenner  <andrew@codesourcery.com>
7792             Joseph Myers  <joseph@codesourcery.com>
7793             Nathan Sidwell  <nathan@codesourcery.com>
7795         * NEWS: Mention new Nios II port.
7796         * sysdeps/nios2/Implies: New file.
7797         * sysdeps/nios2/Makefile: New file.
7798         * sysdeps/nios2/Subdirs: New file.
7799         * sysdeps/nios2/Versions: New file.
7800         * sysdeps/nios2/__longjmp.S: New file.
7801         * sysdeps/nios2/abort-instr.h: New file.
7802         * sysdeps/nios2/backtrace.c: New file.
7803         * sysdeps/nios2/bits/endian.h: New file.
7804         * sysdeps/nios2/bits/fenv.h: New file.
7805         * sysdeps/nios2/bits/link.h: New file.
7806         * sysdeps/nios2/bits/setjmp.h: New file.
7807         * sysdeps/nios2/bsd-_setjmp.S: New file.
7808         * sysdeps/nios2/bsd-setjmp.S: New file.
7809         * sysdeps/nios2/configure: New generated file.
7810         * sysdeps/nios2/configure.ac: New file.
7811         * sysdeps/nios2/crti.S: New file.
7812         * sysdeps/nios2/crtn.S: New file.
7813         * sysdeps/nios2/dl-init.c: New file.
7814         * sysdeps/nios2/dl-machine.h: New file.
7815         * sysdeps/nios2/dl-sysdep.h: New file.
7816         * sysdeps/nios2/dl-tls.h: New file.
7817         * sysdeps/nios2/dl-trampoline.S: New file.
7818         * sysdeps/nios2/gccframe.h: New file.
7819         * sysdeps/nios2/gmp-mparam.h: New file.
7820         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7821         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7822         * sysdeps/nios2/ldsodefs.h: New file.
7823         * sysdeps/nios2/libc-tls.c: New file.
7824         * sysdeps/nios2/libm-test-ulps: New file.
7825         * sysdeps/nios2/machine-gmon.h: New file.
7826         * sysdeps/nios2/math-tests.h: New file.
7827         * sysdeps/nios2/math_private.h: New file.
7828         * sysdeps/nios2/memusage.h: New file.
7829         * sysdeps/nios2/nptl/Makefile: New file.
7830         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7831         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7832         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7833         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7834         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7835         * sysdeps/nios2/nptl/tls.h: New file.
7836         * sysdeps/nios2/preconfigure: New file.
7837         * sysdeps/nios2/s_fma.c: New file.
7838         * sysdeps/nios2/s_fmaf.c: New file.
7839         * sysdeps/nios2/setjmp.S: New file.
7840         * sysdeps/nios2/sfp-machine.h: New file.
7841         * sysdeps/nios2/sotruss-lib.c: New file.
7842         * sysdeps/nios2/stackguard-macros.h: New file.
7843         * sysdeps/nios2/stackinfo.h: New file.
7844         * sysdeps/nios2/start.S: New file.
7845         * sysdeps/nios2/sysdep.h: New file.
7846         * sysdeps/nios2/tls-macros.h: New file.
7847         * sysdeps/nios2/tst-audit.h: New file.
7848         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7849         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7850         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7851         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7852         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7853         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7854         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7855         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7856         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7857         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7858         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7859         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7860         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7861         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7862         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7863         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7864         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7865         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7866         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7867         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7868         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7869         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7870         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7871         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7872         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7873         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7874         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7875         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7876         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7877         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7878         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7879         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7880         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7881         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7882         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7883         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7884         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7885         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7886         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7887         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7888         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7889         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7890         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7891         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7893 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7895         [BZ #17844]
7896         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7897         (getutent): Use weak_alias in non SHARED case
7898         and default_symbol_version in SHARED case.
7899         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7900         (getutent_r, pututline): Likewise.
7901         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7902         (getutid): Likewise.
7903         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7904         (getutid_r): Likewise.
7905         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7906         (getutline): Likewise.
7907         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7908         (getutline_r): Likewise.
7909         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7910         (updwtmp): Likewise.
7912 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7914         [BZ #17848]
7915         * sysdeps/s390/s390-32/memcmp.S
7916         (memcmp_g5): Rename to __memcmp_g5.
7917         * sysdeps/s390/s390-32/memcpy.S
7918         (memcpy_g5): Rename to __memcpy_g5.
7919         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7920         (memcpy_mvcle) Rename to __memcpy_mvcle.
7921         * sysdeps/s390/s390-32/memset.S
7922         (memset_g5): Rename to __memset_g5.
7923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7924         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7925         and use prefixed functions.
7926         * sysdeps/s390/s390-32/multiarch/memcmp.S
7927         (memcmp_z196): Rename to __memcmp_z196.
7928         (memcmp_z10): Rename to __memcmp_z10.
7929         (memcmp): Set alias to __memcmp_g5.
7930         (bcmp): Set alias to __memcmp_g5.
7931         * sysdeps/s390/s390-32/multiarch/memcpy.S
7932         (memcpy_z196): Rename to __memcpy_z196.
7933         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7934         (memcpy_z10): Rename to __memcpy_z10.
7935         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7936         (memcpy): Set alias to __memcpy_g5.
7937         * sysdeps/s390/s390-32/multiarch/memset.S
7938         (memset_z196): Rename to __memset_z196.
7939         Jump to __memset_mvcle instead of memset_mvcle.
7940         (memset_z10): Rename to __memset_z10.
7941         Jump to __memset_mvcle instead of memset_mvcle.
7942         (memset_mvcle) Rename to __memset_mvcle.
7943         (memset): Set alias to __memset_g5.
7944         * sysdeps/s390/s390-64/memcmp.S
7945         (memcmp_z900): Rename to __memcmp_z900.
7946         * sysdeps/s390/s390-64/memcpy.S
7947         (memcpy_z900): Rename to __memcpy_z900.
7948         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7949         (memcpy_mvcle) Rename to __memcpy_mvcle.
7950         * sysdeps/s390/s390-64/memset.S
7951         (memset_z900): Rename to __memset_z900.
7952         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7953         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7954         and use prefixed functions.
7955         * sysdeps/s390/s390-64/multiarch/memcmp.S
7956         (memcmp_z196): Rename to __memcmp_z196.
7957         (memcmp_z10): Rename to __memcmp_z10.
7958         (memcmp): Set alias to __memcmp_z900.
7959         (bcmp): Set alias to __memcmp_z900.
7960         * sysdeps/s390/s390-64/multiarch/memcpy.S
7961         (memcpy_z196): Rename to __memcpy_z196.
7962         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7963         (memcpy_z10): Rename to __memcpy_z10.
7964         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7965         (memcpy): Set alias to __memcpy_z900.
7966         * sysdeps/s390/s390-64/multiarch/memset.S
7967         (memset_z196): Rename to __memset_z196.
7968         Jump to __memset_mvcle instead of memset_mvcle.
7969         (memset_z10): Rename to __memset_z10.
7970         Jump to __memset_mvcle instead of memset_mvcle.
7971         (memset_mvcle) Rename to __memset_mvcle.
7972         (memset): Set alias to __memset_z900.
7974 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7976         [BZ #17748]
7977         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7978         __fesetenv instead of fesetenv.
7980 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7982         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7983         macro.
7985 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7987         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7988         regression on LE.
7990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7991         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7992         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7993         strncmp-power8 object.
7994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7995         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7996         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7997         * NEWS: Update.
7999 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8002         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8003         trailing byte check.
8005 2015-01-13  David S. Miller  <davem@davemloft.net>
8007         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8009 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8011         * login/logout.c (logout): Use memset rather than bzero.
8012         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8013         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8014         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8015         (_gethtbyaddr): Likewise.
8016         * locale/programs/simple-hash.c (bcopy): Macro removed.
8018 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8020         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8021         Add strcmp-power8 object.
8022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8023         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8024         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8025         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8026         __strcmp_power8 implementation.
8027         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8028         * NEWS: Update.
8030         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8031         Add strncpy-power8 and stpncpy-power8 objects.
8032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8033         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8034         implementations.
8035         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8036         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8037         __stpncpy_power8 implementation.
8038         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8039         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8040         __strncpy_power8 implementation.
8041         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8042         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8043         * NEWS: Update.
8045         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8046         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8047         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8049         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8050         strncat-power8 object.
8051         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8052         __strcat_power8 implementation.
8053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8054         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8055         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8056         optimized strcat for power8.
8058         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8059         strcpy-power8 and stpcpy-power8 objects.
8060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8061         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8062         implementations.
8063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8064         multiarch stpcpy implementation for POWER8.
8065         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8066         multiarch strcpy implementation for POWER8.
8067         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8068         __strcpy_power8 function.
8069         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8070         stpcpy for POWER8.
8071         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8072         strcpy for POWER8.
8073         * NEWS: Update.
8075 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8077         [BZ #16009]
8078         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8079         weights and rules. Use do_xfrm_cached if data fits in cache,
8080         do_xfrm otherwise.  Moved former main loop to...
8081         * (do_xfrm_cached): New function.
8082         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8083         find_idx, find_position and stack_push.
8084         * (find_idx): New function.
8085         * (find_position): Likewise.
8086         * localedata/sort-test.sh: Added test run for do_xfrm.
8087         * localedata/xfrm-test.c (main): Added command line option
8088         -nocache to run the test with strings that are too large for
8089         the STRXFRM cache.
8091 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8093         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8094         variable to lll_futex_wake call, not the value itself.
8096 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8098         [BZ #17803]
8099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8100         twom64.  Adjust value to 0x1p-64L.
8101         (__scalblnl): Only return standard underflowing result for K <=
8102         -64 not K <= -63; adjust exponent for underflowing result by 64
8103         not 63.
8104         * math/libm-test.inc (scalbn_test_data): Add more tests.
8105         (scalbln_test_data): Likewise.
8107         [BZ #17834]
8108         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8109         0x1p63L.
8110         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8111         not HX.
8112         * math/libm-test.inc (scalbn_test_data): Add more tests.
8113         (scalbln_test_data): Likewise.
8115 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8116             Stefani Seibold  <stefani@seibold.net>
8118         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8119         (sysdep_routines): Add dl-vdso here, ...
8120         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8121         (sysdep_routines): ... not here.
8122         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8123         fallback when vDSO is not presented.
8124         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8125         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8126         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8127         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8128         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8129         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8130         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8131         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8132         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8133         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8134         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8135         fallback configurable symbol when vDSO is not available.
8136         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8137         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8138         be able to redefine fallback symbol when vDSO is not available.
8139         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8140         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8142 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8144         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8145         (TLS_INIT_TP): Add tm_capable initialization.
8146         (TLS_DEFINE_INIT_TP): Likewise.
8147         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8148         TCB.
8149         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8150         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8151         calculation.
8152         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8153         transactoion is lock elision is built and TCB tm_capable is set.
8154         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8156         (INTERNAL_SYSCALL_NCS): Likewise.
8157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8158         (INTERNAL_SYSCALL_NCS): Likewise.
8159         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8161         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8162         for powerpc.
8163         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8164         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8165         and remove it for 32 bits case.
8166         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8168         initialization.
8169         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8170         Disable lock elision with rdlocks if elision is not available.
8172         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8173         (sysdep_routines): Add lock elision objects.
8174         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8175         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8176         [pthread_mutex_t] (__elision): Add field.
8177         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8178         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8179         elision definitions for powerpc.
8180         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8181         implementation of lock elision for powerpc.
8182         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8183         implementation of timed lock elision for powerpc.
8184         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8185         implementation of trylock with lock elision for powerpc.
8186         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8187         implementaion of unlock for lock elision for powerpc.
8188         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8189         automatic enable lock elision for mutexes.
8190         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8191         transaction execution definitions for powerpc.
8192         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8193         definitions.
8194         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8195         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8196         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8197         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8198         * NEWS: Update.
8200 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8202         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8203         for #include of <shm-directory.h>.
8205 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8207         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8208         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8210 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8212         [BZ #17791]
8213         * NEWS: Mention bug fix.
8214         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8215         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8216         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8218 2015-01-09  Torvald Riegel <triegel@redhat.com>
8220         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8222 2015-01-09  Torvald Riegel <triegel@redhat.com>
8224         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8226 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8228         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8229         pointer and cast to uintptr_t.
8231 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8233         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8234         removed.
8235         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8237 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8239         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8240         of 0.
8242 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8244         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8245         <nptl/pthreadP.h> instead.
8246         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8248         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8249         already defined.
8250         [__SIGRTMIN] (init): Function removed.
8251         [__SIGRTMIN] (initialized): Variable removed.
8252         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8253         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8254         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8255         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8256         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8257         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8258         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8259         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8260         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8261         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8262         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8263         * sysdeps/nptl/allocrtsig.c: New file.
8264         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8265         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8266         * sysdeps/generic/testrtsig.h: File removed.
8268         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8269         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8271         * nptl/nptl-init.c (pthread_functions): Conditionalize
8272         .ptr__nptl_setxid initialization on [SIGSETXID].
8274         * sysdeps/nptl/sys/procfs.h: New file.
8275         * nptl_db/Makefile (headers): Add it.
8276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8278         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8279         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8280         * nptl/pthread_attr_setaffinity.c: Include it.
8281         * nptl/pthread_setattr_default_np.c: Likewise.
8282         * nptl/check-cpuset.h: New file.
8284 2015-01-08  Richard Henderson  <rth@redhat.com>
8286         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8287         (CFLAGS-tst-execstack-prog.c): Likewise.
8288         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8290 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8291             Sandra Loosemore  <sandra@codesourcery.com>
8292             Andrew Jenner  <andrew@codesourcery.com>
8293             Joseph Myers  <joseph@codesourcery.com>
8294             Nathan Sidwell  <nathan@codesourcery.com>
8296         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8297         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8298         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8299         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8300         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8301         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8302         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8303         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8304         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8305         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8306         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8307         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8308         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8309         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8310         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8311         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8312         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8314 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8316         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8317         timespec struct member in syscall macro.
8318         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8319         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8320         first timeval struct member in syscall macro.
8321         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8323 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8325         [BZ #17748]
8326         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8327         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8328         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8329         __feupdateenv and define as weak alias of __feupdateenv.  Use
8330         libm_hidden_weak.
8331         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8332         libm_hidden_def.
8333         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8334         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8335         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8336         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8337         libm_hidden_def.
8338         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8339         __feupdateenv and define as weak alias of __feupdateenv.  Use
8340         libm_hidden_weak.
8341         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8342         libm_hidden_def.
8343         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8344         __feupdateenv and define as weak alias of __feupdateenv.  Use
8345         libm_hidden_weak.
8346         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8347         libm_hidden_def.
8348         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8349         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8350         (__feupdateenv): Likewise.
8351         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8352         __feupdateenv and define as weak alias of __feupdateenv.  Use
8353         libm_hidden_weak.
8354         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8355         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8356         libm_hidden_def.
8357         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8358         function.
8359         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8360         libm_hidden_def.
8361         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8362         __feupdateenv instead of feupdateenv.
8363         (default_libc_feupdateenv_test): Likewise.
8364         (libc_feresetround_ctx): Likewise.
8366 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8368         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8369         prototype.
8371 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8373         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8374         COLL_SYM in a couple of places to avoid uninitialized variable
8375         wanings on tilegx gcc 4.8.2.
8377 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8379         * sysdeps/aarch64/strcpy.S: New file.
8380         * sysdeps/aarch64/stpcpy.S: New file.
8381         * NEWS: Updated.
8383 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8385         * sysdeps/aarch64/strrchr.S: New file.
8386         * NEWS: Updated.
8388 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8390         [BZ #17658]
8391         * stdlib/setenv.c: Fix memory leak when setting large,
8392         duplicate string.
8394 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8396         [BZ #17273]
8397         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8398         and tabs from buffer before parsing fstab entry.
8399         * misc/tst-mntent.c (main): Add test for mount entry with
8400         trailing spaces and tabs.
8402 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #17748]
8405         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8406         * math/fesetround.c (fesetround): Rename to __fesetround and
8407         define as weak alias of __fesetround.  Use libm_hidden_weak.
8408         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8409         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8410         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8411         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8412         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8413         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8414         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8415         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8416         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8417         __fesetround_inline.
8418         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8419         __fesetround_inline instead of __fesetround.
8420         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8421         __fesetround and define as weak alias of __fesetround.  Use
8422         libm_hidden_weak.  Call __fesetround_inline instead of
8423         __fesetround.
8424         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8425         __fesetround and define as weak alias of __fesetround.  Use
8426         libm_hidden_weak.
8427         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8428         Likewise.
8429         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8430         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8431         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8432         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8433         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8434         __fesetround and define as weak alias of __fesetround.  Use
8435         libm_hidden_weak.
8436         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8437         __fesetround instead of fesetround.
8438         (default_libc_feholdexcept_setround): Likewise.
8439         (libc_feholdsetround_ctx): Likewise.
8440         (libc_feholdsetround_noex_ctx): Likewise.
8442         [BZ #17748]
8443         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8444         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8445         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8446         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8447         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8448         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8449         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8450         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8451         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8452         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8453         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8454         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8455         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8456         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8457         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8458         libm_hidden_def.
8459         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8460         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8461         Likewise.
8462         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8463         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8464         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8465         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8466         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8467         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8468         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8469         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8470         __fesetenv instead of fesetenv.
8471         (libc_feresetround_noex_ctx): Likewise.
8472         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8473         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8474         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8475         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8476         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8477         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8478         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8479         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8480         (__feupdateenv): Likewise.
8481         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8482         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8483         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8484         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8486 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8488         [BZ #17806]
8489         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8490         addresses have been freed.
8492 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8494         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8495         and nservall.
8497 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8499         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8500         Clean up check_pf allocation pattern. addresses
8502 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8504         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8505         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8506         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8507         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8508         * nptl/pthread_join.c (pthread_join): Likewise.
8509         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8510         * sysdeps/posix/waitid.c (__waitid): Likewise.
8511         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8512         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8513         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8514         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8516         Likewise.
8517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8518         (__libc_pread64): Likewise.
8519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8520         (__libc_pwrite): Likewise.
8521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8522         (__libc_pwrite64): Likewsie.
8523         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8524         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8525         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8526         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8527         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8528         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8529         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8533         (__libc_pread64): Likewise.
8534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8535         Likewise.
8536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8537         (__libc_pwrite64): Likewise.
8538         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8539         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8540         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8541         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8542         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8543         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8544         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8545         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8546         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8547         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8548         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8549         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8550         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8551         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8552         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8553         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8554         Likewise.
8556 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8558         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8559         (CFLAGS-test-double.c): Likewise.
8560         (CFLAGS-test-ldouble.c): Likewise.
8561         (CPPFLAGS-test-ifloat.c): Likewise.
8562         (CPPFLAGS-test-idouble.c): Likewise.
8563         (CPPFLAGS-test-ildoubl.c): Likewise.
8564         (CFLAGS-test-test-fenv.c): Remove variable.
8565         (CFLAGS-test-misc.c): Likewise.
8567 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8569         [BZ #17797]
8570         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8571         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8572         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8573         CLOCKS_PER_SEC == 1000000.
8574         * time/clocktest.c (main): Replace %ld with %jd and cast to
8575         intmax_t.
8577 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8579         * sysdeps/generic/unwind-resume.h: New file.
8580         * sysdeps/gnu/unwind-resume.c: Include it.
8581         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8582         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8583         argument list.
8584         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8585         global rather than static.
8586         (_Unwind_Resume): Update user.
8587         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8588         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8589         rather than static.  Add __attribute__ ((cold)).
8590         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8591         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8592         * sysdeps/arm/arm-unwind-resume.S: New file.
8593         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8594         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8595         * sysdeps/arm/Makefile [$(subdir) = csu]
8596         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8597         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8598         Add rt-arm-unwind-resume.
8599         [$(subdir) = nptl]
8600         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8601         Add pt-arm-unwind-resume.
8602         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8603         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8605 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8607         [BZ #17748]
8608         * include/fenv.h (__feholdexcept): Declare.  Use
8609         libm_hidden_proto.
8610         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8611         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8612         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8613         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8614         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8615         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8617         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8618         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8619         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8620         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8621         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8622         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8623         (feholdexcept): Likewise.
8624         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8625         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8626         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8627         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8628         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8629         __feholdexcept instead of feholdexcept.
8630         (default_libc_feholdexcept_setround): Likewise.
8632 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8634         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8635         to avoid using stl/str to align destination.
8637 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8639         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8641 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8643         [BZ #17796]
8644         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8645         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8646         Define as weak alias not strong alias.
8648 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8650         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8651         bltzal with addiupc.
8652         (RTLD_START): Ditto.
8654 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8656         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8657         for __vdso_* functions in declarations.
8658         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8659         definitions.
8660         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8661         INTERNAL_VSYSCALL): Use struct return types to check for error.
8663         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8664         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8665         function with cast from llround().
8666         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8667         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8668         Define.
8670 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8672         [BZ #17793]
8673         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8674         Define as weak alias not strong alias.
8676         [BZ #17635]
8677         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8678         ...
8679         * ctype/ctype-extn.c: ... here.
8680         (__isblank_l): Move to ...
8681         * ctype/ctype-c99_l.c: ... here.  New file.
8682         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8683         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8684         Remove variable.
8685         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8686         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8687         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8688         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8689         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8691         [BZ #17777]
8692         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8693         (posix_fadvise64): Define as weak alias not strong alias.
8694         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8695         (posix_fallocate64): Likewise.
8696         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8697         Remove variable.
8698         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8699         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8700         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8701         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8702         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8704 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8706         [BZ #16191]
8707         * NEWS: Mention bug fix.
8708         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8709         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8710         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8711         (HOST_STACK_END_ADDR): Likewise.
8713 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8715         [BZ #17748]
8716         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8717         * math/fegetround.c (fegetround): Rename to __fegetround and
8718         define as weak alias of __fegetround.  Use libm_hidden_weak.
8719         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8720         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8721         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8722         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8723         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8724         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8725         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8726         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8727         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8728         Undefine after rather than before function definition; use
8729         parentheses around function name in definition.
8730         (__fegetround): Also undefine macro after function definition.
8731         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8732         __fegetround and define as weak alias of __fegetround.  Use
8733         libm_hidden_weak.  Do not undefine as macro.
8734         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8735         Likewise.
8736         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8737         __fegetround and define as weak alias of __fegetround.  Use
8738         libm_hidden_weak.
8739         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8740         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8741         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8742         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8743         __fegetround and define as weak alias of __fegetround.  Use
8744         libm_hidden_weak.
8745         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8746         __fegetround instead of fegetround.
8748         [BZ #17782]
8749         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8750         Condition macro definition on [__USE_MISC].
8752         [BZ #17781]
8753         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8754         (struct sigaction): Change type of sa_flags field to int.
8756         [BZ #17780]
8757         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8758         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8759         __glibc_reserved0.
8761         * nptl/version.c (banner): Use single year in copyright notice.
8763         * NEWS: Update copyright dates.
8764         * catgets/gencat.c (print_version): Likewise.
8765         * csu/version.c (banner): Likewise.
8766         * debug/catchsegv.sh: Likewise.
8767         * debug/pcprofiledump.c (print_version): Likewise.
8768         * debug/xtrace.sh (do_version): Likewise.
8769         * elf/ldconfig.c (print_version): Likewise.
8770         * elf/ldd.bash.in: Likewise.
8771         * elf/pldd.c (print_version): Likewise.
8772         * elf/sotruss.sh: Likewise.
8773         * elf/sprof.c (print_version): Likewise.
8774         * iconv/iconv_prog.c (print_version): Likewise.
8775         * iconv/iconvconfig.c (print_version): Likewise.
8776         * locale/programs/locale.c (print_version): Likewise.
8777         * locale/programs/localedef.c (print_version): Likewise.
8778         * login/programs/pt_chown.c (print_version): Likewise.
8779         * malloc/memusage.sh (do_version): Likewise.
8780         * malloc/memusagestat.c (print_version): Likewise.
8781         * malloc/mtrace.pl: Likewise.
8782         * manual/libc.texinfo: Likewise.
8783         * nptl/version.c (banner): Likewise.
8784         * nscd/nscd.c (print_version): Likewise.
8785         * nss/getent.c (print_version): Likewise.
8786         * nss/makedb.c (print_version): Likewise.
8787         * posix/getconf.c (main): Likewise.
8788         * scripts/test-installation.pl: Likewise.
8789         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8791 2015-01-02  Will Newton  <will.newton@linaro.org>
8793         * sysdeps/arm/armv7/configure: Removed.
8794         * sysdeps/arm/armv7/configure.ac: Likewise.
8796 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8798         * All files with FSF copyright notices: Update copyright dates
8799         using scripts/update-copyrights.
8800         * intl/plural.c: Regenerated.
8801         * locale/programs/charmap-kw.h: Likewise.
8802         * locale/programs/locfile-kw.h: Likewise.
8804 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8806         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8808 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8810         [BZ #17748]
8811         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8812         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8813         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8814         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8815         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8816         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8817         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8818         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8819         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8820         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8821         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8822         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8823         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8824         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8825         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8826         libm_hidden_def.
8827         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8828         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8829         Likewise.
8830         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8831         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8832         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8833         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8834         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8835         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8836         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8837         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8838         __fegetenv instead of fegetenv.
8839         (libc_feholdsetround_noex_ctx): Likewise.
8841 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8843         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8844         (Elf_MIPS_ABIFlags_v0): New structure.
8845         (EF_MIPS_FP64): Define.
8846         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8847         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8848         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8849         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8850         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8851         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8852         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8853         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8854         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8855         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8856         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8857         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8858         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8859         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8860         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8861         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8862         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8863         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8864         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8865         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8866         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8867         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8868         field.
8869         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8870         EF_MIPS_FP64.
8871         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8872         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8873         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8874         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8875         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8876         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8877         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8878         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8879         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8880         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8881         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8882         record the current FP ABI extension.
8883         (mips-mode-switch): Define to show if kernel headers support mode
8884         switching.
8885         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8886         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8887         supported SYSV ABI version to 3.
8888         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8889         feature.
8891 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8892             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8894         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8895         path.
8896         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8898 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8900         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8901         __fegetround and redefine to call __fegetround.  Remove condition
8902         on [!__NO_MATH_INLINES].
8903         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8904         function.
8905         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8907         Remove macro.
8908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8909         instead of <fenv_libc.h>.
8910         (__llrintl): Call fegetround instead of __fegetround.
8911         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8912         instead of <fenv_libc.h>.
8913         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8914         (__lrintl): Call fegetround instead of __fegetround.
8915         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8916         instead of <fenv_libc.h>.
8917         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8918         (__rintl): Call fegetround instead of __fegetround.
8920 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8922         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8923         arrays.
8925 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8927         [BZ #17775]
8928         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8929         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8930         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8932 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8934         * sysdeps/i386/tls-macros.h: Include <features.h>.
8935         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8936         (TLS_IE): Likewise.
8937         (TLS_LD): Likewise.
8938         (TLS_GD): Likewise.
8939         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8940         define for GCC >= 5.0.
8942 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8944         * math/test-fenv.c (test_single_exception, set_single_exc,
8945         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8946         feexcp_mask_test, feenable_test, fe_single_test): Add
8947         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8948         case where they are not used.
8949         * math/libm-test.inc: Likewise.
8950         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8951         unused in the absence of FP rounding/exception support.
8952         * stdio-common/tst-printf-round.c: Likewise.
8953         * stdlib/tst-strtod-round.c: Likewise.
8954         * stdlib/tst-strtod-underflow.c: Likewise.
8956 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8958         [BZ #17723]
8959         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8960         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8961         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8962         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8963         libm_hidden_weak.
8964         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8965         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8966         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8967         libm_hidden_def.
8968         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8969         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8970         libm_hidden_weak.
8971         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8972         Likewise.
8973         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8974         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8975         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8976         libm_hidden_weak.
8977         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8978         libm_hidden_def.
8979         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8980         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8981         (__feraiseexcept): Likewise.
8982         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8983         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8984         libm_hidden_weak.
8985         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8986         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8987         libm_hidden_def.
8988         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8989         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8990         Use libm_hidden_def.
8991         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8992         libm_hidden_def.
8993         (feraiseexcept): Define as weak not strong alias.  Use
8994         libm_hidden_weak.
8995         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8996         New inline function.  Factored out of ...
8997         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8998         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8999         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9000         feraiseexcept.
9001         * math/w_acos.c (__acos): Likewise.
9002         * math/w_asin.c (__asin): Likewise.
9003         * math/w_ilogb.c (__ilogb): Likewise.
9004         * math/w_j0.c (y0): Likewise.
9005         * math/w_j1.c (y1): Likewise.
9006         * math/w_jn.c (yn): Likewise.
9007         * math/w_log.c (__log): Likewise.
9008         * math/w_log10.c (__log10): Likewise.
9009         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9010         * sysdeps/aarch64/fpu/math_private.h
9011         (libc_feupdateenv_test_aarch64): Likewise.
9012         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9013         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9014         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9016         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9017         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9018         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9019         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9020         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9021         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9023 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9025         [BZ #17732]
9026         * io/test-utime.c (main): Replace %ld with %jd and cast to
9027         intmax_t.
9028         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9029         * nptl/tst-mutex5.c: Include <stdint.h>.
9030         (do_test): Replace %ld with %jd and cast to intmax_t.
9031         * posix/tst-regex.c (run_test): Likewise.
9032         (run_test_backwards): Likewise.
9033         * rt/tst-clock.c: Include <stdint.h>.
9034         (clock_test): Replace %ld with %jd and cast to intmax_t.
9035         * rt/tst-cpuclock1.c: Include <stdint.h>.
9036         (do_test): Replace %lu with %ju and cast to uintmax_t.
9037         * rt/tst-cpuclock2.c: Include <stdint.h>.
9038         (do_test): Replace %lu with %ju and cast to uintmax_t.
9039         * rt/tst-mqueue1.c: Include <stdint.h>.
9040         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9041         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9042         intmax_t.
9043         * rt/tst-mqueue4.c (do_test): Likewise.
9044         * rt/tst-timer4.c: Include <stdint.h>.
9045         (check_ts): Replace %ld with %jd and cast to intmax_t.
9046         (do_test): Likewise.
9047         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9048         and cast to intmax_t.
9049         * sysdeps/pthread/tst-timer.c (main): Likewise.
9050         * time/clocktest.c (main): Likewise.
9051         * time/tst-posixtz.c (do_test): Likewise.
9052         * timezone/tst-timezone.c (main): Likewise.
9054 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9055             H.J. Lu  <hongjiu.lu@intel.com>
9057         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9058         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9059         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9060         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9061         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9062         version if bit_Fast_Unaligned_Load is set.
9063         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9064         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9065         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9066         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9067         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9068         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9070         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9071         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9072         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9073         to 4.
9074         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9075         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9076         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9077         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9079 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9081         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9082         instead of #if to avoid a Wundef warning.
9083         * stdlib/tst-limits.c (do_test): Likewise.
9085         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9086         parallel other exception macros.
9087         (fegetenv): Convert from macro to extern inline so that it applies
9088         retroactively to inline functions already seen by the compiler.
9089         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9091         * posix/Makefile (before-compile): Use $(objpfx) for
9092         posix-conf-vars-def.h.
9094 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9096         * posix/getconf.c (main): Use size_t for type of I.
9097         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9098         NSPEC.
9100         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9101         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9102         * posix/posix-envs.def: Likewise.
9103         * sysdeps/posix/sysconf.c: Likewise.
9104         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9105         (specs): Remove array.
9106         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9107         array.
9109         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9110         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9111         (__sysconf): Use CONF_IS_* macros.
9113         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9114         ($(objpfx)posix-conf-vars-def.h): New target.
9115         * posix/posix-conf-vars.list: New file.
9116         * posix/posix-conf-vars.h: New file.
9117         * posix/confstr.c: Include posix-conf-vars.h.
9118         (confstr): Use CONF_IS_* macros.
9119         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9120         CONF_IS_* macros.
9121         * scripts/gen-posix-conf-vars.awk: New file.
9123 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9125         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9126         fegetround): Add no-op macros to avoid linknamespace issues.
9128         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9129         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9131         * sysdeps/unix/sysv/linux/tile/sysdep.h
9132         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9133         assembly-specific section to avoid a redefinition warning.
9135         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9136         long before casting to pointer to avoid a cast warning.
9138 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9140         * sysdeps/tile/tilegx/Implies: New file.
9142 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9144         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9146 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9148         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9150 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9153         not define.
9154         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9155         <kernel-features.h>.
9156         (__utimes) [__NR_utimes]: Make code unconditional.
9157         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9159         (__ASSUME_UTIMES): Do not undefine.
9160         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9161         (__ASSUME_UTIMES): Likewise.
9162         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9163         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9164         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9165         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9167 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9169         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9171 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9173         [BZ #17747]
9174         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9175         alias to weak alias for j0l, y0l.
9176         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9177         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9179         [BZ #17746]
9180         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9181         conversion.
9183 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9185         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9186         to zero if not already defined.
9188 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9190         [BZ #17724]
9191         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9192         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9193         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9194         (char *) casts added.
9195         * sysdeps/ieee754/k_standardf.c: New file.
9196         * sysdeps/ieee754/k_standardl.c: Likewise.
9197         * math/Makefile (libm-support): Remove k_standard.
9198         (libm-calls): Add k_standard.
9200 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9202         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9203         Optimize to avoid an unnecessary FPCR read.
9205 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9207         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9208         Optimize to reduce FPCR/FPSR accesses.
9210 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9212         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9213         Call libc_fetestexcept_aarch64.
9215 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9217         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9218         Call libc_fesetround_aarch64.
9220 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9222         [BZ #17733]
9223         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9224         (__bind): Do not define as weak alias.
9225         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9226         define.
9227         (__getsockname): Do not define as weak alias.
9229 2014-12-22  Will Newton  <will.newton@linaro.org>
9231         * manual/install.texi: Document that we require bison 2.7
9232         or above.
9233         * INSTALL: Regenerate.
9234         * configure.ac: Use AC_CHECK_PROG_VER instead of
9235         AC_PATH_PROG when checking for bison and check for
9236         version 2.7 or above.
9237         * configure: Regenerate.
9239 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9241         [BZ #17745]
9242         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9243         * sysdeps/tile/ffsll.c (ffsll): To here.
9245         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9247 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9249         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9250         if not defined.
9251         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9252         definition.
9253         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9254         hidden ___tls_get_addr.
9255         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9256         hidden __tls_get_addr.
9257         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9258         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9259         Likewise.
9261 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9263         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9264         _dl_init call.
9266 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9268         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9269         from "call _dl_init@PLT".
9270         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9272 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9274         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9275         guarantees.
9277 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9279         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9281 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9283         [BZ #17744]
9284         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9285         strnlen.
9287 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9289         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9290         of multu on MIPSr6.
9291         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9292         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9293         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9294         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9295         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9297 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9299         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9300         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9301         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9302         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9303         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9304         mips32r6/mips64r6.
9305         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9307 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9309         * string/strncat.c (STRNCAT): Simplify implementation.
9311 2014-12-19  David S. Miller  <davem@davemloft.net>
9313         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9314         access the quad as both a long double and as a series of 4 words.
9316         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9317         link_map->l_info array access.
9319 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9321         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9323         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9324         * math/atest-exp2.c (TIMEOUT): Likewise.
9325         * math/atest-sincos.c (TIMEOUT): Likewise.
9327 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9329         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9330         -Wno-error with -fno-builtin-lround.
9332 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9334         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9335         Contains futex constants and functions moved over from ...
9336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9337         <lowlevellock-futex.h>.
9338         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9339         (lll_timedwait_tid): Add comments and parentheses around macro
9340         arguments.
9342 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9344         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9345         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9346         (__lll_private_flag): Remove.
9347         (lll_futex_wait): Likewise.
9348         (lll_futex_timed_wait): Likewise.
9349         (lll_futex_wake): Likewise.
9350         (lll_futex_requeue): Likewise.
9351         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9352         (__lll_timedwait_tid): Spell out argument names.
9353         (lll_timedwait_tid): Add comments and parentheses around macro
9354         arguments.
9355         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9356         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9358 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9360         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9361         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9362         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9363         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9364         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9365         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9366         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9367         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9368         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9374         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9375         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9376         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9377         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9378         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9380 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9382         * sysdeps/x86_64/x32/Makefile: New file.
9384 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9386         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9387         1L with (mp_limb_t) 1.
9389 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9391         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9392         * nptl/libc_pthread_init.c: ... here.
9393         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9394         * nptl/register-atfork.c: ... here.
9396         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9397         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9398         Use assert_perror to check its return value.
9399         (__gai_create_helper_thread): Likewise.
9401         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9403         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9405 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9407         [BZ #17725]
9408         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9409         __profil_counter.
9410         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9411         Likewise.
9412         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9415         Likewise.
9416         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9417         (profil_counter): Likewise.
9418         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9419         (profil_counter): Likewise.
9420         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9421         Likewise.
9422         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9423         Likewise.
9424         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9425         (profil_counter): Likewise.
9426         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9427         Likewise.
9428         [!__profil_counter] (profil_counter): Define as weak alias of
9429         __profil_counter.
9430         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9431         (profil_counter): Rename to __profil_counter.
9432         [!__profil_counter] (profil_counter): Define as weak alias of
9433         __profil_counter.
9434         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9435         (profil_counter): Rename to __profil_counter.
9436         [!__profil_counter] (profil_counter): Define as weak alias of
9437         __profil_counter.
9438         * sysdeps/posix/profil.c: Update comment referring to
9439         profil_counter.
9440         (__profil): Use __profil_counter instead of profil_counter.
9441         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9442         __profil_counter.  Use __profil_counter_ushort and
9443         __profil_counter_uint in definitions.
9444         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9445         instead of profil_counter_uint and profil_counter_ushort.
9447         [BZ #17722]
9448         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9449         define as weak alias of __inet_makeaddr.
9450         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9451         as weak alias of __inet_addr.
9452         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9453         as weak alias of __inet_pton.  Use libc_hidden_weak.
9454         * include/arpa/inet.h (__inet_pton): Declare.  Use
9455         libc_hidden_proto.
9456         (inet_makeaddr): Don't use libc_hidden_proto.
9457         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9458         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9459         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9460         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9461         Remove variable.
9462         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9463         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9465 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9467         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9469 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9471         * stdio-common/bug-vfprintf-nargs.c (do_test):
9472         Cast value to intptr_t to avoid format warning
9473         for usage with PRIdPTR printing macro.
9475 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9477         * libio/tst-widetext.c (do_test):
9478         Use format type %td instead of %Zd for ptrdiff_t
9479         in order to avoid format warning.
9481 2014-12-17  Andreas Schwab  <schwab@suse.de>
9483         * nscd/mem.c (gc): Add size_t cast to match printf format.
9485 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9487         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9488         (init): Apply PTR_MANGLE to pointers before storing them.
9489         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9490         before using them.
9492 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9494         [BZ #17719]
9495         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9496         define as weak alias of __memrchr.
9497         (__memrchr): Do not define as strong alias of memrchr.
9498         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9499         Remove variable.
9500         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9501         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9502         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9504         [BZ #17717]
9505         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9506         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9507         (if_indextoname): Rename to __if_indextoname and define as weak
9508         alias of __if_indextoname.  Use libc_hidden_weak.
9509         (if_freenameindex): Rename to __if_freenameindex and define as
9510         weak alias of __if_freenameindex.
9511         (if_nameindex): Rename to __if_nameindex and define as weak alias
9512         of __if_nameindex.
9513         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9514         __if_nametoindex and define as weak alias of __if_nametoindex.
9515         Use libc_hidden_weak.
9516         (if_freenameindex): Rename to __if_freenameindex and define as
9517         weak alias of __if_freenameindex.
9518         (if_nameindex): Rename to __if_nameindex and define as weak alias
9519         of __if_nameindex.
9520         (if_indextoname): Rename to __if_indextoname and define as weak
9521         alias of __if_indextoname.  Use libc_hidden_weak.
9522         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9523         __if_nametoindex and define as weak alias of __if_nametoindex.
9524         Use libc_hidden_weak.
9525         (if_freenameindex): Rename to __if_freenameindex and define as
9526         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9527         (if_nameindex_netlink): Use __if_freenameindex instead of
9528         if_freenameindex.
9529         (if_nameindex): Rename to __if_nameindex and define as weak alias
9530         of __if_nameindex.  Use libc_hidden_weak.
9531         (if_indextoname): Rename to __if_indextoname and define as weak
9532         alias of __if_indextoname.  Use libc_hidden_weak.
9533         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9534         libc_hidden_proto.
9535         [!_ISOMAC] (__if_freenameindex): Likewise.
9536         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9537         if_nametoindex.
9538         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9539         variable.
9540         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9541         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9542         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9543         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9544         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9545         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9546         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9548         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9549         Remove variable.
9550         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9551         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9553 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9555         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9556         subscript above bounds'
9558         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9559         bounds.
9561 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9563         * libio/tst-fopenloc.c: Use test-skeleton.c.
9565         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9566         (entry): Rename to ITEM.
9567         (do_test, comp): Adjust.
9569         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9571 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9573         * string/tester.c: Include <libc-internal.h>.
9574         (test_memset): Ignore -Wmemset-transposed-args.
9576 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9578         * misc/tst-mntent2.c (do_test): Fix warning.
9580 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9582         * elf/tst-unique4lib.cc(a): Mark as used.
9584 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9586         [BZ #17630]
9587         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9588         names.
9590 2014-12-16  Allan McRae  <allan@archlinux.org>
9592         * stdio-common/Makefile (tests): Re-add bug26.
9594 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9596         [BZ #17657]
9597         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9598         static array.
9600 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9602         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9603         (__lll_lock_wait): Likewise.
9604         (__lll_timedlock_wait): Likewise.
9605         (__lll_timedwait_tid): Likewise.
9606         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9607         (__lll_robust_timedlock_wait): Likewise.
9608         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9609         (lll_cond_trylock): Likewise.
9610         (__lll_lock): Likewise.
9611         (__lll_robust_lock): Likewise.
9612         (__lll_cond_lock): Likewise.
9613         (lll_robust_cond_lock): Likewise.
9614         (__lll_timedlock): Likewise.
9615         (__lll_robust_timedlock): Likewise.
9616         (__lll_unlock): Likewise.
9617         (__lll_robust_unlock): Likewise.
9618         (lll_wait_tid): Likewise.
9619         (lll_timedwait_tid): Likewise.
9621 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9623         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9625 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9627         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9629 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9631         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9632         * stdio-common/tst-sprintf.c: Likewise.
9634 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9636         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9638 2014-12-15  Jeff Law  <law@redhat.com>
9640         [BZ #16617]
9641         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9642         on the heap.  (CVE-2012-3406)
9643         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9644         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9645         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9647 2014-12-15  Will Newton  <will.newton@linaro.org>
9649         * manual/install.texi: Bump required version of texinfo
9650         to 4.7 from 4.5.
9651         * INSTALL: Regenerated.
9652         * configure.ac: Check for makeinfo version 4.7 and above.
9653         * configure: Regenerated.
9655 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9657         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9658         PREFIX, string constant to insert between directory and name.
9659         * sysdeps/posix/shm_open.c: Update caller.
9660         * sysdeps/posix/shm_unlink.c: Likewise.
9661         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9662         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9663         (SEM_SHM_PREFIX): New macro.
9664         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9665         [$(have-thread-library) = no].
9666         * nptl/Makefile (libpthread-routines): Add shm-directory.
9667         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9668         * sysdeps/nptl/shm-directory.h: New file.
9669         * sysdeps/posix/shm-directory.c
9670         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9671         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9672         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9673         INTERNAL_SYSCALL.
9674         (__where_is_shmfs): Function removed.
9675         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9676         Variables removed.
9677         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9678         Use SHM_GET_NAME.
9679         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9681         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9682         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9683         unconditional for use inside libpthread.
9684         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9686 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9688         * nptl/pthread_getaffinity.c: New file.
9689         * nptl/pthread_setaffinity.c: New file.
9690         * nptl/pthread_getname.c: New file.
9691         * nptl/pthread_setname.c: New file.
9693         * nptl/pthread_create.c (START_THREAD_DEFN)
9694         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9696 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9699         * resolv/res_send.c (send_vc): Disable warning resplen may
9700         be used uninitialized.
9702 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9704         * nptl/tst-mutex6.c
9705         (ATTR_NULL): New define checks ATTR against NULL.
9706         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9707         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9709 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9711         [BZ #17581]
9712         * malloc/hooks.c
9713         (mem2mem_check): Revert my previous change.
9714         (malloc_check_get_size): Revert my previous change.
9715         (mem2chunk_check): Revert my previous change.
9717 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9719         * sysdeps/posix/shm-directory.c: New file.
9720         * sysdeps/posix/shm-directory.h: New file.
9721         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9722         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9723         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9724         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9725         Transmute EPERM to EACCES.
9726         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9727         from ...
9728         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9729         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9731 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9733         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9734         pointer and cast to uintptr_t.
9735         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9736         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9737         Add cast to avoid warning.
9738         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9740 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9742         * nptl/semaphore.h: Move to ...
9743         * sysdeps/pthread/semaphore.h: ... here.
9744         * Makefile (installed-headers): Change nptl/semaphore.h to
9745         sysdeps/pthread/semaphore.h.
9747 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9749         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9750         generated error format strings.
9752         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9753         -Wformat-extra-args warnings for scanf formats.
9754         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9755         test of zero-length format (duh).
9756         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9757         corner-case scanf format test.
9758         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9759         generated fprintf format string.
9760         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9761         corner-case sprintf format tests.
9762         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9763         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9764         -Wformat-extra-args warnings throughout.
9765         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9766         (CFLAGS-scanf4.c): Likewise.
9767         (CFLAGS-scanf7.c): Likewise.
9768         (CFLAGS-tst-sprintf.c): Likewise.
9769         (CFLAGS-tst-printf.c): Likewise.
9770         (CFLAGS-tst-printfsz.c): Likewise.
9772 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9774         * include/cpio.h: New file.
9775         * include/fmtmsg.h: Likewise.
9777         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9778         corresponding format argument to size_t.
9779         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9780         arguments.
9781         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9782         corresponding format argument to size_t.
9783         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9784         arguments.
9785         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9786         corresponding format argument to size_t.
9787         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9788         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9789         (CFLAGS-tst-mbswcs2.c): Likewise.
9790         (CFLAGS-tst-mbswcs3.c): Likewise.
9791         (CFLAGS-tst-mbswcs4.c): Likewise.
9792         (CFLAGS-tst-mbswcs5.c): Likewise.
9793         (CFLAGS-tst-trans.c): Likewise
9795 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9797         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9798         rather than assuming they won't contain any '%'s.
9800 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9802         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9803         inhibit_loop_to_libcall to avoid recursive calls.
9804         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9805         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9807 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9809         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9810         prototype.
9812 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9814         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9815         integer value instead of boolean.
9817 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9819         * malloc/malloc.c: Fix powerof2 check.
9821 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9823         * locale/programs/locfile.h (maybe_swap_uint32):
9824         Remove inline and add unused attribute.
9826 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9829         Truncating assembler expression to a .long expression.
9831 2014-12-11  Andreas Schwab  <schwab@suse.de>
9833         * elf/rtld.c (struct map_args): Constify str member.
9834         (do_preload): Constify fname argument.
9836 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9839         constants definition.
9841 2014-12-11  Andreas Schwab  <schwab@suse.de>
9843         [BZ #16657]
9844         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9845         FORCE_ELISION instead of DO_ELISION.
9846         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9847         Remove.
9848         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9849         Likewise.
9851         * iconvdata/gconv-modules: Remove duplicate entry.
9853 2014-12-11  Will Newton  <will.newton@linaro.org>
9855         Merge gettext 0.19.3 into intl/.
9857         This involves a number of cosmetic changes to comments
9858         and ANSI function definitions and prototypes throughout
9859         all the files. The gettext copyright header is used but
9860         with the date ranges taken from the glibc copy.
9862         * NEWS: Add gettext merge to 2.21.
9863         * intl/bindtextdom.c: Switch to gettext copyright.
9864         Use ANSI definitions and prototypes.
9865         Use gl_* locking primitives rather than __libc_* ones.
9866         Use __builtin_expect rather than __glibc_likely/unlikely.
9867         * intl/dcgettext.c: Switch to gettext copyright.
9868         Use ANSI definitions and prototypes.
9869         * intl/dcigettext.c: Switch to gettext copyright.
9870         Use ANSI definitions and prototypes.
9871         (INTDIV0_RAISES_SIGFPE): New define.
9872         Use gl_* locking primitives rather than __libc_* ones.
9873         Include eval-plural.h instead of plural-eval.c.
9874         Use __builtin_expect rather than __glibc_likely/unlikely.
9875         * intl/dcngettext.c: Switch to gettext copyright.
9876         Use ANSI definitions and prototypes.
9877         * intl/dgettext.c: Likewise.
9878         * intl/dngettext.c: Likewise.
9879         * intl/plural-eval.c: Renamed to...
9880         * intl/eval-plural.h: ...this.
9881         * intl/explodename.c: Switch to gettext copyright.
9882         Use ANSI definitions and prototypes.
9883         (_nl_explode_name): Use strchr instead of __rawmemchr.
9884         * intl/finddomain.c: Switch to gettext copyright.
9885         Use ANSI definitions and prototypes.
9886         Use gl_* locking primitives rather than __libc_* ones.
9887         (_nl_find_domain): Use malloc rather than alloca for
9888         allocation of temporary locale name.
9889         * intl/gettext.c: Switch to gettext copyright.
9890         Use ANSI definitions and prototypes.
9891         * intl/gettextP.h: Switch to gettext copyright.
9892         Use ANSI definitions and prototypes.
9893         Use gl_* locking primitives rather than __libc_* ones.
9894         * intl/gmo.h: Switch to gettext copyright.
9895         (struct sysdep_string): Move struct segment_pair outside of
9896         struct definition.
9897         * intl/hash-string.c: Use ANSI definitions and prototypes.
9898         * intl/hash-string.h: Switch to gettext copyright.
9899         Use ANSI definitions and prototypes.
9900         * intl/l10nflist.c: Switch to gettext copyright.
9901         Use ANSI definitions and prototypes.
9902         (_nl_normalize_codeset): Avoid integer overflow.
9903         * intl/loadinfo.h: Switch to gettext copyright.
9904         Use ANSI definitions and prototypes.
9905         (LIBINTL_DLL_EXPORTED): New define.
9906         (PATH_SEPARATOR): New define.
9907         * intl/loadmsgcat.c: Switch to gettext copyright.
9908         * intl/localealias.c: Switch to gettext copyright.
9909         Use ANSI definitions and prototypes.
9910         (_nl_expand_alias): Use PATH_SEPARATOR.
9911         * intl/ngettext.c: Switch to gettext copyright.
9912         Use ANSI definitions and prototypes.
9913         * intl/plural-exp.c: Likewise.
9914         * intl/plural-exp.h: Switch to gettext copyright.
9915         Use ANSI definitions and prototypes.
9916         (struct expression): Move definition of enum operator outside
9917         of struct definition.
9918         * intl/plural.c: Regenerate.
9919         * intl/plural.y: Switch to gettext copyright.
9920         Use ANSI definitions and prototypes.
9921         Port to bison 3.0.
9922         * intl/textdomain.c: Switch to gettext copyright.
9923         Use ANSI definitions and prototypes.
9924         Use gl_* locking primitives rather than __libc_* ones.
9926 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9928         * debug/warning-nop.c: Add used atrribute.
9930 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9932         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9934         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9935         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9936         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9938 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9939             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9941         [BZ #17634]
9942         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9943         Undefine after defining function.  Define as weak alias of
9944         __wcschr.  Use libc_hidden_weak.
9945         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9946         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9947         (libc_hidden_def): Also define __GI___wcschr alias.
9948         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9949         __wcschr and define as weak alias of __wcschr.
9950         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9951         __wcschr.
9952         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9953         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9954         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9955         libc_hidden_weak.  Do not use libc_hidden_def.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9957         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9958         __GI___wcschr alias.
9959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9960         [IS_IN (libc)] (wcschr): Define as macro expanding to
9961         __redirect_wcschr.
9962         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9963         [IS_IN (libc)] (__wcschr_power6): Likewise.
9964         [IS_IN (libc)] (__wcschr_power7): Likewise.
9965         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9966         instead of wcschr.
9967         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9968         __libc_wcschr.
9969         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9970         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9971         __wcschr and define as weak alias of __wcschr.  Use
9972         libc_hidden_builtin_def.
9973         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9974         as weak alias of __wcschr.  Use libc_hidden_weak.
9975         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9976         wcschr.
9977         * time/era.c (_nl_init_era_entries): Likewise.
9978         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9979         variable.
9980         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9981         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9983 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9985         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9986         format for long int variable.
9988 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9990         [BZ #10672]
9991         * manual/search.texi: (Array Sort Function): Remove claim how to make
9992         qsort stable.
9994 2014-12-10  Andreas Schwab  <schwab@suse.de>
9996         [BZ #12847]
9997         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9998         user-controlled locks.
10000 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10002         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10003         register.
10005 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10007         * configure.ac (--disable-werror): New configure option.
10008         (enable_werror): New AC_SUBST.
10009         * configure: Regenerated.
10010         * config.make.in (enable-werror): New variable.
10011         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10012         -Wno-error=undef.
10013         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10014         * manual/install.texi (Configuring and compiling): Document
10015         --disable-werror.
10016         * INSTALL: Regenerated.
10017         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10018         (CFLAGS-tst-chk2.c): Likewise.
10019         (CFLAGS-tst-chk3.c): Likewise.
10020         (CFLAGS-tst-chk4.cc): Likewise.
10021         (CFLAGS-tst-chk5.cc): Likewise.
10022         (CFLAGS-tst-chk6.cc): Likewise.
10023         (CFLAGS-tst-lfschk1.c): Likewise.
10024         (CFLAGS-tst-lfschk2.c): Likewise.
10025         (CFLAGS-tst-lfschk3.c): Likewise.
10026         (CFLAGS-tst-lfschk4.cc): Likewise.
10027         (CFLAGS-tst-lfschk5.cc): Likewise.
10028         (CFLAGS-tst-lfschk6.cc): Likewise.
10030         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10031         (main): Disable -Wdeprecated-declarations around calls to
10032         register_printf_function.
10034         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10035         (do_test): Disable -Wdiv-by-zero around some calls to
10036         fwrite_unlocked and fread_unlocked.
10038         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10039         (DIAG_POP_NEEDS_COMMENT): Likewise.
10040         (_DIAG_STR1): Likewise.
10041         (_DIAG_STR): Likewise.
10042         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10043         * stdio-common/bug21.c: Include <libc-internal.h>.
10044         (do_test): Disable -Wformat around call to sscanf.
10045         * stdio-common/scanf14.c: Include <libc-internal.h>.
10046         (main): Disable -Wformat around some calls to scanf functions.
10048 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10050         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10052 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10054         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10055         stack variable alignment.
10057 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10059         [BZ #17682]
10060         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10061         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10062         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10063         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10064         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10065         __getrlimit instead of getrlimit.
10066         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10067         __gettimeofday instead of gettimeofday.
10068         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10069         Likewise.
10070         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10071         Likewise.
10072         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10073         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10074         Remove variable.
10075         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10076         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10078 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10080         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10081         for wide-character tests.
10083 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10085         * io/openat64.c: #include <libc-internal.h>
10086         (__openat64): Prototypify.  Use ignore_value on MODE.
10087         * io/openat.c: Likewise.
10088         * misc/reboot.c: #include <libc-internal.h>
10089         (reboot): Prototypify.  Use ignore_value on HOWTO.
10090         * misc/ptrace.c: #include <libc-internal.h>
10091         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10093 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10095         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10096         XPG4, UNIX98 and XOPEN2K.
10097         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10098         Remove variable.
10099         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10101 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10103         * libio/fileops.c: Use ISO C style for function definitions.
10104         * libio/iofopen.c: Likewise.
10105         * libio/wfileops.c: Likewise.
10107         [BZ #17653]
10108         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10109         offset on EOF.
10110         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10111         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10112         (fgets_func): Function pointer to fgets and fgetws.
10113         (do_ftell_test): Add test to verify ftell value after read
10114         EOF.
10115         (do_test): Set fgets_func.
10117         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10118         O_TRUNC flag for w and w+ modes.
10119         (do_rewind_test): Likewise.
10120         (do_ftell_test): Likewise.
10121         (do_write_test): Likewise.
10123         [BZ #17647]
10124         * libio/fileops.c (do_ftell): Seek only when there are
10125         unflushed writes.
10126         * libio/wfileops.c (do_ftell_wide): Likewise.
10127         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10128         test case.
10129         (do_one_test): Call it.
10131 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10133         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10134         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10135         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10136         Remove variable.
10137         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10138         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10139         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10141 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10143         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10144         Remove variable.
10145         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10147         [BZ #17668]
10148         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10149         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10150         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10151         __freeifaddrs.  Use libc_hidden_weak.
10152         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10153         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10154         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10155         __freeifaddrs.  Use libc_hidden_weak.
10156         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10157         __getifaddrs and define as weak alias of __getifaddrs.  Use
10158         libc_hidden_weak.
10159         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10160         __freeifaddrs.  Use libc_hidden_weak.
10161         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10162         Remove variable.
10163         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10164         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10166 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10168         [BZ #17601]
10169         * sysdeps/mips/start.S (__start): Use indirect jump to call
10170         __libc_start_main.
10172 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10174         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10176         * nptl/tst-mutex1.c: Include <stdbool.h>.
10177         [!ATTR] (ATTR_NULL): New macro.
10178         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10179         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10180         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10182         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10183         to char *.
10185         [BZ #17665]
10186         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10187         Change conditional to [__USE_MISC].
10189         [BZ #17664]
10190         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10191         fgets_unlocked.
10192         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10193         __fgets_unlocked.
10194         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10195         fgets_unlocked.
10196         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10197         Remove variable.
10198         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10199         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10200         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10201         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10202         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10203         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10204         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10205         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10206         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10208         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10210 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10212         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10213         Remove strpbrk objects.
10214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10215         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10216         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10218         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10219         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10222         Remove strcspn objects.
10223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10224         (__libc_ifunc_impl_list): Remove strcspn implementation.
10225         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10226         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10227         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10228         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10230         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10231         Remove strspn objetcs.
10232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10233         (__libc_ifunc_impl_list): Remove strspn implementation.
10234         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10235         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10236         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10237         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10239 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10241         [BZ #17581]
10242         * malloc/hooks.c
10243         (mem2mem_check): Add a terminator to the chain of checking blocks.
10244         (malloc_check_get_size): Use it here.
10245         (mem2chunk_check): Ditto.
10247 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10249         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10250         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10252 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10254         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10256         * nptl/nptl-init.c: Include libc-internal.h.
10257         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10259         * elf/ldconfig.c (search_dir): Expand comment.
10261 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10263         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10264         variable.
10265         (linknamespace-symlist-stdlibs-tests): Likewise.
10266         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10267         instead of $(objpfx)symlist-stdlibs.
10268         (linknamespace-libs-isoc): New variable.
10269         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10270         (linknamespace-libs-ISO): New variable.
10271         (linknamespace-libs-ISO99): Likewise.
10272         (linknamespace-libs-ISO11): Likewise.
10273         (linknamespace-libs-XPG3): Likewise.
10274         (linknamespace-libs-XPG4): Likewise.
10275         (linknamespace-libs-POSIX): Likewise.
10276         (linknamespace-libs-UNIX98): Likewise.
10277         (linknamespace-libs-XOPEN2K): Likewise.
10278         (linknamespace-libs-POSIX2008): Likewise.
10279         (linknamespace-libs-XOPEN2K8): Likewise.
10280         ($(objpfx)symlist-stdlibs): Replace by
10281         $(linknamespace-symlist-stdlibs-tests).  Use
10282         $(linknamespace-libs-$*) as set of libraries.
10283         ($(linknamespace-header-tests)): Update dependencies.  Use
10284         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10285         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10286         * conform/linknamespace.pl: Remove comment about considering
10287         definitions of symbols from irrelevant libraries.
10289 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10291         [BZ #13862]
10292         * elf/dl-tls.c: Include <atomic.h>.
10293         (oom): Remove #ifdef SHARED/#endif.
10294         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10295         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10296         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10297         big enough.
10298         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10299         * nptl/Makefile (tests): Add tst-stack4.
10300         (modules-names): Add tst-stack4mod.
10301         ($(objpfx)tst-stack4): New.
10302         (tst-stack4mod.sos): Likewise.
10303         ($(objpfx)tst-stack4.out): Likewise.
10304         ($(tst-stack4mod.sos)): Likewise.
10305         (clean): Likewise.
10306         * nptl/tst-stack4.c: New file.
10307         * nptl/tst-stack4mod.c: Likewise.
10309 2014-11-27  J. Brown  <jb999@gmx.de>
10311         * sysdeps/x86/bits/string.h: Add recent CPUs.
10313 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10315         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10316         sigblock.
10318         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10319         feof.
10321         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10322         variable.
10324 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10326         * nscd/connections.c: Include libc-internal.h because of macro
10327         usage ignore_value.
10329 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10331         * string/bits/string3.h (__warn_memset_zero_len): Don't
10332         declare for gcc newer than 5.0.
10333         (memset): Don't test for zero-length __LEN for gcc newer than
10334         5.0.
10336 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10338         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10339         size_t for %zu format.
10341         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10342         difference, not %ju.
10344 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10346         * include/libc-internal.h (ignore_value): New macro.
10347         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10348         with ignore_value.
10350         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10351         definition.
10353         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10354         pthread_cleanup_push to void *.
10356         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10357         Undefine.
10359         [BZ #16619]
10360         [BZ #16740]
10361         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10362         instead of 1L << 52.
10364         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10365         * libio/bug-rewind2.c (do_test): Likewise.
10367         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10368         * debug/test-strcpy_chk-ifunc.c: Likewise.
10369         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10370         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10371         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10372         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10373         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10374         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10375         * Rules [$(multi-arch) = no] (tests): Do not filter out
10376         $(tests-ifunc).
10377         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10378         * debug/Makefile (tests-ifunc): Remove variable.
10379         (tests): Do not add $(tests-ifunc).
10380         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10381         (tests): Do not add $(tests-ifunc).
10382         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10383         [TEST_IFUNC]: Remove conditionals.
10384         * string/test-string.h (TEST_IFUNC): Remove macro.
10385         [TEST_IFUNC]: Remove conditionals.
10387         * string/test-strchr.c [!WIDE] (L): New macro.
10388         [WIDE] (L): Likewise.
10389         (check1): Use CHAR instead of char.  Use L on string and character
10390         constants.
10392 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10394         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10395         tests.
10396         * sysdeps/powerpc/bits/atomic.h
10397         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10398         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10399         (atomic_exchange_and_add_acq): Likewise.
10400         (atomic_exchange_and_add_rel): Likewise.
10401         * sysdeps/powerpc/powerpc32/bits/atomic.h
10402         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10403         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10404         * sysdeps/powerpc/powerpc64/bits/atomic.h
10405         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10406         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10408 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10410         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10411         Change synchronization of __sched_fifo_min_prio and
10412         __sched_fifo_max_prio.
10413         * nptl/pthread_mutexattr_getprioceiling.c
10414         (pthread_mutexattr_getprioceiling): Likewise.
10415         * nptl/pthread_mutexattr_setprioceiling.c
10416         (pthread_mutexattr_setprioceiling): Likewise.
10417         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10418         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10419         Likewise.
10421 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10423         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10424         void.
10426 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10428         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10429         third argument const.
10431 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10433         fnmatch: work around GCC compiler warning bug with uninit var
10434         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10435         This works around a bug with x86-64 GCC 4.9.2 and earlier
10436         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10437         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10438         used uninitialized in this function [-Wmaybe-uninitialized]".
10440 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10442         * posix/bug-regex31.c (main): Return RES not 0.
10444 2014-11-25  Anton Blanchard <anton@samba.org>
10446         * sysdeps/powerpc/bits/atomic.h
10447         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10449 2014-11-24  Sterling Augustine  <saugustine@google.com>
10451         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10453 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10455         [BZ #17608]
10456         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10458 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10460         [BZ #17633]
10461         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10462         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10463         variable.
10464         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10465         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10467 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10469         * string/strncpy.c (strncpy): Improve performance by using memset.
10471 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10473         * string/strcpy.c (strcpy):
10474         Improve performance by using strlen and memcpy.
10476 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10478         * string/strcoll_l.c (get_next_seq): __always_inline.
10479         * string/strcoll_l.c (do_compare): __always_inline.
10481 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10483         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10484         defined.
10485         * include/mqueue.h: Likewise.
10486         * include/stdlib.h: Likewise.
10488         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10489         (get_null_defines): Adjust.
10490         * sunrpc/Makefile: Adjust comment.
10491         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10492         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10493         (CFLAGS-interp.c): Likewise.
10494         (CFLAGS-ldconfig.c): Likewise.
10495         (CPPFLAGS-.os): Likewise.
10496         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10497         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10498         * extra-modules.mk (extra-modules.mk): Likewise.
10499         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10500         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10501         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10502         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10503         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10504         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10505         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10506         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10507         * iconvdata/Makefile (CPPFLAGS): Likewise.
10508         (cpp-srcs-left): Add libof for all iconvdata routines.
10509         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10510         * include/assert.h: Likewise.
10511         * include/ctype.h: Likewise.
10512         * include/errno.h: Likewise.
10513         * include/libc-symbols.h: Likewise.
10514         * include/math.h: Likewise.
10515         * include/netdb.h: Likewise.
10516         * include/resolv.h: Likewise.
10517         * include/stdio.h: Likewise.
10518         * include/stdlib.h: Likewise.
10519         * include/string.h: Likewise.
10520         * include/sys/stat.h: Likewise.
10521         * include/wctype.h: Likewise.
10522         * intl/l10nflist.c: Likewise.
10523         * libidn/idn-stub.c: Likewise.
10524         * libio/libioP.h: Likewise.
10525         * nptl/libc_multiple_threads.c: Likewise.
10526         * nptl/pthreadP.h: Likewise.
10527         * posix/regex_internal.h: Likewise.
10528         * resolv/res_hconf.c: Likewise.
10529         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10530         * sysdeps/arm/memmove.S: Likewise.
10531         * sysdeps/arm/sysdep.h: Likewise.
10532         * sysdeps/generic/_itoa.h: Likewise.
10533         * sysdeps/generic/symbol-hacks.h: Likewise.
10534         * sysdeps/gnu/errlist.awk: Likewise.
10535         * sysdeps/gnu/errlist.c: Likewise.
10536         * sysdeps/i386/i586/memcpy.S: Likewise.
10537         * sysdeps/i386/i586/memset.S: Likewise.
10538         * sysdeps/i386/i686/memcpy.S: Likewise.
10539         * sysdeps/i386/i686/memmove.S: Likewise.
10540         * sysdeps/i386/i686/mempcpy.S: Likewise.
10541         * sysdeps/i386/i686/memset.S: Likewise.
10542         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10543         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10544         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10545         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10546         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10547         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10548         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10549         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10550         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10551         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10552         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10553         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10554         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10555         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10556         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10557         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10558         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10559         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10560         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10562         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10563         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10564         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10565         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10566         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10567         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10568         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10570         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10571         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10572         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10573         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10575         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10576         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10577         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10578         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10579         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10580         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10581         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10582         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10583         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10585         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10586         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10587         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10588         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10589         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10590         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10591         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10592         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10593         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10594         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10595         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10596         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10597         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10598         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10599         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10600         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10601         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10602         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10603         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10604         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10605         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10606         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10607         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10608         * sysdeps/posix/closedir.c: Likewise.
10609         * sysdeps/posix/opendir.c: Likewise.
10610         * sysdeps/posix/readdir.c: Likewise.
10611         * sysdeps/posix/rewinddir.c: Likewise.
10612         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10613         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10614         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10615         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10616         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10617         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10618         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10623         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10624         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10625         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10626         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10627         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10629         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10632         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10633         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10635         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10640         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10647         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10648         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10649         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10650         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10651         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10652         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10653         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10654         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10655         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10656         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10657         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10658         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10659         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10660         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10661         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10662         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10663         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10664         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10666         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10667         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10669         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10670         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10671         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10672         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10673         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10674         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10675         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10676         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10677         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10678         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10679         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10680         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10681         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10683         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10684         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10685         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10686         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10687         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10688         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10689         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10690         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10691         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10692         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10693         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10694         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10696         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10697         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10698         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10699         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10700         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10701         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10702         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10703         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10704         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10708         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10710         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10711         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10712         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10713         * sysdeps/unix/alpha/sysdep.S: Likewise.
10714         * sysdeps/unix/alpha/sysdep.h: Likewise.
10715         * sysdeps/unix/make-syscalls.sh: Likewise.
10716         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10717         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10718         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10719         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10720         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10721         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10722         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10723         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10724         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10725         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10727         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10729         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10730         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10731         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10732         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10733         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10734         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10736         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10737         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10738         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10739         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10740         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10741         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10745         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10746         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10750         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10754         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10755         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10756         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10757         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10758         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10759         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10760         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10763         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10766         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10767         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10768         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10769         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10770         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10771         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10772         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10774         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10775         * sysdeps/x86_64/memcpy.S: Likewise.
10776         * sysdeps/x86_64/memmove.c: Likewise.
10777         * sysdeps/x86_64/memset.S: Likewise.
10778         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10779         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10780         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10781         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10782         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10783         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10784         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10785         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10786         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10787         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10788         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10789         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10790         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10791         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10792         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10793         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10794         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10795         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10796         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10797         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10798         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10799         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10800         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10801         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10802         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10803         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10804         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10805         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10806         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10807         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10808         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10809         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10810         * sysdeps/x86_64/strcmp.S: Likewise.
10812         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10814         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10815         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10816         * elf/rtld-Rules: Likewise.
10817         * elf/setup-vdso.h: Likewise.
10818         * include/assert.h: Likewise.
10819         * include/bits/stdlib-float.h: Likewise.
10820         * include/errno.h: Likewise.
10821         * include/sys/stat.h: Likewise.
10822         * include/unistd.h: Likewise.
10823         * sysdeps/aarch64/setjmp.S: Likewise.
10824         * sysdeps/alpha/setjmp.S: Likewise.
10825         * sysdeps/arm/__longjmp.S: Likewise.
10826         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10827         * sysdeps/arm/setjmp.S: Likewise.
10828         * sysdeps/arm/sysdep.h: Likewise.
10829         * sysdeps/generic/_itoa.h: Likewise.
10830         * sysdeps/generic/dl-sysdep.h: Likewise.
10831         * sysdeps/generic/ldsodefs.h: Likewise.
10832         * sysdeps/i386/dl-tls.h: Likewise.
10833         * sysdeps/i386/setjmp.S: Likewise.
10834         * sysdeps/m68k/setjmp.c: Likewise.
10835         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10836         * sysdeps/mach/hurd/opendir.c: Likewise.
10837         * sysdeps/posix/getcwd.c: Likewise.
10838         * sysdeps/posix/opendir.c: Likewise.
10839         * sysdeps/posix/profil.c: Likewise.
10840         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10841         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10842         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10843         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10844         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10845         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10846         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10847         * sysdeps/s390/dl-tls.h: Likewise.
10848         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10849         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10850         * sysdeps/sh/sh3/setjmp.S: Likewise.
10851         * sysdeps/sh/sh4/setjmp.S: Likewise.
10852         * sysdeps/unix/alpha/sysdep.h: Likewise.
10853         * sysdeps/unix/arm/sysdep.S: Likewise.
10854         * sysdeps/unix/i386/sysdep.S: Likewise.
10855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10856         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10857         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10860         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10861         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10862         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10863         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10864         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10865         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10866         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10867         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10871         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10872         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10873         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10874         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10875         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10877         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10878         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10879         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10882         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10883         * sysdeps/x86_64/setjmp.S: Likewise.
10885         * include/math.h: Use IS_IN instead of IS_IN_libm.
10886         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10887         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10888         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10889         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10890         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10891         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10893         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10894         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10895         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10896         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10897         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10898         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10899         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10900         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10901         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10902         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10903         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10904         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10905         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10906         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10907         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10908         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10909         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10910         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10911         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10912         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10913         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10914         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10915         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10916         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10917         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10918         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10920         Likewise.
10921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10922         Likewise.
10923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10924         Likewise.
10925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10926         Likewise.
10927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10928         Likewise.
10929         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10930         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10931         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10932         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10933         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10934         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10940         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10941         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10942         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10943         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10944         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10945         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10946         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10947         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10948         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10949         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10950         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10953         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10955         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10957         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10958         * nptl/pthreadP.h: Likewise.
10959         * nptl_db/structs.def: Likewise.
10960         * sysdeps/arm/sysdep.h: Likewise.
10961         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10962         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10963         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10964         * sysdeps/unix/alpha/sysdep.h: Likewise.
10965         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10967         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10968         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10969         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10970         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10971         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10972         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10973         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10974         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10975         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10976         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10977         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10978         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10983         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10986         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10987         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10988         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10990         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10992         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10993         * nptl/pthreadP.h: Likewise.
10994         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10995         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10996         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10997         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10998         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10999         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11000         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11001         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11002         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11003         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11004         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11005         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11011         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11012         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11013         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11014         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11015         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11016         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11017         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11019         * dlfcn/dladdr.c: Use IS_IN.
11020         * dlfcn/dladdr1.c: Likewise.
11021         * dlfcn/dlclose.c: Likewise.
11022         * dlfcn/dlerror.c: Likewise.
11023         * dlfcn/dlinfo.c: Likewise.
11024         * dlfcn/dlmopen.c: Likewise.
11025         * dlfcn/dlopen.c: Likewise.
11026         * dlfcn/dlsym.c: Likewise.
11027         * dlfcn/dlvsym.c: Likewise.
11029         * include/ifaddrs.h: Use IS_IN.
11030         * inet/check_pf.c: Likewise.
11031         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11032         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11034         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11035         IS_IN_ldconfig.
11036         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11037         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11039         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11040         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11041         IS_IN (libc).
11043         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11045         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11046         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11047         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11048         * include/libc-symbols.h (IS_IN_LIB): New macro.
11049         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11050         * include/netdb.h: Likewise.
11051         * include/stap-probe.h: Remove all uses of IN_LIB.
11053         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11054         instead of IN_MODULE.
11055         * include/libc-symbols.h (IN_MODULE): Define using
11056         MODULE_NAME.
11057         (PASTE_NAME, PASTE_NAME1): New macros.
11058         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11059         of IN_LIB.
11060         (STAP_PROBE_ASM): Likewise.
11062 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11064         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11065         __mach_init in dlopened libc.
11067 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11069         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11070         * sysdeps/arm/preconfigure: Regenerate.
11072 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11074         * nptl/pthread_create.c (__pthread_create_2_1): Set
11075         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11076         when copying values from IATTR into PD.
11078 2014-11-21  Will Newton  <will.newton@linaro.org>
11079             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11081         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11082         Refactor inline-asm.  Also add comment.
11084         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11085         ElfW macro instead of hardcoded Elf64 types.
11086         (la_aarch64_gnu_pltenter): Likewise.
11087         * sysdeps/aarch64/dl-machine.h
11088         (elf_machine_runtime_setup): Use ElfW(Addr).
11090         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11091         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11092         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11093         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11094         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11095         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11096         (R_AARCH64_TLS_DTPMOD): This.
11097         (R_AARCH64_TLS_DTPREL64): Rename to ...
11098         (R_AARCH64_TLS_DTPREL): This.
11099         (R_AARCH64_TLS_TPREL64): Rename to ...
11100         (R_AARCH64_TLS_TPREL): This.
11101         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11102         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11103         R_AARCH64_TLS_TPREL64.
11104         (elf_machine_rela): Likewise.
11106 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11108         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11109         by setting it to 0.  64b atomics are not supported currently.
11111 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11113         [BZ #16469]
11114         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11115         search domain names.
11117 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11119         [BZ #16469]
11120         * NEWS: Update.
11121         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11122         trailing dot.
11123         * posix/tst-getaddrinfo5.c: New.
11124         * posix/Makefile (tests): Add it.
11126 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11128         [BZ #14498]
11129         * NEWS: Fixed.
11130         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11131         after parsing line but before break_if_match.
11132         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11133         if there is a protocol mismatch.
11135 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11137         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11138         because the potential race is on the user-supplied stream.
11140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11142         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11143         string literal if not passed a buffer.
11144         * manual/job.texi (ctermid): Update reasoning, note deviation
11145         from posix, suggest mtasurace when not passed a buffer, for
11146         future non-preliminary safety notes.
11148 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11150         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11151         of not passing it a buffer.
11152         Reported by Peng Haitao.
11154 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11156         * manual/Makefile ($(objpfx)stamp-summary): Require
11157         check-safety.sh to pass.
11158         * manual/check-safety.sh: Wish for verification that every
11159         @deftypefn and @deftypefun is followed by a @safety remark.
11161 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11163         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11165         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11166         PTHREAD_CANCEL_ASYNCHRONOUS.
11167         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11168         send SIGCANCEL.
11170         * nptl/default-sched.h: New file.
11171         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11172         * nptl/pthread_create.c: Include it.
11173         (__pthread_create_2_1): Use collect_default_sched instead of making
11174         Linux syscalls here directly.
11176 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11178         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11179         __pthread_once): Use C11 atomics.
11181 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11183         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11185 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11187         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11188         atomic_thread_fence_acquire, atomic_thread_fence_release,
11189         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11190         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11191         atomic_compare_exchange_weak_relaxed,
11192         atomic_compare_exchange_weak_acquire,
11193         atomic_compare_exchange_weak_release,
11194         atomic_exchange_acquire, atomic_exchange_release,
11195         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11196         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11197         atomic_fetch_and_acquire,
11198         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11200 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11202         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11203         USE_ATOMIC_COMPILER_BUILTINS): Define.
11204         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11206         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11208         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11210         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11212         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11214         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11216         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11218         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11220         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11222         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11224         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11226         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11228         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11230         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11232         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11234         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11236         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11238         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11239         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11240         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11242         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11245 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11247         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11248         the sched_priority value here.  It was already checked when the user
11249         called pthread_attr_setschedparam.
11251         * nptl/tst-bad-schedattr.c: New file.
11252         * nptl/Makefile (tests): Add it.
11254 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11255             Florian Weimer  <fweimer@redhat.com>
11256             Joseph Myers  <joseph@codesourcery.com>
11257             Adam Conrad  <adconrad@0c3.net>
11258             Andreas Schwab  <schwab@suse.de>
11259             Brooks  <bmoses@google.com>
11261         [BZ #17625]
11262         * wordexp-test.c (__dso_handle): Add prototype.
11263         (__register_atfork): Likewise.
11264         (__app_register_atfork): New function.
11265         (registered_forks): New global.
11266         (register_fork): New function.
11267         (test_case): Add 3 new tests for WRDE_CMDSUB.
11268         (main): Call __app_register_atfork.
11269         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11270         fork count is non-zero fail the test.
11271         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11272         is set.
11273         (parse_dollars): Remove check for WRDE_NOCMD.
11274         (parse_dquote): Likewise.
11276 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11278         * Makeconfig (built-modules): List non-library modules to be
11279         built.
11280         (module-cppflags): Include libc-modules.h for
11281         everything except shlib-versions.v.i.
11282         (CPPFLAGS): Use it.
11283         (before-compile): Add libc-modules.h.
11284         ($(common-objpfx)libc-modules.h,
11285         $(common-objpfx)libc-modules.stmp): New targets.
11286         (common-generated): Add libc-modules.h and libc-modules.stmp.
11287         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11288         * include/libc-symbols.h: Don't include libc-modules.h.
11289         * include/libc-modules.h: Remove file.
11290         * scripts/gen-libc-modules.awk: New script to generate
11291         libc-modules.h.
11292         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11293         Depend on libc-modules.stmp.
11295         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11297         * Makeconfig (in-module): Get value of libof set for the
11298         translation unit.
11299         (CPPFLAGS): Use $(in-module).
11300         * Makerules: Don't suffix routine names for nonlib.
11301         * include/libc-modules.h: New file.
11302         * include/libc-symbols.h: Include libc-modules.h
11303         (IS_IN): New macro to replace IS_IN_* macros.
11304         * elf/Makefile: Set libof-* for each routine.
11305         * elf/rtld-Rules: Likewise.
11306         * extra-modules.mk: Likewise.
11307         * iconv/Makefile: Likewise.
11308         * iconvdata/Makefile: Likewise.
11309         * locale/Makefile: Likewise.
11310         * malloc/Makefile: Likewise.
11311         * nss/Makefile: Likewise.
11312         * sysdeps/gnu/Makefile: Likewise.
11313         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11314         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11315         * sysdeps/s390/s390-64/Makefile: Likewise.
11316         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11317         CPPFLAGS for nscd instead of nonlib.
11319 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11321         * nptl/createthread.c: New file.
11323         * nptl/createthread.c: Moved ...
11324         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11326         * nptl/createthread.c: Add proper top-line comment.
11327         (do_clone): Folded into ...
11328         (create_thread): ... here.  Take new arguments STOPPED_START and
11329         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11330         increment __nptl_threads, do event-reporting logic, do
11331         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11332         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11333         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11334         just send SIGCANCEL.
11335         * nptl/pthread_create.c: Forward-declare create_thread before
11336         including createthread.c.
11337         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11338         declaration, and new macro START_THREAD_SELF to replace argument.
11339         Remove return statement.
11340         (report_thread_creation): New function.
11341         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11342         synchronization logic, and __nptl_nthreads increment here, around
11343         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11344         PD->parent_cancelhandling here, before create_thread.  When
11345         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11346         __deallocate_stack, and ENOMEM translation here.
11348 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11350         [BZ #17616]
11351         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11352         (mptwo): Rename to __mptwo.
11353         (__inv): Use __mptwo instead of mptwo.
11354         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11355         (mptwo): Rename to __mptwo.
11356         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11357         of mpone and __mptwo instead of mptwo.
11358         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11359         instead of mpone.
11360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11361         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11362         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11363         of mpone and __mptwo instead of mptwo.
11364         (__mpranred): Use __mpone instead of mpone.
11365         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11366         variable.
11367         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11368         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11369         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11370         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11371         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11372         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11373         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11374         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11375         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11376         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11377         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11378         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11379         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11380         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11381         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11382         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11383         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11384         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11385         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11387 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11389         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11390         replace BSD Handler xref with BSD Signal Handling.
11392 2014-11-17  Richard Henderson  <rth@redhat.com>
11394         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11395         (_FP_PACK_RAW_2): Remove.
11396         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11397         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11398         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11399         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11400         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11401         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11402         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11403         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11404         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11405         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11406         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11407         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11408         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11409         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11410         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11411         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11413 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11415         * signal/signal.h [__USE_MISC]
11416         (struct sigvec): Remove type.
11417         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11418         (sigvec): Remove declaration.
11419         * sysdeps/posix/sigvec.c: Moved ...
11420         * signal/sigvec.c: ... here, replacing old file.
11421         (struct sigvec): New type, copied from old signal.h definition.
11422         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11423         (__sigvec): Convert definition to prototype.
11424         (sigvec): Replace weak_alias with compat_symbol.
11425         * signal/Versions (libc: GLIBC_2.21): New version set.
11426         * include/signal.h: Remove __sigvec declaration.
11427         * sysdeps/unix/bsd/sigvec.c: Remove file.
11428         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11429         * manual/signal.texi (BSD Handler): Remove subsection.
11430         Move siginterrupt up to ...
11431         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11432         (Blocking in BSD): Fold subsection into its parent.
11433         * NEWS: Mention sigvec removal.
11435 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11437         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11438         (DLA_FMS): Make definition conditional only on [__FMA4__].
11439         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11440         definition.
11442         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11443         Make definition conditional only on [PROF].
11444         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11445         definition.
11446         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11447         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11449         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11450         !__GNUC__].
11451         * include/signal.h (__sigpause): Move declaration above call to
11452         libc_hidden_proto.
11453         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11454         variable.
11455         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11456         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11458 2014-11-14  David S. Miller  <davem@davemloft.net>
11460         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11461         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11463 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11465         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11466         * configure: Regenerated.
11467         * manual/install.texi (Tools for Compilation): Document a
11468         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11469         compiler verified to work.
11470         * INSTALL: Regenerated.
11472         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11473         redeclare with asm name.
11474         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11475         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11476         including <string.h>.
11477         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11479         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11480         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11481         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11483         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11485 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11487         * stdlib/strtol.c (__strtol): Use prototype definition.
11489         [BZ #17594]
11490         * stdlib/strtol.c (SYM__): New macro.
11491         (SYM__1): Likewise.
11492         (__strtol): Likewise.
11493         (strtol): Rename to __strtol and define as weak alias of
11494         __strtol.  Use libc_hidden_weak.
11496 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11498         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11499         Use numbered labels in inline assembly.
11501 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11503         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11504         Add setjmp LIBC_PROBE.
11505         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11506         Likewise.
11507         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11508         Add longjmp, longjmp_target LIBC_PROBE.
11509         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11510         Likewise.
11512 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11514         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11515         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11516         to get rid of unused variable warning.
11518 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11520         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11521         Check for unwind_backtrace ==  NULL only in SHARED case.
11522         (__backchain_backtrace): Compile only in SHARED case.
11523         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11524         Likewise.
11525         (__backchain_backtrace): Declare as static.
11527 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11529         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11530         (__libc_multiple_threads_ptr): Variable moved ...
11531         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11533 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11535         * conform/GlibcConform.pm: New file.
11536         * conform/conformtest.pl: Use GlibcConform module.
11537         * conform/linknamespace.pl: New file.
11538         * conform/list-header-symbols.pl: Likewise.
11539         * conform/Makefile (linknamespace-symlists-base): New variable.
11540         (linknamespace-symlists-tests): Likewise.
11541         (linknamespace-header-base): Likewise.
11542         (linknamespace-header-tests): Likewise.
11543         (tests-special): Add new tests.
11544         ($(linknamespace-symlists-tests)): New rule.
11545         (linknamespace-libs): New variable.
11546         ($(objpfx)symlist-stdlibs): New rule.
11547         ($(linknamespace-header-tests)): Likewise.
11548         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11549         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11550         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11551         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11552         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11553         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11554         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11555         (test-xfail-ISO/math.h/linknamespace): Likewise.
11556         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11557         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11558         (test-xfail-ISO/time.h/linknamespace): Likewise.
11559         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11560         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11561         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11562         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11563         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11564         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11565         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11566         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11567         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11568         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11569         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11570         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11571         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11572         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11573         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11574         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11575         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11576         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11577         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11578         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11579         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11580         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11581         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11582         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11583         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11584         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11585         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11586         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11587         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11588         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11589         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11590         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11591         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11592         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11593         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11594         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11595         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11596         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11597         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11598         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11599         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11600         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11601         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11602         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11603         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11604         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11605         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11606         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11607         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11608         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11609         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11610         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11611         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11612         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11613         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11614         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11615         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11616         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11617         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11618         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11619         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11620         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11621         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11622         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11623         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11624         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11625         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11626         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11627         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11628         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11629         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11630         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11631         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11632         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11633         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11634         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11635         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11636         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11637         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11638         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11639         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11640         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11641         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11642         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11643         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11644         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11645         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11646         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11647         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11648         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11649         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11650         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11651         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11652         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11653         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11654         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11655         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11656         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11657         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11658         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11659         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11660         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11661         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11662         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11663         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11664         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11665         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11666         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11667         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11668         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11669         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11670         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11671         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11672         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11673         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11674         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11675         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11676         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11677         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11678         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11679         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11680         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11681         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11682         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11683         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11684         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11685         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11686         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11687         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11688         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11689         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11690         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11691         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11692         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11693         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11694         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11695         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11696         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11697         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11698         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11699         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11700         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11701         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11702         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11703         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11704         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11705         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11706         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11708         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11710         [BZ #17589]
11711         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11712         of fgets_unlocked.
11714         [BZ #17585]
11715         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11716         (memmem): Rename to __memmem and define as weak alias of
11717         __memmem.  Use libc_hidden_weak.
11718         (__memmem): Use libc_hidden_def.
11719         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11720         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11721         memmem.
11723         [BZ #17582]
11724         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11725         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11726         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11727         and define as weak alias of __fgets_unlocked.  Use
11728         libc_hidden_weak.
11729         (__fgets_unlocked): Use libc_hidden_def.
11730         * include/stdio.h (__fgets_unlocked): Declare.  Use
11731         libc_hidden_proto.
11732         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11733         __fgets_unlocked instead of fgets_unlocked.
11734         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11735         (GET_NPROCS_CONF_PARSER): Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11737         (GET_NPROCS_CONF_PARSER): Likewise.
11739         [BZ #17574]
11740         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11741         weak alias of __wmemset.  Use libc_hidden_weak.
11742         (__wmemset): Use libc_hidden_def.
11743         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11744         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11745         of wmemset.
11747         [BZ #17573]
11748         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11749         with asm name __mempcpy.
11750         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11752         [BZ #17572]
11753         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11754         and define as weak alias of __rawmemchr.
11755         (__rawmemchr): Do not define as strong alias of rawmemchr.
11757         [BZ #17571]
11758         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11759         alias of __qsort_r.
11760         (qsort): Call __qsort_r instead of qsort_r.
11761         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11762         (__qsort_r): Declare.  Call libc_hidden_proto.
11763         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11764         instead of qsort_r.
11765         * nscd/gai.c (__qsort_r): Define to qsort_r.
11766         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11767         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11768         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11770         [BZ #17570]
11771         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11772         define as weak alias of __malloc_info.
11774         [BZ #17584]
11775         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11776         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11777         (__rewinddir): Use libc_hidden_def.
11778         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11779         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11780         (__rewinddir): Use libc_hidden_def.
11781         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11782         weak alias of __rewinddir.  Don't use libc_hidden_def.
11783         (__rewinddir): Use libc_hidden_def.
11784         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11785         (__rewinddir): Use libc_hidden_proto.
11786         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11787         rewinddir.
11788         (__getcwd): Use __rewinddir instead of rewinddir.
11790         [BZ #17583]
11791         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11792         alias of __fileno.  Use libc_hidden_weak.
11793         (__fileno): Use libc_hidden_def.
11794         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11795         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11796         alias of __ftello.
11797         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11798         __ftello.
11799         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11800         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11801         libc_hidden_def.
11802         (fread_unlocked): Don't use libc_hidden_ver.
11803         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11804         and define as weak alias of __fread_unlocked.  Don't use
11805         libc_hidden_def.
11806         (__fread_unlocked): Use libc_hidden_def.
11807         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11808         (ftello): Don't use libc_hidden_proto.
11809         (__ftello): Declare.  Use libc_hidden_proto.
11810         (fread_unlocked): Don't use libc_hidden_proto.
11811         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11812         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11813         and __ftello instead of fileno, fread_unlocked and ftello.
11815 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11817         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11818         GOT12.
11819         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11820         Likewise.
11821         (_dl_start_user): Likewise.
11822         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11824 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11825             Siddhesh Poyarekar  <siddhesh@redhat.com>
11827         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11828         Move argv and envp down instead of moving argc up.
11829         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11831 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11833         [BZ #17506]
11834         * test-skeleton.c (main): Return successful if one of
11835         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11836         * string/tst-strcoll-overflow.c: Define expected status.
11838 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11840         [BZ #17475]
11841         * locale/iso-639.def: Define Bhili and Tulu language codes.
11843 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11845         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11847 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11849         [BZ #17555]
11850         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11852 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11854         * configure.ac: Updated check of minimal required version to
11855         2.22.
11856         * manual/install.texi (Tools for Compilation): Updated version
11857         number.
11858         * configure: Regenerated.
11859         * INSTALL: Likewise.
11861 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11863         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11864         __tls_get_addr.
11866 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11868         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11869         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11870         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11871         libc_hidden_weak.
11872         (waitpid): Define as alias of __waitpid.
11873         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11874         __waitpid.
11875         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11876         libc_hidden_weak.
11877         (waitpid): Define as alias of __waitpid.
11878         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11879         __libc_waitpid alias.
11880         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11881         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11884         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11885         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11886         alias.
11887         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11888         __waitpid.
11889         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11890         libc_hidden_weak.
11891         (waitpid): Define as alias of __waitpid.
11893 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11895         * manual/llio.texi: Add comment that write safety has been
11896         fixed in Linux.
11898         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11899         (localplt-build-dso): Add elf/ld.so.
11900         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11901         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11902         and free for ld.so.
11903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11904         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11906         Likewise.
11907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11908         Likewise.
11909         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11910         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11911         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11912         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11913         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11914         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11915         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11916         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11917         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11918         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11919         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11921 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11923         [BZ #14132]
11924         * include/libc-symbols.h (INTUSE): Remove macro.
11925         (INTDEF): Likewise.
11926         (INTVARDEF): Likewise.
11927         (_INTVARDEF): Likewise.
11928         (INTDEF2): Likewise.
11929         (INTVARDEF2): Likewise.
11930         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11931         rtld_hidden_def instead of INTVARDEF.
11932         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11933         (_dl_starting_up_internal): Remove declaration.
11934         (_dl_starting_up): Use rtld_hidden_proto.
11935         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11936         declaration.
11937         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11938         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11939         _dl_starting_up.
11940         * elf/dl-writev.h (_dl_writev): Likewise.
11941         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11942         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11943         _dl_starting_up_internal.
11945 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11947         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11948         test-skeleton.c.
11950 2014-11-05  Will Newton  <will.newton@linaro.org>
11952         * benchtests/Makefile: (bench-malloc): Add malloc thread
11953         scalability benchmark.
11954         * benchtests/bench-malloc-threads.c: New file.
11956 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11958         * sysdeps/aarch64/strchrnul.S: New file.
11960 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11962         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11963         definition.
11964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11965         Likwise.
11966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11967         Likewise.
11968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11969         Likewise.
11970         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11971         Likewise.
11972         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11973         Likewise.
11975 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11977         * catgets/test-gencat.c: Use test-skeleton.c.
11978         * catgets/tst-catgets.c: Likewise.
11979         * csu/tst-empty.c: Likewise.
11980         * elf/tst-audit2.c: Likewise.
11981         * elf/tst-global1.c: Likewise.
11982         * elf/tst-pathopt.c: Likewise.
11983         * elf/tst-piemod1.c: Likewise.
11984         * elf/tst-tls10.c: Likewise.
11985         * elf/tst-tls11.c: Likewise.
11986         * elf/tst-tls12.c: Likewise.
11987         * gnulib/tst-gcc.c: Likewise.
11988         * iconvdata/tst-e2big.c: Likewise.
11989         * iconvdata/tst-loading.c: Likewise.
11990         * iconv/tst-iconv1.c: Likewise.
11991         * iconv/tst-iconv2.c: Likewise.
11992         * inet/test-inet6_opt.c: Likewise.
11993         * inet/tst-gethnm.c: Likewise.
11994         * inet/tst-network.c: Likewise.
11995         * inet/tst-ntoa.c: Likewise.
11996         * intl/tst-codeset.c: Likewise.
11997         * intl/tst-gettext2.c: Likewise.
11998         * intl/tst-gettext3.c: Likewise.
11999         * intl/tst-ngettext.c: Likewise.
12000         * intl/tst-translit.c: Likewise.
12001         * io/test-stat.c: Likewise.
12002         * libio/test-fmemopen.c: Likewise.
12003         * libio/tst-freopen.c: Likewise.
12004         * libio/tst-sscanf.c: Likewise.
12005         * libio/tst-ungetwc1.c: Likewise.
12006         * libio/tst-ungetwc2.c: Likewise.
12007         * libio/tst-widetext.c: Likewise.
12008         * localedata/tst-ctype.c: Likewise.
12009         * localedata/tst-digits.c: Likewise.
12010         * localedata/tst-leaks.c: Likewise.
12011         * localedata/tst-mbswcs1.c: Likewise.
12012         * localedata/tst-mbswcs2.c: Likewise.
12013         * localedata/tst-mbswcs3.c: Likewise.
12014         * localedata/tst-mbswcs4.c: Likewise.
12015         * localedata/tst-mbswcs5.c: Likewise.
12016         * localedata/tst-setlocale.c: Likewise.
12017         * localedata/tst-trans.c: Likewise.
12018         * localedata/tst-wctype.c: Likewise.
12019         * localedata/tst-xlocale1.c: Likewise.
12020         * login/tst-grantpt.c: Likewise.
12021         * malloc/tst-calloc.c: Likewise.
12022         * malloc/tst-malloc.c: Likewise.
12023         * malloc/tst-mallocstate.c: Likewise.
12024         * malloc/tst-mcheck.c: Likewise.
12025         * malloc/tst-mtrace.c: Likewise.
12026         * malloc/tst-obstack.c: Likewise.
12027         * math/atest-exp2.c: Likewise.
12028         * math/atest-exp.c: Likewise.
12029         * math/atest-sincos.c: Likewise.
12030         * math/test-matherr.c: Likewise.
12031         * math/test-misc.c: Likewise.
12032         * math/test-powl.c: Likewise.
12033         * math/tst-definitions.c: Likewise.
12034         * misc/tst-dirname.c: Likewise.
12035         * misc/tst-efgcvt.c: Likewise.
12036         * misc/tst-fdset.c: Likewise.
12037         * misc/tst-hsearch.c: Likewise.
12038         * misc/tst-mntent2.c: Likewise.
12039         * nptl/tst-sem7.c: Likewise.
12040         * nptl/tst-sem8.c: Likewise.
12041         * nptl/tst-sem9.c: Likewise.
12042         * nss/test-netdb.c: Likewise.
12043         * posix/tst-fnmatch.c: Likewise.
12044         * posix/tst-getlogin.c: Likewise.
12045         * posix/tst-gnuglob.c: Likewise.
12046         * posix/tst-mmap.c: Likewise.
12047         * pwd/tst-getpw.c: Likewise.
12048         * resolv/tst-inet_ntop.c: Likewise.
12049         * rt/tst-timer.c: Likewise.
12050         * stdio-common/test-fseek.c: Likewise.
12051         * stdio-common/test-popen.c: Likewise.
12052         * stdio-common/test-vfprintf.c: Likewise.
12053         * stdio-common/tst-cookie.c: Likewise.
12054         * stdio-common/tst-fileno.c: Likewise.
12055         * stdio-common/tst-gets.c: Likewise.
12056         * stdio-common/tst-obprintf.c: Likewise.
12057         * stdio-common/tst-perror.c: Likewise.
12058         * stdio-common/tst-sprintf2.c: Likewise.
12059         * stdio-common/tst-sprintf3.c: Likewise.
12060         * stdio-common/tst-sprintf.c: Likewise.
12061         * stdio-common/tst-swprintf.c: Likewise.
12062         * stdio-common/tst-tmpnam.c: Likewise.
12063         * stdio-common/tst-unbputc.c: Likewise.
12064         * stdio-common/tst-wc-printf.c: Likewise.
12065         * stdlib/tst-environ.c: Likewise.
12066         * stdlib/tst-fmtmsg.c: Likewise.
12067         * stdlib/tst-limits.c: Likewise.
12068         * stdlib/tst-rand48-2.c: Likewise.
12069         * stdlib/tst-rand48.c: Likewise.
12070         * stdlib/tst-random2.c: Likewise.
12071         * stdlib/tst-random.c: Likewise.
12072         * stdlib/tst-strtol.c: Likewise.
12073         * stdlib/tst-strtoll.c: Likewise.
12074         * stdlib/tst-tls-atexit.c: Likewise.
12075         * stdlib/tst-xpg-basename.c: Likewise.
12076         * string/test-ffs.c: Likewise.
12077         * string/tst-bswap.c: Likewise.
12078         * string/tst-inlcall.c: Likewise.
12079         * string/tst-strtok.c: Likewise.
12080         * string/tst-strxfrm.c: Likewise.
12081         * sysdeps/x86_64/tst-audit10.c: Likewise.
12082         * sysdeps/x86_64/tst-audit3.c: Likewise.
12083         * sysdeps/x86_64/tst-audit4.c: Likewise.
12084         * sysdeps/x86_64/tst-audit5.c: Likewise.
12085         * time/tst-ftime_l.c: Likewise.
12086         * time/tst-getdate.c: Likewise.
12087         * time/tst-mktime3.c: Likewise.
12088         * time/tst-mktime.c: Likewise.
12089         * time/tst-posixtz.c: Likewise.
12090         * time/tst-strptime2.c: Likewise.
12091         * time/tst-strptime3.c: Likewise.
12092         * wcsmbs/tst-btowc.c: Likewise.
12093         * wcsmbs/tst-mbrtowc.c: Likewise.
12094         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12095         * wcsmbs/tst-wchar-h.c: Likewise.
12096         * wcsmbs/tst-wcpncpy.c: Likewise.
12097         * wcsmbs/tst-wcrtomb.c: Likewise.
12098         * wcsmbs/tst-wcsnlen.c: Likewise.
12099         * wcsmbs/tst-wcstof.c: Likewise.
12101 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12103         [BZ #14132]
12104         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12105         INTDEF.
12106         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12107         declaration.
12108         (_dl_mcount): Use rtld_hidden_proto.
12109         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12110         _dl_mcount.
12111         * elf/rtld.c (_rtld_global_ro): Likewise.
12113         [BZ #14132]
12114         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12115         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12116         of _dl_init_internal.
12117         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12118         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12119         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12120         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12121         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12122         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12123         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12124         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12125         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12126         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12127         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12128         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12129         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12130         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12131         * sysdeps/tile/dl-start.S (_start): Likewise.
12132         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12133         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12135         [BZ #14132]
12136         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12137         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12138         (rtld_progname): Make macro definition unconditional.
12139         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12140         INTDEF.
12141         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12142         (dl_main): Likewise.
12143         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12144         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12145         instead of _dl_argv_internal.
12146         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12147         __GI__dl_argv instead of INTUSE(_dl_argv).
12148         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12149         __GI__dl_argv instead of _dl_argv_internal.
12151         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12152         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12153         macro.
12154         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12155         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12156         New macro.
12157         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12158         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12159         macro.
12160         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12161         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12163 2014-11-04  Andreas Schwab  <schwab@suse.de>
12165         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12167 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12169         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12170         mtvsrd instruction in binary form.
12172 2014-11-03  Andreas Schwab  <schwab@suse.de>
12174         [BZ #17522]
12175         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12176         for less than MB_LEN_MAX use a local buffer of that size.
12177         * libio/tst-fputws.c: New file.
12178         * libio/Makefile (tests): Add tst-fputws.
12180 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12182         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12183         the size of the fpu_fr.fpu_dregs[] array.
12185 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12187         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12188         (__nanosleep): Do not define as alias.
12189         (nanosleep): Define as alias of __nanosleep.
12190         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12191         __libc_nanosleep name.
12193 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12195         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12196         install.texi in comment.
12198 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12200         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12201         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12202         ... add here and use lwsync or sync ...
12203         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12204         ... and add here using lwsync.
12206 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12208         * elf/dl-machine-reject-phdr.h: New file.
12209         * elf/dl-load.c: #include that.
12210         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12211         if that returned true.
12213 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12215         [BZ #17496]
12216         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12217         gen-as-const-headers chunk.  Add a big scare comment after the last
12218         safe place to touch before-compile.
12220 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12222         * manual/install.texi (Tools for Compilation): Update autoconf
12223         version requirements.
12224         * INSTALL: Regenerated.
12226         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12227         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12228         (__libc_pselect): Likewise.
12230         [BZ #14138]
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12236 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12238         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12239         correct barrier instruction.
12240         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12241         Likewise.
12242         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12243         Likewise.
12245 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12247         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12248         after defining inlines.  Instead, just use parens to defeat macro
12249         expansion of __isctype in its declaration.
12251 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12253         * include/sys/uio.h (__libc_readv): Remove declaration.
12254         (__libc_writev): Likewise.
12255         * misc/readv.c (__libc_readv): Rename to __readv.
12256         (__readv): Do not define as alias.
12257         (readv): Define as alias of __readv.
12258         * misc/writev.c (__libc_writev): Rename to __writev.
12259         (__writev): Do not define as alias.
12260         (writev): Define as alias of __writev.
12261         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12262         (__readv): Do not define as alias.
12263         (readv): Define unconditionally as alias of __readv.
12264         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12265         (__writev): Do not define as alias.
12266         (writev): Define unconditionally as alias of __writev.
12267         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12268         name.
12269         (writev): Do not define __libc_writev name.
12271 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12273         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12274         (convert_charseq): New function, broken out of ...
12275         (use_from_charmap): ... here.  Call it.
12276         (use_to_charmap): Use convert_charseq and free instead of duplicating
12277         its code with a variable-length stack struct.
12279 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12281         * include/fcntl.h (__libc_creat): Remove declaration.
12282         * io/creat.c (__libc_creat): Rename to creat.
12283         (creat): Do not define as alias.
12284         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12285         of creat instead of __libc_creat.
12286         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12287         to creat.
12288         (creat): Do not define as alias.
12289         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12290         __libc_creat.
12291         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12292         __libc_creat name.
12293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12294         Likewise.
12296 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12298         * manual/llio.texi: Add comments discussing why write() may be
12299         considered MT-unsafe on Linux.
12301 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12303         * dl-load.c (local_strdup): Remove.
12304         (expand_dynamic_string_token): Use __strdup.
12305         (decompose_rpath): Likewise.
12306         (_dl_map_object): Likewise.
12308 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12310         [BZ #14132]
12311         * sysdeps/generic/unwind-dw2-fde.c
12312         (__register_frame_info_bases_internal): Do not declare.
12313         (__register_frame_info_table_bases_internal): Likewise.
12314         (__deregister_frame_info_bases_internal): Likewise.
12315         (__register_frame_info_bases): Declare and use hidden_proto before
12316         definition.  Use hidden_def instead of INTDEF.
12317         (__register_frame_info_table_bases): Likewise.
12318         (__deregister_frame_info_bases): Likewise.
12319         (__register_frame_info): Do not use INTUSE.
12320         (__register_frame): Likewise.
12321         (__register_frame_info_table): Likewise.
12322         (__register_frame_table): Likewise.
12323         (__deregister_frame_info): Likewise.
12324         (__deregister_frame): Likewise.
12326 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12329         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12330         not undefine.
12331         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12332         Likewise.
12333         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12334         Likewise.
12336 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12338         [BZ #14138]
12339         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12340         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12341         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12342         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12343         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12344         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12345         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12346         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12347         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12348         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12349         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12350         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12351         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12352         syscall.
12353         (setfsuid): Likewise.
12354         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12355         (setfsuid): Likewise.
12356         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12357         (setfsuid): Likewise.
12358         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12359         Likewise.
12360         (setfsuid): Likewise.
12361         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12362         (setfsuid): Likewise.
12363         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12364         Likewise.
12365         (setfsuid): Likewise.
12367 2014-10-27  Andreas Schwab  <schwab@suse.de>
12369         [BZ #17501]
12370         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12371         check for Slow_SSE4_2 feature bit.
12372         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12373         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12374         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12375         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12377 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12379         * configure.ac: Validate compiler version with a empirical test of
12380         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12381         $CC -v output.
12382         * configure: Regenerated.
12384         * inet/htons.c (htons): Prototypify.
12385         * inet/htonl.c (htonl): Likewise.
12387 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12389         * string/strncat.c (strncat): Improve performance by using strlen.
12391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12393         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12395 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12397         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12398         Call libc_fetestexcept_aarch64.
12400 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12402         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12403         Call libc_feholdexcept_aarch64.
12405 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12407         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12408         Call get_rounding_mode.
12410 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12412         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12413         Simplify logic.
12415 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12417         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12418         Simplify logic.
12420 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12422         [BZ #14138]
12423         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12424         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12425         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12426         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12427         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12428         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12429         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12430         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12431         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12432         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12433         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12434         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12435         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12436         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12437         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12438         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12439         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12440         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12441         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12442         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12443         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12444         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12445         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12446         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12447         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12448         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12449         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12450         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12451         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12452         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12453         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12454         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12455         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12456         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12457         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12458         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12459         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12460         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12461         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12462         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12463         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12464         syscall.
12465         (geteuid): Likewise.
12466         (getgid): Likewise.
12467         (getuid): Likewise.
12468         (getresgid): Likewise.
12469         (getresuid): Likewise.
12470         (getgroups): Likewise.
12471         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12472         (geteuid): Likewise.
12473         (getgid): Likewise.
12474         (getuid): Likewise.
12475         (getresgid): Likewise.
12476         (getresuid): Likewise.
12477         (getgroups): Likewise.
12478         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12479         (geteuid): Likewise.
12480         (getgid): Likewise.
12481         (getuid): Likewise.
12482         (getresgid): Likewise.
12483         (getresuid): Likewise.
12484         (getgroups): Likewise.
12485         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12486         Likewise.
12487         (geteuid): Likewise.
12488         (getgid): Likewise.
12489         (getuid): Likewise.
12490         (getresgid): Likewise.
12491         (getresuid): Likewise.
12492         (getgroups): Likewise.
12493         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12494         (geteuid): Likewise.
12495         (getgid): Likewise.
12496         (getuid): Likewise.
12497         (getresgid): Likewise.
12498         (getresuid): Likewise.
12499         (getgroups): Likewise.
12500         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12501         Likewise.
12502         (geteuid): Likewise.
12503         (getgid): Likewise.
12504         (getuid): Likewise.
12505         (getgroups): Likewise.
12507         [BZ #14138]
12508         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12509         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12510         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12511         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12512         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12513         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12514         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12515         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12516         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12517         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12518         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12519         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12520         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12521         __chown.
12522         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12523         (lchown): Likewise.
12524         (fchown): Likewise.
12525         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12526         Likewise.
12527         (lchown): Likewise.
12528         (fchown): Likewise.
12529         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12530         (lchown): Likewise.
12531         (fchown): Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12533         Likewise.
12534         (lchown): Likewise.
12535         (fchown): Likewise.
12537 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12539         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12540         Simplify logic.
12542 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12544         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12545         Cleanup logic.
12547 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12549         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12550         Remove unused include.
12552 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12554         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12555         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12556         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12557         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12559 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12560             Helge Deller <deller@gmx.de>
12562         [BZ #17508]
12563         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12564         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12565         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12567 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12569         [BZ #14132]
12570         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12571         Remove macro definition.
12572         (__ashrdi3_v_glibc20): Likewise.
12573         (__lshrdi3_v_glibc20): Likewise.
12574         (__cmpdi2_v_glibc20): Likewise.
12575         (__ucmpdi2_v_glibc20): Likewise.
12576         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12577         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12578         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12579         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12580         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12581         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12583 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12585         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12586         old GNU extension [0] syntax.
12587         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12588         alloca rather than an array member with variable length.
12589         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12590         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12591         (parse_opt): ... here.  Likewise use alloca there.
12592         Validate the -i argument before checking for rootness.
12593         (send_shutdown): New function, broken out of ...
12594         (parse_opt): ... here.
12596 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12598         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12599         macro to get at the _rt_local_ro field.
12600         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12601         ([PIC] case) or _dl_hwcap ([!PIC] case).
12602         * sysdeps/arm/setjmp.S: Likewise.
12604         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12605         * sysdeps/arm/configure.ac: New check to define it.
12606         * sysdeps/arm/configure: Regenerated.
12607         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12608         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12609         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12610         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12611         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12612         Use move/movt pair instead of a load.
12613         (LDST_GLOBAL): Macro removed.
12614         (LDR_GLOBAL): New macro replaces it.
12615         (LDR_HIDDEN): New macro.
12616         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12617         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12619         * setjmp/tst-setjmp-static.c: New file.
12620         * setjmp/Makefile (tests): Add it.
12621         (tests-static): New variable.
12623 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12625         [BZ #17485]
12626         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12628 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12630         [BZ #14132]
12631         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12633 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12635         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12637 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12639         * io/fts.c (dirent_not_directory): New function.
12640         (fts_build): Call it.
12642 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12644         * nptl/version.c (__nptl_main): Use normal __write rather than
12645         INTERNAL_SYSCALL.
12646         (banner): Update copyright years.
12648         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12649         gettimeofday.
12650         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12651         * nptl/pthread_cond_timedwait.c: Likewise.
12652         * nptl/pthread_mutex_timedlock.c: Likewise.
12653         * nptl/sem_timedwait.c: Likewise.
12655         * sysdeps/nptl/bits/libc-lock.h
12656         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12657         (__libc_lock_init_recursive): Return void, not 0.
12658         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12659         (__libc_rwlock_init): Likewise.
12660         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12662 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12664         [BZ #15215]
12665         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12666         (__pthread_once_slow): ... here.
12667         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12668         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12670 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12672         [BZ #15215]
12673         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12674         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12675         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12676         * nptl/pthread_once.c (__pthread_once): Likewise.
12677         Update comments.
12679 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #14138]
12682         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12683         name.
12684         (writev): Use __libc_writev as strong name.
12685         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12686         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12688 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12690         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12692         * sysdeps/i386/nptl/tls.h
12693         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12694         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12695         New macros.
12696         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12697         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12698         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12699         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12700         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12701         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12703         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12704         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12705         on [__NR_futex].
12706         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12707         broken out of ...
12708         (__pthread_mutex_init): ... here.  Call it.
12709         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12710         Conditionalize PI cases on [__NR_futex].
12711         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12712         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12713         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12715         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12716         conditional on [SIGSETXID].
12717         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12718         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12719         is defined.  Likewise for SIGSETXID.
12720         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12721         Conditionalize definitions on [SIGSETXID].
12722         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12723         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12724         unblocking on [SIGCANCEL].
12726         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12727         [__NR_set_robust_list].
12729 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12731         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12732         (do_compare): Likewise.
12734 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12736         [BZ #15884]
12737         * string/strcoll_l.c: Don't include stdio.h.
12738         (coll_seq): Remove members idxarr and rulearr.
12739         (get_next_seq_cached): Remove function.
12740         (get_next_seq): Likewise.
12741         (get_next_seq_nocache): Rename to get_next_seq.
12742         (do_compare): Remove function.
12743         (do_compare_nocache): Rename to do_compare.
12744         (STRCOLL): Remove weight and rules cache.
12746 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12748         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12749         * sysdeps/arm/sfp-machine.h: ... to here.
12750         * sysdeps/arm/Implies: Remove arm/soft-fp.
12752 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12754         * conform/data/sys/utsname.h-data (*_t): Allow.
12755         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12756         [POSIX] (WEXITED): Do not expect constant.
12757         [POSIX] (WSTOPPED): Likewise.
12758         [POSIX] (WNOHANG): Likewise.
12759         [POSIX] (WNOWAIT): Likewise.
12760         [POSIX] (siginfo_t): Do not expect type or elements.
12761         [POSIX] (pid_t): Do not expect type.
12762         [POSIX] (signal.h): Do not allow header.
12763         [POSIX] (sys/resource.h): Likewise.
12764         [POSIX] (si_*): Do not allow pattern.
12765         [POSIX] (W*): Likewise.
12766         [POSIX] (P_*): Likewise.
12767         [POSIX] (BUS_*): Likewise.
12768         [POSIX] (CLD_*): Likewise.
12769         [POSIX] (FPE_*): Likewise.
12770         [POSIX] (ILL_*): Likewise.
12771         [POSIX] (POLL_*): Likewise.
12772         [POSIX] (SEGV_*): Likewise.
12773         [POSIX] (SI_*): Likewise.
12774         [POSIX] (TRAP_*): Likewise.
12775         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12776         variable.
12778 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12780         [BZ #12926]
12781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12782         infinite loop when __recvmsg returns 0.
12784 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12786         * CANCEL-FCT-WAIVE: Remove file.
12787         * CANCEL-FILE-WAIVE: Likewise.
12789         [BZ #14132]
12790         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12791         instead of INTVARDEF.
12792         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12793         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12794         rtld_hidden_data_def instead of INTVARDEF.
12795         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12796         * elf/dl-deps.c (expand_dst): Likewise.
12797         * elf/dl-load.c (_dl_dst_count): Likewise.
12798         (_dl_dst_substitute): Likewise.
12799         (decompose_rpath): Likewise.
12800         (_dl_init_paths): Likewise.
12801         (open_path): Likewise.
12802         (_dl_map_object): Likewise.
12803         * elf/rtld.c (dl_main): Likewise.
12804         (process_dl_audit): Likewise.
12805         (process_envvars): Likewise.
12806         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12807         Remove declaration.
12808         (__libc_enable_secure): Use rtld_hidden_proto.
12810 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12812         * elf/dl-load.c
12813         (add_path): New function broken out of _dl_rtld_di_serinfo.
12814         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12816 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12818         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12819         parentheses around macro arguments.
12820         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12823         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12831         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12832         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12835         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12836         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12849         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12850         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12851         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12853         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12854         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12855         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12856         Likewise.
12857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12860         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12864         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12865         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12868         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12869         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12878         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12879         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12882         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12883         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12884         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12885         (_FP_FRAC_SRS_1): Likewise.
12886         (_FP_FRAC_CLZ_1): Likewise.
12887         (_FP_MUL_MEAT_1_imm): Likewise.
12888         (_FP_MUL_MEAT_1_wide): Likewise.
12889         (_FP_MUL_MEAT_1_hard): Likewise.
12890         (_FP_SQRT_MEAT_1): Likewise.
12891         (_FP_FRAC_ASSEMBLE_1): Likewise.
12892         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12893         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12894         (__FP_CLZ_2): Likewise.
12895         (_FP_MUL_MEAT_2_wide): Likewise.
12896         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12897         (_FP_MUL_MEAT_2_gmp): Likewise.
12898         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12899         (_FP_SQRT_MEAT_2): Likewise.
12900         (_FP_FRAC_ASSEMBLE_2): Likewise.
12901         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12902         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12903         (_FP_FRAC_CLZ_4): Likewise.
12904         (_FP_MUL_MEAT_4_wide): Likewise.
12905         (_FP_MUL_MEAT_4_gmp): Likewise.
12906         (_FP_SQRT_MEAT_4): Likewise.
12907         (_FP_FRAC_ASSEMBLE_4): Likewise.
12908         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12909         * soft-fp/op-common.h (_FP_CMP): Likewise.
12910         (_FP_CMP_EQ): Likewise.
12911         (_FP_CMP_UNORD): Likewise.
12912         (_FP_TO_INT): Likewise.
12913         (_FP_FROM_INT): Likewise.
12914         [!__FP_CLZ] (__FP_CLZ): Likewise.
12915         (_FP_DIV_HELP_imm): Likewise.
12916         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12917         Likewise.
12918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12919         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12929         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12930         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12931         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12933         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12934         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12947         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12948         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12949         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12951         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12952         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12953         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12954         (FP_UNPACK_RAW_SP): Likewise.
12955         (FP_PACK_RAW_S): Likewise.
12956         (FP_PACK_RAW_SP): Likewise.
12957         (FP_UNPACK_S): Likewise.
12958         (FP_UNPACK_SP): Likewise.
12959         (FP_UNPACK_SEMIRAW_S): Likewise.
12960         (FP_UNPACK_SEMIRAW_SP): Likewise.
12961         (FP_PACK_S): Likewise.
12962         (FP_PACK_SP): Likewise.
12963         (FP_PACK_SEMIRAW_S): Likewise.
12964         (FP_PACK_SEMIRAW_SP): Likewise.
12965         (_FP_SQRT_MEAT_S): Likewise.
12966         (FP_CMP_S): Likewise.
12967         (FP_CMP_EQ_S): Likewise.
12968         (FP_CMP_UNORD_S): Likewise.
12969         (FP_TO_INT_S): Likewise.
12970         (FP_FROM_INT_S): Likewise.
12972         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12974         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12975         (FP_EX_INVALID_IMZ): Likewise.
12976         (FP_EX_INVALID_IMZ_FMA): Likewise.
12977         (FP_EX_INVALID_ISI): Likewise.
12978         (FP_EX_INVALID_ZDZ): Likewise.
12979         (FP_EX_INVALID_IDI): Likewise.
12980         (FP_EX_INVALID_SQRT): Likewise.
12981         (FP_EX_INVALID_CVI): Likewise.
12982         (FP_EX_INVALID_VC): Likewise.
12983         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12984         "invalid" exceptions.
12985         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12986         (_FP_ADD_INTERNAL): Likewise.
12987         (_FP_MUL): Likewise.
12988         (_FP_FMA): Likewise.
12989         (_FP_DIV): Likewise.
12990         (_FP_CMP_CHECK_NAN): Likewise.
12991         (_FP_SQRT): Likewise.
12992         (_FP_TO_INT): Likewise.
12993         (FP_EXTEND): Likewise.
12995 2014-10-09  Allan McRae  <allan@archlinux.org>
12997         * po/fr.po: Update French translation from translation project.
12999 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13001         [BZ #14132]
13002         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13003         of INTDEF.
13004         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13005         (__cxa_atexit): Use libc_hidden_proto.
13006         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13008         [BZ #14132]
13009         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13010         declaration.
13011         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13012         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13013         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13014         [!_ISOMAC] (__iswctype_internal): Likewise.
13015         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13016         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13017         alias.
13018         (fcntl): Remove __fcntl_internal alias.
13019         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13020         __connect_internal alias.
13021         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13022         Likewise.
13024         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13025         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13026         FP_DENORM_ZERO.
13027         (_FP_CHECK_FLUSH_ZERO): New macro.
13028         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13029         (_FP_CMP): Likewise.
13030         (_FP_CMP_EQ): Likewise.
13031         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13032         FP_DENORM_ZERO.
13033         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13034         (FP_TRUNC): Likewise.
13036         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13037         treated as invalid conversion, not as normal exponent.
13039         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13040         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13041         (_FP_CMP_EQ): Likewise.
13042         (_FP_CMP_UNORD): Likewise.
13043         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13044         (FP_CMP_EQ_D): Likewise.
13045         (FP_CMP_UNORD_D): Likewise.
13046         * soft-fp/extended.h (FP_CMP_E): Likewise.
13047         (FP_CMP_EQ_E): Likewise.
13048         (FP_CMP_UNORD_E): Likewise.
13049         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13050         (FP_CMP_EQ_Q): Likewise.
13051         (FP_CMP_UNORD_Q): Likewise.
13052         * soft-fp/single.h (FP_CMP_S): Likewise.
13053         (FP_CMP_EQ_S): Likewise.
13054         (FP_CMP_UNORD_S): Likewise.
13055         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13056         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13057         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13058         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13059         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13060         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13061         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13062         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13063         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13064         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13065         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13066         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13067         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13068         to FP_CMP_Q.
13069         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13070         FP_CMP_Q.
13071         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13072         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13073         FP_CMP_EQ_Q.
13074         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13075         FP_CMP_Q.
13076         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13077         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13078         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13079         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13080         FP_CMP_EQ_Q.
13081         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13082         FP_CMP_Q.
13083         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13084         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13085         FP_CMP_EQ_Q.
13086         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13087         FP_CMP_Q.
13088         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13089         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13090         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13091         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13092         FP_CMP_EQ_Q.
13094         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13095         a subnormal result, set the underflow exception if trapping on
13096         underflow is enabled.
13097         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13098         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13099         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13100         redefine to 0.
13101         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13102         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13103         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13104         * soft-fp/extendxftf2.c (__extendxftf2): Use
13105         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13107         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13108         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13109         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13110         FP_HANDLE_EXCEPTIONS.
13111         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13112         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13113         FP_HANDLE_EXCEPTIONS.
13114         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13115         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13116         FP_HANDLE_EXCEPTIONS.
13117         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13118         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13119         FP_HANDLE_EXCEPTIONS.
13121 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #14132]
13124         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13125         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13126         use INTUSE.
13127         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13128         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13129         Remove alias.
13130         (__adjtimex): Define using libc_hidden_ver.
13131         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13132         Remove declaration.
13133         (ntp_gettime): Call __adjtimex directly.
13134         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13135         Remove declaration.
13136         (ntp_gettimex): Call __adjtimex directly.
13137         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13138         __adjtimex_internal alias.
13140 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13142         [BZ #17460]
13143         * nscd/nscd.c (more_help): Rewrite list of tables collection
13144         using xstrdup and asprintf.
13146         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13148 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13149             Roland McGrath  <roland@hack.frob.com>
13151         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13152         (do_lookup_unique): ... local function 'enter' here; update callers.
13154 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13156         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13157         compat_symbol calls on [SHARED].
13158         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13159         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13160         Remove.
13161         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13162         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13163         (oldsetrlimit): Remove.
13164         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13166         (lchown): New syscall entry.
13167         (oldsetrlimit): Remove.
13168         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13170         (oldsetrlimit): Remove.
13171         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13173         [BZ #14138]
13174         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13175         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13176         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13177         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13178         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13179         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13180         (fchown): Likewise.
13181         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13182         (fchown): Likewise.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13184         Likewise.
13186 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13188         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13189         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13190         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13191         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13192         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13193         Likewise.
13194         (__old_sem_post): Likewise.
13196 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13198         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13199         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13200         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13201         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13202         Use INLINE_VSYSCALL macro.
13203         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13204         __vdso_clock_gettime.
13205         * sysdeps/unix/sysv/linux/tile/init-first.c
13206         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13207         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13208         __vdso_clock_gettime.
13210         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13211         to set up frame more cleanly.
13213         * sysdeps/tile/memcmp.c: New file.
13215         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13217         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13218         * sysdeps/tile/tilegx/strcasestr.c: New file.
13219         * sysdeps/tile/tilegx/strnlen.c: New file.
13220         * sysdeps/tile/tilegx/strstr.c: New file.
13222         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13224 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13226         * nptl/tst-setuid3.c: Write errors to stdout.
13228 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13230         * elf/dl-deps.c
13231         (preload): New functions broken out of _dl_map_object_deps.
13232         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13234 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13236         [BZ #14138]
13237         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13238         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13240 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13242         * sysdeps/mips/strcmp.S: New.
13244 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13246         [BZ #14138]
13247         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13248         (linkat): Likewise.
13249         (mkdirat): Likewise.
13250         (readlinkat): Likewise.
13251         (renameat): Likewise.
13252         (symlinkat): Likewise.
13253         (unlinkat): Likewise.
13254         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13255         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13256         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13257         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13258         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13259         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13260         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13262 2014-09-30  Will Newton  <will.newton@linaro.org>
13264         * math/math.h: Define long double math functions if
13265         _LIBC_TEST is defined.
13266         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13268         * localedata/Makefile: Move assignment to tests-special
13269         into an ifdef testing run-built-tests.
13270         * timezone/Makefile: Likewise.
13272 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13274         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13275         with $(BASH) not $(SHELL).
13277 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13278             Matthew LeGendre  <legendre1@llnl.gov>
13280         [BZ #17411]
13281         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13282         l_reloc_result.
13284 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13286         * stdio-common/printf_fp.c
13287         (hack_digit): New function, broken out of ...
13288         (__printf_fp): ... local function here.  Update call sites.
13289         hack_digit now takes an additional parameter that is a pointer
13290         to a struct of the referenced locals.  Those locals moved inside
13291         the struct and references updated.
13293 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13295         * aclocal.m4: Require autoconf 2.69.
13296         * configure: Regenerated.
13297         * sysdeps/aarch64/configure: Likewise.
13298         * sysdeps/alpha/configure: Likewise.
13299         * sysdeps/arm/armv7/configure: Likewise.
13300         * sysdeps/arm/configure: Likewise.
13301         * sysdeps/ia64/configure: Likewise.
13302         * sysdeps/mach/configure: Likewise.
13303         * sysdeps/mips/configure: Likewise.
13304         * sysdeps/s390/configure: Likewise.
13305         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13308         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13309         file.
13310         * sysdeps/ia64/configure.ac: Likewise.
13312 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13315         specify symbol version for ld.so.  Do not include entry for
13316         libpthread.
13317         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13318         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13321         [BZ #14171]
13322         * Makeconfig [$(build-shared) = yes]
13323         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13324         makefiles.
13325         [$(build-shared) = yes && $(soversions.mk-done) = t]
13326         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13327         [$(build-shared) = yes && $(soversions.mk-done) = t]
13328         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13329         to Makerules.
13330         [$(build-shared) = yes && $(soversions.mk-done) = t]
13331         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13332         here.
13333         [$(build-shared) = yes && $(soversions.mk-done) = t]
13334         (common-generated): Don't append gnu/lib-names.h and
13335         gnu/lib-names.stmp here.
13336         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13337         (lib-names-h-abi): New variable.
13338         [$(build-shared) = yes && $(soversions.mk-done) = t]
13339         (lib-names-stmp-abi): Likewise.
13340         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13341         abi-variants] (before-compile): Append
13342         $(common-objpfx)$(lib-names-h-abi).
13343         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13344         abi-variants] (common-generated): Append gnu/lib-names.h.
13345         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13346         abi-variants] (install-others-nosubdir): Depend on
13347         $(inst_includedir)/$(lib-names-h-abi).
13348         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13349         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13350         [$(build-shared) = yes && $(soversions.mk-done) = t]
13351         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13352         [$(build-shared) = yes && $(soversions.mk-done) = t]
13353         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13354         [$(build-shared) = yes && $(soversions.mk-done) = t]
13355         (common-generated): Append $(lib-names-h-abi) and
13356         $(lib-names-stmp-abi).
13357         * scripts/lib-names.awk: Do not handle multi being set.
13358         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13359         Remove variable.
13360         (abi-lp64_be-ld-soname): Likewise.
13361         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13362         Likewise.
13363         (abi-hard-ld-soname): Likewise.
13364         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13365         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13366         Remove variable.
13367         (abi-o32_hard-ld-soname): Likewise.
13368         (abi-o32_soft_2008-ld-soname): Likewise.
13369         (abi-o32_hard_2008-ld-soname): Likewise.
13370         (abi-n32_soft-ld-soname): Likewise.
13371         (abi-n32_hard-ld-soname): Likewise.
13372         (abi-n32_soft_2008-ld-soname): Likewise.
13373         (abi-n32_hard_2008-ld-soname): Likewise.
13374         (abi-n64_soft-ld-soname): Likewise.
13375         (abi-n64_hard-ld-soname): Likewise.
13376         (abi-n64_soft_2008-ld-soname): Likewise.
13377         (abi-n64_hard_2008-ld-soname): Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13379         Likewise.
13380         (abi-64-v2-ld-soname): Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13382         ld.so entries.
13383         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13384         variable.
13385         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13386         entry.
13387         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13388         variable.
13389         (abi-64-ld-soname): Likewise.
13390         (abi-x32-ld-soname): Likewise.
13391         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13392         entry.
13393         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13395 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13397         [BZ #14138]
13398         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13399         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13400         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13401         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13402         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13403         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13404         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13405         syscall entry for GLIBC_2.2 symbol version.
13406         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13407         Likewise.
13408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13409         (setrlimit): Likewise.
13410         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13411         Likewise.
13413 2014-09-23  Will Newton  <will.newton@linaro.org>
13415         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13416         _LINUX_ARM_SYSDEP_H include guard too.
13417         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13418         define.
13420 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13422         * sysdeps/unix/sysv/linux/eventfd.c:
13423         Make first argument unsigned.
13424         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13425         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13427 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13429         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13430         * socket/sys/socket.h: Likewise
13431         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13433 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13435         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13437 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13439         * time/tst-ftime.c: New test.
13440         * time/Makefile (tests): Add tst-ftime.
13442 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13444         * soft-fp/extended.h: Fix comment formatting.
13445         * soft-fp/op-1.h: Likewise.
13446         * soft-fp/op-2.h: Likewise.
13447         * soft-fp/op-4.h: Likewise.
13448         * soft-fp/op-8.h: Likewise.
13449         * soft-fp/op-common.h: Likewise.
13450         * soft-fp/soft-fp.h: Likewise.
13452         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13454 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13456         [BZ #6652]
13457         * Makeconfig (soversions-default-setname): Remove variable.
13458         ($(common-objpfx)soversions.i): Don't pass default_setname to
13459         soversions.awk.
13460         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13461         oldest_abi to abi-versions.awk.
13462         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13463         * config.make.in (oldest-abi): Remove variable.
13464         * configure.ac (--enable-oldest-abi): Remove configure option.
13465         * configure: Regenerated.
13466         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13467         text.
13468         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13469         * scripts/soversions.awk: Do not handle default_setname variable.
13470         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13471         variable.
13472         * sysdeps/mach/hurd/configure: Regenerated.
13473         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13474         variable.
13475         * sysdeps/unix/sysv/linux/configure: Regenerated.
13477 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13479         * elf/Makefile (CFLAGS-interp.c): Remove.
13480         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13481         path string.
13482         * elf/interp.c: Include generated runtime-linker.h
13484         * Makerules (lib%.so): Don't include $(+interp) in
13485         prerequisites.
13486         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13487         * dlfcn/eval.c: Remove file.
13489         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13490         macros.
13492         [BZ #17266]
13493         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13494         4.2 and newer.
13496         [BZ #17370]
13497         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13499 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13500             Jakub Jelinek  <jakub@redhat.com>
13502         [BZ #17266]
13503         * libio/stdio.h: Check definition of __fortify_function
13504         instead of __extern_always_inline to include bits/stdio2.h.
13505         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13506         check if __extern_always_inline is defined.
13507         [__USE_MISC || __USE_XOPEN]: Likewise.
13508         [__USE_ISOC99] Likewise.
13509         * misc/sys/cdefs.h (__fortify_function): Define only if
13510         __extern_always_inline is defined.
13511         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13512         __extern_always_inline and __extern_inline only for g++-4.3
13513         and newer or a compatible gcc.
13515 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13517         [BZ #17371]
13518         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13519         last change to handle zero prefix length.
13521 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13523         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13524         _SC_REGEX_VERSION.
13526         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13527         _POSIX_RAW_SOCKETS.
13529 2014-09-13  Allan McRae  <allan@archlinux.org>
13531         * po/ru.po: Update Russian translation from translation project.
13533 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13535         * locale/programs/locale.c (show_locale_vars): Inline local function
13536         into its sole call site.  Clean up some style nits.
13537         (print_item): New function, broken out of ...
13538         (show_info): ... local function here.  Clean up style nits.
13540         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13541         out of ...
13542         (set_class_defaults): ... local function set_default here.
13543         Define set_default as a macro locally to pass constant parameters.
13544         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13545         rather than a shared local.
13547         * stdlib/rpmatch.c (try): New function, broken out of ...
13548         (rpmatch): ... local function here.  Also, prototypify definition.
13550 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13552         * scripts/soversions.awk: Do not handle configuration names.
13553         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13554         vendor and os variables to soversions.awk.
13555         * configure.ac: Do not modify gnu-* host_os.
13556         * configure: Regenerated
13557         * shlib-versions: Remove first column with configuration names.
13558         * nptl/shlib-versions: Likewise.
13559         * nptl_db/shlib-versions: Likewise.
13560         * sysdeps/hppa/shlib-versions: Likewise.
13561         * sysdeps/m68k/shlib-versions: Likewise.
13562         * sysdeps/mach/hurd/shlib-versions: Likewise.
13563         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13564         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13565         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13566         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13567         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13568         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13569         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13570         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13572         Likewise.
13573         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13574         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13575         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13576         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13577         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13578         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13579         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13580         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13583         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13585         Regenerated.
13586         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13588         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13590         * shlib-versions: Remove OS-specific entries.  Moved to files in
13591         sysdeps.
13592         * sysdeps/mach/hurd/shlib-versions: New file.
13593         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13595         * nptl/shlib-versions: Remove architecture-specific entries.
13596         Moved to files in sysdeps.
13597         * shlib-versions: Likewise.
13598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13599         file.
13600         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13601         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13602         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13603         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13605         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13606         (UDP_NO_CHECK6_RX): Likewise.
13608 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13610         * sysdeps/posix/sysconf.c (__sysconf): Spell
13611         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13613 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13615         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13616         loading.
13617         * iconv/Versions (__gconv_transliterate): Export for use from
13618         gconv modules.
13619         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13620         (struct __gconv_trans_data, __gconv_trans_fct,
13621         __gconv_trans_context_fct, __gconv_trans_query_fct,
13622         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13623         definitions.
13624         (struct __gconv_step_data): Remove __trans member.
13625         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13626         longer hidden.  Remove unused trans_data argument.
13627         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13628         (__gconv_translit_find): Remove declaration.
13629         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13630         prototype.
13631         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13632         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13633         trans_data argument.  Add hidden definition.
13634         (__gconv_translit_find): Remove.
13635         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13636         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13637         * iconv/skeleton.c: Remove transliteration initialization.
13638         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13639         __gconv_step_data initialization.
13640         * libio/iofwide.c (__libio_translit_): Remove.
13641         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13642         * wcsmbs/btowc.c (__btowc): Likewise.
13643         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13644         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13645         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13646         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13647         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13648         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13649         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13650         * wcsmbs/wctob.c (wctob): Likewise.
13652 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13654         [BZ #16194]
13655         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13656         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13657         register usage.
13658         * sysdeps/x86/Makefile: Adjust.
13660 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13661             Roland McGrath  <roland@hack.frob.com>
13663         * locale/weight.h: Add include guard.
13664         (findidx): Make static rather than auto; take new parameters
13665         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13666         * locale/weightwc.h: Likewise.
13667         * posix/fnmatch_loop.c
13668         (FCT): Change type of EXTRA from int32_t to wint_t.
13669         Don't include either header inside the function.
13670         Call FINDIDX rather than findidx, and pass new arguments.
13671         #undef FINDIDX at the end of the file.
13672         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13673         FINDIDX before including fnmatch_loop.c for the non-wide version.
13674         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13675         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13676         for the wide version.
13677         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13678         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13679         Pass new arguments to findidx.
13680         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13681         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13682         Don't #include it inside the function.  Pass new arguments to findidx.
13683         * posix/regex_internal.h
13684         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13685         (re_string_elem_size_at): Don't #include it inside the function.
13686         Pass new arguments to findidx.
13687         * string/strcoll_l.c: #include WEIGHT_H at top level.
13688         (get_next_seq): Don't #include it inside the function.
13689         Pass new arguments to findidx.
13690         (get_next_seq_nocache): Likewise.
13691         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13692         (STRXFRM): Don't #include it inside the function.
13693         Pass new arguments to findidx.
13695 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13697         [BZ #17344]
13698         * malloc/malloc.c (unlink): Turn asserts into a call to
13699         malloc_printerr.
13701 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13703         [BZ #17370]
13704         * libio/wfileops (do_ftell_wide): Free OUT.
13706 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13708         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13710 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13712         [BZ #17363]
13713         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13714         group if the current group is empty.
13716 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13718         * benchtests/bench-memset.c (test_main): Add more test from size
13719         from 32 to 512 bytes.
13720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13721         Add POWER8 memset object.
13722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13723         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13724         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13725         implementation.
13726         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13727         Likewise.
13728         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13729         multiarch POWER8 memset optimization.
13730         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13731         POWER8 memset optimization.
13733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13734         Remove bzero multiarch objects.
13735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13736         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13737         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13738         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13739         Remove define.
13740         [__bzero]: Redefine to specific name.
13741         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13742         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13743         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13744         define.
13745         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13746         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13748 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13750         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13751         warnings into errors.
13753         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13754         __cxa_thread_atexit_impl prototype.
13756 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13758         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13759         Fix capitalization of error message.
13761 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13763         * sysdeps/mips/preconfigure: Modify ABI tests.
13765 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13767         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13769 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13770             Carlos O'Donell  <carlos@systemhalted.org>
13772         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13773         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13774         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13775         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13776         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13777         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13778         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13779         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13780         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13781         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13782         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13793         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13794         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13795         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13796         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13797         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13798         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13799         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13800         Deconditionalize the code that was previously under [RESET_PID].
13801         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13802         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13803         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13804         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13805         include sysdep.h.
13807 2014-09-08  Allan McRae  <allan@archlinux.org>
13809         * version.h (RELEASE): Set to "development".
13810         (VERSION): Set to "2.20.90"
13812 2014-09-07  Allan McRae  <allan@archlinux.org
13814         * version.h (RELEASE): Set to "stable".
13815         (VERSION): Set to "2.20"
13816         * include/features.h (__GLIBC_MINOR__): Set to 20.
13818         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13819         Liebler.
13821         * po/ko.po: Update Korean translation from translation project.
13823 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13825         [BZ #17354]
13826         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13827         macro for handling signed relocations.
13829 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13831         [BZ #17325]
13832         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13833         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13834         assert.
13835         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13836         * iconvdata/ibm935.c (BODY): Likewise.
13837         * iconvdata/ibm937.c (BODY): Likewise.
13838         * iconvdata/ibm939.c (BODY): Likewise.
13839         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13840         assert.
13841         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13842         script.
13843         * iconvdata/run-iconv-test.sh: New test loop for checking for
13844         decoder crashers.
13846 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13849         libm_hidden_ver.
13851 2014-09-01  Allan McRae  <allan@archlinux.org>
13853         * po/eo.po: Update Esperanto translation from translation project.
13855         * po/ca.po: Update Catalan translation from translation project.
13857 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13859         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13860         __proc_dostop call.
13862 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13864         [BZ #17319]
13865         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13866         to call set_thread_area instead of hand written asm.
13867         (__NR_set_thread_area): Removed define.
13868         (TLS_FLAG_WRITABLE): Likewise.
13869         (__ASSUME_SET_THREAD_AREA): Remove check.
13870         (TLS_EBX_ARG): Remove define.
13871         (TLS_LOAD_EBX): Likewise.
13873 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13875         Simplify atomicity of socket creation in bind.
13877         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13878         looking up the name after linking the file.
13880 2014-08-27  Allan McRae  <allan@archlinux.org>
13882         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13884 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13886         [BZ #17187]
13887         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13888         trans_compare, open_translit, __gconv_translit_find):
13889         Remove module loading code.
13891 2014-08-26  Allan McRae  <allan@archlinux.org>
13893         * po/vi.po: Update Vietnamese translation from translation project.
13895         * po/uk.po: Update Ukrainian translation from translation project.
13897         * po/fr.po: Update French translation from translation project.
13899         * po/ru.po: Update Russian translation from translation project.
13901         * po/pl.po: Update Polish translation from translation project.
13903         * po/cs.po: Update Czech translation from translation project.
13905         * po/de.po: Update German translation from translation project.
13907         * po/bg.po: Update Bulgarian translation from translation project.
13909         * po/sv.po: Update Sweedish translation from translation project.
13911         * po/nl.po: Update Dutch translation from translation project.
13913         * po/es.po: Update Spanish translation from translation project.
13915 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13919         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13920         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13921         (CPPFLAGS-iconvconfig): Likewise.
13922         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13924         * include/libc-symbols.h: Remove unnecessary check for
13925         NOT_IN_libc.
13926         * nptl/pthreadP.h: Likewise.
13927         * sysdeps/aarch64/setjmp.S: Likewise.
13928         * sysdeps/alpha/setjmp.S: Likewise.
13929         * sysdeps/arm/sysdep.h: Likewise.
13930         * sysdeps/i386/setjmp.S: Likewise.
13931         * sysdeps/m68k/setjmp.c: Likewise.
13932         * sysdeps/posix/getcwd.c: Likewise.
13933         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13934         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13935         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13936         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13937         * sysdeps/sh/sh3/setjmp.S: Likewise.
13938         * sysdeps/sh/sh4/setjmp.S: Likewise.
13939         * sysdeps/unix/alpha/sysdep.h: Likewise.
13940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13942         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13943         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13948         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13951         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13953         * sysdeps/x86_64/setjmp.S: Likewise.
13955 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13957         [BZ #17263]
13958         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13959         <stdint.h>.
13960         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13961         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13963 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13965         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13967         [BZ #17262]
13968         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13969         and __x86_64__ when disabling x87 inline functions.
13971 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13973         [BZ #17259]
13974         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13975         asm statement with __cpuid_count.
13977 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13979         * configure.ac: Change __ehdr_start code to dereference the struct.
13980         Run readelf on the output to look for relocations.
13981         * configure: Regenerated.
13983 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13985         [BZ #17261]
13986         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13987         value to 0.
13988         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13990 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13992         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13994 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13996         [BZ #16892]
13997         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13998         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14000 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14002         * malloc/malloc.c: Fix typo in comment.
14004 2014-08-09  Allan McRae  <allan@archlinux.org>
14006         * Regenerate libc.po.
14008 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14010         * intl/tst-gettext2.sh: Check every lang file for creation.
14012 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14014         * sysdeps/aarch64/fpu/math_private.h
14015         (libc_feholdsetround_noex_aarch64_ctx): New function.
14017 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14019         * sysdeps/arm/armv6/strcpy.S (strcpy):
14020         Fix performance issue in misaligned cases.
14022 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14024         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14025         Move definition from termios.h.
14026         (struct termio): Likewise.
14027         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14028         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14029         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14030         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14031         Likewise.
14032         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14033         Move definition to ioctl-types.h
14034         (struct termio): Likewise.
14035         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14036         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14037         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14038         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14039         Likewise.
14041 2014-08-05  Richard Henderson  <rth@redhat.com>
14043         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14044         exceptions.
14045         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14046         Add fraiseexcpt.
14047         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14048         Use __feraiseexcept.
14049         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14050         Protect libm symbols with IS_IN_libm.
14052         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14054 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14056         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14058 2014-08-04  Will Newton  <will.newton@linaro.org>
14060         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14061         file.
14063 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14065         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14066         variants for each function.
14068 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14070         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14071         appended ...
14072         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14073         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14074         appended ...
14075         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14076         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14077         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14078         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14079         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14080         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14081         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14082         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14083         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14084         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14085         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14086         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14087         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14088         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14089         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14090         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14091         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14092         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14093         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14094         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14095         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14096         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14098         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14099         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14100         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14101         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14102         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14103         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14104         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14105         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14107         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14109         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14111         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14112         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14113         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14114         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14115         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14117         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14119         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14121         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14123         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14125         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14126         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14127         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14128         Update #include.
14129         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14130         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14132 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14134         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14135         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14137         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14139         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14141 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14143         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14144         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14145         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14146         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14148 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14150         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14151         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14152         (__libc_vfork): Define function under this name.
14153         (__vfork): Define as an alias.
14154         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14155         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14157 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14159         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14160         that was previously under [RESET_PID].
14161         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14163 2014-08-04  Andreas Schwab  <schwab@suse.de>
14165         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14167 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14169         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14170         (main): Likewise.
14172 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14174         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14176 2014-08-01  Richard Henderon  <rth@redhat.com>
14178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14179         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14180         typo in exact zero test.
14181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14182         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14185 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14187         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14188         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14189         * sysdeps/arm/sysdep.h: ... here.
14190         [!__ASSEMBLER__]: Include <stdint.h>.
14192 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14194         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14195         (HAVE_WCTYPE_H): Likewise.
14196         (HAVE_ISWCTYPE): Likewise.
14197         (ENABLE_NLS): Likewise.
14198         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14199         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14201         * posix/regex_internal.c: Check if DEBUG is defined and is
14202         set.
14204         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14205         (HAVE_MBSRTOWCS): Likewise.
14206         * posix/fnmatch.c: Include string.h unconditionally.
14208 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14210         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14211         reversal.
14213 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14215         * sysdeps/generic/safe-fatal.h: New file.
14216         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14217         * nptl/forward.c: Include it.
14218         (__pthread_unwind): Use __safe_fatal as default action, rather
14219         than a bogus use of INTERNAL_SYSCALL that could never work.
14221         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14222         * configure.ac (libc_cv_builtin_trap): New test.
14223         * configure: Regenerated.
14224         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14225         (ABORT_INSTRUCTION): Define using __builtin_trap.
14227         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14228         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14229         * sysdeps/nptl/nptl-signals.h: New file.
14230         * nptl/pthreadP.h: Include <nptl-signals.h>.
14232 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14234         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14235         (ONE_DIRECTION): Define.
14236         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14237         (ONE_DIRECTION): Define.
14238         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14239         (ONE_DIRECTION): Define.
14241 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14243         * sysdeps/s390/Makefile: Delete file.
14244         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14245         * sysdeps/s390/__longjmp.c: Delete file.
14246         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14247         Remove fields __flags and __reserved.
14248         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14249         and add versioning.
14250         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14251         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14252         * sysdeps/s390/rtld-setjmp.S: Likewise.
14253         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14254         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14255         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14256         * sysdeps/s390/s390-32/setjmp.S: ... here.
14257         Add versioning.
14258         (__sigsetjmp): Remove setting __flags field.
14259         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14260         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14261         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14262         * sysdeps/s390/s390-64/setjmp.S: ... here.
14263         Add versioning.
14264         (__sigsetjmp): Remove setting __flags field.
14265         * sysdeps/s390/setjmp.S: Delete file.
14266         * sysdeps/s390/sigjmp.c: Likewise.
14267         * sysdeps/s390/v1-longjmp.c: Likewise.
14268         * sysdeps/s390/v1-setjmp.h: Likewise.
14269         * sysdeps/s390/v1-sigjmp.c: Likewise.
14270         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14271         Remove v1-longjmp_chk.
14272         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14273         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14274         Include debug/longjmp_chk.c and add versioning.
14275         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14276         Include nptl/pt-longjmp.c and add versioning.
14277         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14278         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14279         Include __longjmp.c.
14280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14281         Move to ...
14282         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14283         (__getcontext): Remove setting __flags field.
14284         Add versioning.
14285         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14286         Don't restore upper high grps.
14287         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14288         Likewise.
14289         (__swapcontext): Remove setting uc_flags field.
14290         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14291         Delete file.
14292         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14293         Include __longjmp.c.
14294         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14295         Move to ...
14296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14297         (__getcontext): Remove setting __flags field.
14298         Add versioning.
14299         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14300         (__swapcontext): Remove setting uc_flags field.
14301         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14302         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14303         Remove fields uc_high_gprs and __reserved.
14304         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14305         New file with reverted content.
14306         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14308         Regenerated.
14309         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14310         Regenerated.
14312 2014-07-31  Andreas Schwab  <schwab@suse.de>
14314         * config.h.in (HAVE_IFUNC): Define to 0.
14315         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14316         definedness.
14318 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14321         memmove-avx-unaligned, memcpy-avx-unaligned and
14322         mempcpy-avx-unaligned.
14323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14324         Add tests for AVX memcpy functions.
14325         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14326         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14327         memcpy_chk.
14328         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14329         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14330         memmove_chk.
14331         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14332         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14333         mempcpy_chk.
14334         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14335         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14336         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14338 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14340         [BZ #17213]
14341         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14342         powerpc64le.
14344 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14346         [BZ #16839]
14347         * manual/llio.texi: Add section about open file description locks.
14348         * manual/examples/ofdlocks.c: Example of open file description
14349         lock usage.
14350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14351         F_OFD_SETLK, and F_OFD_SETLKW.
14353 2014-07-23  Allan McRae  <allan@archlinux.org>
14355         * po/es.po: Update Spanish translation from translation project.
14357 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14359         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14361 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14363         [BZ #17078]
14364         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14365         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14366         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14368 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14370         [BZ #17088]
14371         * math/fesetenv.c (__fesetenv)
14372         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14373         * math/feupdateenv.c (__feupdateenv)
14374         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14376         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14377         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14378         (__ASSUME_SOCKETCALL): Do not define.
14380         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14381         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14382         (__ASSUME_SOCKETCALL): Do not define.
14383         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14384         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14385         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14386         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14387         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14388         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14389         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14390         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14392         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14393         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14394         (__ASSUME_SOCKETCALL): Do not define.
14395         (__ASSUME_IPC64): Define unconditionally.
14396         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14397         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14398         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14399         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14400         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14401         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14402         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14403         Likewise.
14405         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14406         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14407         (__ASSUME_SOCKETCALL): Do not define.
14408         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14409         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14410         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14411         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14412         (__ASSUME_REQUEUE_PI): Define unconditionally.
14413         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14414         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14415         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14416         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14418         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14420         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14421         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14422         (__ASSUME_SOCKETCALL): Do not define.
14423         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14424         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14425         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14426         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14428         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14430         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14431         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14432         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14433         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14435         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14437         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14438         (__ASSUME_GETCPU_SYSCALL): Likewise.
14440         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14441         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14442         cases for individual architectures.
14443         * sysdeps/gnu/configure: Regenerated.
14444         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14445         LIBC_SLIBDIR_RTLDDIR.
14446         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14447         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14448         LIBC_SLIBDIR_RTLDDIR.
14449         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14451         LIBC_SLIBDIR_RTLDDIR.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14453         Regenerated.
14454         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14455         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14456         file.
14457         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14458         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14459         file.
14460         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14461         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14462         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14463         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14465         * sysdeps/aarch64/shlib-versions: Move to ...
14466         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14467         * sysdeps/alpha/shlib-versions: Move to ...
14468         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14469         * sysdeps/arm/shlib-versions: Move to ...
14470         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14471         * sysdeps/hppa/shlib-versions: Move all contents except for
14472         libgcc_s entry to ...
14473         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14474         entry from ...
14475         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14476         * sysdeps/ia64/shlib-versions: Move to ...
14477         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14478         entry from ...
14479         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14480         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14481         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14482         * sysdeps/microblaze/shlib-versions: Move to ...
14483         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14484         * sysdeps/mips/shlib-versions: Move to ...
14485         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14486         entry from ...
14487         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14488         * sysdeps/tile/shlib-versions: Move to ...
14489         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14490         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14491         from ...
14492         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14493         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14494         entry from ...
14495         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14497 2014-07-17  Will Newton  <will.newton@linaro.org>
14499         * sysdeps/arm/bits/atomic.h
14500         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14501         (__arch_compare_and_exchange_bool_16_int): Likewise.
14502         (__arch_compare_and_exchange_bool_64_int): Likewise.
14504         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14505         into an #else block.
14507 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14509         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14510         just Linux configurations.  Test empirically that the compiler sets
14511         __ARM_EABI__, rather than using the tuple to decide.
14512         * sysdeps/arm/preconfigure: Regenerated.
14513         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14514         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14515         contents appended ...
14516         * sysdeps/arm/configure.ac: ... here.
14517         * sysdeps/arm/configure: Regenerated.
14519 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14521         * nptl/pthread_kill.c: New file.
14522         * nptl/pthread_sigmask.c: New file.
14523         * nptl/pthread_sigqueue.c: New file.
14525         * sysdeps/nptl/lowlevellock.h: New file.
14526         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14527         * sysdeps/nptl/lowlevellock-futex.h: New file.
14529         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14530         Remove dead declarations.
14532 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14534         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14535         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14536         config-cflags-avx2.
14537         * sysdeps/x86_64/configure.ac: Likewise.
14538         * sysdeps/i386/configure: Regenerated.
14539         * sysdeps/x86_64/configure: Likewise.
14540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14541         memset-avx2 only if config-cflags-avx2 is yes.
14542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14543         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14544         defined.
14545         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14546         only if HAVE_AVX2_SUPPORT is defined.
14547         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14549 2014-07-14  Alan Modra  <amodra@gmail.com>
14551         [BZ #17153]
14552         * elf/elf.h (DT_PPC64_NUM): Correct value.
14553         * NEWS: Add to fixed bug list.
14555 2014-07-13  Jim Meyering  <meyering@fb.com>
14557         [BZ 17150]
14558         regex: don't deref NULL upon heap allocation failure
14559         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14560         failure in one more place.
14561         To trigger the segfault, configure grep -with-included-regex,
14562         build it, and run these commands:
14563         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14565 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14567         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14569 2014-07-11  Richard Henderson  <rth@redhat.com>
14571         * sysdeps/aarch64/libm-test-ulps: Update.
14573 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14575         [BZ #17135]
14576         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14577         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14578         (__nptl_setxid): Initialize error member.  Call
14579         __nptl_setxid_error.
14580         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14581         * nptl/descr.h (struct xid_command): Add error member.
14582         * nptl/tst-setuid3.c: New file.
14583         * nptl/Makefile (tests): Add it.
14585 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14587         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14588         New define.
14589         (__lll_trylock): Use __lll_base_trylock.
14590         (__lll_cond_trylock): Likewise.
14592 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14594         * nptl/pthread_create.c (start_thread): Use atomic_or and
14595         lll_futex_wake directly rather than lll_robust_dead.
14596         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14597         (lll_robust_dead): Macro removed.
14598         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14599         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14600         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14601         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14603         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14604         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14605         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14606         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14608         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14609         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14610         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14611         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14614         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14615         Use atomic_compare_and_exchange_val_acq directly rather than
14616         lll_robust_trylock.
14617         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14618         (__lll_robust_trylock, lll_robust_trylock): Removed.
14619         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14620         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14621         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14622         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14623         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14624         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14625         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14626         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14627         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14628         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14629         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14630         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14631         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14632         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14634 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14636         * manual/locale.texi (Locale Names): New section documenting
14637         locale name syntax.  Adjust menu and node chaining accordingly.
14638         (Choosing Locale): Reference Locale Names, Locale Categories.
14639         Mention setting LC_ALL=C.  Reflect that name syntax is now
14640         documented.
14641         (Locale Categories): New section title.  Reference Locale Names.
14642         LC_ALL is an environment variable, but not a category.
14643         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14644         description, now in Locale Name.  Reference that section.  Locale
14645         name syntax is now documented.
14647 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14649         [BZ #17137]
14650         * locale/findlocale.c (name_present, valid_locale_name): New
14651         functions.
14652         (_nl_find_locale): Use the loc_name variable to store name
14653         candidates.  Call name_present and valid_locale_name to check and
14654         validate locale names.  Return an error if the locale is invalid.
14656 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14658         * locale/setlocale.c (setlocale): Use strdup for allocating
14659         composite name copy.
14661 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14663         Sync up with gnulib.
14664         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14665         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14666         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14667         and _GL_ARG_NONNULL.
14668         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14669         [!_LIBC]: Include code for Windows and Cygwin.
14670         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14671         Include prototype for int strerror_r.
14672         [!_LIBC] (is_open): New function.
14673         (flush_stdout): New function.
14674         (print_errno_message): Use it.
14675         (error): Likewise.
14676         (error_at_line): Likewise.
14677         (error_tail) Add function attribute macros.  Use
14678         __builtin_expect.
14680         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14682         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14684         * io/ftw.c: Include sys/param.h unconditionally.
14686         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14688         [BZ #17125]
14689         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14690         libc_freeres_ptr.
14691         (freecache): New function to free CACHE on exit.
14693         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14694         initialization.
14696 2014-07-09  David S. Miller  <davem@davemloft.net>
14698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14700         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14701         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14702         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14703         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14704         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14705         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14706         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14707         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14708         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14709         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14710         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14711         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14712         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14714 2014-07-09  Andreas Schwab  <schwab@suse.de>
14716         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14717         output.
14718         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14719         (do_test): Likewise.
14721         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14723 2014-07-09  Will Newton  <will.newton@linaro.org>
14725         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14726         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14727         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14728         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14729         * sysdeps/hppa/start.S (_start): Likewise.
14731 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14733         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14735         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14736         defined.
14738 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14741         after checking that it is non-NULL.
14743         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14745 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14747         * sysdeps/powerpc/memmove.c: Remove file.
14748         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14749         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14750         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14751         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14752         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14754         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14755         string memmove instead of removed powerpc one.
14757         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14758         [weak_alias]: Fix compiler warning due trailing data.
14759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14760         [weak_alias]: Likewise.
14761         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14762         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14765         (__libc_ifunc_impl_list): Add memmove functions.
14767 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14769         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14770         Remove code.
14771         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14772         Likewise
14773         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14774         Likewise
14775         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14776         Likewise
14777         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14778         Likewise
14779         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14780         Likewise
14781         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14782         Likewise
14783         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14784         Likewise
14785         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14786         Likewise
14787         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14788         Likewise
14789         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14790         Likewise
14791         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14792         Likewise
14793         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14794         Likewise
14795         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14796         Likewise
14797         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14798         Likewise
14799         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14800         Likewise
14801         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14802         Likewise
14804 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14806         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14807         to avoid alignment traps in non-cacheable memory.
14808         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14811         multiarch objects.
14812         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14813         file: multiarch power7 memmove.
14814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14815         multiarch default memmove.
14816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14817         multiarch memove for powerpc32/power4.
14819         * string/bcopy.c: Use full path to include memmove.c.
14820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14821         multiarch objects.
14822         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14823         bcopy for powerpc64.
14824         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14825         bcopy for powerpc64.
14826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14827         and memmove implementations.
14828         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14829         optimized multiarch memmove for POWER7/powerpc64.
14830         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14831         default multiarch memmove for powerpc64.
14832         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14833         multiarch for powerpc64.
14834         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14835         for POWER7/powerpc64.
14836         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14837         memmove for POWER7/powerpc64.
14839         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14840         glibc default one.
14842         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14843         __ELF_NATIVE_CLASS equal to 64.
14845 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14847         * sysdeps/nptl/lowlevellock.h: File removed.
14849         * NEWS: NPTL is no longer an add-on!
14850         * nptl/internaltypes.h: Moved ...
14851         * sysdeps/nptl/internaltypes.h: ... here.
14852         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14853         * sysdeps/nptl/fork.c: Likewise.
14854         * sysdeps/nptl/gai_misc.h: Likewise.
14855         * sysdeps/nptl/librt-cancellation.c: Likewise.
14856         * sysdeps/nptl/jmp-unwind.c: Likewise.
14857         * sysdeps/nptl/setxid.h: Likewise.
14858         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14859         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14860         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14861         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14862         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14863         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14864         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14865         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14866         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14867         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14868         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14869         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14870         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14871         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14872         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14873         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14874         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14875         * nptl/Makeconfig: Moved ...
14876         * sysdeps/nptl/Makeconfig: ... here.
14877         * nptl/configure: File removed.
14878         * nptl/ANNOUNCE: File removed.
14879         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14880         * sysdeps/unix/sysv/linux/configure: Regenerated.
14882         * nptl/Makefile (routines): Add libc_pthread_init,
14883         libc_multiple_threads, register-atfork and unregister-atfork.
14884         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14885         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14886         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14887         pthread-pi-defines.sym, structsem.sym.
14888         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14889         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14890         [$(subdir) = nptl] (tests): Add tst-setgetname.
14891         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14892         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14893         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14894         [!LIBC_SIGACTION]: Remove aliases.
14895         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14896         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14897         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14898         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14899         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14900         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14901         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14903         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14904         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14905         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14906         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14907         __libc_allocate_rtsig_private.
14908         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14909         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14910         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14911         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14912         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14913         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14914         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14915         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14916         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14917         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14918         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14919         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14920         * nptl/internaltypes.h: ... here.
14921         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14922         * sysdeps/nptl/jmp-unwind.c: ... here.
14923         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14924         * nptl/libc-lowlevellock.c: ... here.
14925         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14926         * nptl/libc_multiple_threads.c: ... here.
14927         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14928         * nptl/libc_pthread_init.c: ... here.
14929         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14930         * nptl/lowlevelbarrier.sym: ... here.
14931         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14932         * nptl/lowlevelcond.sym: ... here.
14933         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14934         * nptl/lowlevellock.c: ... here.
14935         * nptl/lowlevellock.h: Moved ...
14936         * sysdeps/nptl/lowlevellock.h: ... here.
14937         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14938         * nptl/lowlevelrobustlock.c: ... here.
14939         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14940         * nptl/lowlevelrobustlock.sym: ... here.
14941         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14942         * nptl/lowlevelrwlock.sym: ... here.
14943         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14944         * nptl/pt-fork.c: ... here.
14945         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14946         * nptl/pthread-pi-defines.sym: ... here.
14947         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14948         * nptl/pthread_attr_getaffinity.c: ... here.
14949         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14950         * nptl/pthread_attr_setaffinity.c: ... here.
14951         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14952         * nptl/pthread_mutex_cond_lock.c: ... here.
14953         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14954         Update #include.
14955         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14956         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14957         * nptl/pthread_once.c: ... here, replacing old file.
14958         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14959         * nptl/pthread_yield.c: ... here.
14960         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14961         * nptl/register-atfork.c: ... here.
14962         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14963         * nptl/sem_post.c: ... here.
14964         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14965         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14966         * nptl/sem_timedwait.c: ... here.
14967         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14968         * nptl/sem_trywait.c: ... here.
14969         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14970         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14971         * nptl/sem_wait.c: ... here.
14972         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14973         * nptl/structsem.sym: ... here.
14974         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14975         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14976         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14977         * nptl/unregister-atfork.c: ... here.
14978         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14979         * nptl/unwindbuf.sym: ... here.
14980         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14981         * sysdeps/nptl/fork.c: ... here.
14982         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14983         * sysdeps/nptl/fork.h: ... here.
14984         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14985         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14986         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14987         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14988         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14989         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14990         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14991         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14992         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14993         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14994         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14995         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14996         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14997         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14998         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14999         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15000         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15001         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15002         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15003         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15004         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15005         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15006         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15007         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15008         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15009         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15010         * sysdeps/unix/sysv/linux/raise.c: ... here.
15011         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15012         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15013         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15014         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15015         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15016         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15017         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15018         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15019         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15020         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15021         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15022         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15023         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15024         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15025         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15027 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15029         * sysdeps/generic/memcopy.h: Add comment for
15030         MEMCPY_OK_FOR_FWD_MEMMOVE.
15032 2014-07-04  Will Newton  <will.newton@linaro.org>
15034         * string/memchr.c: Merge from gnulib.
15035         [_LIBC]: Remove conditionals.
15036         (__ptr_t): Remove define.
15037         (LONG_MAX_32_BITS): Likewise.
15038         (LONG_MAX): Likewise.
15039         (MEMCHR): Use ANSI prototype and optimize algorithm.
15041         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15043 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15045         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15046         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15048         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15049         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15050         in a bare environment with no <stdlib.h> installed.
15051         * sysdeps/nptl/configure: Regenerated.
15053         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15055         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15056         AC_EGREP_CPP for kernel header checks, so they only succeed if
15057         including <linux/version.h> actually works right.
15058         * sysdeps/unix/sysv/linux/configure: Regenerated.
15060         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15061         value so it's not diagnosed as unused.
15063         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15064         thing) with "ifeq ($(subdir),rt)".
15066 2014-07-03  Richard Henderson  <rth@redhat.com>
15068         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15069         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15070         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15072         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15073         (math_force_eval): New.
15075         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15076         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15078         * sysdeps/alpha/fpu/s_round.c: Remove file.
15079         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15081         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15082         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15083         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15084         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15085         (_dl_start, print_statistics): Likewise.
15086         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15087         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15089         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15090         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15091         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15092         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15094         (HP_SMALL_TIMING_AVAIL): Define.
15095         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15096         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15097         (HP_SMALL_TIMING_AVAIL): Define.
15098         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15099         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15101         * sysdeps/aarch64/hp-timing.h: New file.
15103         * sysdeps/generic/hp-timing.h: Remove dead comment.
15104         * sysdeps/generic/hp-timing-common.h: New file.
15105         * sysdeps/alpha/hp-timing.h: Include it.
15106         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15107         * sysdeps/i386/i686/hp-timing.h: Likewise.
15108         * sysdeps/ia64/hp-timing.h: Likewise.
15109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15110         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15111         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15112         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15113         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15114         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15115         (hp_timing_t): New.
15117         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15118         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15119         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15120         * elf/rtld.c (_dl_start_final): Likewise.
15121         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15122         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15123         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15124         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15125         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15126         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15127         (HP_TIMING_DIFF_INIT): Remove.
15128         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15129         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15130         (HP_TIMING_DIFF_INIT): Remove.
15131         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15132         * sysdeps/i386/i686/hp-timing.c: Remove file.
15133         * sysdeps/x86_64/hp-timing.c: Remove file.
15134         * sysdeps/ia64/hp-timing.c: Remove file.
15135         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15136         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15137         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15138         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15140         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15141         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15142         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15143         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15145         (HP_TIMING_ACCUM): Remove.
15146         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15147         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15148         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15150         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15151         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15152         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15153         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15154         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15155         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15156         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15157         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15159         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15161 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15163         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15165 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15167         Sync up with gettext.
15168         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15169         [_MSC_VER]: Include malloc.h
15170         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15171         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15172         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15173         TEMP_FAILURE_RETRY.  Cast return of alloca.
15174         [!_LIBC] Call gl_rwlock_init.
15175         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15177 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15179         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15180         before checking its value.
15182 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15184         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15186         * debug/memcpy_chk.c: Don't include pagecopy.h.
15187         * debug/mempcpy_chk.c: Likewise.
15188         * string/memcpy.c: Likewise.
15189         * string/memmove.c: Likewise.
15190         * sysdeps/powerpc/memmove.c: Likewise.
15191         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15192         definition of PAGE_COPY_FWD_MAYBE here...
15193         * sysdeps/generic/pagecopy.h: ... from here.
15194         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15196 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15197             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15199         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15201         optimizations.
15202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15203         (__libc_ifunc_impl_list): Likewise.
15204         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15205         multiarch strcat for PPC64.
15206         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15207         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15209 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15211         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15213 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15215         * intl/loadmsgcat.c: Remove declaration of
15216         get_sysdep_segment_value.
15217         (get_sysdep_segment_value): Use ISO C style.
15218         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15219         semicolon.  Fix typo and formatting in comment.
15220         (_nl_unload_domain): Use ISO C style.
15222         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15224 2014-07-02  Will Newton  <will.newton@linaro.org>
15226         * malloc/obstack.c: Merge from gnulib master.
15227         [HAVE_CONFIG_H]: Remove conditional code.
15228         [!_LIBC]: Include config.h.
15229         [!ELIDE_CODE]: Don't include inttypes.h, include
15230         stdint.h unconditionally.
15231         (print_and_abort): Mark as _Noreturn.
15232         (_obstack_allocated_p): Mark as __attribute_pure__.
15233         (obstack_free): Rename to __obstack_free.
15234         [!__attribute__]: Remove conditional code.
15235         * malloc/obstack.h: Merge from gnulib master.
15236         [__cplusplus]: Move conditional down.
15237         [!__attribute_pure__]: Define __attribute_pure__ here
15238         if it is not already defined.
15239         (_obstack_memory_used): Mark as __attribute_pure__.
15240         [!__obstack_free]: Define as obstack_free.
15241         [__GNUC__]: Remove check for ancient NeXT gcc.
15243 2014-07-02  Will Newton  <will.newton@linaro.org>
15244             Paul Eggert  <eggert@cs.ucla.edu>
15246         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15248 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15250         * resolv/gethnamaddr.c: Add comment warning that the file is
15251         not maintained.
15253 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15255         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15256         entries.
15258         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15259         entry for aio_cancel and aio_cancel64.
15260         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15261         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15262         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15263         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15264         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15265         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15266         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15267         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15268         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15269         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15270         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15271         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15272         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15274 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15276         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15277         * nptl/pthread_mutex_lock.c: Likewise.
15278         * nptl/pthread_mutex_timedlock.c: Likewise.
15279         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15281 2014-07-01  Richard henderson  <rth@redhat.com>
15283         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15284         (__isnan, __isnanl): Remove.
15285         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15287         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15289 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15291         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15293 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15295         * resolv/nss_dns/dns-host.c (getanswer_r)
15296         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15298 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15301         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15302         undefine.
15303         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15304         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15306 2014-07-01  Roland McGrath <roland@hack.frob.com>
15308         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15309         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15311         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15312         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15314         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15315         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15316         ... here.
15317         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15318         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15320         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15321         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15322         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15323         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15325         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15326         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15327         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15332         ... here.
15333         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15334         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15335         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15338         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15340         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15341         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15342         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15343         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15344         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15345         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15346         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15347         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15348         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15349         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15350         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15352         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15353         ... here.
15354         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15355         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15356         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15357         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15358         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15359         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15360         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15361         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15363 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15365         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15366         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15367         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15368         Add sysdep.
15370 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15374 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15376         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15377         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15379         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15381         * sysdeps/arm/libm-test-ulps: Regenerated.
15383 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15384             Roland McGrath <roland@hack.frob.com>
15386         * test-skeleton.c (signal_handler): Kill the whole process group
15387         before killing the child individually.
15388         (main): Report any failure on `setpgid'.
15390 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15392         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15393         from _TLS_H to _ARM_NPTL_TLS_H.
15394         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15395         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15397 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15399         [BZ #16539]
15400         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15401         (__expm1l): Return argument unchanged when small but not
15402         subnormal.
15404         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15405         include macro name.
15406         (_FP_UNPACK_RAW_1_P): Likewise.
15407         (_FP_PACK_RAW_1): Likewise.
15408         (_FP_PACK_RAW_1_P): Likewise.
15409         (_FP_MUL_MEAT_1_wide): Likewise.
15410         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15411         (_FP_MUL_MEAT_1_hard): Likewise.
15412         (_FP_DIV_MEAT_1_imm): Likewise.
15413         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15414         (_FP_DIV_MEAT_1_udiv): Likewise.
15415         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15416         (_FP_UNPACK_RAW_2): Likewise.
15417         (_FP_UNPACK_RAW_2_P): Likewise.
15418         (_FP_PACK_RAW_2): Likewise.
15419         (_FP_PACK_RAW_2_P): Likewise.
15420         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15421         (_FP_MUL_MEAT_2_wide): Likewise.
15422         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15423         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15424         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15425         (_FP_MUL_MEAT_2_gmp): Likewise.
15426         (_FP_DIV_MEAT_2_udiv): Likewise.
15427         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15428         (_FP_FRAC_SRL_4): Likewise.
15429         (_FP_FRAC_SRST_4): Likewise.
15430         (_FP_FRAC_SRS_4): Likewise.
15431         (_FP_UNPACK_RAW_4): Likewise.
15432         (_FP_UNPACK_RAW_4_P): Likewise.
15433         (_FP_PACK_RAW_4): Likewise.
15434         (_FP_PACK_RAW_4_P): Likewise.
15435         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15436         (_FP_MUL_MEAT_4_wide): Likewise.
15437         (_FP_MUL_MEAT_4_gmp): Likewise.
15438         (umul_ppppmnnn): Likewise.
15439         (_FP_DIV_MEAT_4_udiv): Likewise.
15440         (__FP_FRAC_ADD_4): Likewise.
15441         (__FP_FRAC_SUB_3): Likewise.
15442         (__FP_FRAC_SUB_4): Likewise.
15443         (__FP_FRAC_DEC_3): Likewise.
15444         (__FP_FRAC_DEC_4): Likewise.
15445         (__FP_FRAC_ADDI_4): Likewise.
15446         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15447         (_FP_FRAC_SRL_8): Likewise.
15448         (_FP_FRAC_SRS_8): Likewise.
15450         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15451         include macro name.
15452         (FP_UNPACK_RAW_EP): Likewise.
15453         (FP_PACK_RAW_E): Likewise.
15454         (FP_PACK_RAW_EP): Likewise.
15455         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15456         (_FP_ISSIGNAN): Likewise.
15457         (_FP_ADD_INTERNAL): Likewise.
15458         (_FP_FMA): Likewise.
15459         (_FP_CMP): Likewise.
15460         (_FP_SQRT): Likewise.
15461         (_FP_TO_INT): Likewise.
15462         (_FP_FROM_INT): Likewise.
15463         (FP_EXTEND): Likewise.
15464         (_FP_DIV_MEAT_N_loop): Likewise.
15466 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15468         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15469         throughout.
15471 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #17097]
15474         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15475         result with correct sign in case of exponents that produce
15476         overflow except for X very close to 1.
15478 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15480         mktime: merge #if/#ifdef usage from glibc
15481         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15482         as that works with both Glibc's and Gnulib's style.
15483         See thread starting at Siddhesh Poyarekar's bug report at:
15484         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15486 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15488         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15489         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15490         * sysdeps/tile/tilegx/memmove.c: Remove file.
15492 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15494         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15495         abi-name definition.
15496         * scripts/soversions.awk: Do not handle or generate ABI lines.
15497         * shlib-versions: Remove ABI entries.
15498         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15499         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15501 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15504         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15505         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15506         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15508         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15510         Moved ...
15511         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15512         ... here.
15513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15514         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15516         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15518         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15520         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15522         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15524         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15526         Moved ...
15527         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15533         Moved ...
15534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15536         Moved ...
15537         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15541         Moved ...
15542         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15544         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15546         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15548         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15550         Moved ...
15551         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15553         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15555         Moved ...
15556         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15558         Moved ...
15559         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15560         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15561         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15563         Moved ...
15564         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15565         ... here.
15566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15567         Identical file removed.
15568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15569         Moved ...
15570         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15572         Identical file removed.
15573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15574         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15575         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15576         Moved ...
15577         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15579         Identical file removed.
15580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15581         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15583         Identical file removed.
15584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15585         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15587         Identical file removed.
15588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15589         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15590         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15591         Identical file removed.
15592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15593         Moved ...
15594         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15596         Identical file removed.
15597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15598         Moved ...
15599         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15601         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15603         Identical file removed.
15604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15605         Moved ...
15606         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15607         ... here.
15608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15609         Identical file removed.
15610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15611         Moved ...
15612         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15614         Identical file removed.
15615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15616         Moved ...
15617         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15619         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15621         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15623         Moved ...
15624         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15626         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15628         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15629         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15630         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15631         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15632         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15634 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15636         [BZ #17092]
15637         * nscd/nscd.c (monitor_child): Return exit status of child
15638         instead of return value from wait syscall.
15640 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15642         * configure.ac (libc_commonpagesize): Remove variable.
15643         (libc_relro_required): Likewise.
15644         (libc_cv_z_relro): Remove configure test.
15645         * configure: Regenerated.
15646         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15647         variable.
15648         (libc_relro_required): Likewise.
15649         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15650         (libc_relro_required): Likewise.
15651         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15652         (libc_relro_required): Likewise.
15653         * sysdeps/arm/preconfigure: Regenerated.
15654         * sysdeps/ia64/preconfigure: Remove file.
15655         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15656         variable.
15657         (libc_relro_required): Likewise.
15659         [BZ #16561]
15660         [BZ #16562]
15661         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15662         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15663         recompute overflowing results in original rounding mode.
15664         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15665         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15666         recompute overflowing results in original rounding mode.
15667         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15668         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15669         recompute overflowing results in original rounding mode.
15670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15671         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15672         recompute overflowing results in original rounding mode.
15673         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15674         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15675         recompute overflowing results in original rounding mode.
15676         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15677         (libc_feholdsetround_ctx): New macro.
15678         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15679         * sysdeps/i386/fpu/libm-test-ulps: Update.
15680         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15682 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15684         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15685         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15686         corresponding .cpsetup call.
15688 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15690         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15691         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15692         * sysdeps/arm/Makefile [$(subdir) = csu]
15693         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15694         (static-only-routines): Add aeabi_read_tp here.
15695         (shared-only-routines): Add libc-aeabi_read_tp here.
15696         (CFLAGS-libc-start.c): Add -fexceptions here.
15697         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15698         (sysdep_routines, static-only-routines, shared-only-routines):
15699         Don't add to these here.
15700         (CFLAGS-libc-start.c): Likewise.
15702         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15703         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15704         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15705         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15706         * sysdeps/arm/Makefile [$(subdir) = rt]
15707         (librt-sysdep_routines, librt-shared-only-routines):
15708         Append rt-aeabi_unwind_cpp_pr1 here.
15709         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15710         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15711         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15712         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15713         Append nptl-aeabi_unwind_cpp_pr1 here.
15714         (tests): Filter out tst-cleanupx4 here.
15715         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15716         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15717         Don't do those here.
15719 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15721         * scripts/list-sources.sh: Do not handle ports specially.
15723 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15725         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15726         * sysdeps/arm/feupdateenv.c: Likewise.
15728         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15730 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15732         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15733         trailing whitespace removed.
15734         * scripts/config.guess: Update to version 2014-03-23.
15735         * scripts/config.sub: Update to version 2014-05-01
15736         * scripts/install-sh: Update to version 2013-12-25.23.
15737         * scripts/move-if-change: Update from gnulib.
15739 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15741         * debug/memmove_chk.c: Remove pagecopy.h include.
15743 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15745         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15746         identical to gnulib mktime.
15748 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15750         * configure.ac: Do not test for machine being rs6000.  Do not test
15751         for powerpc*-*soft.
15752         * configure: Regenerated.
15754         [BZ #11505]
15755         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15756         test.
15757         * configure: Regenerated.
15758         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15759         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15760         Remove configure test.
15761         * sysdeps/arm/configure: Regenerated.
15762         * sysdeps/nptl/configure.ac: Do not check
15763         libc_cv_asm_cfi_directives.
15764         * sysdeps/nptl/configure: Regenerated.
15765         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15766         * sysdeps/x86_64/nptl/configure: Remove generated file.
15767         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15768         unconditional.
15769         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15771 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15773         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15774         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15775         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15776         it is defined.
15778         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15779         instead of whether it is defined.
15780         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15781         * sysdeps/hppa/dl-machine.h: Likewise.
15782         * sysdeps/ia64/dl-machine.h: Likewise.
15783         * sysdeps/m68k/dl-machine.h: Likewise.
15784         * sysdeps/microblaze/dl-machine.h: Likewise.
15785         * sysdeps/mips/dl-machine.: Likewise.
15786         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15787         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15788         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15789         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15790         * sysdeps/sh/dl-machine.h: Likewise.
15791         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15792         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15793         * sysdeps/tile/dl-machine.h: Likewise.
15794         * sysdeps/x86_64/dl-machine.h: Likewise.
15796         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15797         code.
15798         (verify_persistent_db): Likewise.
15800 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15803         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15805         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15807         Moved ...
15808         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15809         ... here.
15810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15811         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15813         Identical file removed.
15814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15815         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15817         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15821         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15823         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15825         Moved ...
15826         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15828         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15830         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15832         Moved ...
15833         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15837         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15839         Identical file removed.
15840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15841         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15845         Moved ...
15846         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15847         ... here.
15848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15855         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15857         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15859         Moved ...
15860         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15862         Moved ...
15863         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15865         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15867         Moved ...
15868         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15872         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15873         folded into ...
15874         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15875         * sysdeps/unix/sysv/linux/s390/Versions
15876         (libpthread: GLIBC_2.19): New version set.
15877         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15878         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15879         (librt: GLIBC_2.3.3): New version set.
15880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15881         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15882         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15884         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15885         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15886         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15888         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15890         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15892         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15893         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15894         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15896         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15898         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15899         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15900         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15901         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15902         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15904         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15906         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15910         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15911         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15916         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15918         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15924         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15926         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15927         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15928         (__libc_vfork): Define the function under this name.
15929         [!NOT_IN_libc] (__vfork): Make this an alias.
15930         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15932         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15933         (__libc_vfork): Define the function under this name.
15934         [!NOT_IN_libc] (__vfork): Make this an alias.
15935         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15936         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15937         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15938         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15940         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15942         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15943         code that was previously under [RESET_PID].
15944         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15945         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15948         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15949         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15950         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15951         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15952         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15953         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15954         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15955         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15956         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15957         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15958         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15959         Moved ...
15960         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15961         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15962         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15963         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15964         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15965         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15966         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15967         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15968         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15969         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15970         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15971         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15972         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15973         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15974         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15975         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15976         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15978         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15979         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15980         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15982         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15984         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15985         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15986         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15987         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15988         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15990 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15992         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15993         that was previously under [RESET_PID].
15994         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15996 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15998         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15999         not undefine and redefine.
16000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16001         [O_CLOEXEC]: Make code unconditional.
16002         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16003         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16004         <kernel-features.h>.
16005         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16006         conditional variable definition.
16007         (shm_open) [O_CLOEXEC]: Make code unconditional.
16008         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16009         code.
16011         * configure.ac (USE_REGPARMS): Don't define here.
16012         * configure: Regenerated.
16013         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16014         * sysdeps/i386/configure: Regenerated.
16016         * nptl/createthread.c: Don't include kernel-features.h.
16017         * nptl/pthread_cancel.c: Likewise.
16018         * nptl/pthread_condattr_setclock.c: Likewise.
16019         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16020         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16021         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16022         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16023         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16024         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16025         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16028         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16029         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16030         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16031         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16032         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16033         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16034         * nscd/gai.c: Likewise.
16035         * nss/nss_db/db-open.c: Likewise.
16036         * sysdeps/generic/ldsodefs.h: Likewise.
16037         * sysdeps/sh/nptl/tls.h: Likewise.
16038         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16039         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16040         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16041         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16042         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16043         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16044         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16045         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16046         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16047         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16048         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16049         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16050         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16051         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16052         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16053         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16054         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16055         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16056         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16057         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16060         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16061         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16066         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16067         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16068         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16069         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16070         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16071         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16072         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16073         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16074         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16075         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16076         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16077         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16078         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16079         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16080         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16081         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16082         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16083         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16084         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16085         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16086         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16087         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16088         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16089         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16090         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16091         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16092         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16093         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16094         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16095         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16118         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16119         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16120         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16121         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16122         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16123         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16124         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16125         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16126         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16127         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16128         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16129         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16130         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16131         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16132         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16133         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16134         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16135         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16136         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16137         * sysdeps/unix/sysv/linux/system.c: Likewise.
16138         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16139         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16140         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16141         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16142         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16143         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16144         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16146         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16147         * configure: Regenerated.
16148         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16150         * configure.ac (base_machine): Do not set specially for particular
16151         machines here.
16152         * configure: Regenerated.
16153         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16154         settings from configure.ac.
16155         * sysdeps/i386/preconfigure: New file.
16156         * sysdeps/s390/preconfigure: Likewise.
16157         * sysdeps/sh/preconfigure: Likewise.
16158         * sysdeps/sparc/preconfigure: Likewise.
16160 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16162         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16163         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16164         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16165         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16166         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16167         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16168         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16169         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16170         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16171         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16172         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16173         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16174         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16179         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16180         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16182         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16183         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16184         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16185         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16186         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16187         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16188         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16189         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16190         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16191         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16192         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16193         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16194         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16195         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16196         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16197         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16198         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16199         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16200         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16201         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16203         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16205         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16207         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16209         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16213         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16215         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16217         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16219         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16222         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16224         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16226         Moved ...
16227         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16228         ... here.
16229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16234         Moved ...
16235         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16237         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16239         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16241         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16243         Moved ...
16244         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16246         Moved ...
16247         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16249         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16251         Moved ...
16252         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16254         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16256         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16258         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16260         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16262         Moved ...
16263         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16264         ... here.
16265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16266         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16268         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16270         Moved ...
16271         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16273         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16275         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16277         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16279         Moved ...
16280         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16282         Moved ...
16283         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16285         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16287         Moved ...
16288         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16292         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16294 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16296         * timezone/checktab.awk: Update from tzcode 2014e.
16297         * timezone/private.h: Likewise.
16298         * timezone/tzfile.h: Likewise.
16299         * timezone/zdump.c: Likewise.
16300         * timezone/zic.c: Likewise.
16302         * sysdeps/unix/sysv/linux/kernel-features.h
16303         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16305         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16306         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16307         Remove conditional code.
16309 2014-06-25  Will Newton  <will.newton@linaro.org>
16311         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16312         (_dl_arm_cap_flags): Add HWCAP2 values.
16313         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16314         (_DL_HWCAP_COUNT): Increase to 37.
16315         (_DL_HWCAP_LAST): New define.
16316         (_DL_HWCAP2_LAST): New define.
16317         (_dl_procinfo): Add support for printing
16318         AT_HWCAP2 entries.
16319         (_dl_string_hwcap): Use _dl_hwcap_string.
16321 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16325 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16327         * README: Do not mention ports directory.
16329         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16330         Remove macro.
16331         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16332         <kernel-features.h>.
16333         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16334         conditional variable definition.
16335         (__futimes): Update comment.
16336         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16337         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16339         [BZ #16560]
16340         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16341         arguments close to 0.
16342         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16343         Likewise.
16344         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16345         Likewise.
16346         * math/auto-libm-test-in: Add more tests of exp10.
16347         * math/auto-libm-test-out: Regenerated.
16348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16350         * sysdeps/unix/sysv/linux/kernel-features.h
16351         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16352         * sysdeps/unix/sysv/linux/readv.c: Do not include
16353         <kernel-features.h>.
16354         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16355         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16356         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16357         unconditional.
16358         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16359         conditional code.
16360         * sysdeps/unix/sysv/linux/writev.c: Do not include
16361         <kernel-features.h>.
16362         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16363         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16364         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16365         unconditional.
16366         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16367         conditional code.
16369 2014-06-25  Will Newton  <will.newton@linaro.org>
16371         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16372         comment changes throughout the file.  Remove checks
16373         for HAVE_*_H definitions that are not required.
16374         (__gen_tempname): Call abort if an unknown kind value is
16375         passed.
16377 2014-06-25  Andreas Schwab  <schwab@suse.de>
16379         [BZ #17086]
16380         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16381         scalbln, scalblnf, scalblnl in libc.
16383 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16385         [BZ #17086]
16386         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16387         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16388         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16390 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16392         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16393         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16394         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16395         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16396         Update #include.
16397         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16398         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16399         Update #include.
16400         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16401         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16402         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16403         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16404         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16405         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16406         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16407         * sysdeps/x86/bits/semaphore.h: ... here.
16408         * sysdeps/x86/nptl/elide.h: Moved ...
16409         * sysdeps/x86/elide.h: ... here.
16410         * sysdeps/x86_64/nptl/Implies: File removed.
16411         * sysdeps/i386/nptl/Implies: File removed.
16413 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16415         [BZ #16539]
16416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16417         return the argument for normal arguments with exponent below -64.
16418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16419         Likewise.
16420         * math/auto-libm-test-in: Add another test of expm1.
16421         * math/auto-libm-test-out: Regenerated.
16423         [BZ #16287]
16424         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16425         calling __erfcl for arguments at least 16.
16426         * math/auto-libm-test-in: Add more tests of erf.
16427         * math/auto-libm-test-out: Regenerated.
16429         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16430         individual architectures.
16431         * sysdeps/unix/sysv/linux/configure: Regenerated.
16432         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16433         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16434         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16435         (ldd_rewrite_script): Define variable.
16436         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16438         file.
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16440         generated file.
16441         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16442         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16443         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16444         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16445         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16446         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16447         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16448         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16450 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16452         [BZ #17084]
16453         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16454         Rename member __data.d to __data.__elision_data.
16456 2014-06-24  Wilco  <wdijkstr@arm.com>
16458         * NEWS: Add 16918 to fixed bug list.
16460 2014-06-24  Wilco  <wdijkstr@arm.com>
16462         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16464 2014-06-24  Wilco  <wdijkstr@arm.com>
16466         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16467         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16468         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16469         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16470         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16471         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16472         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16473         Use _FPU_MASK_RM.
16475 2014-06-24  Wilco  <wdijkstr@arm.com>
16477         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16479 2014-06-24  Wilco  <wdijkstr@arm.com>
16481         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16482         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16483         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16484         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16486 2014-06-24  Wilco  <wdijkstr@arm.com>
16488         [BZ #16918]
16489         * sysdeps/arm/feupdateenv.c (feupdateenv):
16490         Rewrite to reduce FPSCR accesses and fix return value.
16492 2014-06-24  Wilco  <wdijkstr@arm.com>
16494         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16495         Optimize to avoid unnecessary FPSCR writes.
16496         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16497         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16498         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16499         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16501 2014-06-24  Wilco  <wdijkstr@arm.com>
16503         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16504         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16505         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16506         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16507         Call libc_fetestexcept_vfp.
16508         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16509         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16510         __SOFTFP__ ifdef so that they can be built for softfp.
16512 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16514         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16515         argument type signed char.
16517         * Makerules (check-abi): Dump diff of symlist if the test
16518         fails.
16520 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16522         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16523         using abort.
16525         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16526         Remove unused variable ST.
16528 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16530         [BZ #16354]
16531         [BZ #17061]
16532         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16533         small arguments before calling __expm1.
16534         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16535         small arguments before calling __expm1f.
16536         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16537         small arguments before calling __expm1l.
16538         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16539         Likewise.
16540         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16541         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16542         spurious underflow for some cosh tests.
16543         * math/auto-libm-test-out: Regenerated.
16544         * sysdeps/i386/fpu/libm-test-ulps: Update.
16546         [BZ #17050]
16547         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16548         (__ieee754_y1): Set errno if return value overflows.
16549         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16550         (__ieee754_y1f): Set errno if return value overflows.
16551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16552         (__ieee754_y1l): Set errno if return value overflows.
16553         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16554         (__ieee754_y1l): Set errno if return value overflows.
16555         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16556         * math/auto-libm-test-out: Regenerated.
16558         * math/gen-auto-libm-tests.c: Document use of
16559         ignore-zero-inf-sign.
16560         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16561         (input_flags): Add ignore-zero-inf-sign.
16562         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16563         * math/gen-libm-test.pl (generate_testfile): Handle
16564         ignore-zero-inf-sign.
16565         * math/auto-libm-test-in: Mark some cpow tests with
16566         ignore-zero-inf-sign and some with xfail-rounding.
16567         * math/auto-libm-test-out: Regenerated.
16568         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16569         * sysdeps/i386/fpu/libm-test-ulps: Update.
16570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572         [BZ #16315]
16573         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16574         overflowing or underflowing operations take place with sign of
16575         result.
16576         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16577         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16578         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16579         (__ieee754_pow): Recompute overflowing and underflowing results in
16580         original rounding mode.
16581         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16582         (__powl_helper): Allow negative argument X and scale negated value
16583         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16584         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16585         overflowing or underflowing operations take place with sign of
16586         result.
16587         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16588         Include <math.h>.
16589         * math/auto-libm-test-in: Add more tests of pow.
16590         * math/auto-libm-test-out: Regenerated.
16591         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16592         (pow_tonearest_test_data): Remove.
16593         (pow_test_tonearest): Likewise.
16594         (pow_towardzero_test_data): Likewise.
16595         (pow_test_towardzero): Likewise.
16596         (pow_downward_test_data): Likewise.
16597         (pow_test_downward): Likewise.
16598         (pow_upward_test_data): Likewise.
16599         (pow_test_upward): Likewise.
16600         (main): Don't call removed functions.
16601         * sysdeps/i386/fpu/libm-test-ulps: Update.
16602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16604 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16607         Moved ...
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16610         Moved ...
16611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16613         Moved ...
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16616         Moved ...
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16619         File removed.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16621         File removed.
16622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16623         File removed.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16625         File removed.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16627         File removed.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16629         File removed.
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16631         File removed.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16633         File removed.
16634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16635         File removed.
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16637         File removed.
16638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16639         File removed.
16640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16641         File removed.
16642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16643         Moved ...
16644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16646         Moved ...
16647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16648         ... here.
16649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16650         Moved ...
16651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16653         Moved ...
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16659         Moved ...
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16662         Moved ...
16663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16665         Moved ...
16666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16668         Moved ...
16669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16672         ... here.
16673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16674         Moved ...
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16677         Moved ...
16678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16679         ... here.
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16681         Moved ...
16682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16683         ... here.
16684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16685         Moved ...
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16687         ... here.
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16689         Moved ...
16690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16692         Moved ...
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16697         Moved ...
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16699         ... here.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16701         Moved ...
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16703         ... here.
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16705         Moved ...
16706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16708         Moved ...
16709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16714         Moved ...
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16717         Moved ...
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16719         ... here.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16721         Moved ...
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16724         Moved ...
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16730         Moved ...
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16735         Moved ...
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16741         Moved ...
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16743         ... here.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16745         Moved ...
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16747         ... here.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16749         Moved ...
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16751         ... here.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16753         Moved ...
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16756         Moved ...
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16762         Moved ...
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16764         ... here.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16766         Moved ...
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16768         ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16772         ... here.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16774         Moved ...
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16780 2014-06-23  Will Newton  <will.newton@linaro.org>
16781             Wilco  <wdijkstr@arm.com>
16783         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16784         implementation.  Include get-rounding-mode.h.
16785         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16786         [!libc_feholdsetround_noex_ctx]: Define
16787         libc_feholdsetround_noex_ctx.
16788         [!libc_feholdsetround_noexf_ctx]: Define
16789         libc_feholdsetround_noexf_ctx.
16790         [!libc_feholdsetround_noexl_ctx]: Define
16791         libc_feholdsetround_noexl_ctx.
16792         (libc_feholdsetround_ctx): New function.
16793         (libc_feresetround_ctx): New function.
16794         (libc_feholdsetround_noex_ctx): New function.
16795         (libc_feresetround_noex_ctx): New function.
16797 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16799         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16800         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16801         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16802         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16803         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16804         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16806         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16807         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16808         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16809         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16810         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16811         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16813         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16814         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16815         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16819         ... here.
16820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16821         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16823         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16825         Moved ...
16826         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16828         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16830         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16832         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16834         Moved ...
16835         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16837         Moved ...
16838         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16840         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16842         Moved ...
16843         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16845         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16846         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16847         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16848         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16849         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16850         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16851         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16852         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16853         Moved ...
16854         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16855         ... here.
16856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16857         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16859         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16861         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16863         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16865         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16867         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16869         Moved ...
16870         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16872         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16876         Moved ...
16877         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16879         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16880         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16881         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16883         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16884         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16885         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16894         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16895         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16896         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16897         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16898         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16899         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16900         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16901         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16902         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16903         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16904         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16905         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16906         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16907         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16908         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16909         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16910         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16912 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16915         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16916         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16917         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16918         (IPV6_PMTUDISC_INTERFACE): Likewise.
16919         (IPV6_PMTUDISC_OMIT): Likewise.
16921 2014-06-23  Andreas Schwab  <schwab@suse.de>
16923         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16924         Remove unused errout label.
16926 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16928         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16929         macro: hardware supports Vector Crypto instructions.
16931 2014-06-23  Will Newton  <will.newton@linaro.org>
16933         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16934         rather than __builtin_expect.
16936         * elf/dl-lookup.c (undefined_msg): Remove variable.
16937         (_dl_lookup_symbol_x): Replace undefined_msg with string
16938         literal.
16940         * elf/dl-lookup.c (do_lookup_unique): New function.
16941         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16942         to a separate function.
16944 2014-06-23  Andreas Schwab  <schwab@suse.de>
16946         [BZ #17079]
16947         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16948         before reading the next line.
16950 2014-06-23  Will Newton  <will.newton@linaro.org>
16952         * test-skeleton.c (signal_handler): Use printf and %m
16953         rather than perror.  Use printf rather than fprintf to
16954         stderr.  Use puts rather than fputs to stderr.
16955         (main): Likewise.
16957 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16959         * nscd/nscd.c (thread_info_t): Remove typedef.
16960         (thread_info): Remove variable.
16962 2014-06-21  Allan McRae  <allan@archlinux.org>
16964         * NEWS: Mention CVE-2014-4043.
16966 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16968         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16969         * nptl/smp.h: ... here.
16971         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16973         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16974         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16975         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16976         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16978         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16979         * nptl/stack-aliasing.h: New file.
16980         * sysdeps/i386/i686/stack-aliasing.h: New file.
16981         * sysdeps/i386/i686/nptl/Makefile: File removed.
16982         * sysdeps/x86_64/stack-aliasing.h: New file.
16983         * sysdeps/x86_64/nptl/Makefile
16984         (CFLAGS-pthread_create.c): Variable removed.
16986         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16987         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16988         old file.
16989         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16990         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16991         old file.
16993 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16996         (__ASSUME_SIGFRAME_V2): Remove macro.
16997         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16998         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16999         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17000         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17001         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17002         Declare as function.  Remove conditional macro definitions.
17003         (__default_rt_sa_restorer): Likewise.
17004         (__default_sa_restorer_v1): Remove declaration.
17005         (__default_sa_restorer_v2): Likewise.
17006         (__default_rt_sa_restorer_v1): Likewise.
17007         (__default_rt_sa_restorer_v2): Likewise.
17008         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17009         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17010         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17012 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17014         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17015         (libpthread-routines): Add sysdep.
17016         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17017         * sysdeps/unix/sysv/linux/sparc/Versions
17018         (libpthread: GLIBC_2.3.3): New version set.
17019         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17020         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17021         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17022         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17023         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17024         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17025         Moved ...
17026         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17027         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17028         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17030         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17031         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17032         * sysdeps/sparc/nptl/sem_init.c: ... here.
17033         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17034         * sysdeps/sparc/nptl/sem_post.c: ... here.
17035         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17036         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17037         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17038         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17039         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17040         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17041         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17042         (libpthread-routines): Add cpu_relax.
17043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17044         File removed.
17045         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17046         (librt: GLIBC_2.3.3): New version set.
17047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17048         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17049         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17050         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17053         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17055         Moved ...
17056         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17058         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17060         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17062         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17064         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17066         Moved ...
17067         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17068         Update #include.
17069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17070         Moved ...
17071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17072         Update #include.
17073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17074         Moved ...
17075         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17076         Update #include.
17077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17078         Moved ...
17079         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17080         Update #include.
17081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17082         Moved ...
17083         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17084         Update #include.
17085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17086         Moved ...
17087         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17088         Update #include.
17089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17090         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17096         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17098         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17100         Moved ...
17101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17105         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17107 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17109         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17110         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17111         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17112         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17113         * nscd/nscd.c: Likewise.
17114         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17115         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17116         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17117         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17119         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17120         <kernel-features.h>.
17121         (init_mq_netlink): Remove conditional have_sock_cloexec
17122         definitions.  Remove code conditional on have_sock_cloexec < 0.
17123         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17124         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17125         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17126         <kernel-features.h>.
17127         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17128         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17130 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17133         Add tests for memset_chk and memset.
17135         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17136         with AVX2_Usable.
17138 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17140         [BZ #16046]
17141         * elf/tst-dl-iter-static.c: New file.
17142         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17144         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17145         error.
17147 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17149         * sysdeps/unix/sysv/linux/kernel-features.h
17150         (__ASSUME_F_GETOWN_EX): Remove macro.
17151         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17152         <kernel-features.h>.
17153         (miss_F_GETOWN_EX): Remove variable or macro.
17154         (do_fcntl): Do not check miss_F_GETOWN_EX.
17155         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17157         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17158         Remove macro.
17159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17160         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17161         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17163         * sysdeps/unix/sysv/linux/kernel-features.h
17164         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17166         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17167         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17169 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17171         [BZ #17075]
17172         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17173         Fix calculation of the symbol's value.
17174         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17175         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17176         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17177         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17178         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17179         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17180         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17181         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17182         (modules-names): Add `tst-armtlsdescmod',
17183         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17184         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17185         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17186         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17187         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17188         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17189         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17190         ($(objpfx)tst-armtlsdescloc): New dependency.
17191         ($(objpfx)tst-armtlsdescextnow): Likewise.
17192         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17193         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17194         TLS scheme support.
17195         * sysdeps/arm/configure: Regenerate.
17197 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17199         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17200         (__atfct_seterrno_2): Likewise.
17201         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17202         <kernel-features.h>.
17203         (__ASSUME_ATFCTS): Do not undefine and redefine.
17204         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17205         (__have_atfcts): Remove conditional definition.
17206         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17207         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17208         unreachable if [__ASSUME_ATFCTS].
17209         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17210         not undefine and redefine.
17211         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17212         <kernel-features.h>.
17213         (faccessat) [__NR_faccessat]: Make code unconditional.
17214         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17215         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17216         <kernel-features.h>.
17217         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17218         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17219         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17220         <kernel-features.h>.
17221         (fchownat) [__NR_fchownat]: Make code unconditional.
17222         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17223         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17224         <kernel-features.h>.
17225         (futimesat) [__NR_futimesat]: Make code unconditional.
17226         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17227         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17228         <kernel-features.h>.
17229         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17230         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17231         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17232         <kernel-features.h>.
17233         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17234         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17235         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17236         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17237         <kernel-features.h>.
17238         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17239         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17240         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17241         <kernel-features.h>.
17242         (linkat) [__NR_linkat]: Make code unconditional.
17243         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17244         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17245         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17246         <kernel-features.h>.
17247         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17248         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17249         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17250         <kernel-features.h>.
17251         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17252         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17253         * sysdeps/unix/sysv/linux/openat.c: Do not include
17254         <kernel-features.h>.
17255         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17256         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17257         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17258         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17259         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17260         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17261         <kernel-features.h>.
17262         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17263         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17264         result of INLINE_SYSCALL directly, not via int variable.
17265         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17266         <kernel-features.h>.
17267         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17268         (renameat) [__NR_renameat]: Make code unconditional.
17269         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17270         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17271         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17272         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17273         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17274         (__ASSUME_ATFCTS): Do not undefine and redefine.
17275         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17276         <kernel-features.h>.
17277         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17278         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17279         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17280         <kernel-features.h>.
17281         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17282         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17283         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17284         (__ASSUME_ATFCTS): Do not undefine and redefine.
17285         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17286         <kernel-features.h>.
17287         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17288         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17289         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17290         <kernel-features.h>.
17291         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17292         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17294 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17296         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17298 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17300         [BZ #17069]
17301         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17302         constructed tree before returning error.
17303         * posix/bug-regexp36.c: Expand test case.
17305 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17307         [BZ #6803]
17308         * math/libm-test.inc (scalbln_test_date):
17309         Add errno expectations.
17310         * math/w_scalblnf.c: New File.
17311         Add wrapper which checks for setting errno to ERANGE.
17312         Add weak_alias for corresponding scalbln function.
17313         * math/w_scalbln.c: Likewise.
17314         * math/w_scalblnl.c: Likewise.
17315         * math/Makefile (libm-calls): Add w_scalbln.
17316         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17317         Remove weak_alias for corresponding scalbln function.
17318         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17320         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17321         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17322         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17323         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17324         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17325         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17326         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17327         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17328         Remove long_double_symbol for scalblnl function in libm, libc.
17329         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17330         Add wrapper which checks for setting errno to ERANGE.
17331         Add long_double_symbol for scalblnl function in libm, libc.
17332         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17333         Remove long_double_symbol for scalblnl in libm.
17334         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17335         Add wrapper which checks for setting errno to ERANGE.
17336         Add long_double_symbol for scalblnl function in libm.
17337         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17338         Do not use wrapper because of own implementation.
17340 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17342         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17343         3 bytes for __pad1 for x32.
17344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17346 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17347             H.J. Lu  <hongjiu.lu@intel.com>
17349         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17350         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17351         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17353         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17355 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17357         [BZ #17069]
17358         * posix/regcomp.c (parse_expression): Deallocate partially
17359         constructed tree before returning error.
17360         * posix/Makefile.c (tests): Add bug-regex36.
17361         (generated): Add bug-regex36.mtrace.
17362         (tests-special): Add $(objpfx)bug-regex36-mem.out
17363         (bug-regex36-ENV): New variable.
17364         ($(objpfx)bug-regex36-mem.out): New rule.
17365         * posix/bug-regex36.c: New file.
17367 2014-06-19  Will Newton  <will.newton@linaro.org>
17369         * malloc/malloc.c (systrim): If extra is zero then return
17370         early.
17372 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17374         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17376 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17378         * sysdeps/aarch64/strchr.S: New file.
17380 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17382         [BZ #17022]
17383         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17384         from arguments -2 or below.
17385         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17386         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17388 2014-06-18  Andreas Schwab  <schwab@suse.de>
17390         [BZ #17062]
17391         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17392         of a bracket expr not to run off the end of the string.
17393         * posix/Makefile (tests): Add tst-fnmatch3.
17394         * posix/tst-fnmatch3.c: New file.
17396 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17398         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17399         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17400         [$(cross-compiling) = no]: Likewise.
17401         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17402         [$(cross-compiling) = no]: Likewise.
17404 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17406         [BZ #17031]
17407         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17408         double, adjusted for any remainder from the high double.
17409         * math/libm-test.inc (nearbyint): Add tests.
17410         (rint): Likewise.
17412 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17414         * nptl/sysdeps/powerpc/Makefile: Moved ...
17415         * sysdeps/powerpc/nptl/Makefile: ... here.
17416         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17417         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17418         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17419         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17420         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17421         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17422         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17423         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17424         * nptl/sysdeps/powerpc/tls.h: Moved ...
17425         * sysdeps/powerpc/nptl/tls.h: ... here.
17427 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17429         [BZ #16681]
17430         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17431         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17432         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17433         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17434         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17435         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17436         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17437         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17438         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17440 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17442         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17444 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17446         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17447         defined operator.
17449         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17450         $TIMEOUTFACTOR.
17452 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17454         [BZ #17058]
17455         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17456         non-executed part of the test.
17458 2014-06-16  Andreas Schwab  <schwab@suse.de>
17460         * string/bits/string2.h (strdup, strndup): Update feature guard.
17462 2014-06-14  David S. Miller  <davem@davemloft.net>
17464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17466 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17468         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17469         that was previously under [RESET_PID].
17470         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17472         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17473         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17474         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17475         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17476         (__libc_vfork): New strong alias.
17477         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17479 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17481         * sysdeps/generic/elide.h: New file.
17483 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17485         * Makefile (installed-headers): Adjust path of pthread.h header.
17487 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17489         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17490         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17491         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17492         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17494         * nptl/sysdeps/s390/Makefile: Moved ...
17495         * sysdeps/s390/nptl/Makefile: ... here.
17496         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17497         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17498         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17499         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17500         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17501         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17502         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17503         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17504         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17505         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17506         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17507         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17508         * nptl/sysdeps/s390/tls.h: Moved ...
17509         * sysdeps/s390/nptl/tls.h: ... here.
17511         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17512         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17514 2014-06-13  David S. Miller  <davem@davemloft.net>
17516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17519         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17523         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17524         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17525         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17526         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17527         Remove RESET_PID cpp guards.
17528         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17529         Remove RESET_PID cpp guards.
17530         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17532 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17534         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17535         __sp to uintptr_t.
17537 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17554         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17560         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17561         (pthread_rwlock_rdlock): Add elision.
17562         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17563         (pthread_rwlock_wrlock): Add elision.
17564         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17565         (pthread_rwlock_trywrlock): Add elision.
17566         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17567         (pthread_rwlock_tryrdlock): Add elision.
17568         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17569         (pthread_rwlock_tryrdlock): Add elision unlock.
17570         * nptl/sysdeps/pthread/pthread.h:
17571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17572         (PTHREAD_RWLOCK_INITIALIZER,
17573         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17574         Handle new elision field.
17575         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17576         * sysdeps/arm/nptl/bits/pthreadtypes.h
17577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17578         * sysdeps/sh/nptl/bits/pthreadtypes.h
17579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17580         * sysdeps/tile/nptl/bits/pthreadtypes.h
17581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17582         * sysdeps/a/nptl/bits/pthreadtypes.h
17583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17584         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17586         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17588         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17590         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17592         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17594         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17596         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17598         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17600         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17601         (elision_init): Set try_xbegin to zero when no RTM.
17602         * sysdeps/x86/nptl/bits/pthreadtypes.h
17603         (pthread_rwlock_t): Change __pad1 to __rwelision.
17604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17606 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17608         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17609         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17610         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17611         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17613 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17615         [BZ #16996]
17616         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17617         that the cached result has been set before returning it.
17619 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17621         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17622         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17623         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17624         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17625         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17626         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17628         * nptl/sysdeps/sparc/Makefile: Moved ...
17629         * sysdeps/sparc/nptl/Makefile: ... here.
17630         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17631         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17632         * nptl/sysdeps/sparc/tls.h: Moved ...
17633         * sysdeps/sparc/nptl/tls.h: ... here.
17634         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17635         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17636         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17637         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17638         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17639         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17640         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17641         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17642         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17643         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17644         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17645         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17646         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17647         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17648         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17649         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17650         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17652         Update #include.
17653         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17655         Update #include.
17656         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17658         Update #include.
17659         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17661         Update #include.
17663         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17665         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17666         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17668         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17669         (struct list_links): Type removed.
17670         (struct thread_node, struct timer_node): Replace struct list_links
17671         with struct list_head.
17672         (list_unlink_ip): Likewise.
17673         * sysdeps/pthread/timer_routines.c
17674         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17675         (list_append, list_insbefore): Likewise.
17676         (list_init): Function removed.
17677         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17678         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17679         * sysdeps/pthread/Makefile: ... here, new file.
17681         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17682         * sysdeps/nptl/Implies: ... here.
17683         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17684         * nptl/sysdeps/pthread/list.h: Moved ...
17685         * include/list.h: ... here.
17686         * nptl/sysdeps/pthread/createthread.c: Moved ...
17687         * nptl/createthread.c: ... here.
17688         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17689         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17690         * nptl/pt-longjmp.c: ... here.
17691         * nptl/sysdeps/pthread/Makefile: Moved ...
17692         * sysdeps/nptl/Makefile: ... here.
17693         * nptl/sysdeps/pthread/Subdirs: Moved ...
17694         * sysdeps/nptl/Subdirs: ... here.
17695         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17696         * sysdeps/nptl/aio_misc.h: ... here.
17697         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17698         * sysdeps/nptl/bits/libc-lock.h: ... here.
17699         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17700         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17701         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17702         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17703         * nptl/sysdeps/pthread/configure: Moved ...
17704         * sysdeps/nptl/configure: ... here.
17705         * nptl/sysdeps/pthread/configure.ac: Moved ...
17706         * sysdeps/nptl/configure.ac: ... here.
17707         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17708         * sysdeps/nptl/gai_misc.h: ... here.
17709         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17710         * sysdeps/nptl/librt-cancellation.c: ... here.
17711         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17712         * sysdeps/nptl/malloc-machine.h: ... here.
17713         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17714         * sysdeps/nptl/pthread-functions.h: ... here.
17715         * nptl/sysdeps/pthread/pthread.h: Moved ...
17716         * sysdeps/nptl/pthread.h: ... here.
17717         * nptl/sysdeps/pthread/setxid.h: Moved ...
17718         * sysdeps/nptl/setxid.h: ... here.
17719         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17720         * sysdeps/nptl/sigfillset.c: ... here.
17721         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17722         * sysdeps/nptl/tcb-offsets.h: ... here.
17723         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17724         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17725         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17726         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17727         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17728         * sysdeps/pthread/allocalim.h: ... here.
17729         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17730         * sysdeps/pthread/bits/sigthread.h: ... here.
17731         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17732         * sysdeps/pthread/flockfile.c: ... here.
17733         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17734         * sysdeps/pthread/ftrylockfile.c: ... here.
17735         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17736         * sysdeps/pthread/funlockfile.c: ... here.
17737         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17738         * sysdeps/pthread/posix-timer.h: ... here.
17739         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17740         * sysdeps/pthread/timer_create.c: ... here.
17741         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17742         * sysdeps/pthread/timer_delete.c: ... here.
17743         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17744         * sysdeps/pthread/timer_getoverr.c: ... here.
17745         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17746         * sysdeps/pthread/timer_gettime.c: ... here.
17747         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17748         * sysdeps/pthread/timer_routines.c: ... here.
17749         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17750         * sysdeps/pthread/timer_settime.c: ... here.
17751         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17752         * sysdeps/pthread/tst-timer.c: ... here.
17753         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17754         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17756         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17757         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17759         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17760         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17761         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17762         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17763         Update #include target.
17764         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17765         * sysdeps/i386/i686/nptl/Makefile: ... here.
17766         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17767         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17768         Update #include target.
17769         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17770         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17771         * nptl/sysdeps/i386/Makefile: Moved ...
17772         * sysdeps/i386/nptl/Makefile: ... here.
17773         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17774         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17775         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17776         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17777         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17778         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17779         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17780         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17781         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17782         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17783         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17784         * nptl/sysdeps/i386/tls.h: Moved ...
17785         * sysdeps/i386/nptl/tls.h: ... here.
17787         * sysdeps/sh/Makefile [$(subdir) = csu]
17788         (gen-as-const-headers): Add tcb-offsets.sym.
17789         * nptl/sysdeps/sh/Makefile: File removed.
17790         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17791         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17792         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17793         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17794         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17795         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17796         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17797         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17798         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17799         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17800         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17801         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17802         * nptl/sysdeps/sh/tls.h: Moved ...
17803         * sysdeps/sh/nptl/tls.h: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17805         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17806         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17807         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17808         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17809         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17811         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17813         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17815         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17817         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17819         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17821         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17823         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17825         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17829         Moved ...
17830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17832         Moved ...
17833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17839         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17840         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17841         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17843         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17844         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17845         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17846         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17847         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17848         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17849         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17850         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17851         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17853 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17855         * posix/spawn_faction_addopen.c: Include string.h.
17857 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17859         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17860         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17861         * nptl/sysdeps/x86_64/Makefile: Moved ...
17862         * sysdeps/x86_64/nptl/Makefile: ... here.
17863         * nptl/sysdeps/x86_64/configure: Moved ...
17864         * sysdeps/x86_64/nptl/configure: ... here.
17865         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17866         * sysdeps/x86_64/nptl/configure.ac: ... here.
17867         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17868         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17869         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17870         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17871         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17872         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17873         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17874         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17875         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17876         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17877         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17878         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17879         * nptl/sysdeps/x86_64/tls.h: Moved ...
17880         * sysdeps/x86_64/nptl/tls.h: ... here.
17881         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17882         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17883         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17884         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17886         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17888 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17892 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17894         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17895         type.
17896         [POSIX] (off_t): Likewise.
17897         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17898         [POSIX] (S_ISBLK): Require macro.
17899         [POSIX] (S_ISCHR): Likewise.
17900         [POSIX] (S_ISDIR): Likewise.
17901         [POSIX] (S_ISFIFO): Likewise.
17902         [POSIX] (S_ISREG): Likewise.
17903         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17904         optional-macro.
17905         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17906         type.
17907         [POSIX] (time_t): Likewise.
17908         [POSIX] (timer_t): Likewise.
17910 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17912         [BZ #17048]
17913         * posix/spawn_int.h (struct __spawn_action): Make the path string
17914         non-const to support deallocation.
17915         * posix/spawn_faction_addopen.c
17916         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17917         * posix/spawn_faction_destroy.c
17918         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17919         path in all spawn_do_open actions.
17920         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17921         posix_spawn_file_actions_addopen.
17923 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17925         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17926         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17927         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17928         conditional code always true.
17929         (__libc_vfork): New alias.
17931 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17933         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17934         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17936         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17938         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17939         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17941         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17942         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17944         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17945         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17947 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17949         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17950         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17951         multiarch strcmp for PPC64.
17952         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17953         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17955         multiarch optimizations.
17956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17957         (__libc_ifunc_impl_list): Likewise.
17959 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17961         * benchtests/scripts/validate_benchout.py: New script.
17962         * benchtests/Makefile (bench-func): Call it.
17963         * benchtests/scripts/benchout.schema.json: New file.
17965 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17967         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17968         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17969         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17970         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17971         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17972         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17973         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17974         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17975         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17976         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17977         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17978         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17979         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17980         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17981         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17984         Moved ...
17985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17986         ... here.
17987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17988         Moved ...
17989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17991         Moved ...
17992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17993         ... here.
17994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17995         Moved ...
17996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17997         ... here.
17998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17999         Moved ...
18000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18002         Moved ...
18003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18004         ... here.
18005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18006         Moved ...
18007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18008         ... here.
18009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18010         Moved ...
18011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18013         Moved ...
18014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18015         ... here.
18016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18017         Moved ...
18018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18019         ... here.
18020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18021         Moved ...
18022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18023         ... here.
18024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18025         Moved ...
18026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18028         Moved ...
18029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18030         ... here.
18031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18032         Moved ...
18033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18034         ... here.
18035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18036         Moved ...
18037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18038         ... here.
18039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18040         Moved ...
18041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18043         Moved ...
18044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18045         ... here.
18046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18047         Moved ...
18048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18049         ... here.
18050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18051         Moved ...
18052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18054         Moved ...
18055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18056         ... here.
18057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18058         Moved ...
18059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18061         Moved ...
18062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18064         Moved ...
18065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18066         ... here.
18067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18068         Moved ...
18069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18070         ... here.
18071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18072         Moved ...
18073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18074         ... here.
18075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18076         Moved ...
18077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18079         Moved ...
18080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18081         ... here.
18082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18083         Moved ...
18084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18085         ... here.
18086         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18087         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18089         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18093         ... here.
18094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18095         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18097         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18099         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18101         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18103         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18105         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18107         Moved ...
18108         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18110         Moved ...
18111         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18113         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18115         Moved ...
18116         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18118         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18119         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18120         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18121         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18122         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18124 2014-06-10  Wilco  <wdijkstr@arm.com>
18126         * math/test-fenv-return.c: New file.
18127         * math/Makefile: Add new test test-fenv-return.
18129 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18131         [BZ #17042]
18132         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18133         when x - 1 is zero.
18134         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18135         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18136         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18137         0.0L for an argument of 1.0L.
18138         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18139         Likewise.
18140         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18141         value when x - 1 is zero.
18142         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18143         * sysdeps/i386/fpu/libm-test-ulps: Update.
18144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18146 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18148         [BZ #15119]
18149         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18151 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18153         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18154         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18156 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18158         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18159         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18161         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18162         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18164         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18165         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18167         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18168         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18170         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18171         if not already defined.
18172         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18173         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18174         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18175         (TLS_INIT_TP): Use it.
18176         (TLS_DEFINE_INIT_TP): New macro.
18177         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18179 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18181         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18182         constant.
18183         [POSIX] (IXANY): Likewise.
18184         [POSIX] (OLCUC): Likewise.
18185         [POSIX || POSIX2008] (CBAUD): Do not allow.
18186         [POSIX || POSIX2008] (DEFECHO): Likewise.
18187         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18188         [POSIX || POSIX2008] (ECHOKE): Likewise.
18189         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18190         [POSIX || POSIX2008] (EXTA): Likewise.
18191         [POSIX || POSIX2008] (EXTB): Likewise.
18192         [POSIX || POSIX2008] (FLUSHO): Likewise.
18193         [POSIX || POSIX2008] (LOBLK): Likewise.
18194         [POSIX || POSIX2008] (PENDIN): Likewise.
18195         [POSIX || POSIX2008] (SWTCH): Likewise.
18196         [POSIX || POSIX2008] (VDISCARD): Likewise.
18197         [POSIX || POSIX2008] (VDSUSP): Likewise.
18198         [POSIX || POSIX2008] (VLNEXT): Likewise.
18199         [POSIX || POSIX2008] (VREPRINT): Likewise.
18200         [POSIX || POSIX2008] (VSTATUS): Likewise.
18201         [POSIX || POSIX2008] (VWERASE): Likewise.
18202         (B*): Change to B[0123456789]*.
18203         * conform/data/time.h-data [POSIX || UNIX98]
18204         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18205         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18206         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18207         [POSIX] (tm_*): Do not allow.
18209 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18211         * Makefile (install): Don't set LANGUAGE.
18212         * Makefile.in (install): Likewise.
18213         * assert/Makefile (test-assert-ENV): Remove variable.
18214         (test-assert-perr-ENV): Likewise.
18215         * elf/Makefile (neededtest4-ENV): Likewise.
18216         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18217         [$(cross-compiling) = no]: Don't set LANGUAGE.
18218         * io/ftwtest-sh (LANG): Remove variable.
18219         * libio/Makefile (tst-widetext-ENV): Likewise.
18220         * manual/install.texi (Running make install): Don't refer to
18221         environment settings for make install.
18222         * INSTALL: Regenerated.
18223         * nptl/tst-tls6.sh: Don't set LANG.
18224         * posix/globtest.sh (LANG): Remove variable.
18225         * string/Makefile (tester-ENV): Likewise.
18226         (inl-tester-ENV): Likewise.
18227         (noinl-tester-ENV): Likewise.
18228         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18229         [$(cross-compiling) = no]: Don't set LANGUAGE.
18230         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18231         without explicit environment settings.
18233 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18235         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18236         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18237         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18238         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18240 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18242         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18243         other files in the crypt directory.
18244         * crypt/crypt.c: Remove duplicate includes.
18245         * crypt/crypt-entry.c: Likewise.
18246         * crypt/crypt_util.c: Likewise.
18248 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18250         * Makeconfig (run-program-env): New variable.
18251         (run-program-prefix-before-env): Likewise.
18252         (run-program-prefix-after-env): Likewise.
18253         (run-program-prefix): Define in terms of new variables.
18254         (built-program-cmd-before-env): New variable.
18255         (built-program-cmd-after-env): Likewise.
18256         (built-program-cmd): Define in terms of new variables.
18257         (test-program-prefix-before-env): New variable.
18258         (test-program-prefix-after-env): Likewise.
18259         (test-program-prefix): Define in terms of new variables.
18260         (test-program-cmd-before-env): New variable.
18261         (test-program-cmd-after-env): Likewise.
18262         (test-program-cmd): Define in terms of new variables.
18263         * Rules (make-test-out): Use $(run-program-env).
18264         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18265         (help): Do not mention environment variables.  Mention
18266         --timeoutfactor option.
18267         (timeoutfactor): New variable.
18268         (blacklist_exports): Remove function.
18269         (exports): Remove variable.
18270         (command): Do not include ${exports}.
18271         * manual/install.texi (Configuring and compiling): Do not mention
18272         test wrappers preserving environment variables.  Mention that last
18273         assignment to a variable must take precedence.
18274         * INSTALL: Regenerated.
18275         * benchtests/Makefile (run-bench): Use $(run-program-env).
18276         * catgets/Makefile ($(objpfx)test1.cat): Use
18277         $(built-program-cmd-before-env), $(run-program-env) and
18278         $(built-program-cmd-after-env).
18279         ($(objpfx)test2.cat): Do not specify environment variables
18280         explicitly.
18281         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18282         $(run-program-env) and $(built-program-cmd-after-env).
18283         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18284         $(run-program-env) and $(test-program-cmd-after-env).
18285         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18286         explicitly.
18287         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18288         run_program_env and test_program_cmd_after_env arguments.
18289         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18290         * elf/tst-pathopt.sh: Use run_program_env argument.
18291         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18292         $(test-wrapper-env) and $(run-program-env).
18293         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18294         run_program_env arguments.
18295         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18296         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18297         $(test-program-prefix-before-env), $(run-program-env) and
18298         $(test-program-prefix-after-env).
18299         ($(objpfx)tst-gettext2.out): Likewise.
18300         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18301         run_program_env and test_program_prefix_after_env arguments.
18302         * intl/tst-gettext2.sh: Likewise.
18303         * intl/tst-gettext4.sh: Do not set environment variables
18304         explicitly.
18305         * intl/tst-gettext6.sh: Likewise.
18306         * intl/tst-translit.sh: Likewise.
18307         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18308         $(test-program-prefix-before-env), $(run-program-env) and
18309         $(test-program-prefix-after-env).
18310         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18311         run_program_env and test_program_prefix_after_env arguments.
18312         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18313         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18314         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18315         explicitly with each use of ${test_wrapper_env}.
18316         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18317         $(test-program-prefix-before-env), $(run-program-env) and
18318         $(test-program-prefix-after-env).
18319         * posix/tst-getconf.sh: Do not set environment variables
18320         explicitly.
18321         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18322         run_program_env and test_program_prefix_after_env arguments.
18323         * stdio-common/tst-printf.sh: Do not set environment variables
18324         explicitly.
18325         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18326         $(test-program-prefix-before-env), $(run-program-env) and
18327         $(test-program-prefix-after-env).
18328         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18329         run_program_env and test_program_prefix_after_env arguments.
18330         Split $test calls into $test_pre and $test.
18331         * timezone/Makefile (build-testdata): Use
18332         $(built-program-cmd-before-env), $(run-program-env) and
18333         $(built-program-cmd-after-env).
18335 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18337         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18338         strlen for non SHARED builds.
18340 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18342         * nptl/allocatestack.c (check_list): Inlined function...
18343         (__reclaim_stacks): ... here.
18345 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18347         [BZ #15698]
18348         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18349         memory overrun.
18351 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18353         * Rules (make-test-out): Include
18354         LOCPATH=$(common-objpfx)localedata in default environment.
18355         * debug/Makefile (tst-chk1-ENV): Remove variable.
18356         (tst-chk2-ENV): Likewise.
18357         (tst-chk3-ENV): Likewise.
18358         (tst-chk4-ENV): Likewise.
18359         (tst-chk5-ENV): Likewise.
18360         (tst-chk6-ENV): Likewise.
18361         (tst-lfschk1-ENV): Likewise.
18362         (tst-lfschk2-ENV): Likewise.
18363         (tst-lfschk3-ENV): Likewise.
18364         (tst-lfschk4-ENV): Likewise.
18365         (tst-lfschk5-ENV): Likewise.
18366         (tst-lfschk6-ENV): Likewise.
18367         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18368         (tst-iconv7-ENV): Likewise.
18369         * intl/Makefile (LOCPATH-ENV): Likewise.
18370         (tst-codeset-ENV): Likewise.
18371         (tst-gettext3-ENV): Likewise.
18372         (tst-gettext5-ENV): Likewise.
18373         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18374         (tst-fopenloc-ENV): Likewise.
18375         (tst-fgetws-ENV): Remove variable.
18376         (tst-ungetwc1-ENV): Likewise.
18377         (tst-ungetwc2-ENV): Likewise.
18378         (bug-ungetwc2-ENV): Likewise.
18379         (tst-swscanf-ENV): Likewise.
18380         (bug-ftell-ENV): Likewise.
18381         (tst-fgetwc-ENV): Likewise.
18382         (tst-fseek-ENV): Likewise.
18383         (tst-ftell-partial-wide-ENV): Likewise.
18384         (tst-ftell-active-handler-ENV): Likewise.
18385         (tst-ftell-append-ENV): Likewise.
18386         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18387         (tst-regexloc-ENV): Likewise.
18388         (bug-regex1-ENV): Likewise.
18389         (tst-regex-ENV): Likewise.
18390         (tst-regex2-ENV): Likewise.
18391         (bug-regex5-ENV): Likewise.
18392         (bug-regex6-ENV): Likewise.
18393         (bug-regex17-ENV): Likewise.
18394         (bug-regex18-ENV): Likewise.
18395         (bug-regex19-ENV): Likewise.
18396         (bug-regex20-ENV): Likewise.
18397         (bug-regex22-ENV): Likewise.
18398         (bug-regex23-ENV): Likewise.
18399         (bug-regex25-ENV): Likewise.
18400         (bug-regex26-ENV): Likewise.
18401         (bug-regex30-ENV): Likewise.
18402         (bug-regex32-ENV): Likewise.
18403         (bug-regex33-ENV): Likewise.
18404         (bug-regex34-ENV): Likewise.
18405         (bug-regex35-ENV): Likewise.
18406         (tst-rxspencer-ENV): Likewise.
18407         (tst-rxspencer-no-utf8-ENV): Likewise.
18408         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18409         (tst-sscanf-ENV): Likewise.
18410         (tst-swprintf-ENV): Likewise.
18411         (tst-swscanf-ENV): Likewise.
18412         (test-vfprintf-ENV): Likewise.
18413         (scanf13-ENV): Likewise.
18414         (bug14-ENV): Likewise.
18415         (tst-grouping-ENV): Likewise.
18416         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18417         (tst-strtod3-ENV): Likewise.
18418         (tst-strtod4-ENV): Likewise.
18419         (tst-strtod5-ENV): Likewise.
18420         (testmb2-ENV): Likewise./
18421         * string/Makefile (tst-strxfrm-ENV): Likewise.
18422         (tst-strxfrm2-ENV): Likewise.
18423         (bug-strcoll1-ENV): Likewise.
18424         (test-strcasecmp-ENV): Likewise.
18425         (test-strncasecmp-ENV): Likewise.
18426         * time/Makefile (tst-strptime-ENV): Likewise.
18427         (tst-ftime_l-ENV): Likewise.
18428         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18429         (tst-mbrtowc-ENV): Likewise.
18430         (tst-wcrtomb-ENV): Likewise.
18431         (tst-mbrtowc2-ENV): Likewise.
18432         (tst-c16c32-1-ENV): Likewise.
18433         (tst-mbsnrtowcs-ENV): Likewise.
18435 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18437         * manual/resource.texi (How to get information about the memory
18438         subsystem?): Fix typo.
18439         Reported by Peon de la Parra Ivan <peon@keba.com>
18441 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18443         [BZ #16882]
18444         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18445         (pthread_spin_lock): Branch out of spin loop to proper location.
18446         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18447         (pthread_spin_lock): Likewise.
18449         * nptl/tst-spin4.c: New test.
18450         * nptl/Makefile (tests): Add tst-spin4.
18452 2014-06-03  Andreas Schwab  <schwab@suse.de>
18454         [BZ #15946]
18455         * resolv/res_send.c (send_dg): Reload file descriptor after
18456         calling reopen.
18458 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18460         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18462 2014-06-03  Richard Henderson  <rth@redhat.com>
18464         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18465         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18466         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18467         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18468         in the SAVE_PID block.
18469         (__libc_vfork): New alias.
18470         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18472         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18473         child in registers, not on the stack.  Remove RESET_PID conditionals.
18474         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18476 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18478         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18480 2014-06-03  Wilco  <wdijkstr@arm.com>
18482         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18483         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18484         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18485         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18486         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18487         Likewise.
18489 2014-06-03  Wilco  <wdijkstr@arm.com>
18491         * sysdeps/aarch64/fpu/math_private.h
18492         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18493         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18494         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18495         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18496         Fix declarations.
18498 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18500         * crypt/crypt-private.h: Include ufc-crypt.h.
18501         (__b64_from_24bit): Declare extern.
18502         * crypt/crypt_util.c(__b64_from_24bit): New function.
18503         (b64t): New static const variable.
18504         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18505         (b64t): Remove variable.
18506         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18507         * crypt/sha256-crypt.c: Include crypt-private.h.
18508         (b64t): Remove variable.
18509         (__sha256_crypt_r): Remove b64_from_24bit and replace
18510         with __b64_from_24bit.
18511         * crypt/sha512-crypt.c: Likewise.
18513 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18515         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18516         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18517         Label the code __libc_vfork rather than __vfork.
18518         [!NOT_IN_libc] (vfork): Define as weak alias.
18519         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18520         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18521         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18523 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18525         * malloc/malloc.c (malloc_info): Fix format specifier for
18526         n_mmaps.
18528 2014-06-02  Wilco  <wdijkstr@arm.com>
18530         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18531         FPCR write.
18533 2014-06-02  Wilco  <wdijkstr@arm.com>
18535         [BZ #17009]
18536         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18537         Rewrite to reduce FPCR/FPSR accesses.
18539 2014-06-01  David S. Miller  <davem@davemloft.net>
18541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18543 2014-05-31  David S. Miller  <davem@davemloft.net>
18545         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18546         to occur in round to nearest mode when |x| >= 2.0
18548 2014-05-30  Richard Henderson  <rth@twiddle.net>
18550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18551         (PSEUDO_RET_NOERRNO): Remove.
18552         (ret): Don't redefine.
18553         (ret_NOERRNO): Define in terms of ret.
18554         (ret_ERRVAL): Likewise.
18556         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18557         use of PSEUDO_RET; perform the error check directly.
18559 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18561         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18562         with __int128_t.
18564 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18566         * malloc/malloc (malloc_info): Fix formatting.
18568 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18569             Roland McGrath  <roland@hack.frob.com>
18571         * malloc/malloc (malloc_info): Also print mmapped statistics.
18573 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18575         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18576         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18578 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18580         * malloc/malloc.c (malloc_info): Inline mi_arena.
18582 2014-05-29  Richard Henderson  <rth@twiddle.net>
18584         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18585         Remove comma before expanding ASM_ARGS_##nr.
18586         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18587         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18588         of ASM_ARGS_##nr.
18589         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18590         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18591         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18592         (ASM_ARGS_1): Add leading comma.
18594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18595         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18596         to __errno_location.
18597         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18598         Remove the expected plt for __errno_location.
18600         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18601         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18602         call to __read_tp.
18604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18605         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18606         it and break it down.
18607         (DOCARGS_0, DOCARGS_1): Do nothing.
18608         (DOCARGS_2): Update to store into the new stack frame.
18609         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18610         (UNDOCARGS_1): Update to restore from the new stack frame.
18611         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18612         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18615         (SINGLE_THREAD_P): New parameter for result regno.
18616         (PSEUDO): Update to match; use cbz instead of beq.
18618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18619         Use ENTRY to define the _nocancel entry point.  Share the syscall
18620         and syscall error check paths with the cancel path.
18621         (PSEUDO_END): New.
18623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18624         whitespace; tabs before and after asm mnemonics.
18626 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18628         [BZ #15132]
18629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18630         Call fstat64 or stat64 internally, depending on arguments passed.
18631         Replace stat buffer argument with file descriptor argument.
18632         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18633         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18634         Pass fd to __internal_statvfs instead of calling fstat64.
18635         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18636         Pass fd to __internal_statvfs64 instead of calling fstat64.
18637         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18638         Pass -1 to __internal_statvfs instead of calling stat64.
18639         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18640         Pass -1 to __internal_statvfs64 instead of calling stat64.
18642 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18644         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18645         that was previously under [RESET_PID].
18646         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18648         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18649         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18651 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18653         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18655         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18656         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18658 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18660         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18662 2014-05-27  Andreas Schwab  <schwab@suse.de>
18664         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18665         TLS_INIT_TP macro.
18666         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18667         * elf/rtld.c (init_tls, dl_main): Likewise.
18668         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18669         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18670         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18671         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18672         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18673         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18674         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18675         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18676         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18677         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18678         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18679         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18680         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18681         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18682         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18683         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18684         * sysdeps/generic/tls.h: Update description.
18686 2014-05-27  Will Newton  <will.newton@linaro.org>
18688         [BZ #16990]
18689         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18690         and restore r2 rather than just restoring.
18692 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18694         [BZ #16724]
18695         * libio/tst-ftell-append.c: New test case.
18696         * libio/Makefile (tests): Add test case.
18697         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18698         append mode.
18699         * libio/wfileops.c (do_ftell_wide): Likewise.
18701 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18705         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18706         ...
18707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18709         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18710         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18711         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18712         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18713         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18716         Moved ...
18717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18719         Moved ...
18720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18721         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18722         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18723         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18724         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18726         ...
18727         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18728         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18731         here.
18732         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18733         ...
18734         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18735         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18736         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18738         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18739         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18741         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18744         merge into ...
18745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18747         ...
18748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18750         ...
18751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18753         Moved ...
18754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18755         here.
18756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18757         Moved ...
18758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18760         Moved ...
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18764         conditional [RESET_PID].
18765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18767         removed.
18768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18769         removed.
18771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18772         <tcb-offsets.h>.
18773         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18774         (__libc_vfork): New strong alias.
18775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18776         removed.
18777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18778         Removed.
18780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18781         <tcb-offsets.h>.
18782         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18783         (__libc_vfork): New strong alias.
18784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18785         removed.
18786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18787         removed.
18789 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18791         * malloc/malloc.c (mi_arena): New function.
18792         (malloc_info): Remove nested function mi_arena. Call non-nosted
18793         function mi_arena.
18795 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18797         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18798         by insrwi.
18799         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18800         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18801         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18802         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18803         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18804         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18805         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18807 2014-05-26  Andreas Schwab  <schwab@suse.de>
18809         [BZ #16984]
18810         * locale/programs/repertoire.c (repertoire_read): Add slash
18811         between I18NPATH element and file name.
18812         * locale/programs/locfile.c (locfile_read): Likewise.
18814 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18816         * nptl/pthread_mutexattr_settype.c
18817         (__pthread_mutexattr_settype):
18818         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18820 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18822         * nptl/tst-mutex5 (do_test):
18823         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18825 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18827         * benchtests/README: Document 'init' directive.
18828         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18829         BENCH_INIT.
18830         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18831         (parse_file): Recognize 'init' directive.
18833 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18835         [BZ #16796]
18836         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18837         alignment of struct pthread.
18839 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841         [BZ #16878]
18842         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18843         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18844         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18845         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18847 2014-05-25  Richard Henderson  <rth@twiddle.net>
18849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18850         (SINGLE_THREAD_P_PIC): Remove.
18851         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18852         (SINGLE_THREAD_P_PIC): Remove.
18854         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18855         branch to syscall error ...
18856         (PSEUDO): ... here.
18857         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18858         from __local_syscall_error to .Lsyscall_error.
18859         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18860         (SYSCALL_ERROR): Update label name.
18862         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18863         Do not use DOARGS/UNDOARGS.
18864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18865         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18866         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18867         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18868         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18870         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18871         block comment.
18873         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18874         define if !NOT_IN_libc.
18875         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18876         define with non-default symbol versions.
18878 2014-05-23  Richard Henderson  <rth@twiddle.net>
18880         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18881         (vfork, __vfork): Define via compat_symbol.
18883         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18884         [!HAVE_IFUNC] (vfork_compat): Remove.
18885         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18887 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18889         [BZ #16978]
18890         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18891         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18892         variable.
18894 2014-05-23  Richard Henderson  <rth@twiddle.net>
18896         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18897         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18898         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18899         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18901         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18902         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18903         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18904         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18905         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18906         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18907         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18908         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18909         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18910         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18911         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18912         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18913         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18914         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18915         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18916         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18917         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18918         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18919         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18920         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18921         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18922         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18923         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18924         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18925         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18926         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18927         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18928         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18929         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18930         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18931         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18932         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18933         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18934         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18935         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18936         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18937         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18938         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18939         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18940         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18941         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18942         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18943         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18944         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18945         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18946         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18948         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18950         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18952         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18954         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18956         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18958         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18959         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18960         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18961         before exiting on error.
18962         (__libc_vfork): New strong alias.
18963         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18964         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18966         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18967         that was previously under [RESET_PID].
18968         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18970         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18972 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18974         [BZ #16977]
18975         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18976         value when x - 1 is zero.
18977         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18978         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18979         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18980         0.0L for an argument of 1.0L.
18981         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18982         Likewise.
18983         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18984         value when x - 1 is zero.
18985         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18986         * sysdeps/i386/fpu/libm-test-ulps: Update.
18987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18991         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18992         alphasort and versionsort.
18994 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18996         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18997         macro.
18998         [copysignf]: Likewise.
19000 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002         * crypt/md5-crypt.c: Fix formatting.
19004 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19006         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19007         (b64_from_24bit): New function.
19009 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19012         libc_hidden_builtin_def to ifunc.
19013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19014         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19016 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19018         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19019         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19021 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19023         * nscd/Depend (linuxthreads): Remove.
19024         (nptl): Add.
19025         * resolv/Depend (linuxthreads): Remove.
19026         * rt/Depend (linuxthreads): Remove.
19028         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19029         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19030         $(common-objpfx)elf/.
19031         (link-libc-before-gnulib): Likewise.
19032         (elfobjdir): Remove variable.
19033         * Makefile (install): Use $(elf-objpfx) instead of
19034         $(common-objpfx)elf/.
19035         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19036         $(elfobjdir)/.
19037         (link-libc-deps): Likewise.
19038         ($(common-objpfx)libc.so): Likewise.
19039         ($(common-objpfx)linkobj/libc.so): Likewise.
19040         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19041         instead of $(common-objpfx)elf/.
19042         (symbolic-link-list): Likewise.
19043         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19044         [$(cross-compiling) = no]: Likewise.
19045         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19046         $(elfobjdir)/.
19047         (static-gnulib-arch): Likewise.
19048         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19049         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19050         $(common-objpfx)elf/.
19052 2014-05-21  Richard Henderson  <rth@redhat.com>
19054         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19055         (SINGLE_THREAD_P): Use the correct width load.  Fold
19056         into the ldr offset.
19058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19059         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19061 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19063         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19064         (libgcc_s_resume): Use __attribute_used__.
19065         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19066         Likewise.
19068 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19070         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19071         optimization when used with float constants.
19073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19075 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19077         [BZ #16915]
19078         * locale/nl_langinfo_l.c: Make direct reference to every
19079         _nl_current_CATEGORY symbol.
19080         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19081         (tests-static): Add tst-langinfo-static.
19082         (tests-special): Add tst-langinfo-static.out.
19083         ($(objpfx)tst-langinfo.out): Redirect output.
19084         ($(objpfx)tst-langinfo-static.out): New.
19085         * localedata/tst-langinfo.sh: Send output to stdout.
19086         * localedata/tst-langinfo-static.c: New file.
19088         [BZ #16965]
19089         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19090         when the shift amount is modulo the limb size.
19092 2014-05-20  Richard Henderson  <rth@redhat.com>
19094         [BZ #16967]
19095         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19096         Change type of sa_flags from unsigned int to int.
19098         [BZ #16966]
19099         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19101         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19103 2014-05-20  Will Newton  <will.newton@linaro.org>
19105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19106         Test the return value of the system call in the nocancel case.
19108 2014-05-20  Will Newton  <will.newton@linaro.org>
19109             Yvan Roux  <yvan.roux@linaro.org>
19111         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19112         #include of asm/ptrace.h.
19113         (PTRACE_GET_THREAD_AREA): Remove #undef.
19114         (PTRACE_GETHBPREGS): Likewise.
19115         (PTRACE_SETHBPREGS): Likewise.
19116         (struct user_regs_struct): New structure.
19117         (struct user_fpsimd_struct): New structure.
19118         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19119         #include of asm/ptrace.h and second #include of sys/user.h.
19120         (PTRACE_GET_THREAD_AREA): Remove #undef.
19121         (PTRACE_GETHBPREGS): Likewise.
19122         (PTRACE_SETHBPREGS): Likewise.
19123         (ELF_NGREG): Use new struct user_regs_struct.
19124         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19126 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19131 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19133         [BZ #16958]
19134         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19135         membar to avoid block loads/stores to overlap previous stores.
19137 2014-05-17  Richard Henderson  <rth@redhat.com>
19139         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19140         Create the __##syscall_name##_nocancel entry point.
19141         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19142         Remove; let the sysdep-cancel.h code create it.
19144 2014-05-17  David S. Miller  <davem@davemloft.net>
19146         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19147         Protect with __USE_GNU.
19148         (TIOCSET_TEMPT): Likewise.
19149         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19150         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19151         these are already provided in bits/ioctl-types.h
19153 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19155         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19156         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19158         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19159         Use wait4 regardless of [__NR_waitpid].
19161 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19163         PR libgcc/60166
19164         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19165         (_FP_NANSIGN_Q): Set the quiet bit.
19167 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19169         * benchtests/Makefile
19170         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19171         not $(common-objpfx)math/libm.so.
19172         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19173         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19174         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19175         $(common-objpfx)dlfcn/libdl.so.
19176         ($(objpfx)tst-audit8): Depend on $(libm), not
19177         $(common-objpfx)math/libm.so.
19178         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19179         not $(common-objpfx)dlfcn/libdl.so.
19180         * math/Makefile
19181         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19182         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19183         [$(build-shared) = yes].
19184         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19185         $(common-objpfx)nptl/libpthread.so.
19186         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19187         $(common-objpfx)math/libm.so$(libm.so-version) or
19188         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19189         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19190         $(common-objpfx)dlfcn/libdl.so.
19191         * setjmp/Makefile (link-libm): Remove variable.
19192         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19193         * stdio-common/Makefile (link-libm): Remove variable.
19194         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19195         * stdlib/Makefile (link-libm): Remove variable.
19196         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19197         ($(objpfx)tst-strtod-round): Likewise.
19198         ($(objpfx)tst-tininess): Likewise.
19199         ($(objpfx)tst-strtod-underflow): Likewise.
19200         ($(objpfx)tst-strtod6): Likewise.
19201         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19202         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19203         $(common-objpfx)dlfcn/libdl.so.
19205 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19208         BSD terminal modes definitions.
19210 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19212         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19213         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19215         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19216         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19217         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19218         Don't do #include_next.
19219         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19220         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19221         Don't do #include_next.
19222         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19223         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19224         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19225         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19227 2014-05-16  Allan McRae  <allan@archlinux.org>
19229         * po/sv.po: Update Swedish translation from translation project.
19231         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19232         in sed expression.
19234 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19236         [BZ #16917]
19237         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19238         errno if the TIOCGPTN ioctl fails with an error different than
19239         EINVAL.
19240         * login/tst-ptsname.c: New file.
19241         * login/Makefile (tests): Add tst-ptsname.
19243         [BZ #16943]
19244         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19245         and prlimit64.
19247 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19249         [BZ #16849]
19250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19251         herrno to return EAI_AGAIN.
19253 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19255         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19256         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19257         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19258         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19259         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19260         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19261         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19262         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19263         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19264         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19265         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19266         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19267         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19268         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19269         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19270         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19271         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19272         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19273         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19274         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19275         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19276         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19277         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19278         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19279         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19280         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19281         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19282         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19283         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19284         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19286         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19288         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19290         Moved ...
19291         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19293         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19295         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19297         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19299         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19301         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19303         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19305         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19307         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19309         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19311         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19313         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19315         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19317         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19319         Moved ...
19320         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19322         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19324         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19326         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19328         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19332         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19334         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19336         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19338         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19340         Moved ...
19341         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19343         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19345         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19346         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19347         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19348         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19349         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19350         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19351         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19352         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19353         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19354         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19355         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19356         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19357         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19358         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19359         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19360         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19361         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19363         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19365         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19367         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19368         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19369         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19371         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19372         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19373         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19374         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19375         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19377         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19378         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19380         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19381         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19382         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19383         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19384         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19385         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19386         Moved ...
19387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19389         Moved ...
19390         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19392         Moved ...
19393         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19395         Moved ...
19396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19397         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19398         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19400         Moved ...
19401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19403         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19405         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19406         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19407         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19409         Moved ...
19410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19411         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19412         Moved ...
19413         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19414         ... here.
19415         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19416         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19417         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19418         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19420         Moved ...
19421         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19422         ... here.
19423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19424         Moved ...
19425         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19426         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19427         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19428         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19429         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19430         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19431         Moved ...
19432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19433         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19434         Moved ...
19435         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19437         Moved ...
19438         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19440         Moved ...
19441         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19442         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19443         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19445         Moved ...
19446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19448         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19451         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19452         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19454         Moved ...
19455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19456         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19457         Moved ...
19458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19459         ... here.
19460         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19461         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19462         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19463         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19465         Moved ...
19466         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19467         ... here.
19468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19469         Moved ...
19470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19471         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19472         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19473         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19474         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19475         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19476         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19477         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19478         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19479         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19480         Moved ...
19481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19482         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19483         Moved ...
19484         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19486         Moved ...
19487         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19489         Moved ...
19490         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19492         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19493         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19494         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19496         Moved ...
19497         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19498         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19499         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19503         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19505         Moved ...
19506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19508         Moved ...
19509         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19510         ... here.
19511         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19512         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19513         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19514         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19516         Moved ...
19517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19518         ... here.
19519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19520         Moved ...
19521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19525         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19527         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19529         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19530         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19531         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19533         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19534         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19536         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19537         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19539         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19540         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19541         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19542         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19543         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19545         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19547         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19548         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19550         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19553         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19555         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19557         Moved ...
19558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19562         Moved ...
19563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19567         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19569         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19571         Moved ...
19572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19574         Moved ...
19575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19581         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19583         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19584         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19585         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19586         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19587         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19588         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19589         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19590         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19591         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19594         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19595         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19596         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19597         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19599         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19600         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19601         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19602         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19603         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19604         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19605         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19606         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19607         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19608         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19613         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19614         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19616         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19617         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19618         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19619         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19620         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19622         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19624         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19626         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19628         Update #include.
19629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19630         Likewise.
19631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19632         Likewise.
19633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19634         Likewise.
19635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19636         Likewise.
19637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19638         Likewise.
19639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19640         Likewise.
19641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19642         Likewise.
19643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19644         Likewise.
19645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19646         Likewise.
19647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19663         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19664         that was previously under [RESET_PID].
19665         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19667         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19669         * sysdeps/i386/nptl/Implies: New file.
19670         * sysdeps/x86_64/nptl/Implies: New file.
19671         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19672         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19673         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19674         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19676         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19677         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19678         (__libc_vfork): New strong alias.
19679         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19680         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19682         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19683         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19684         (__libc_vfork): New strong alias.
19685         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19686         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19688         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19689         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19690         (__libc_vfork): New strong alias.
19691         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19692         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19693         * nptl/pt-vfork.c: New file.
19694         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19695         (libpthread: GLIBC_2.20): New version set (empty).
19697 2014-05-14  Will Newton  <will.newton@linaro.org>
19699         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19700         rather than #if.
19702 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #16564]
19705         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19706         arguments with exponent 65 or above.
19707         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19708         arguments 0x1p113L or above.
19709         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19710         to arguments 0x1p107L or above.
19711         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19712         positive arguments with exponent 65 or above.
19713         * math/auto-libm-test-in: Add more tests of log1p.
19714         * math/auto-libm-test-out: Regenerated.
19716         [BZ #16928]
19717         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19718         non-finite arguments is +0.
19719         * math/s_cacosf.c (__cacosf): Likewise.
19720         * math/s_cacosl.c (__cacosl): Likewise.
19721         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19722         * sysdeps/i386/fpu/libm-test-ulps: Update.
19723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19725         [BZ #16927]
19726         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19727         value.
19728         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19729         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19730         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19731         for explicit high bit of mantissa when testing for argument equal
19732         to 1.
19733         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19734         * sysdeps/i386/fpu/libm-test-ulps: Update.
19735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19737         [BZ #16516]
19738         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19739         (__erf): Scale by 16 instead of 8 in potentially underflowing
19740         case.  Ensure exception if result actually underflows.
19741         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19742         (__erff): Scale by 16 instead of 8 in potentially underflowing
19743         case.  Ensure exception if result actually underflows.
19744         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19745         (efx8): Remove variable.
19746         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19747         case.  Ensure exception if result actually underflows.
19748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19749         (efx8): Remove variable.
19750         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19751         case.  Ensure exception if result actually underflows.
19752         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19753         (efx8): Remove variable.
19754         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19755         case.  Ensure exception if result actually underflows.
19756         * math/auto-libm-test-in: Add more tests of erf.
19757         * math/auto-libm-test-out: Regenerated.
19759 2014-05-14  Andreas Schwab  <schwab@suse.de>
19761         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19762         Remove code conditionalized on USE___THREAD.
19764         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19765         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19766         not definedness.
19768 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19771         Define unconditionally.
19772         (__ASSUME_O_CLOEXEC): Likewise.
19773         (__ASSUME_SOCK_CLOEXEC): Likewise.
19774         (__ASSUME_IN_NONBLOCK): Likewise.
19775         (__ASSUME_PIPE2): Likewise.
19776         (__ASSUME_EVENTFD2): Likewise.
19777         (__ASSUME_SIGNALFD4): Likewise.
19778         (__ASSUME_DUP3): Likewise.
19779         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19780         (__ASSUME_DUP3): Do not define.
19781         (__ASSUME_EVENTFD2): Likewise.
19782         (__ASSUME_IN_NONBLOCK): Likewise.
19783         (__ASSUME_O_CLOEXEC): Likewise.
19784         (__ASSUME_PIPE2): Likewise.
19785         (__ASSUME_SIGNALFD4): Likewise.
19786         (__ASSUME_SOCK_CLOEXEC): Likewise.
19787         (__ASSUME_UTIMES): Undefine.
19788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19789         (__ASSUME_UTIMES): Do not define.
19790         (__ASSUME_O_CLOEXEC): Likewise.
19791         (__ASSUME_SOCK_CLOEXEC): Likewise.
19792         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19793         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19794         0x020621].
19795         (__ASSUME_PIPE2): Likewise.
19796         (__ASSUME_EVENTFD2): Likewise.
19797         (__ASSUME_SIGNALFD4): Likewise.
19798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19799         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19800         Do not define.
19801         (__ASSUME_EVENTFD2): Likewise.
19802         (__ASSUME_SIGNALFD4): Likewise.
19803         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19804         (__ASSUME_32BITUIDS): Likewise.
19805         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19806         (__ASSUME_IPC64): Likewise.
19807         (__ASSUME_ST_INO_64_BIT): Likewise.
19808         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19809         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19811         (__ASSUME_UTIMES): Do not define.
19812         (__ASSUME_PSELECT): Likewise.
19813         (__ASSUME_PPOLL): Likewise.
19814         (__ASSUME_O_CLOEXEC): Likewise.
19815         (__ASSUME_SOCK_CLOEXEC): Likewise.
19816         (__ASSUME_IN_NONBLOCK): Likewise.
19817         (__ASSUME_PIPE2): Likewise.
19818         (__ASSUME_EVENTFD2): Likewise.
19819         (__ASSUME_SIGNALFD4): Likewise.
19820         (__ASSUME_DUP3): Likewise.
19821         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19822         (__ASSUME_UTIMES): Likewise.
19823         (__ASSUME_O_CLOEXEC): Likewise.
19824         (__ASSUME_SOCK_CLOEXEC): Likewise.
19825         (__ASSUME_IN_NONBLOCK): Likewise.
19826         (__ASSUME_PIPE2): Likewise.
19827         (__ASSUME_EVENTFD2): Likewise.
19828         (__ASSUME_SIGNALFD4): Likewise.
19829         (__ASSUME_DUP3): Likewise.
19830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19831         (__ASSUME_UTIMES): Likewise.
19832         (__ASSUME_O_CLOEXEC): Likewise.
19833         (__ASSUME_SOCK_CLOEXEC): Likewise.
19834         (__ASSUME_IN_NONBLOCK): Likewise.
19835         (__ASSUME_PIPE2): Likewise.
19836         (__ASSUME_EVENTFD2): Likewise.
19837         (__ASSUME_SIGNALFD4): Likewise.
19838         (__ASSUME_DUP3): Likewise.
19839         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19840         Likewise.
19841         (__ASSUME_UTIMES): Likewise.
19842         (__ASSUME_EVENTFD2): Likewise.
19843         (__ASSUME_SIGNALFD4): Likewise.
19844         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19845         (__ASSUME_O_CLOEXEC): Likewise.
19846         (__ASSUME_SOCK_CLOEXEC): Likewise.
19847         (__ASSUME_IN_NONBLOCK): Likewise.
19848         (__ASSUME_PIPE2): Likewise.
19849         (__ASSUME_EVENTFD2): Likewise.
19850         (__ASSUME_SIGNALFD4): Likewise.
19851         (__ASSUME_DUP3): Likewise.
19852         (__ASSUME_UTIMES): Undefine.
19854         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19855         feclearexcept.  Remove symbol versioning code.
19856         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19857         symbol versioning code.
19858         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19859         symbol versioning code.
19860         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19861         feupdateenv.  Remove symbol versioning code.
19862         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19863         fegetexceptflag.  Remove symbol versioning code.
19864         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19865         fesetexceptflag.  Remove symbol versioning code.
19866         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19867         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19868         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19869         (__posix_fadvise64_l32): Remove prototype.
19870         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19871         code.
19873 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19875         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19876         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19877         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19878         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19880 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19882         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19883         current working directory
19885 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19887         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19888         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19889         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19890         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19891         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19892         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19893         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19894         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19895         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19896         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19897         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19898         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19899         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19900         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19901         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19902         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19903         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19904         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19905         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19906         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19907         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19908         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19909         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19910         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19911         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19912         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19913         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19914         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19915         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19916         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19917         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19918         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19919         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19920         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19921         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19922         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19923         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19924         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19925         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19926         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19927         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19928         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19930         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19931         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19933         * sysdeps/unix/sysv/linux/arm/Makefile
19934         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19935         Add rt-aeabi_unwind_cpp_pr1.
19936         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19937         Add nptl-aeabi_unwind_cpp_pr1.
19938         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19939         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19940         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19941         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19942         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19943         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19945         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19946         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19947         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19948         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19950         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19951         Deconditionalize the code that was previously under [RESET_PID].
19952         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19954         * sysdeps/generic/exit-thread.h: New file.
19955         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19956         * include/unistd.h (__exit_thread): Remove declaration.
19957         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19958         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19959         * csu/libc-start.c: Include <exit-thread.h>.
19960         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19961         * nptl/pthread_create.c: Include <exit-thread.h>.
19962         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19963         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19964         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19965         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19966         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19967         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19968         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19969         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19970         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19971         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19972         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19973         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19974         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19975         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19976         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19977         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19978         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19980 2014-05-13  Andreas Schwab  <schwab@suse.de>
19982         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19984 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19986         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19987         (__ASSUME_UTIMES): Do not condition on kernel version.
19988         (__ASSUME_PSELECT): Define unconditionally.
19989         (__ASSUME_PPOLL): Likewise.
19990         (__ASSUME_ATFCTS): Likewise.
19991         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19992         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19993         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19994         (__ASSUME_UTIMENSAT): Define unconditionally.
19995         (__ASSUME_PRIVATE_FUTEX): Likewise.
19996         (__ASSUME_FALLOCATE): Likewise.
19997         (__ASSUME_O_CLOEXEC): Likewise.
19998         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19999         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20000         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20001         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20002         (__ASSUME_IN_NONBLOCK): Likewise.
20003         (__ASSUME_PIPE2): Likewise.
20004         (__ASSUME_EVENTFD2): Likewise.
20005         (__ASSUME_SIGNALFD4): Likewise.
20006         (__ASSUME_DUP3): Likewise.
20007         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20008         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20009         (__ASSUME_AT_RANDOM): Likewise.
20010         (__ASSUME_PREADV): Likewise.
20011         (__ASSUME_PWRITEV): Likewise.
20012         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20013         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20014         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20015         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20016         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20017         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20018         (__ASSUME_O_CLOEXEC): Define unconditionally.
20019         (__ASSUME_PSELECT): Do not undefine conditionally.
20020         (__ASSUME_PPOLL): Likewise.
20021         (__ASSUME_ATFCTS): Likewise.
20022         (__ASSUME_SET_ROBUST_LIST): Likewise.
20023         (__ASSUME_UTIMENSAT): Likewise.
20024         (__ASSUME_FDATASYNC): Define unconditionally.
20025         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20026         (__ASSUME_SIGFRAME_V2): Likewise.
20027         )__ASSUME_EVENTFD2): Likewise.
20028         (__ASSUME_SIGNALFD4): Likewise.
20029         (__ASSUME_PSELECT): Do not undefine conditionally.
20030         (__ASSUME_PPOLL): Likewise.
20031         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20032         (__ASSUME_PSELECT): Define unconditionally.
20033         (__ASSUME_PPOLL): Likewise.
20034         (__ASSUME_O_CLOEXEC): Likewise.
20035         (__ASSUME_SOCK_CLOEXEC): Likewise.
20036         (__ASSUME_IN_NONBLOCK): Likewise.
20037         (__ASSUME_PIPE2): Likewise.
20038         (__ASSUME_EVENTFD2): Likewise.
20039         (__ASSUME_SIGNALFD4): Likewise.
20040         (__ASSUME_DUP3): Likewise.
20041         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20042         (__ASSUME_O_CLOEXEC): Likewise.
20043         (__ASSUME_SOCK_CLOEXEC): Likewise.
20044         (__ASSUME_IN_NONBLOCK): Likewise.
20045         (__ASSUME_PIPE2): Likewise.
20046         (__ASSUME_EVENTFD2): Likewise.
20047         (__ASSUME_SIGNALFD4): Likewise.
20048         (__ASSUME_DUP3): Likewise.
20049         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20050         (__ASSUME_EVENTFD2): Likewise.
20051         (__ASSUME_SIGNALFD4): Likewise.
20052         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20054 2014-05-12  Andreas Schwab  <schwab@suse.de>
20056         [BZ #16932]
20057         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20058         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20059         than maximum RPC packet size.
20060         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20061         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20062         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20063         (_nss_nis_getservbyport_r): Likewise.
20065 2014-05-12  Will Newton  <will.newton@linaro.org>
20067         * malloc/Makefile (tests): Add tst-mallopt.
20068         * malloc/tst-mallopt.c: New file.
20070 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20072         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20073         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20075 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20077         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20078         (tst-tlsmod6.so): Likewise.
20080 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20082         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20084 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20086         [BZ #16064]
20087         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20088         and <dl-procinfo.h>.
20089         (__fegetenv): Save SSE state in envp->__eip if supported.
20090         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20091         envp->__eip if supported.
20092         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20093         and <dl-procinfo.h>.
20094         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20095         __data_offset and __data_selector in environment to 0.  Set SSE
20096         state if supported.
20097         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20098         test-fenv-sse.
20099         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20100         -mfpmath=sse.
20101         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20103 2014-05-09  Will Newton  <will.newton@linaro.org>
20105         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20106         and libc_relro_required for ARM.
20107         * sysdeps/arm/preconfigure: Regenerate.
20109 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20110             Stefan Liebler  <stli@linux.vnet.ibm.com>
20112         * config.make.in (enable-lock-elision): New Makefile variable.
20113         * configure.ac: Likewise.
20114         * configure: Regenerate.
20115         * sysdeps/s390/configure.ac:
20116         Add check for gcc transactions support.
20117         * sysdeps/s390/configure: Regenerate.
20118         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20119         Build elision files if enabled.
20120         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20121         Add lock elision support for s390.
20122         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20123         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20124         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20125         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20126         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20127         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20128         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20129         Likewise.
20130         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20131         Likewise.
20132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20133         Likewise.
20134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20135         Likewise.
20136         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20137         (__lll_timedlock_elision, __lll_lock_elision)
20138         (__lll_unlock_elision, __lll_trylock_elision)
20139         (lll_timedlock_elision, lll_lock_elision)
20140         (lll_unlock_elision, lll_trylock_elision): Add.
20141         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20142         (pthread_mutex_t): Add lock elision support for s390.
20144 2014-05-14  Wilco  <wdijkstr@arm.com>
20146         * sysdeps/arm/fclrexcpt.c: Cleanup.
20147         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20148         * sysdeps/arm/feenablxcpt.c: Cleanup.
20149         * sysdeps/arm/fegetenv.c: Cleanup.
20150         * sysdeps/arm/fegetexcept.c: Cleanup.
20151         * sysdeps/arm/fegetround.c: Cleanup.
20152         * sysdeps/arm/feholdexcpt.c: Cleanup.
20153         * sysdeps/arm/fesetenv.c: Cleanup.
20154         * sysdeps/arm/fesetround.c: Cleanup.
20155         * sysdeps/arm/feupdateenv.c: Cleanup.
20156         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20157         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20158         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20159         * sysdeps/arm/ftestexcept.c: Cleanup.
20160         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20161         * sysdeps/arm/setfpucw.c: Cleanup.
20163 2014-05-09  Will Newton  <will.newton@linaro.org>
20165         * sysdeps/arm/armv7/strcmp.S: New file.
20166         * NEWS: Mention addition of ARMv7 optimized strcmp.
20168 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20170         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20171         look for %.ac rather than %.in.
20173         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20174         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20175         * sysdeps/mach/hurd/configure: Regenerated.
20176         * sysdeps/unix/sysv/linux/configure: Regenerated.
20178         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20180 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20182         [BZ# 16922]
20183         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20184         (LONG_SUB): Ditto.
20185         (PTR_SUB): Ditto.
20187 2014-05-07  Andreas Schwab  <schwab@suse.de>
20189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20190         when skipping over non-matching result from nscd.
20192 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20194         [BZ #16876]
20195         * nptl/sockperf.c (client): Check socket return value.
20197         [BZ #16877]
20198         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20199         nscd security class.
20201 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20203         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20204         * sysdeps/arm/unwind.h: ... here.
20206 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20208         [BZ# 16916]
20209         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20210         Define.
20212 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20214         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20215         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20216         multiarch strncpy for PPC64.
20217         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20218         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20220         multiarch optimizations.
20221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20222         (__libc_ifunc_impl_list): Likewise.
20223         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20224         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20225         multiarch stpncpy for PPC64.
20226         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20229 2014-05-06  Andreas Schwab  <schwab@suse.de>
20231         [BZ #16912]
20232         * gmon/mcount.c (_MCOUNT_DECL): Use
20233         atomic_compare_and_exchange_bool_acq instead of
20234         catomic_compare_and_exchange_bool_acq.
20236 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20238         * elf/Makefile (others, install-bin): Remove pldd.
20239         (pldd-modules): Variable removed.
20240         ($(objpfx)pldd): Target removed.
20241         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20242         (others, install-bin): Append pldd here.
20243         ($(objpfx)pldd): New target.
20245         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20246         to 0, so the first #if test emitted later doesn't see it undefined.
20247         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20248         * sysdeps/gnu/errlist.c: Regenerated.
20250 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20252         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20253         [libc_hidden_builtin_def]: Define to empty value.
20254         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20255         [libc_hidden_builtin_def]: Likewise.
20256         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20257         [libc_hidden_builtin_def]: Likewise.
20258         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20259         [libc_hidden_builtin_def]: Likewise.
20260         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20261         __redirect_memcpy and define ifunc as default hidden symbol.
20262         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20263         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20265 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20267         * locale/iso-4217.def: Reintroduce XDR currency.
20269 2014-05-04  Allan McRae  <allan@archlinux.org>
20271         * po/eo.po: Update Esperanto translation from translation project.
20273 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20275         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20276         and FEATURE_INDEX_MAX to 1.
20277         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20279 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20281         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20282         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20283         * iconvdata/big5.c (ONE_DIRECTION): Define.
20284         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20285         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20286         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20287         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20288         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20289         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20290         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20291         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20292         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20293         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20294         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20295         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20296         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20297         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20298         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20299         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20300         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20301         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20302         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20303         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20304         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20305         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20306         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20307         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20308         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20309         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20310         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20311         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20312         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20313         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20314         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20315         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20316         * iconvdata/johab.c (ONE_DIRECTION): Define.
20317         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20318         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20319         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20320         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20321         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20322         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20323         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20324         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20325         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20326         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20328 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20330         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20331         (_IO_JUMPS_OFFSET): Define to 0.
20333         * nptl/sysdeps/pthread/bits/libc-lock.h
20334         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20335         (__libc_lock_define_initialized_recursive): Always define using
20336         initializer.  Modern compilers treat uninitialized (implicit zero) and
20337         explicit zero initializers the same (i.e. put the datum in bss).
20339 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20341         * nscd/nscd-client.h: Include <string.h>.
20343 2014-05-01  David S. Miller  <davem@davemloft.net>
20345         [BZ #16885]
20346         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20347         multiple zero bytes exist at the end of a string.
20348         Reported by Aurelien Jarno <aurelien@aurel32.net>
20350         * string/test-strcmp.c (check): Add explicit test for situations where
20351         there are multiple zero bytes after the first.
20353 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20355         [BZ #16890]
20356         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20357         when compiling wprintf.
20358         * stdio-common/tstdiomisc.c (t3): New function.
20359         (main): Call it.
20361 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20363         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20364         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20365         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20366         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20368 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20370         * stdlib/longlong.h: Updated from GCC.
20372 2014-05-01  Will Newton  <will.newton@linaro.org>
20373             Bernard Ogden  <bernie.ogden@linaro.org>
20375         * NEWS: Update fixed bug list.
20377         [BZ #15119]
20378         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20380 2014-04-30  David S. Miller  <davem@davemloft.net>
20382         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20383         (libc_feholdexcept_setround_sparc_ctx): New function.
20384         (libc_fesetenv_sparc_ctx): Likewise.
20385         (libc_feupdateenv_sparc_ctx): Likewise.
20386         (libc_feholdsetround_sparc_ctx): Likewise.
20387         (libc_feholdexcept_setround_ctx): Define.
20388         (libc_feholdexcept_setroundf_ctx): Likewise.
20389         (libc_feholdexcept_setroundl_ctx): Likewise.
20390         (libc_fesetenv_ctx): Likewise.
20391         (libc_fesetenvf_ctx): Likewise.
20392         (libc_fesetenvl_ctx): Likewise.
20393         (libc_feupdateenv_ctx): Likewise.
20394         (libc_feupdateenvf_ctx): Likewise.
20395         (libc_feupdateenvl_ctx): Likewise.
20396         (libc_feresetround_ctx): Likewise.
20397         (libc_feresetroundf_ctx): Likewise.
20398         (libc_feresetroundl_ctx): Likewise.
20399         (libc_feholdsetround_ctx): Likewise.
20400         (libc_feholdsetroundf_ctx): Likewise.
20401         (libc_feholdsetroundl_ctx): Likewise.
20403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20404         with __USE_GNU instead of XOPEN cpp guards.
20406         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20407         0.
20409         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20410         with XOPEN cpp guards.
20412 2014-04-30  Julian Brown  <julian@codesourcery.com>
20414         [BZ #16888]
20415         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20416         handling.
20418 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20420         [BZ #9894]
20421         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20422         Change to 2.6.32.
20423         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20424         * sysdeps/unix/sysv/linux/configure: Regenerated.
20425         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20426         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20427         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20428         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20429         * README: Update reference to required Linux kernel version.
20430         * manual/install.texi (Linux): Update reference to required Linux
20431         kernel headers version.
20432         * INSTALL: Regenerated.
20434         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20435         header inclusion.
20436         [POSIX] (limits.h): Likewise.
20437         [POSIX] (math.h): Likewise.
20438         [POSIX] (sys/wait.h): Likewise.
20439         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20440         function.
20441         [POSIX] (stddef.h): Do not allow header inclusion.
20443 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20445         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20447 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20449         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20450         Return immediately after lll_futex_wake.
20452 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20454         [BZ #16791]
20455         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20456         structure.
20457         (datahead_init_pos): Call datahead_init_common early.
20458         (datahead_init_neg): Likewise.
20460         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20461         datahead_init_neg): New functions.
20462         * nscd/aicache.c (addhstaiX): Use them.
20463         * nscd/grpcache.c (cache_addgr): Likewise.
20464         * nscd/hstcache.c (cache_addhst): Likewise.
20465         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20466         * nscd/netgroupcache.c (do_notfound): Likewise.
20467         (addgetnetgrentX): Likewise.
20468         (addinnetgrX): Likewise.
20469         * nscd/pwdcache.c (cache_addpw): Likewise.
20470         * nscd/servicescache.c (cache_addserv): Likewise.
20472 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20473             Atsushi Onoe  <atsushi@onoe.org>
20475         [BZ #14308]
20476         [BZ #12994]
20477         [BZ #13651]
20478         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20479         one response is valid.
20480         * resolv/res_send.c (send_dg): Check for validity of other
20481         response if the current response is a referral.
20483 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20485         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20487 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20489         [BZ #16823]
20490         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20491         Always divide by positive zero when computing -Inf result.
20492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20493         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20495 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20497         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20498         FPSCR if value do not change.
20499         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20500         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20501         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20502         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20503         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20504         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20505         function.
20507 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20509         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20510         * sysdeps/unix/sysv/linux/hppa: Move directory from
20511         ports/systeps/unix/sysv/linux/hppa.
20512         * README: Update listing for hppa-*-linux-gnu.
20514 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20516         [BZ #16754]
20517         * manual/stdio.texi (Hook functions): Fix types of stream hook
20518         functions.
20519         [BZ #16854]
20520         * socket/sys/socket.h: Fix typo in comment.
20522 2014-04-28  Wilco  <wdijkstr@arm.com>
20524         * sysdeps/arm/fenv_private.h: New file.
20525         * sysdeps/arm/math_private.h: New file.
20526         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20528 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20530         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20531         with __int128_t.
20532         (La_x86_64_retval): Likewise.
20534 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20536         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20537         fpsr if value didn't change.
20538         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20539         to fpcr if value didn't change.
20540         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20541         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20542         fpsr or fpcr if value didn't change.
20543         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20544         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20545         fpcr if value didn't change.
20546         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20547         to fpsr if value didn't change.
20549 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20551         * nptl/tst-sem3.c: Use test-skeleton.c
20552         (main): Rename to do_test.  Use return instead of
20553         exit.
20554         * nptl/tst-sem4.c: Use test-skeleton.c
20555         (main): Rename to do_test.
20557 2014-04-22  David S. Miller  <davem@davemloft.net>
20559         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20560         (struct sigaction): New struct member __glibc_reserved0, change
20561         type of sa_flags to int.
20563 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20565         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20566         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20568 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20570         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20571         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20573 2014-04-22  Will Newton  <will.newton@linaro.org>
20574             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20576         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20577         (__longjmp): Add longjmp and longjmp_target SystemTap
20578         probes.
20579         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20580         (__sigsetjmp): Add setjmp SystemTap probe.
20582 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20584         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20585         match manual order.
20587 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20589         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20591         * sysdeps/powerpc/fpu/fenv_private.h
20592         (libc_feholdexcept_setroundl_ctx): Define to
20593         libc_feholdexcept_setround_ppc_ctx.
20594         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20595         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20596         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20597         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20599 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20601         * sysdeps/aarch64/math-tests.h: New file.
20603 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20605         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20606         New.
20607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20608         Check and set bit_AVX2_Usable.
20609         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20610         macro.
20611         (bit_AVX2): Likewise.
20612         (index_AVX2_Usable): Likewise.
20613         (CPUID_AVX2): Likewise.
20614         (HAS_AVX2): Likewise.
20616 2014-04-17  Will Newton  <will.newton@linaro.org>
20618         * manual/setjmp.texi (System V contexts): Add note that
20619         calling setcontext on a context created by a call to a
20620         signal handler is undefined.  Update text to note that
20621         setcontext from a signal handler is possible but not
20622         recommended.
20624         [BZ #16629]
20625         * stdlib/tst-setcontext.c: Include signal.h.
20626         (main): Check that the signal stack before and
20627         after swapcontext is the same.
20629         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20630         Re-implement to restore registers in user code and avoid
20631         rt_sigreturn system call.
20633 2014-04-17  Wilco  <wdijkstr@arm.com>
20635         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20636         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20637         * math/test-fenv.c: Skip exception trap tests on targets which only
20638         support non-stop mode.
20640 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20641             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20643         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20644         (libc_feholdsetround_aarch64_ctx)
20645         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20646         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20647         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20648         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20649         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20650         (libc_feresetround_noexl_ctx): Define.
20652 2014-04-16  Richard Henderson  <rth@redhat.com>
20654         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20656         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20657         unwind tables.
20659         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20660         const from the non-libc, non-ldso copy.
20662         * sysdeps/alpha/libm-test-ulps: Regenerate.
20664 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20665             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20667         * sysdeps/aarch64/fpu/math_private.h: New file.
20669 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20671         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20673 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20675         [BZ #16275]
20676         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20677         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20679         Intel MPX bound registers before _dl_profile_fixup.
20680         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20681         registers after _dl_profile_fixup.  Save and restore bound
20682         registers bnd0/bnd1 when calling _dl_call_pltexit.
20683         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20684         (LR_BND_OFFSET): Likewise.
20685         (LRV_BND0_OFFSET): Likewise.
20686         (LRV_BND1_OFFSET): Likewise.
20688 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20690         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20691         to...
20692         * sysdeps/mach/hurd/i386/tls.h: ... here.
20693         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20694         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20695         fields.
20697 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20699         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20701 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20703         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20705 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20707         [BZ #14770]
20708         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20709         * sysdeps/s390/configure: Regenerate.
20711         [BZ #16824]
20712         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20713         Set round-to-nearest internally to reduce error accumulation.
20715 2014-04-16  Alan Modra  <amodra@gmail.com>
20717         [BZ #16740]
20718         [BZ #16619]
20719         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20720         * math/libm-test.inc (frexp_test_data): Add tests.
20721         * NEWS: Update fixed bug list.
20723 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725         * benchtests/Makefile: Depend on libraries in build directory.
20726         (bench-math): Separate out math tests.
20727         (bench-pthread): Separate out pthread tests.
20728         (bench): Include math and pthread tests.
20730 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20732         [BZ #16831]
20733         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20734         _dl_debug_initialize.
20736         * configure.ac: Remove SELinux header check.
20737         * configure: Regenerate.
20738         * nscd/selinux.c (perms): Array of const char* to permission names.
20739         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20740         default policy. Call string_to_security_class and string_to_av_perm to
20741         translate strings. Enforce default policy and call avs_has_perm with
20742         results of translated strings.
20744 2014-04-13  David S. Miller  <davem@davemloft.net>
20746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20748 2014-04-12  Allan McRae  <allan@archlinux.org>
20750         [BZ #16838]
20751         * manual/string.texi (Collation Functions): Fix qsort argument
20752         order in example.
20753         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20755 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20757         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20758         Make the test a no-op if there are no exceptions defined.
20760 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20762         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20763         enable-hardcoded-path-in-tests
20765 2014-04-11  Will Newton  <will.newton@linaro.org>
20767         * benchtests/Makefile (extra-objs): Add json-lib.o.
20768         (bench-func): Tidy up JSON output.
20769         * benchtests/bench-skeleton.c: Include json-lib.h.
20770         (main): Use JSON library functions to do output of
20771         benchmark results.
20772         * benchtests/bench-timing-type.c (main): Output the
20773         timing type simply, leaving formatting to the user.
20774         * benchtests/json-lib.c: New file.
20775         * benchtests/json-lib.h: Likewise.
20777 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20779         [BZ #15215]
20780         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20781         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20782         memory barriers.  Add comments.
20783         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20784         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20785         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20786         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20787         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20788         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20790 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20792         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20793         * sysdeps/s390/s390-64/configure.ac: ... this ...
20794         * sysdeps/s390/configure.ac: ... to here.
20795         * sysdeps/s390/s390-32/configure: Delete file.
20796         * sysdeps/s390/s390-64/configure: Delete file.
20797         * sysdeps/s390/configure: Regenerate.
20799 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20801         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20803 2014-04-11  Will Newton  <will.newton@linaro.org>
20805         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20806         to zero if it is not defined elsewhere.  (mtrim): Test
20807         the value of MALLOC_DEBUG with #if rather than #ifdef.
20809 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20811         * benchtests/pthread_once-inputs: New file.
20812         * benchtests/pthread_once-source.c: New file.
20813         * benchtests/README: Update documentation.
20815 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20816             H.J. Lu  <hongjiu.lu@intel.com>
20818         [BZ #16275]
20819         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20820         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20821         * sysdeps/x86_64/configure: Regenerated.
20822         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20823         macro.
20824         (REGISTER_SAVE_RAX): Likewise.
20825         (REGISTER_SAVE_RCX): Likewise.
20826         (REGISTER_SAVE_RDX): Likewise.
20827         (REGISTER_SAVE_RSI): Likewise.
20828         (REGISTER_SAVE_RDI): Likewise.
20829         (REGISTER_SAVE_R8): Likewise.
20830         (REGISTER_SAVE_R9): Likewise.
20831         (REGISTER_SAVE_BND0): Likewise.
20832         (REGISTER_SAVE_BND1): Likewise.
20833         (REGISTER_SAVE_BND2): Likewise.
20834         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20835         bound registers when calling _dl_fixup.
20837 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20839         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20840         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20841         of its definition.
20842         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20843         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20844         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20845         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20846         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20847         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20848         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20850 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20852         [BZ #15514]
20853         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20854         pathconf(_PC_NAME_MAX).
20856 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20858         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20859         Remove macro usage.
20860         (__PTHREAD_SPINS): Move definition to ...
20861         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20862         (__PTHREAD_SPINS): ... here.
20863         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20864         (__PTHREAD_SPIN): Likewise.
20865         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20866         (__PTHREAD_SPIN): Likewise.
20867         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20868         (__PTHREAD_SPIN): Likewise.
20869         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20870         (__PTHREAD_SPIN): Likewise.
20871         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20872         (__PTHREAD_SPIN): Likewise.
20873         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20874         (__PTHREAD_SPIN): Likewise.
20875         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20876         (__PTHREAD_SPIN): Likewise.
20877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20878         (__PTHREAD_SPIN): Likewise.
20879         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20880         (__PTHREAD_SPIN): Likewise.
20881         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20882         (__PTHREAD_SPIN): Likewise.
20883         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20884         (__PTHREAD_SPIN): Likewise.
20885         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20886         (__PTHREAD_SPIN): Likewise.
20888         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20889         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20890         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20891         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20892         imply folder.
20893         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20894         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20895         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20896         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20897         correct imply path.
20898         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20899         strlen symbol for non multi-arch builds.
20900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20901         missing hidden_def and weak_alias.
20903 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20905         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20907 2014-04-07  Will Newton  <will.newton@linaro.org>
20909         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20910         and contents.  [!_LIBC] Remove #ifndef and contents.
20911         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20912         * string/memccpy.c (__memccpy): Use ANSI prototype.
20913         * string/memfrob.c (memfrob): Likewise.
20914         * string/strcoll.c (STRCOLL): Likewise.
20915         * string/strlen.c (strlen): Likewise.
20916         * string/strtok.c (STRTOK): Likewise.
20917         * string/strcat.c: Remove unused #include of memcopy.h.
20918         (strcat): Use ANSI prototype.
20919         * string/strchr.c: Remove unused #include of memcopy.h.
20920         (strchr): Use ANSI prototype.
20921         * string/strcmp.c: Remove unused #include of memcopy.h.
20922         (strcmp): Use ANSI prototype.
20923         * string/strcpy.c: Remove unused #include of memcopy.h.
20924         (strcpy): Use ANSI prototype.
20926 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20928         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20929         * config.make.in (config-extra-cppflags): Set it from
20930         libc_extra_cppflags.
20931         * configure.ac (libc_extra_cflags): Make it accumulate over
20932         configure fragments.
20933         (libc_extra_cppflags): New flag.
20934         * configure. Regenerate.
20935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20936         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20937         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20940         [BZ #16815]
20941         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20942         result for FE_DOWNWARD rounding mode.
20943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20944         Likewise.
20945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20947 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20949         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20950         in function argument name.
20952 2014-04-03  David Svoboda  <svoboda@cert.org>
20954         [BZ #5666]
20955         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20956         explicitly.
20958 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20960         * elf/dl-unmap-segments.h: New file.
20961         * sysdeps/generic/ldsodefs.h
20962         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20963         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20964         * elf/dl-fptr.c: Likewise.
20965         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20966         * sysdeps/aarch64/tlsdesc.c: Likewise.
20967         * sysdeps/arm/tlsdesc.c: Likewise.
20968         * sysdeps/i386/tlsdesc.c: Likewise.
20969         * sysdeps/tile/dl-runtime.c: Likewise.
20970         * sysdeps/x86_64/tlsdesc.c: Likewise.
20971         * elf/dl-load.h: New file.
20972         * elf/dl-load.c: Include it.
20973         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20974         Macros moved to dl-load.h.
20975         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20976         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20977         Use _dl_unmap_segments in place of __munmap.
20978         Break out segment-mapping loop into ...
20979         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20981 2014-04-03  Will Newton  <will.newton@linaro.org>
20983         * elf/dl-lookup.c (do_lookup_x): Remove comment
20984         referring to nested function and move variable
20985         declarations down to before first use.
20987 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #16799]
20990         [BZ #16800]
20991         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20992         with 0 numerator.
20993         * math/s_catanf.c (__catanf): Likewise.
20994         * math/s_catanh.c (__catanh): Likewise.
20995         * math/s_catanhf.c (__catanhf): Likewise.
20996         * math/s_catanhl.c (__catanhl): Likewise.
20997         * math/s_catanl.c (__catanl): Likewise.
20998         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20999         by positive zero when computing -Inf result.
21000         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21001         (catanh_test): Likewise.
21002         * sysdeps/i386/fpu/libm-test-ulps: Update.
21003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21005         [BZ #16789]
21006         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21007         instead of using underflowing value in computing result.
21008         * math/s_clog10.c (__clog10): Likewise.
21009         * math/s_clog10f.c (__clog10f): Likewise.
21010         * math/s_clog10l.c (__clog10l): Likewise.
21011         * math/s_clogf.c (__clogf): Likewise.
21012         * math/s_clogl.c (__clogl): Likewise.
21013         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21014         (clog10_test): Likewise.
21015         * sysdeps/i386/fpu/libm-test-ulps: Update.
21016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018 2014-04-02  Alan Modra  <amodra@gmail.com>
21020         [BZ #16739]
21021         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21022         output when value is near a power of two.  Use int64_t for lx and
21023         remove casts.  Use decimal rather than hex exponent constants.
21024         Don't use long double multiplication when double will suffice.
21025         * math/libm-test.inc (nextafter_test_data): Add tests.
21026         * NEWS: Add 16739 and 16786 to bug list.
21028         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21030         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21032 2014-04-01  Will Newton  <will.newton@linaro.org>
21034         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21035         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21037 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21039         [BZ #13347]
21040         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21041         * nptl/tst-setuid2.c: New file.
21042         * nptl/Makefile (xtests): Add tst-setuid2.
21044 2014-04-01  Alan Modra  <amodra@gmail.com>
21046         [BZ #16786]
21047         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21049 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21051         [BZ #6803]
21052         [BZ #6804]
21053         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21054         set errno as appropriate.
21055         * math/w_scalbf.c (__scalbf): Likewise.
21056         * math/w_scalbl.c (__scalbl): Likewise.
21057         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21058         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21059         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21060         Add more NaN tests.
21062         [BZ #16349]
21063         * math/w_atan2.c: Include <errno.h>.
21064         (__atan2): Set errno for result underflowing to zero.
21065         * math/w_atan2f.c: Include <errno.h>.
21066         (__atan2f): Set errno for result underflowing to zero.
21067         * math/w_atan2l.c: Include <errno.h>.
21068         (__atan2l): Set errno for result underflowing to zero.
21069         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21070         tests.
21071         * math/auto-libm-test-out: Regenerated.
21073 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21076         Encode instruction correctly in little endian.
21077         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21078         Likewise.
21079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21080         Likewise.
21081         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21082         Likewise.
21083         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21084         Likewise.
21086 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #9894]
21089         * sysdeps/unix/sysv/linux/kernel-features.h
21090         [__sparc__ && !__arch64__ && !__sparc_v9__]
21091         (__ASSUME_SET_ROBUST_LIST): Do not define.
21092         [__sparc__ && !__arch64__ && !__sparc_v9__]
21093         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21094         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21095         Likewise.
21096         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21097         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21098         (__ASSUME_REQUEUE_PI): Likewise.
21099         (__ASSUME_SET_ROBUST_LIST): Likewise.
21100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21101         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21102         Undefine.
21103         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21104         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21105         Likewise.
21106         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21107         Likewise.
21108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21109         Likewise.
21110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21111         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21112         Undefine.
21113         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21114         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21115         Likewise.
21117         [BZ #16648]
21118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21119         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21120         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21122 2014-03-31  Will Newton  <will.newton@linaro.org>
21124         * benchtests/Makefile (bench): Add ffs and ffsll to list
21125         of tests.
21126         * benchtests/ffs-inputs: New file.
21127         * benchtests/ffsll-inputs: Likewise.
21129 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21131         [BZ #16770]
21132         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21133         too large before casting to int.
21134         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21135         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21136         * math/libm-test.inc (scalb_test_data): Add more tests.
21138 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21140         * benchtests/Makefile (DETAILED_OPT): New make option.
21141         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21142         set.
21143         * benchtests/bench-skeleton.c: Include stdbool.h.
21144         (main): Store and print timings per input.
21145         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21146         member to each argument value.
21147         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21148         (_print_arg_data): Initialize per-input timing to 0.
21150         * benchtests/Makefile (timing-type): New binary.
21151         (bench-clean): Also remove bench-timing-type.
21152         (bench): New target for timing-type.
21153         (bench-func): Print output in JSON format.
21154         * benchtests/bench-skeleton.c (main): Print output in JSON
21155         format.
21156         * benchtests/bench-timing-type.c: New file.
21157         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21158         (TIMING_PRINT_STATS): Remove.
21159         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21160         name separately.
21162         * benchtests/bench-modf.c: Remove.
21163         * benchtests/modf-inputs: New inputs file.
21165 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21167         [BZ #16362]
21168         * math/s_clog10.c (M_PI_LOG10E): New macro.
21169         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21170         imaginary parts are 0.
21171         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21172         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21173         imaginary parts are 0.
21174         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21175         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21176         imaginary parts are 0.
21177         * math/libm-test.inc (clog10_test_data): Update expected results
21178         for when real and imaginary parts are 0.
21180 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21182         * elf/dl-load.c: Finish conversion of __builtin_expect into
21183         __glibc_{un}likely.
21185 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21187         [BZ #16348]
21188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21189         1+x for argument with exponent below -67.
21190         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21191         Likewise.
21192         * math/auto-libm-test-in: Add more tests of exp.
21193         * math/auto-libm-test-out: Regenerated.
21195 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21197         [BZ #16759]
21198         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21199         (nscd_getnetgrent): Use it.
21201         [BZ #16760]
21202         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21203         of stpcpy.
21205 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21207         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21208         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21209         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21210         (lll_robust_unlock): Remove out of line section. Use cfi
21211         intrinsics.
21212         (LLL_STUB_UNWIND_INFO*): Remove.
21213         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21214         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21215         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21216         (lll_robust_unlock): Remove out of line section. Use cfi
21217         intrinsics.
21218         (LLL_STUB_UNWIND_INFO*): Remove.
21220 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21222         [BZ #16758]
21223         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21224         blank values.
21226 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21228         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21230 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21232         [BZ #16198]
21233         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21234         fnstenv.
21235         * math/test-fenv-preserve.c: New file.
21236         * math/Makefile (tests): Add test-fenv-preserve.
21238 2014-03-26  Will Newton <will.newton@linaro.org>
21240         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21242 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21244         * scripts/versionlist.awk: Partition the version sets and emit all
21245         GLIBC_* (sorted) before all others (sorted).
21247 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21249         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21250         GLIBC_2.2.5 version.
21252 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21254         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21255         calls.
21257         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21258         previous change.
21260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21262 2014-03-25  Andreas Schwab  <schwab@suse.de>
21264         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21265         label to be used after in6ailist is initialized.
21267 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21269         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21270         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21272 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21274         [BZ #16357]
21275         [BZ #16599]
21276         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21277         min_plus_half.
21278         (fp_formats): Update initializers.
21279         (init_fp_formats): Initialize new field.
21280         (output_for_one_input_case): Allow underflow for results up to
21281         min_plus_half.
21282         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21283         * math/auto-libm-test-in: Don't mark some underflows from asin and
21284         atanh as spurious.
21285         * math/auto-libm-test-out: Regenerated.
21286         * sysdeps/i386/fpu/libm-test-ulps: Update.
21287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21289 2014-03-25  Andreas Schwab  <schwab@suse.de>
21291         * libio/Makefile (tst-ftell-partial-wide-ENV)
21292         (tst-ftell-active-handler-ENV): Define.
21294 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21296         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21298 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21300         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21302 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21304         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21305         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21306         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21308 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21310         [BZ #16634]
21311         * elf/dl-load.c (open_verify): Add mode parameter.
21312         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21313         (open_path): Change from boolean 'secure' to complete flag 'mode'
21314         (_dl_map_object): Adjust.
21315         * elf/Makefile (tests): Add tst-dlopen-aout.
21316         * elf/tst-dlopen-aout.c: New test.
21318 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21320         [BZ #16714]
21321         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21322         (struct stat): Rename member pad0 to __glibc_reserved0.
21324         [BZ #16712]
21325         * sysdeps/s390/s390-32/bits/wordsize.h
21326         (__WORDSIZE32_SIZE_ULONG): New define.
21327         * sysdeps/s390/s390-64/bits/wordsize.h
21328         (__WORDSIZE32_SIZE_ULONG): Likewise.
21329         * sysdeps/generic/stdint.h (SIZE_MAX):
21330         Define as UL if __WORDSIZE32_SIZE_ULONG.
21332         [BZ #16713]
21333         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21334         (__glibc_reserved0): New variable.
21335         (sa_flags): Change type to int.
21337         * posix/Makefile (before-compile): Use += before-compile instead
21338         of a :=.
21340         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21341         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21343 2014-03-20  Andreas Schwab  <schwab@suse.de>
21345         [BZ #16743]
21346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21347         non-matching result from nscd.
21349 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21351         * scripts/bench.py: Moved to ...
21352         * benchtests/scripts/bench.py: ... here.
21353         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21355 2014-03-24  Andreas Schwab  <schwab@suse.de>
21357         [BZ #16002]
21358         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21359         alloca_account and account alloca use for struct in6ailist.
21361 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21363         [BZ #16284]
21364         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21365         rounding mode to recompute results that overflow to infinity or
21366         underflow to zero.
21367         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21368         bug 16284.
21369         * math/auto-libm-test-out: Regenerated.
21370         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21371         (ccosh_test): Likewise.
21372         (csin_test_data): Use plus_oflow.
21373         (csin_test): Use ALL_RM_TEST.
21374         (csinh_test_data): Use plus_oflow.
21375         (csinh_test): Use ALL_RM_TEST.
21376         * sysdeps/i386/fpu/libm-test-ulps: Update.
21377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21381         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21382         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21383         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21385         [BZ #16731]
21386         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21387         when x - 1 is zero.
21388         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21389         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21390         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21391         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21392         argument is 1.
21393         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21394         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21395         zero.
21396         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21397         * sysdeps/i386/fpu/libm-test-ulps: Update.
21398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21400 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21402         * scripts/bench.pl: Remove file.
21403         * scripts/bench.py: New benchmark script.
21404         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21405         * benchtests/README: Mention python dependency.
21406         * scripts/pylintrc: New file.
21407         * scripts/pylint: New file.
21409         * bits/mathdef.h: Use #ifdef instead of #if.
21410         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21411         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21412         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21413         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21414         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21415         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21417 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21418             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21420         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21422         and strpbrk-ppc64 objects.
21423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21424         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21425         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21426         multiarch strpbrk for POWER7.
21427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21428         multiarch strpbrk for PPC64.
21429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21430         ifunc selector.
21431         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21432         strpbrk for POWER7.
21434 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21436         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21437         (atan_test): Likewise.
21438         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21439         (atanh_test): Use ALL_RM_TEST.
21440         (atan2_test_data): Likewise.
21441         (cabs_test): Likewise.
21442         (cacosh_test): Likewise.
21443         (carg_test): Likewise.
21444         (casin_test): Likewise.
21445         (casinh_test): Likewise.
21446         (cbrt_test): Likewise.
21447         (csqrt_test): Likewise.
21448         (erf_test): Likewise.
21449         (erfc_test): Likewise.
21450         (pow10_test): Likewise.
21451         (exp2_test): Likewise.
21452         (hypot_test): Likewise.
21453         (j0_test): Likewise.
21454         (j1_test): Likewise.
21455         (lgamma_test): Likewise.
21456         (gamma_test): Likewise.
21457         (sincos_test): Likewise.
21458         (tanh_test): Likewise.
21459         (y0_test): Likewise.
21460         (y1_test): Likewise.
21461         * sysdeps/i386/fpu/libm-test-ulps: Update.
21462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21466         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21468         and strcspn-ppc64 objects.
21469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21470         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21471         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21472         multiarch strcspn for POWER7.
21473         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21474         multiarch strcspn for PPC64.
21475         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21476         ifunc selector.
21477         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21478         strcspn for POWER7.
21480 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21482         * math/gen-libm-test.pl (generate_testfile): Expect only function
21483         name as argument to AUTO_TESTS_* and pass results for all rounding
21484         modes to parse_args.
21485         (parse_auto_input): Separate inputs of automatic tests from
21486         outputs before storing in %auto_tests.
21487         * math/libm-test.inc (acos_test_data): Update call to
21488         AUTO_TESTS_f_f.
21489         (acos_test): Use ALL_RM_TEST.
21490         (acos_tonearest_test_data): Remove.
21491         (acos_test_tonearest): Likewise.
21492         (acos_towardzero_test_data): Likewise.
21493         (acos_test_towardzero): Likewise.
21494         (acos_downward_test_data): Likewise.
21495         (acos_test_downward): Likewise.
21496         (acos_upward_test_data): Likewise.
21497         (acos_test_upward): Likewise.
21498         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21499         (asin_test_data): Likewise.
21500         (asin_test): Use ALL_RM_TEST.
21501         (asin_tonearest_test_data): Remove.
21502         (asin_test_tonearest): Likewise.
21503         (asin_towardzero_test_data): Likewise.
21504         (asin_test_towardzero): Likewise.
21505         (asin_downward_test_data): Likewise.
21506         (asin_test_downward): Likewise.
21507         (asin_upward_test_data): Likewise.
21508         (asin_test_upward): Likewise.
21509         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21510         (atan_test_data): Likewise.
21511         (atanh_test_data): Likewise.
21512         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21513         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21514         (carg_test_data): Likewise.
21515         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21516         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21517         (ccosh_test_data): Likewise.
21518         (cexp_test_data): Likewise.
21519         (clog_test_data): Likewise.
21520         (clog10_test_data): Likewise.
21521         (cos_test_data): Update call to AUTO_TESTS_f_f.
21522         (cos_test): Use ALL_RM_TEST.
21523         (cos_tonearest_test_data): Remove.
21524         (cos_test_tonearest): Likewise.
21525         (cos_towardzero_test_data): Likewise.
21526         (cos_test_towardzero): Likewise.
21527         (cos_downward_test_data): Likewise.
21528         (cos_test_downward): Likewise.
21529         (cos_upward_test_data): Likewise.
21530         (cos_test_upward): Likewise.
21531         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21532         (cosh_test): Use ALL_RM_TEST.
21533         (cosh_tonearest_test_data): Remove.
21534         (cosh_test_tonearest): Likewise.
21535         (cosh_towardzero_test_data): Likewise.
21536         (cosh_test_towardzero): Likewise.
21537         (cosh_downward_test_data): Likewise.
21538         (cosh_test_downward): Likewise.
21539         (cosh_upward_test_data): Likewise.
21540         (cosh_test_upward): Likewise.
21541         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21542         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21543         (ctan_test_data): Likewise.
21544         (ctan_test): Use ALL_RM_TEST.
21545         (ctan_tonearest_test_data): Remove.
21546         (ctan_test_tonearest): Likewise.
21547         (ctan_towardzero_test_data): Likewise.
21548         (ctan_test_towardzero): Likewise.
21549         (ctan_downward_test_data): Likewise.
21550         (ctan_test_downward): Likewise.
21551         (ctan_upward_test_data): Likewise.
21552         (ctan_test_upward): Likewise.
21553         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21554         (ctanh_test): Use ALL_RM_TEST.
21555         (ctanh_tonearest_test_data): Remove.
21556         (ctanh_test_tonearest): Likewise.
21557         (ctanh_towardzero_test_data): Likewise.
21558         (ctanh_test_towardzero): Likewise.
21559         (ctanh_downward_test_data): Likewise.
21560         (ctanh_test_downward): Likewise.
21561         (ctanh_upward_test_data): Likewise.
21562         (ctanh_test_upward): Likewise.
21563         (erf_test_data): Update call to AUTO_TESTS_f_f.
21564         (erfc_test_data): Likewise.
21565         (exp_test_data): Likewise.
21566         (exp_test): Use ALL_RM_TEST.
21567         (exp_tonearest_test_data): Remove.
21568         (exp_test_tonearest): Likewise.
21569         (exp_towardzero_test_data): Likewise.
21570         (exp_test_towardzero): Likewise.
21571         (exp_downward_test_data): Likewise.
21572         (exp_test_downward): Likewise.
21573         (exp_upward_test_data): Likewise.
21574         (exp_test_upward): Likewise.
21575         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21576         (exp10_test): Use ALL_RM_TEST.
21577         (exp10_tonearest_test_data): Remove.
21578         (exp10_test_tonearest): Likewise.
21579         (exp10_towardzero_test_data): Likewise.
21580         (exp10_test_towardzero): Likewise.
21581         (exp10_downward_test_data): Likewise.
21582         (exp10_test_downward): Likewise.
21583         (exp10_upward_test_data): Likewise.
21584         (exp10_test_upward): Likewise.
21585         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21586         (expm1_test_data): Likewise.
21587         (expm1_test): Use ALL_RM_TEST.
21588         (expm1_tonearest_test_data): Remove.
21589         (expm1_test_tonearest): Likewise.
21590         (expm1_towardzero_test_data): Likewise.
21591         (expm1_test_towardzero): Likewise.
21592         (expm1_downward_test_data): Likewise.
21593         (expm1_test_downward): Likewise.
21594         (expm1_upward_test_data): Likewise.
21595         (expm1_test_upward): Likewise.
21596         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21597         (fma_test): Use ALL_RM_TEST.
21598         (fma_towardzero_test_data): Remove.
21599         (fma_test_towardzero): Likewise.
21600         (fma_downward_test_data): Likewise.
21601         (fma_test_downward): Likewise.
21602         (fma_upward_test_data): Likewise.
21603         (fma_test_upward): Likewise.
21604         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21605         (j0_test_data): Update call to AUTO_TESTS_f_f.
21606         (j1_test_data): Likewise.
21607         (jn_test_data): Update call to AUTO_TESTS_if_f.
21608         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21609         (log_test_data): Update call to AUTO_TESTS_f_f.
21610         (log10_test_data): Likewise.
21611         (log1p_test_data): Likewise.
21612         (log2_test_data): Likewise.
21613         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21614         (pow_tonearest_test_data): Likewise.
21615         (sin_test_data): Update call to AUTO_TESTS_f_f.
21616         (sin_test): Use ALL_RM_TEST.
21617         (sin_tonearest_test_data): Remove.
21618         (sin_test_tonearest): Likewise.
21619         (sin_towardzero_test_data): Likewise.
21620         (sin_test_towardzero): Likewise.
21621         (sin_downward_test_data): Likewise.
21622         (sin_test_downward): Likewise.
21623         (sin_upward_test_data): Likewise.
21624         (sin_test_upward): Likewise.
21625         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21626         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21627         (sinh_test): Use ALL_RM_TEST.
21628         (sinh_tonearest_test_data): Remove.
21629         (sinh_test_tonearest): Likewise.
21630         (sinh_towardzero_test_data): Likewise.
21631         (sinh_test_towardzero): Likewise.
21632         (sinh_downward_test_data): Likewise.
21633         (sinh_test_downward): Likewise.
21634         (sinh_upward_test_data): Likewise.
21635         (sinh_test_upward): Likewise.
21636         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21637         (sqrt_test): Use ALL_RM_TEST.
21638         (sqrt_tonearest_test_data): Remove.
21639         (sqrt_test_tonearest): Likewise.
21640         (sqrt_towardzero_test_data): Likewise.
21641         (sqrt_test_towardzero): Likewise.
21642         (sqrt_downward_test_data): Likewise.
21643         (sqrt_test_downward): Likewise.
21644         (sqrt_upward_test_data): Likewise.
21645         (sqrt_test_upward): Likewise.
21646         (tan_test_data): Update call to AUTO_TESTS_f_f.
21647         (tan_test): Use ALL_RM_TEST.
21648         (tan_tonearest_test_data): Remove.
21649         (tan_test_tonearest): Likewise.
21650         (tan_towardzero_test_data): Likewise.
21651         (tan_test_towardzero): Likewise.
21652         (tan_downward_test_data): Likewise.
21653         (tan_test_downward): Likewise.
21654         (tan_upward_test_data): Likewise.
21655         (tan_test_upward): Likewise.
21656         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21657         (tgamma_test_data): Likewise.
21658         (y0_test_data): Likewise.
21659         (y1_test_data): Likewise.
21660         (yn_test_data): Update call to AUTO_TESTS_if_f.
21661         (main): Do not call removed functions.
21663 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21665         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21666         (ldexp_test_data): Remove.
21667         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21668         scalbn_test_data.
21669         (scalb_test): Use ALL_RM_TEST.
21671 2014-03-19  Andreas Schwab  <schwab@suse.de>
21673         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21675 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21677         [BZ #16649]
21678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21679         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21680         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21682         (__ASSUME_PREADV): Undefine.
21683         (__ASSUME_PWRITEV): Likewise.
21685 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21687         * bits/mman-linux.h: Add comment about non-Linux use.
21688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21689         bits/mman-linux.h resting place.
21691         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21692         * bits/mman-linux.h: ... here.
21694 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21696         * conform/conformtest.pl: Add standard definition when calling C
21697         preprocessor on data files.
21698         (checknamespace): Remove unused variable.
21700 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21702         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21703         minus_oflow, plus_uflow and minus_uflow in expected results.
21704         * math/libm-test.inc (scalbn_test_data): Add more tests of
21705         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21706         minus_uflow.
21707         (scalbn_test): Use ALL_RM_TEST.
21708         (scalbln_test_data): Add more tests of negative arguments.  Use
21709         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21710         (scalbln_test): Use ALL_RM_TEST.
21712 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21714         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21716 2014-03-18  Will Newton  <will.newton@linaro.org>
21718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21719         inaccurate comment.
21721 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21723         * Makerules [!subdir] (check-abi): Exit with error status if a
21724         test failed.
21726 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21728         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21729         for rint.  Include results for all rounding modes.
21730         (nearbyint_test): Use ALL_RM_TEST.
21731         (rint_test_data): Include all tests used for nearbyint.
21733 2014-03-17  Will Newton  <will.newton@linaro.org>
21735         * nptl/sysdeps/pthread/pthread.h: Revert previous
21736         change.
21738         * sysdeps/generic/ldsodefs.h: Revert previous
21739         change.
21741         * libio/genops.c: Revert previous change.
21742         * libio/libioP.h: Likewise.
21743         * stdio-common/vfprintf.c: Likewise.
21745         * sysdeps/generic/math_private.h: Revert previous
21746         change.
21748         * sysdeps/generic/math_private.h: Check whether
21749         HAVE_RM_CTX is defined with #ifdef rather
21750         than #if.
21752         * argp/argp-fmtstream.h: Check whether
21753         __STRICT_ANSI__ is defined with #ifdef rather
21754         than #if.
21755         * argp/argp.h: Likewise.
21757         * libio/genops.c: Check whether
21758         _IO_JUMPS_OFFSET is defined with #ifdef rather
21759         than #if.
21760         * libio/libioP.h: Likewise.
21761         * stdio-common/vfprintf.c: Likewise.
21763         * sysdeps/generic/ldsodefs.h: Check whether
21764         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21765         than #if.
21767         * nptl/sysdeps/pthread/pthread.h: Check
21768         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21769         its value.
21771 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21773         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21774         setting O_APPEND.
21775         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21776         test case.
21778         [BZ #16680]
21779         * libio/fileops.c (_IO_file_open): Seek to end of file but
21780         don't cache the offset.
21781         (get_file_offset): Remove function.
21782         (do_ftell): Use cached offset when available.
21783         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21784         don't cache the offset.
21785         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21786         case.
21787         (do_one_test): Call it.
21788         (do_ftell_test): Fix up expected old offset for a+ mode.
21789         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21790         available.
21792         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21793         up test status with function return status.
21794         (do_write_test): Likewise.
21795         (do_append_test): Likewise.
21797         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21798         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21799         Remove.
21801 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21803         * math/gen-libm-test.pl (parse_args): Handle results specified for
21804         each rounding mode separately.
21805         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21806         tests and results from lrint_tonearest_test_data,
21807         lrint_towardzero_test_data, lrint_downward_test_data and
21808         lrint_upward_test_data.
21809         (lrint_test): Use ALL_RM_TEST.
21810         (lrint_tonearest_test_data): Remove.
21811         (lrint_test_tonearest): Likewise.
21812         (lrint_towardzero_test_data): Likewise.
21813         (lrint_test_towardzero): Likewise.
21814         (lrint_downward_test_data): Likewise.
21815         (lrint_test_downward): Likewise.
21816         (lrint_upward_test_data): Likewise.
21817         (lrint_test_upward): Likewise.
21818         (llrint_test_data): Merge in per-rounding-mode tests and results
21819         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21820         llrint_downward_test_data and llrint_upward_test_data.
21821         (llrint_test): Use ALL_RM_TEST.
21822         (llrint_tonearest_test_data): Remove.
21823         (llrint_test_tonearest): Likewise.
21824         (llrint_towardzero_test_data): Likewise.
21825         (llrint_test_towardzero): Likewise.
21826         (llrint_downward_test_data): Likewise.
21827         (llrint_test_downward): Likewise.
21828         (llrint_upward_test_data): Likewise.
21829         (llrint_test_upward): Likewise.
21830         (rint_test_data): Merge in per-rounding-mode tests and results
21831         from rint_tonearest_test_data, rint_towardzero_test_data,
21832         rint_downward_test_data and rint_upward_test_data.  Add
21833         per-rounding-mode results for tests not in those arrays.
21834         (rint_test): Use ALL_RM_TEST.
21835         (rint_tonearest_test_data): Remove.
21836         (rint_test_tonearest): Likewise.
21837         (rint_towardzero_test_data): Likewise.
21838         (rint_test_towardzero): Likewise.
21839         (rint_downward_test_data): Likewise.
21840         (rint_test_downward): Likewise.
21841         (rint_upward_test_data): Likewise.
21842         (rint_test_upward): Likewise.
21843         (main): Don't call removed functions.
21845 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21847         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21848         "Compiled on ..." crapola.  It is anti-useful.
21850 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21852         * scripts/evaluate-test.sh: Handle fourth argument to determine
21853         whether test run should stop on failure.
21854         * Makeconfig (stop-on-test-failure): New variable.
21855         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21856         $(stop-on-test-failure).
21857         * Makefile (tests): Give a summary of results from testing and
21858         exit with failure status if they include an ERROR or FAIL.
21859         (xtests): Likewise.
21860         * manual/install.texi (Configuring and compiling): Mention
21861         stop-on-test-failure=y.
21862         * INSTALL: Regenerated.
21864 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21866         * scripts/versionlist.awk: New file.
21867         * Makerules [$(build-shared) = yes]
21868         (postclean-generated): Add Versions.def, not Versions.def.v and
21869         Versions.def.v.i.
21870         ($(common-objpfx)Versions.def.v.i): Target removed.
21871         ($(common-objpfx)Versions.def): New target.
21872         ($(common-objpfx)Versions.all): Depend on that rather that
21873         $(common-objpfx)Versions.def.v.
21874         * Versions.def: File removed.
21876         * Makeconfig (+gccwarn): Add -Wundef.
21877         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21878         a dl-sysdep.h breaking its contract.
21879         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21880         * include/stackinfo.h: New file.
21881         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21882         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21883         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21884         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21885         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21886         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21887         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21888         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21889         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21890         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21891         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21892         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21893         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21894         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21895         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21897 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21899         [BZ #16707]
21900         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21901         implementation.
21902         * math/libm-test.inc (round_test_data): Add more tests.
21904         [BZ #16706]
21905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21906         implementation.
21907         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21909         [BZ #16701]
21910         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21911         implementation.
21912         * math/libm-test.inc (ceil_test_data): Add more tests.
21914         * math/libm-test.inc (trunc_test_data): Add more tests related to
21915         BZ#16414.
21917 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21919         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21920         with #if rather than #ifdef.
21921         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21923 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21925         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21926         first.  Disable AVX-512 GCC support if assembler doesn't support
21927         it.
21928         * sysdeps/x86_64/configure: Regenerated.
21930 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21932         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21933         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21934         (__old_pthread_attr_setstack): Likewise.
21935         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21936         [!_STACK_GROWS_DOWN]: Likewise.
21938 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21940         * config.make.in (have-bash2): Delete.
21941         * configure.ac (libc_cv_have_bash2): Delete.
21942         * configure: Regenerate.
21943         * elf/Makefile (common-ldd-rewrite): Rename to ...
21944         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21945         (sh-ldd-rewrite): Delete.
21946         (bash-ldd-rewrite): Delete.
21947         (have-bash2): Delete checks.
21948         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21949         ldd-rewrite.
21951         * config.make.in (have-ksh): Delete.
21952         (KSH): Delete.
21953         * configure.ac (libc_cv_have_ksh): Delete.
21954         * configure: Regenerate.
21956         * elf/Makefile: Delete $(have-ksh) check.
21957         ($(objpfx)sotruss): Change KSH to BASH.
21958         * elf/sotruss.ksh: Rename to ...
21959         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21960         function style to match POSIX.  Drop ksh vim mode setting.
21962         * manual/time.texi (Specifying the Time Zone with TZ): Change
21963         Tuesday to Thursday.
21965         * debug/tst-longjmp_chk2.c: Update header comment.
21966         (stackoverflow_handler): Add comment.  Call assert on pass value.
21968 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21970         [BZ #16194]
21971         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21972         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21973         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21974         (La_x86_64_vector): Add zmm.
21975         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21976         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21977         ($(objpfx)tst-audit10): New target.
21978         ($(objpfx)tst-audit10.out): Likewise.
21979         (tst-audit10-ENV): New.
21980         (AVX512-CFLAGS): Likewise.
21981         (CFLAGS-tst-audit10.c): Likewise.
21982         (CFLAGS-tst-auditmod10a.c): Likewise.
21983         (CFLAGS-tst-auditmod10b.c): Likewise.
21984         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21985         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21986         * sysdeps/x86_64/configure: Regenerated.
21987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21988         AVX-512 zmm register support.
21989         (_dl_x86_64_save_sse): Likewise.
21990         (_dl_x86_64_restore_sse): Likewise.
21991         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21992         size vector registers.
21993         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21994         (ZMM_SIZE): Likewise.
21995         * sysdeps/x86_64/tst-audit10.c: New file.
21996         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21997         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21999 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22001         * configure.ac (HAVE_EHDR_START): New check.
22002         * configure: Regenerated.
22003         * config.h.in (HAVE_EHDR_START): New #undef.
22004         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22005         assuming the lowest-addressed segment maps the start of the file.
22007 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22009         * INSTALL: Regenerated.
22011 2014-03-13  Will Newton  <will.newton@linaro.org>
22013         * manual/setjmp.texi (System V contexts): Improve
22014         clarity and grammar of documentation.
22016 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22018         [BZ #16381]
22019         * elf/Makefile (tests): Add tst-pie2.
22020         (tests-pie): Add tst-pie2.
22021         * elf/tst-pie2.c: New file.
22022         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22023         for ET_EXEC.
22024         * elf/rtld.c (map_doit): Load executable as lt_executable.
22025         (dl_main): Likewise.
22027 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22029         [BZ #16642]
22030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22031         (__ASSUME_PSELECT): Undefine.
22033 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22035         [BZ #16689]
22036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22037         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22038         static build.
22039         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22040         selector for static builds.
22042 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22044         [BZ #16695]
22045         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22046         key in the buffer.
22048 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22050         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22051         IFUNC selector for static builds.
22053 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22055         * sysdeps/mips/math_private.h [__mips_hard_float]
22056         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22057         libc_feresetround_mips_ctx.
22058         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22059         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22060         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22062         [BZ #16677]
22063         * math/s_nextafter.c (__nextafter): Do not return value from
22064         overflowing computation.
22065         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22066         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22067         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22068         Likewise.
22069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22070         Likewise.
22071         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22072         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22074 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22076         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22077         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22078         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22079         the new mov targetting sp.
22081 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083         [BZ #16683]
22084         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22085         Define it for static builds as well.
22086         (NO_BZERO_IMPL): Likewise.
22088 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22090         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22091         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22092         multiarch strspn for PPC64.
22093         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22094         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22096         (__libc_ifunc_impl_list): Likewise.
22097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22098         multiarch optimizations
22099         * string/strspn.c (strspn): Using macro to redefine symbol name.
22101 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22104         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22105         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22106         multiarch strncat for PPC64.
22107         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22108         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22110         (__libc_ifunc_impl_list): Likewise.
22111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22112         multiarch optimizations
22114 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22116         [BZ #16639]
22117         * nscd/nscd.service: Make service type forking.
22119 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22121         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22122         sign in non default rounding modes.
22123         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22125 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22127         * math/libm-test.inc (ALL_RM_TEST): New macro.
22128         (ceil_test): Use ALL_RM_TEST.
22129         (cimag_test): Likewise.
22130         (conj_test): Likewise.
22131         (copysign_test): Likewise.
22132         (cproj_test): Likewise.
22133         (creal_test): Likewise.
22134         (fabs_test): Likewise.
22135         (floor_test): Likewise.
22136         (fmax_test): Likewise.
22137         (fmin_test): Likewise.
22138         (fmod_test): Likewise.
22139         (fpclassify_test): Likewise.
22140         (frexp_test): Likewise.
22141         (ilogb_test): Likewise.
22142         (isfinite_test): Likewise.
22143         (finite_test): Likewise.
22144         (isgreater_test): Likewise.
22145         (isgreaterequal_test): Likewise.
22146         (isinf_test): Likewise.
22147         (isless_test): Likewise.
22148         (islessequal_test): Likewise.
22149         (islessgreater_test): Likewise.
22150         (isnan_test): Likewise.
22151         (isnormal_test): Likewise.
22152         (issignaling_test): Likewise.
22153         (isunordered_test): Likewise.
22154         (logb_test): Likewise.
22155         (logb_downward_test_data): Remove.
22156         (logb_test_downward): Likewise.
22157         (lround_test): Use ALL_RM_TEST.
22158         (llround_test): Likewise.
22159         (modf_test): Likewise.
22160         (nexttoward_test): Likewise.
22161         (remainder_test): Likewise.
22162         (drem_test): Likewise.
22163         (remainder_tonearest_test_data): Likewise.
22164         (remainder_test_tonearest): Likewise.
22165         (drem_test_tonearest): Likewise.
22166         (remainder_towardzero_test_data): Likewise.
22167         (remainder_test_towardzero): Likewise.
22168         (drem_test_towardzero): Likewise.
22169         (remainder_downward_test_data): Likewise.
22170         (remainder_test_downward): Likewise.
22171         (drem_test_downward): Likewise.
22172         (remainder_upward_test_data): Likewise.
22173         (remainder_test_upward): Likewise.
22174         (drem_test_upward): Likewise.
22175         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22176         (round_test): Use ALL_RM_TEST.
22177         (signbit_test): Likewise.
22178         (trunc_test): Likewise.
22179         (significand_test): Likewise.
22180         (main): Don't call removed functions.
22182 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22184         [BZ #16674]
22185         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22186         || __USE_XOPEN2K8].
22187         (ILL_ILLOPN): Likewise.
22188         (ILL_ILLADR): Likewise.
22189         (ILL_ILLTRP): Likewise.
22190         (ILL_PRVOPC): Likewise.
22191         (ILL_PRVREG): Likewise.
22192         (ILL_COPROC): Likewise.
22193         (ILL_BADSTK): Likewise.
22194         (FPE_INTDIV): Likewise.
22195         (FPE_INTOVF): Likewise.
22196         (FPE_FLTDIV): Likewise.
22197         (FPE_FLTOVF): Likewise.
22198         (FPE_FLTUND): Likewise.
22199         (FPE_FLTRES): Likewise.
22200         (FPE_FLTINV): Likewise.
22201         (FPE_FLTSUB): Likewise.
22202         (SEGV_MAPERR): Likewise.
22203         (SEGV_ACCERR): Likewise.
22204         (BUS_ADRALN): Likewise.
22205         (BUS_ADRERR): Likewise.
22206         (BUS_OBJERR): Likewise.
22207         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22208         (TRAP_TRACE): Likewise.
22209         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22210         __USE_XOPEN2K8].
22211         (CLD_KILLED): Likewise.
22212         (CLD_DUMPED): Likewise.
22213         (CLD_TRAPPED): Likewise.
22214         (CLD_STOPPED): Likewise.
22215         (CLD_CONTINUED): Likewise.
22216         (POLL_IN): Likewise.
22217         (POLL_OUT): Likewise.
22218         (POLL_MSG): Likewise.
22219         (POLL_ERR): Likewise.
22220         (POLL_PRI): Likewise.
22221         (POLL_HUP): Likewise.
22222         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22223         Likewise.
22224         (ILL_ILLOPN): Likewise.
22225         (ILL_ILLADR): Likewise.
22226         (ILL_ILLTRP): Likewise.
22227         (ILL_PRVOPC): Likewise.
22228         (ILL_PRVREG): Likewise.
22229         (ILL_COPROC): Likewise.
22230         (ILL_BADSTK): Likewise.
22231         (FPE_INTDIV): Likewise.
22232         (FPE_INTOVF): Likewise.
22233         (FPE_FLTDIV): Likewise.
22234         (FPE_FLTOVF): Likewise.
22235         (FPE_FLTUND): Likewise.
22236         (FPE_FLTRES): Likewise.
22237         (FPE_FLTINV): Likewise.
22238         (FPE_FLTSUB): Likewise.
22239         (SEGV_MAPERR): Likewise.
22240         (SEGV_ACCERR): Likewise.
22241         (BUS_ADRALN): Likewise.
22242         (BUS_ADRERR): Likewise.
22243         (BUS_OBJERR): Likewise.
22244         (BUS_MCEERR_AR): Likewise.
22245         (BUS_MCEERR_AO): Likewise.
22246         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22247         (TRAP_TRACE): Likewise.
22248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22249         __USE_XOPEN2K8].
22250         (CLD_KILLED): Likewise.
22251         (CLD_DUMPED): Likewise.
22252         (CLD_TRAPPED): Likewise.
22253         (CLD_STOPPED): Likewise.
22254         (CLD_CONTINUED): Likewise.
22255         (POLL_IN): Likewise.
22256         (POLL_OUT): Likewise.
22257         (POLL_MSG): Likewise.
22258         (POLL_ERR): Likewise.
22259         (POLL_PRI): Likewise.
22260         (POLL_HUP): Likewise.
22261         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22262         (ILL_ILLOPN): Likewise.
22263         (ILL_ILLADR): Likewise.
22264         (ILL_ILLTRP): Likewise.
22265         (ILL_PRVOPC): Likewise.
22266         (ILL_PRVREG): Likewise.
22267         (ILL_COPROC): Likewise.
22268         (ILL_BADSTK): Likewise.
22269         (FPE_INTDIV): Likewise.
22270         (FPE_INTOVF): Likewise.
22271         (FPE_FLTDIV): Likewise.
22272         (FPE_FLTOVF): Likewise.
22273         (FPE_FLTUND): Likewise.
22274         (FPE_FLTRES): Likewise.
22275         (FPE_FLTINV): Likewise.
22276         (FPE_FLTSUB): Likewise.
22277         (SEGV_MAPERR): Likewise.
22278         (SEGV_ACCERR): Likewise.
22279         (BUS_ADRALN): Likewise.
22280         (BUS_ADRERR): Likewise.
22281         (BUS_OBJERR): Likewise.
22282         (BUS_MCEERR_AR): Likewise.
22283         (BUS_MCEERR_AO): Likewise.
22284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22285         (TRAP_TRACE): Likewise.
22286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22287         __USE_XOPEN2K8].
22288         (CLD_KILLED): Likewise.
22289         (CLD_DUMPED): Likewise.
22290         (CLD_TRAPPED): Likewise.
22291         (CLD_STOPPED): Likewise.
22292         (CLD_CONTINUED): Likewise.
22293         (POLL_IN): Likewise.
22294         (POLL_OUT): Likewise.
22295         (POLL_MSG): Likewise.
22296         (POLL_ERR): Likewise.
22297         (POLL_PRI): Likewise.
22298         (POLL_HUP): Likewise.
22299         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22300         Likewise.
22301         (ILL_ILLOPN): Likewise.
22302         (ILL_ILLADR): Likewise.
22303         (ILL_ILLTRP): Likewise.
22304         (ILL_PRVOPC): Likewise.
22305         (ILL_PRVREG): Likewise.
22306         (ILL_COPROC): Likewise.
22307         (ILL_BADSTK): Likewise.
22308         (ILL_BADIADDR): Likewise.
22309         (ILL_BREAK): Likewise.
22310         (FPE_INTDIV): Likewise.
22311         (FPE_INTOVF): Likewise.
22312         (FPE_FLTDIV): Likewise.
22313         (FPE_FLTOVF): Likewise.
22314         (FPE_FLTUND): Likewise.
22315         (FPE_FLTRES): Likewise.
22316         (FPE_FLTINV): Likewise.
22317         (FPE_FLTSUB): Likewise.
22318         (FPE_DECOVF): Likewise.
22319         (FPE_DECDIV): Likewise.
22320         (FPE_DECERR): Likewise.
22321         (FPE_INVASC): Likewise.
22322         (FPE_INVDEC): Likewise.
22323         (SEGV_MAPERR): Likewise.
22324         (SEGV_ACCERR): Likewise.
22325         (SEGV_PSTKOVF): Likewise.
22326         (BUS_ADRALN): Likewise.
22327         (BUS_ADRERR): Likewise.
22328         (BUS_OBJERR): Likewise.
22329         (BUS_MCEERR_AR): Likewise.
22330         (BUS_MCEERR_AO): Likewise.
22331         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22332         (TRAP_TRACE): Likewise.
22333         (TRAP_BRANCH): Likewise.
22334         (TRAP_HWBKPT): Likewise.
22335         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22336         __USE_XOPEN2K8].
22337         (CLD_KILLED): Likewise.
22338         (CLD_DUMPED): Likewise.
22339         (CLD_TRAPPED): Likewise.
22340         (CLD_STOPPED): Likewise.
22341         (CLD_CONTINUED): Likewise.
22342         (POLL_IN): Likewise.
22343         (POLL_OUT): Likewise.
22344         (POLL_MSG): Likewise.
22345         (POLL_ERR): Likewise.
22346         (POLL_PRI): Likewise.
22347         (POLL_HUP): Likewise.
22348         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22349         (ILL_ILLOPN): Likewise.
22350         (ILL_ILLADR): Likewise.
22351         (ILL_ILLTRP): Likewise.
22352         (ILL_PRVOPC): Likewise.
22353         (ILL_PRVREG): Likewise.
22354         (ILL_COPROC): Likewise.
22355         (ILL_BADSTK): Likewise.
22356         (FPE_INTDIV): Likewise.
22357         (FPE_INTOVF): Likewise.
22358         (FPE_FLTDIV): Likewise.
22359         (FPE_FLTOVF): Likewise.
22360         (FPE_FLTUND): Likewise.
22361         (FPE_FLTRES): Likewise.
22362         (FPE_FLTINV): Likewise.
22363         (FPE_FLTSUB): Likewise.
22364         (SEGV_MAPERR): Likewise.
22365         (SEGV_ACCERR): Likewise.
22366         (BUS_ADRALN): Likewise.
22367         (BUS_ADRERR): Likewise.
22368         (BUS_OBJERR): Likewise.
22369         (BUS_MCEERR_AR): Likewise.
22370         (BUS_MCEERR_AO): Likewise.
22371         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22372         (TRAP_TRACE): Likewise.
22373         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22374         __USE_XOPEN2K8].
22375         (CLD_KILLED): Likewise.
22376         (CLD_DUMPED): Likewise.
22377         (CLD_TRAPPED): Likewise.
22378         (CLD_STOPPED): Likewise.
22379         (CLD_CONTINUED): Likewise.
22380         (POLL_IN): Likewise.
22381         (POLL_OUT): Likewise.
22382         (POLL_MSG): Likewise.
22383         (POLL_ERR): Likewise.
22384         (POLL_PRI): Likewise.
22385         (POLL_HUP): Likewise.
22386         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22387         (ILL_ILLOPN): Likewise.
22388         (ILL_ILLADR): Likewise.
22389         (ILL_ILLTRP): Likewise.
22390         (ILL_PRVOPC): Likewise.
22391         (ILL_PRVREG): Likewise.
22392         (ILL_COPROC): Likewise.
22393         (ILL_BADSTK): Likewise.
22394         (FPE_INTDIV): Likewise.
22395         (FPE_INTOVF): Likewise.
22396         (FPE_FLTDIV): Likewise.
22397         (FPE_FLTOVF): Likewise.
22398         (FPE_FLTUND): Likewise.
22399         (FPE_FLTRES): Likewise.
22400         (FPE_FLTINV): Likewise.
22401         (FPE_FLTSUB): Likewise.
22402         (SEGV_MAPERR): Likewise.
22403         (SEGV_ACCERR): Likewise.
22404         (BUS_ADRALN): Likewise.
22405         (BUS_ADRERR): Likewise.
22406         (BUS_OBJERR): Likewise.
22407         (BUS_MCEERR_AR): Likewise.
22408         (BUS_MCEERR_AO): Likewise.
22409         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22410         (TRAP_TRACE): Likewise.
22411         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22412         __USE_XOPEN2K8].
22413         (CLD_KILLED): Likewise.
22414         (CLD_DUMPED): Likewise.
22415         (CLD_TRAPPED): Likewise.
22416         (CLD_STOPPED): Likewise.
22417         (CLD_CONTINUED): Likewise.
22418         (POLL_IN): Likewise.
22419         (POLL_OUT): Likewise.
22420         (POLL_MSG): Likewise.
22421         (POLL_ERR): Likewise.
22422         (POLL_PRI): Likewise.
22423         (POLL_HUP): Likewise.
22424         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22425         (ILL_ILLOPN): Likewise.
22426         (ILL_ILLADR): Likewise.
22427         (ILL_ILLTRP): Likewise.
22428         (ILL_PRVOPC): Likewise.
22429         (ILL_PRVREG): Likewise.
22430         (ILL_COPROC): Likewise.
22431         (ILL_BADSTK): Likewise.
22432         (FPE_INTDIV): Likewise.
22433         (FPE_INTOVF): Likewise.
22434         (FPE_FLTDIV): Likewise.
22435         (FPE_FLTOVF): Likewise.
22436         (FPE_FLTUND): Likewise.
22437         (FPE_FLTRES): Likewise.
22438         (FPE_FLTINV): Likewise.
22439         (FPE_FLTSUB): Likewise.
22440         (SEGV_MAPERR): Likewise.
22441         (SEGV_ACCERR): Likewise.
22442         (BUS_ADRALN): Likewise.
22443         (BUS_ADRERR): Likewise.
22444         (BUS_OBJERR): Likewise.
22445         (BUS_MCEERR_AR): Likewise.
22446         (BUS_MCEERR_AO): Likewise.
22447         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22448         (TRAP_TRACE): Likewise.
22449         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22450         __USE_XOPEN2K8].
22451         (CLD_KILLED): Likewise.
22452         (CLD_DUMPED): Likewise.
22453         (CLD_TRAPPED): Likewise.
22454         (CLD_STOPPED): Likewise.
22455         (CLD_CONTINUED): Likewise.
22456         (POLL_IN): Likewise.
22457         (POLL_OUT): Likewise.
22458         (POLL_MSG): Likewise.
22459         (POLL_ERR): Likewise.
22460         (POLL_PRI): Likewise.
22461         (POLL_HUP): Likewise.
22462         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22463         (ILL_ILLOPN): Likewise.
22464         (ILL_ILLADR): Likewise.
22465         (ILL_ILLTRP): Likewise.
22466         (ILL_PRVOPC): Likewise.
22467         (ILL_PRVREG): Likewise.
22468         (ILL_COPROC): Likewise.
22469         (ILL_BADSTK): Likewise.
22470         (ILL_DBLFLT): Likewise.
22471         (ILL_HARDWALL): Likewise.
22472         (FPE_INTDIV): Likewise.
22473         (FPE_INTOVF): Likewise.
22474         (FPE_FLTDIV): Likewise.
22475         (FPE_FLTOVF): Likewise.
22476         (FPE_FLTUND): Likewise.
22477         (FPE_FLTRES): Likewise.
22478         (FPE_FLTINV): Likewise.
22479         (FPE_FLTSUB): Likewise.
22480         (SEGV_MAPERR): Likewise.
22481         (SEGV_ACCERR): Likewise.
22482         (BUS_ADRALN): Likewise.
22483         (BUS_ADRERR): Likewise.
22484         (BUS_OBJERR): Likewise.
22485         (BUS_MCEERR_AR): Likewise.
22486         (BUS_MCEERR_AO): Likewise.
22487         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22488         (TRAP_TRACE): Likewise.
22489         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22490         __USE_XOPEN2K8].
22491         (CLD_KILLED): Likewise.
22492         (CLD_DUMPED): Likewise.
22493         (CLD_TRAPPED): Likewise.
22494         (CLD_STOPPED): Likewise.
22495         (CLD_CONTINUED): Likewise.
22496         (POLL_IN): Likewise.
22497         (POLL_OUT): Likewise.
22498         (POLL_MSG): Likewise.
22499         (POLL_ERR): Likewise.
22500         (POLL_PRI): Likewise.
22501         (POLL_HUP): Likewise.
22502         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22503         (ILL_ILLOPN): Likewise.
22504         (ILL_ILLADR): Likewise.
22505         (ILL_ILLTRP): Likewise.
22506         (ILL_PRVOPC): Likewise.
22507         (ILL_PRVREG): Likewise.
22508         (ILL_COPROC): Likewise.
22509         (ILL_BADSTK): Likewise.
22510         (FPE_INTDIV): Likewise.
22511         (FPE_INTOVF): Likewise.
22512         (FPE_FLTDIV): Likewise.
22513         (FPE_FLTOVF): Likewise.
22514         (FPE_FLTUND): Likewise.
22515         (FPE_FLTRES): Likewise.
22516         (FPE_FLTINV): Likewise.
22517         (FPE_FLTSUB): Likewise.
22518         (SEGV_MAPERR): Likewise.
22519         (SEGV_ACCERR): Likewise.
22520         (BUS_ADRALN): Likewise.
22521         (BUS_ADRERR): Likewise.
22522         (BUS_OBJERR): Likewise.
22523         (BUS_MCEERR_AR): Likewise.
22524         (BUS_MCEERR_AO): Likewise.
22525         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22526         (TRAP_TRACE): Likewise.
22527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22528         __USE_XOPEN2K8].
22529         (CLD_KILLED): Likewise.
22530         (CLD_DUMPED): Likewise.
22531         (CLD_TRAPPED): Likewise.
22532         (CLD_STOPPED): Likewise.
22533         (CLD_CONTINUED): Likewise.
22534         (POLL_IN): Likewise.
22535         (POLL_OUT): Likewise.
22536         (POLL_MSG): Likewise.
22537         (POLL_ERR): Likewise.
22538         (POLL_PRI): Likewise.
22539         (POLL_HUP): Likewise.
22540         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22541         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22543         [BZ #16670]
22544         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22545         before #include of <time.h>.
22546         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22547         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22548         (test-xfail-UNIX98/sched.h/conform): Likewise.
22550 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22552         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22553         error absence of trapping exception support.
22554         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22556 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22558         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22559         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22560         * timezone/Makefile (testdata): Move definition above include of
22561         Rules.
22562         (test-zones): New variable.
22563         (tests-special): Add zone files.
22564         (build-testdata): Use $(evaluate-test).
22566         * elf/Makefile (tests-special): Rename tests to end with .out.
22567         ($(objpfx)noload-mem): Likewise.
22568         ($(objpfx)tst-leaks1-mem): Likewise.
22569         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22570         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22571         $(objpfx)test-iconvconfig.out.
22572         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22573         set -e inside subshell and redirect output to file.
22574         * iconvdata/Makefile (generated): Rename tests to end with .out.
22575         Correct type.
22576         (tests-special): Rename tests to end with .out.
22577         ($(objpfx)mtrace-tst-loading): Likewise.
22578         * intl/Makefile (generated): Likewise.
22579         (tests-special): Likewise.
22580         ($(objpfx)mtrace-tst-gettext): Likewise.
22581         * misc/Makefile (generated): Likewise.
22582         (tests-special): Likewise.
22583         ($(objpfx)tst-error1-mem): Likewise.
22584         * nptl/Makefile (tests-special): Likewise.
22585         ($(objpfx)tst-stack3-mem): Likewise.
22586         (generated): Likewise.
22587         * posix/Makefile (generated): Likewise.
22588         (tests-special): Likewise.
22589         (xtests-special): Likewise.
22590         ($(objpfx)tst-fnmatch-mem): Likewise.
22591         ($(objpfx)bug-regex2-mem): Likewise.
22592         ($(objpfx)bug-regex14-mem): Likewise.
22593         ($(objpfx)bug-regex21-mem): Likewise.
22594         ($(objpfx)bug-regex31-mem): Likewise.
22595         ($(objpfx)tst-vfork3-mem): Likewise.
22596         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22597         ($(objpfx)tst-pcre-mem): Likewise.
22598         ($(objpfx)tst-boost-mem): Likewise.
22599         ($(objpfx)bug-ga2-mem): Likewise.
22600         ($(objpfx)bug-glob2-mem): Likewise.
22601         * resolv/Makefile (generate): Likewise.
22602         (tests-special): Likewise.
22603         (xtests-special): Likewise.
22604         (generated): Likewise.
22605         ($(objpfx)mtrace-tst-leaks): Likewise.
22606         ($(objpfx)mtrace-tst-leaks2): Likewise.
22608         * scripts/merge-test-results.sh: New file.
22609         * Makefile (tests-special-notdir): New variable.
22610         (tests): Run merge-test-results.sh.
22611         (xtests): Likewise.
22612         * Rules (tests-special-notdir): New variable.
22613         (xtests-special-notdir): Likewise.
22614         (tests): Run merge-test-results.sh
22615         (xtests): Likewise.
22617         * Makeconfig (test-xfail-name): New variable.
22618         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22619         compute variable name for expected failures.
22620         * conform/Makefile (conformtest-headers-data): New variable.
22621         (conformtest-standards): Likewise.
22622         (conformtest-headers-ISO): Likewise.
22623         (conformtest-headers-ISO99): Likewise.
22624         (conformtest-headers-ISO11): Likewise.
22625         (conformtest-headers-POSIX): Likewise.
22626         (conformtest-headers-XPG3): Likewise.
22627         (conformtest-headers-XPG4): Likewise.
22628         (conformtest-headers-UNIX98): Likewise.
22629         (conformtest-headers-XOPEN2K): Likewise.
22630         (conformtest-headers-POSIX2008): Likewise.
22631         (conformtest-headers-XOPEN2K8): Likewise.
22632         (conformtest-header-list-base): Likewise.
22633         (conformtest-header-list-tests): Likewise.
22634         (conformtest-header-base): Likewise.
22635         (conformtest-header-tests): Likewise.
22636         (tests-special): Add $(conformtest-header-list-tests).  If
22637         [$(fast-check) && !$(cross-compiling)], add
22638         $(conformtest-header-tests) instead of
22639         $(objpfx)run-conformtest.out.
22640         (generated): Add $(conformtest-header-list-base).  If
22641         [$(fast-check) && !$(cross-compiling)], add
22642         $(conformtest-header-base).  Remove previous setting.
22643         ($(conformtest-header-list-tests)): New target.
22644         (test-xfail-run-conformtest): Remove variable.
22645         ($(objpfx)run-conformtest.out): Remove target.
22646         (test-xfail-ISO11/complex.h/conform): New variable.
22647         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22648         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22649         (test-xfail-XPG3/varargs.h/conform): Likewise.
22650         (test-xfail-XPG4/varargs.h/conform): Likewise.
22651         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22652         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22653         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22654         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22655         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22656         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22657         (test-xfail-XPG3/ftw.h/conform): Likewise.
22658         (test-xfail-XPG3/grp.h/conform): Likewise.
22659         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22660         (test-xfail-XPG3/limits.h/conform): Likewise.
22661         (test-xfail-XPG3/pwd.h/conform): Likewise.
22662         (test-xfail-XPG3/search.h/conform): Likewise.
22663         (test-xfail-XPG3/signal.h/conform): Likewise.
22664         (test-xfail-XPG3/stdio.h/conform): Likewise.
22665         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22666         (test-xfail-XPG3/string.h/conform): Likewise.
22667         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22668         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22669         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22670         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22671         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22672         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22673         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22674         (test-xfail-XPG3/termios.h/conform): Likewise.
22675         (test-xfail-XPG3/time.h/conform): Likewise.
22676         (test-xfail-XPG3/unistd.h/conform): Likewise.
22677         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22678         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22679         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22680         (test-xfail-XPG4/netdb.h/conform): Likewise.
22681         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22682         (test-xfail-XPG4/signal.h/conform): Likewise.
22683         (test-xfail-XPG4/stdio.h/conform): Likewise.
22684         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22685         (test-xfail-XPG4/stropts.h/conform): Likewise.
22686         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22687         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22688         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22689         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22690         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22691         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22692         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22693         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22694         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22695         (test-xfail-XPG4/termios.h/conform): Likewise.
22696         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22697         (test-xfail-XPG4/unistd.h/conform): Likewise.
22698         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22699         (test-xfail-POSIX/sched.h/conform): Likewise.
22700         (test-xfail-POSIX/signal.h/conform): Likewise.
22701         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22702         (test-xfail-POSIX/tar.h/conform): Likewise.
22703         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22704         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22705         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22706         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22707         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22708         (test-xfail-UNIX98/sched.h/conform): Likewise.
22709         (test-xfail-UNIX98/signal.h/conform): Likewise.
22710         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22711         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22712         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22713         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22714         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22715         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22716         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22717         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22718         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22719         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22720         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22721         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22722         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22723         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22724         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22725         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22726         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22727         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22728         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22729         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22730         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22731         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22732         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22733         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22734         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22735         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22736         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22737         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22738         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22739         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22740         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22741         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22742         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22743         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22744         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22745         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22746         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22747         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22748         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22749         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22750         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22751         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22752         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22753         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22754         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22755         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22756         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22757         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22758         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22759         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22760         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22761         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22762         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22763         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22764         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22765         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22766         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22767         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22768         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22769         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22770         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22771         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22772         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22773         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22774         (conformtest-cc-flags): Likewise.
22775         ($(conformtest-header-tests): New target.
22776         * conform/check-header-lists.sh: New file.
22777         * conform/run-conformtest.sh: Remove.
22779         * conform/conformtest.pl: Allow ' and \ in values given for
22780         constants.
22781         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22782         inclusion.
22783         [POSIX] (sys/types.h): Likewise.
22784         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22785         inclusion.
22786         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22787         inclusion.
22788         * conform/data/signal.h-data (SIGIO): Remove expectation.
22789         [XPG3] (SIGBUS): Do not expect.
22790         [POSIX || XPG3] (SIGPOLL): Likewise.
22791         [POSIX || XPG3] (SIGPROF): Likewise.
22792         [POSIX || XPG3] (SIGSYS): Likewise.
22793         [XPG3] (SIGTRAP): Likewise.
22794         [POSIX || XPG3] (SIGURG): Likewise.
22795         [POSIX || XPG3] (SIGVTALRM): Likewise.
22796         [POSIX || XPG3] (SIGXCPU): Likewise.
22797         [POSIX || XPG3] (SIGXFSZ): Likewise.
22798         [POSIX] (SA_SIGINFO): Expect.
22799         [XPG3] (siginfo_t): Do not expect type or contents.
22800         [POSIX] (si_pid): Do not expect element.
22801         [POSIX] (si_uid): Likewise.
22802         [POSIX] (si_addr): Likewise.
22803         [POSIX] (si_status): Likewise.
22804         [POSIX] (si_band): Likewise.
22805         [XPG4] (si_value): Likewise.
22806         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22807         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22808         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22809         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22810         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22811         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22812         [POSIX || XPG3] (ILL_COPROC): Likewise.
22813         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22814         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22815         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22816         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22817         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22818         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22819         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22820         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22821         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22822         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22823         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22824         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22825         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22826         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22827         [POSIX || XPG3] (CLD_EXITED): Likewise.
22828         [POSIX || XPG3] (CLD_KILLED): Likewise.
22829         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22830         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22831         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22832         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22833         [POSIX || XPG3] (POLL_IN): Likewise.
22834         [POSIX || XPG3] (POLL_OUT): Likewise.
22835         [POSIX || XPG3] (POLL_MSG): Likewise.
22836         [POSIX || XPG3] (POLL_ERR): Likewise.
22837         [POSIX || XPG3] (POLL_PRI): Likewise.
22838         [POSIX || XPG3] (POLL_HUP): Likewise.
22839         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22840         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22841         (SIG*): Do not allow.
22842         [XPG3] (si_*): Likewise.
22843         [XPG3] (SI_*): Likewise.
22844         [XPG3 || XPG4] (sigev_*): Likewise.
22845         [XPG3 || XPG4] (SIGEV_*): Likewise.
22846         [XPG3 || XPG4] (sival_*): Likewise.
22847         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22848         [POSIX || XPG3] (BUS_*): Likewise.
22849         [POSIX || XPG3] (CLD_*): Likewise.
22850         [POSIX || XPG3] (FPE_*): Likewise.
22851         [POSIX || XPG3] (ILL_*): Likewise.
22852         [POSIX || XPG3] (POLL_*): Likewise.
22853         [POSIX || XPG3] (SEGV_*): Likewise.
22854         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22855         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22856         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22857         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22858         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22859         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22860         Specify type and value.
22861         (TVERSLEN): Likewise.
22862         (REGTYPE): Likewise.
22863         (AREGTYPE): Likewise.
22864         (LNKTYPE): Likewise.
22865         (SYMTYPE): Likewise.
22866         (CHRTYPE): Likewise.
22867         (BLKTYPE): Likewise.
22868         (DIRTYPE): Likewise.
22869         (FIFOTYPE): Likewise.
22870         (CONTTYPE): Likewise.
22871         (TSUID): Likewise.
22872         (TSGID): Likewise.
22873         (TSVTX): Likewise.
22874         (TUREAD): Likewise.
22875         (TUWRITE): Likewise.
22876         (TUEXEC): Likewise.
22877         (TGREAD): Likewise.
22878         (TGWRITE): Likewise.
22879         (TGEXEC): Likewise.
22880         (TOREAD): Likewise.
22881         (TOWRITE): Likewise.
22882         (TOEXEC): Likewise.
22883         [POSIX] (TSVTX): Expect constant.
22885 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22887         * Makefile (tests): Change dependencies to ....
22888         (tests-special): ... additions to this variable.
22889         (tests): Depend on $(tests-special).
22890         * Makerules (check-abi-list): New variable.
22891         (check-abi): Depend on $(check-abi-list).
22892         [$(subdir) = elf] (tests-special): Add
22893         $(objpfx)check-abi-libc.out.
22894         [$(build-shared) = yes && subdir] (tests-special): Add
22895         $(check-abi-list).
22896         [$(build-shared) = yes && subdir] (tests): Do not depend on
22897         check-abi.
22898         * Rules (tests): Depend on $(tests-special).
22899         (xtests): Depend on $(xtests-special).
22900         * catgets/Makefile (tests): Change dependencies to ....
22901         (tests-special): ... additions to this variable.
22902         * conform/Makefile (tests): Change dependencies to ....
22903         (tests-special): ... additions to this variable.
22904         * elf/Makefile (tests): Change dependencies to ....
22905         (tests-special): ... additions to this variable.
22906         * grp/Makefile (tests): Change dependencies to ....
22907         (tests-special): ... additions to this variable.
22908         * iconv/Makefile (xtests): Change dependencies to ....
22909         (xtests-special): ... additions to this variable.
22910         * iconvdata/Makefile (tests): Change dependencies to ....
22911         (tests-special): ... additions to this variable.
22912         * intl/Makefile (tests): Change dependencies to ....
22913         (tests-special): ... additions to this variable.  Also add
22914         $(objpfx)tst-gettext.out.
22915         * io/Makefile (tests): Change dependencies to ....
22916         (tests-special): ... additions to this variable.
22917         * libio/Makefile (tests): Change dependencies to ....
22918         (tests-special): ... additions to this variable.
22919         * malloc/Makefile (tests): Change dependencies to ....
22920         (tests-special): ... additions to this variable.
22921         * misc/Makefile (tests): Change dependencies to ....
22922         (tests-special): ... additions to this variable.
22923         * nptl/Makefile (tests): Change dependencies to ....
22924         (tests-special): ... additions to this variable.
22925         * nptl_db/Makefile (tests): Change dependencies to ....
22926         (tests-special): ... additions to this variable.
22927         * posix/Makefile (tests): Change dependencies to ....
22928         (tests-special): ... additions to this variable.
22929         (xtests): Change dependencies to ....
22930         (xtests-special): ... additions to this variable.
22931         * resolv/Makefile (tests): Change dependencies to ....
22932         (tests-special): ... additions to this variable.
22933         (xtests): Change dependencies to ....
22934         (xtests-special): ... additions to this variable.
22935         * stdio-common/Makefile (tests): Change dependencies to ....
22936         (tests-special): ... additions to this variable.
22937         (do-tst-unbputc): Remove target.
22938         (do-tst-printf): Likewise.
22939         * stdlib/Makefile (tests): Change dependencies to ....
22940         (tests-special): ... additions to this variable.
22941         * string/Makefile (tests): Change dependencies to ....
22942         (tests-special): ... additions to this variable.
22943         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22944         (tests-special): ... additions to this variable.
22946         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22947         whole file.
22948         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22949         whole file.
22950         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22951         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22953         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22954         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22955         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22956         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22957         * conform/data/libgen.h-data [XPG3]: Likewise.
22958         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22959         * conform/data/ndbm.h-data [XPG3]: Likewise.
22960         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22961         * conform/data/netdb.h-data [XPG3]: Likewise.
22962         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22963         * conform/data/poll.h-data [XPG3]: Likewise.
22964         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22965         * conform/data/strings.h-data [XPG3]: Likewise.
22966         * conform/data/stropts.h-data [XPG3]: Likewise.
22967         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22968         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22969         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22970         Likewise.
22971         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22972         * conform/data/sys/time.h-data [XPG3]: Likewise.
22973         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22974         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22975         * conform/data/sys/un.h-data [XPG3]: Likewise.
22976         * conform/data/syslog.h-data [XPG3]: Likewise.
22977         * conform/data/ucontext.h-data [XPG3]: Likewise.
22978         * conform/data/utmpx.h-data [XPG3]: Likewise.
22979         * conform/data/varargs.h-data [UNIX98]: Enable file.
22981         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22983         * math/libm-test.inc (struct test_f_f_data): Move expected results
22984         into structure for each rounding mode.
22985         (struct test_ff_f_data): Likewise.
22986         (struct test_ff_f_data_nexttoward): Likewise.
22987         (struct test_fi_f_data): Likewise.
22988         (struct test_fl_f_data): Likewise.
22989         (struct test_if_f_data): Likewise.
22990         (struct test_fff_f_data): Likewise.
22991         (struct test_c_f_data): Likewise.
22992         (struct test_f_f1_data): Likewise.
22993         (struct test_fF_f1_data): Likewise.
22994         (struct test_ffI_f1_data): Likewise.
22995         (struct test_c_c_data): Likewise.
22996         (struct test_cc_c_data): Likewise.
22997         (struct test_f_i_data): Likewise.
22998         (struct test_ff_i_data): Likewise.
22999         (struct test_f_l_data): Likewise.
23000         (struct test_f_L_data): Likewise.
23001         (struct test_fFF_11_data): Likewise.
23002         (RM_): New macro.
23003         (RM_FE_DOWNWARD): Likewise.
23004         (RM_FE_TONEAREST): Likewise.
23005         (RM_FE_TOWARDZERO): Likewise.
23006         (RM_FE_UPWARD): Likewise.
23007         (RUN_TEST_LOOP_f_f): Update references to expected results.
23008         (RUN_TEST_LOOP_2_f): Likewise.
23009         (RUN_TEST_LOOP_fff_f): Likewise.
23010         (RUN_TEST_LOOP_c_f): Likewise.
23011         (RUN_TEST_LOOP_f_f1): Likewise.
23012         (RUN_TEST_LOOP_fF_f1): Likewise.
23013         (RUN_TEST_LOOP_fI_f1): Likewise.
23014         (RUN_TEST_LOOP_ffI_f1): Likewise.
23015         (RUN_TEST_LOOP_c_c): Likewise.
23016         (RUN_TEST_LOOP_cc_c): Likewise.
23017         (RUN_TEST_LOOP_f_i): Likewise.
23018         (RUN_TEST_LOOP_f_i_tg): Likewise.
23019         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23020         (RUN_TEST_LOOP_f_b): Likewise.
23021         (RUN_TEST_LOOP_f_b_tg): Likewise.
23022         (RUN_TEST_LOOP_f_l): Likewise.
23023         (RUN_TEST_LOOP_f_L): Likewise.
23024         (RUN_TEST_LOOP_fFF_11): Likewise.
23025         * math/gen-libm-test.pl (parse_args): Output four copies of
23026         expected results for each test.
23028         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23029         (__ASSUME_UTIMES): Remove.
23030         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23031         (__ASSUME_UTIMES): Likewise.
23033         * math/gen-auto-libm-tests.c: Update comment on output format.
23034         (output_for_one_input_case): Generate before-rounding and
23035         after-rounding information as conditions on output flags not
23036         floating-point format.
23037         * math/auto-libm-test-out: Regenerated.
23038         * math/gen-libm-test.pl (cond_value): New function.
23039         (or_cond_value): Use cond_value.
23040         (generate_testfile): Handle conditional exceptions.
23042 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23044         * math/libm-test.inc (max_valid_error): New variable.
23045         (init_max_error): Take new argument specifying whether function
23046         results are exactly determined.  Set max_valid_error and bound
23047         other variables for errors based on this argument.
23048         (set_max_error): Do not record results above max_valid_error.
23049         (check_float_internal): Only accept errors of up to 0.5ulps if
23050         also at most max_valid_error.
23051         (START): Take new argument EXACT and pass it to init_max_error.
23052         (acos_test): Update call to START.
23053         (acos_test_tonearest): Likewise.
23054         (acos_test_towardzero): Likewise.
23055         (acos_test_downward): Likewise.
23056         (acos_test_upward): Likewise.
23057         (acosh_test): Likewise.
23058         (asin_test): Likewise.
23059         (asin_test_tonearest): Likewise.
23060         (asin_test_towardzero): Likewise.
23061         (asin_test_downward): Likewise.
23062         (asin_test_upward): Likewise.
23063         (asinh_test): Likewise.
23064         (atan_test): Likewise.
23065         (atanh_test): Likewise.
23066         (atan2_test): Likewise.
23067         (cabs_test): Likewise.
23068         (cacos_test): Likewise.
23069         (cacosh_test): Likewise.
23070         (carg_test): Likewise.
23071         (casin_test): Likewise.
23072         (casinh_test): Likewise.
23073         (catan_test): Likewise.
23074         (catanh_test): Likewise.
23075         (cbrt_test): Likewise.
23076         (ccos_test): Likewise.
23077         (ccosh_test): Likewise.
23078         (ceil_test): Likewise.
23079         (cexp_test): Likewise.
23080         (cimag_test): Likewise.
23081         (clog_test): Likewise.
23082         (clog10_test): Likewise.
23083         (conj_test): Likewise.
23084         (copysign_test): Likewise.
23085         (cos_test): Likewise.
23086         (cos_test_tonearest): Likewise.
23087         (cos_test_towardzero): Likewise.
23088         (cos_test_downward): Likewise.
23089         (cos_test_upward): Likewise.
23090         (cosh_test): Likewise.
23091         (cosh_test_tonearest): Likewise.
23092         (cosh_test_towardzero): Likewise.
23093         (cosh_test_downward): Likewise.
23094         (cosh_test_upward): Likewise.
23095         (cpow_test): Likewise.
23096         (cproj_test): Likewise.
23097         (creal_test): Likewise.
23098         (csin_test): Likewise.
23099         (csinh_test): Likewise.
23100         (csqrt_test): Likewise.
23101         (ctan_test): Likewise.
23102         (ctan_test_tonearest): Likewise.
23103         (ctan_test_towardzero): Likewise.
23104         (ctan_test_downward): Likewise.
23105         (ctan_test_upward): Likewise.
23106         (ctanh_test): Likewise.
23107         (ctanh_test_tonearest): Likewise.
23108         (ctanh_test_towardzero): Likewise.
23109         (ctanh_test_downward): Likewise.
23110         (ctanh_test_upward): Likewise.
23111         (erf_test): Likewise.
23112         (erfc_test): Likewise.
23113         (exp_test): Likewise.
23114         (exp_test_tonearest): Likewise.
23115         (exp_test_towardzero): Likewise.
23116         (exp_test_downward): Likewise.
23117         (exp_test_upward): Likewise.
23118         (exp10_test): Likewise.
23119         (exp10_test_tonearest): Likewise.
23120         (exp10_test_towardzero): Likewise.
23121         (exp10_test_downward): Likewise.
23122         (exp10_test_upward): Likewise.
23123         (pow10_test): Likewise.
23124         (exp2_test): Likewise.
23125         (expm1_test): Likewise.
23126         (expm1_test_tonearest): Likewise.
23127         (expm1_test_towardzero): Likewise.
23128         (expm1_test_downward): Likewise.
23129         (expm1_test_upward): Likewise.
23130         (fabs_test): Likewise.
23131         (fdim_test): Likewise.
23132         (floor_test): Likewise.
23133         (fma_test): Likewise.
23134         (fma_test_towardzero): Likewise.
23135         (fma_test_downward): Likewise.
23136         (fma_test_upward): Likewise.
23137         (fmax_test): Likewise.
23138         (fmin_test): Likewise.
23139         (fmod_test): Likewise.
23140         (fpclassify_test): Likewise.
23141         (frexp_test): Likewise.
23142         (hypot_test): Likewise.
23143         (ilogb_test): Likewise.
23144         (isfinite_test): Likewise.
23145         (finite_test): Likewise.
23146         (isgreater_test): Likewise.
23147         (isgreaterequal_test): Likewise.
23148         (isinf_test): Likewise.
23149         (isless_test): Likewise.
23150         (islessequal_test): Likewise.
23151         (islessgreater_test): Likewise.
23152         (isnan_test): Likewise.
23153         (isnormal_test): Likewise.
23154         (issignaling_test): Likewise.
23155         (isunordered_test): Likewise.
23156         (j0_test): Likewise.
23157         (j1_test): Likewise.
23158         (jn_test): Likewise.
23159         (ldexp_test): Likewise.
23160         (lgamma_test): Likewise.
23161         (gamma_test): Likewise.
23162         (lrint_test): Likewise.
23163         (lrint_test_tonearest): Likewise.
23164         (lrint_test_towardzero): Likewise.
23165         (lrint_test_downward): Likewise.
23166         (lrint_test_upward): Likewise.
23167         (llrint_test): Likewise.
23168         (llrint_test_tonearest): Likewise.
23169         (llrint_test_towardzero): Likewise.
23170         (llrint_test_downward): Likewise.
23171         (llrint_test_upward): Likewise.
23172         (log_test): Likewise.
23173         (log10_test): Likewise.
23174         (log1p_test): Likewise.
23175         (log2_test): Likewise.
23176         (logb_test): Likewise.
23177         (logb_test_downward): Likewise.
23178         (lround_test): Likewise.
23179         (llround_test): Likewise.
23180         (modf_test): Likewise.
23181         (nearbyint_test): Likewise.
23182         (nextafter_test): Likewise.
23183         (nexttoward_test): Likewise.
23184         (pow_test): Likewise.
23185         (pow_test_tonearest): Likewise.
23186         (pow_test_towardzero): Likewise.
23187         (pow_test_downward): Likewise.
23188         (pow_test_upward): Likewise.
23189         (remainder_test): Likewise.
23190         (drem_test): Likewise.
23191         (remainder_test_tonearest): Likewise.
23192         (drem_test_tonearest): Likewise.
23193         (remainder_test_towardzero): Likewise.
23194         (drem_test_towardzero): Likewise.
23195         (remainder_test_downward): Likewise.
23196         (drem_test_downward): Likewise.
23197         (remainder_test_upward): Likewise.
23198         (drem_test_upward): Likewise.
23199         (remquo_test): Likewise.
23200         (rint_test): Likewise.
23201         (rint_test_tonearest): Likewise.
23202         (rint_test_towardzero): Likewise.
23203         (rint_test_downward): Likewise.
23204         (rint_test_upward): Likewise.
23205         (round_test): Likewise.
23206         (scalb_test): Likewise.
23207         (scalbn_test): Likewise.
23208         (scalbln_test): Likewise.
23209         (signbit_test): Likewise.
23210         (sin_test): Likewise.
23211         (sin_test_tonearest): Likewise.
23212         (sin_test_towardzero): Likewise.
23213         (sin_test_downward): Likewise.
23214         (sin_test_upward): Likewise.
23215         (sincos_test): Likewise.
23216         (sinh_test): Likewise.
23217         (sinh_test_tonearest): Likewise.
23218         (sinh_test_towardzero): Likewise.
23219         (sinh_test_downward): Likewise.
23220         (sinh_test_upward): Likewise.
23221         (sqrt_test): Likewise.
23222         (sqrt_test_tonearest): Likewise.
23223         (sqrt_test_towardzero): Likewise.
23224         (sqrt_test_downward): Likewise.
23225         (sqrt_test_upward): Likewise.
23226         (tan_test): Likewise.
23227         (tan_test_tonearest): Likewise.
23228         (tan_test_towardzero): Likewise.
23229         (tan_test_downward): Likewise.
23230         (tan_test_upward): Likewise.
23231         (tanh_test): Likewise.
23232         (tgamma_test): Likewise.
23233         (trunc_test): Likewise.
23234         (y0_test): Likewise.
23235         (y1_test): Likewise.
23236         (yn_test): Likewise.
23237         (significand_test): Likewise.
23239         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23240         individual tests in comment.
23241         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23242         (prev_max_error): New variable.
23243         (prev_real_max_error): Likewise.
23244         (prev_imag_max_error): Likewise.
23245         (compare_ulp_data): Don't refer to test names in comment.
23246         (find_test_ulps): Remove function.
23247         (find_function_ulps): Likewise.
23248         (find_complex_function_ulps): Likewise.
23249         (init_max_error): Take function name as argument.  Look up ulps
23250         for that function.
23251         (print_ulps): Remove function.
23252         (print_max_error): Use prev_max_error instead of calling
23253         find_function_ulps.
23254         (print_complex_max_error): Use prev_real_max_error and
23255         prev_imag_max_error instead of calling find_complex_function_ulps.
23256         (check_float_internal): Take max_ulp parameter instead of calling
23257         find_test_ulps.  Don't call print_ulps.
23258         (check_float): Update call to check_float_internal.
23259         (check_complex): Update calls to check_float_internal.
23260         (START): Pass argument to init_max_error.
23261         * math/gen-libm-test.pl (%results): Don't include "kind"
23262         information.
23263         (parse_ulps): Don't handle ulps of individual tests.
23264         (print_ulps_file): Likewise.
23265         (output_ulps): Likewise.
23266         * math/README.libm-test: Update.
23267         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23268         individual tests.
23269         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23270         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23271         * sysdeps/arm/libm-test-ulps: Likewise.
23272         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23273         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23274         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23275         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23276         * sysdeps/microblaze/libm-test-ulps: Likewise.
23277         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23278         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23280         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23281         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23282         * sysdeps/sh/libm-test-ulps: Likewise.
23283         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23284         * sysdeps/tile/libm-test-ulps: Likewise.
23285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23289         * math/libm-test.inc (print_complex_max_error): Check separately
23290         whether real and imaginary errors are within allowed range and
23291         pass 0 to print_complex_function_ulps instead of value within
23292         allowed range.
23294 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23296         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23297         formatting.
23298         (get_handles_fopen): Likewise.
23299         (do_write_test): Likewise.
23301         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23303         * libio/fileops.c (do_ftell): Use cached offset when
23304         available.
23305         * libio/iofwide.c (do_ftell_wide): Likewise.
23306         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23307         _IO_file_attach.
23308         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23310         [BZ #16532]
23311         * libio/libioP.h (get_file_offset): New function.
23312         * libio/fileops.c (get_file_offset): Likewise.
23313         (do_ftell): Likewise.
23314         (_IO_new_file_seekoff): Split out ftell logic.
23315         * libio/wfileops.c (do_ftell_wide): Likewise.
23316         (_IO_wfile_seekoff): Split out ftell logic.
23317         * libio/tst-ftell-active-handler.c: New test case.
23318         * libio/Makefile (tests): Add it.
23320 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23322         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23323         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23325 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23327         [BZ #16639]
23328         * nscd/connections.c (nscd_init): Call do_exit.
23329         (start_threads): Call do_exit and notify_parent.
23330         (begin_drop_privileges): Call do_exit.
23331         (finish_drop_privileges): Likewise.
23332         * nscd/selinux.c (preserve_capabilities): Likewise.
23333         (install_real_capabilities): Likewise.
23334         (nscd_selinux_enabled): Likewise.
23335         (avc_create_thread): Likewise.
23336         (avc_alloc_lock): Likewise.
23337         (nscd_avc_init): Likewise.
23338         * nscd/nscd.c (parent_fd): New static variable.
23339         (main): Create a pipe between parent and child processes.
23340         Skip closing parent_fd.
23341         (monitor_child): New function.
23342         (do_exit): Likewise.
23343         (notify_parent): Likewise.
23344         * nscd/nscd.h (notify_parent): Likewise.
23345         (do_exit): Likewise.
23347 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23349         * malloc/malloc.c (__libc_calloc): Revert last change.
23351 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23355 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23357         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23359         implementation.
23360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23361         (__libc_ifunc_impl_list): Likewise.
23362         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23363         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23364         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23365         * string/strrchr.c: Define STRRCHR.
23367 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23369         * benchtest/bench-strtok.c (simple_strtok): Delete.
23370         (strtok_string): Use as benchmark.
23371         * string/strtok (STRTOK): New macro.
23373 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23375         * manual/threads.texi: Add header and standard comments to all
23376         functions.
23378         * elf/dl-lookup.c (check_match): New function.
23379         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23380         (do_lookup_x): Remove nested function check_match. Use non-nested
23381         function check_match.
23383 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23385         * csu/Makefile (generated, before-compile): Use += rather than =.
23386         * catgets/Makefile (generated, generated-dirs): Likewise.
23387         * debug/Makefile (generated): Likewise.
23388         * dlfcn/Makefile (generated): Likewise.
23389         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23390         * iconvdata/Makefile (before-compile, generated): Likewise.
23391         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23392         * libio/Makefile (generated): Likewise.
23393         * malloc/Makefile (generated): Likewise.
23394         * manual/Makefile (generated, generated-dirs): Likewise.
23395         * misc/Makefile (generated): Likewise.
23396         * posix/Makefile (generated): Likewise.
23397         * resolv/Makefile (generated): Likewise.
23398         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23399         * timezone/Makefile (generated, generated-dirs): Likewise.
23401         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23403 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23406         power8 implementation.
23407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23408         file: POWER8 llround ifunc implementation.
23409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23410         (__lllround): Add POWER8 implementation.
23411         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23412         POWER8 llround implementation.
23414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23415         power8 implementation.
23416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23417         file: POWER8 llrint ifunc implementation.
23418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23419         Add POWER8 implementation.
23420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23421         POWER8 llrint implementation.
23423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23424         power8 implementation.
23425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23426         file: POWER8 finite ifunc implementation.
23427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23428         Add POWER8 implementation.
23429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23430         Likewise.
23431         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23432         POWER8 finite implementation.
23433         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23436         power8 implementation.
23437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23438         file: POWER8 isinf ifunc implementation.
23439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23440         POWER8 implementation.
23441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23442         Likewise.
23443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23444         isinf implementation.
23445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23447         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23448         (INIT_ARCH): Add hwcap2 initialization.
23449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23450         power8 implementation.
23451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23452         file: POWER8 isnan ifunc implementation.
23453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23454         POWER8 implementation.
23455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23456         Likewise.
23457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23458         isnan implementation.
23459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23461 2014-02-27  Joey Ye  <joey.ye@arm.com>
23463         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23464         (_FP_NANFRAC_Q): Set to zero.
23466 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23468         [BZ #16623]
23469         * math/auto-libm-test-in: New test inputs.
23470         * math/auto-libm-test-out: Regenerate.
23471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23472         and DA.
23473         (__cos): Likewise.
23474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23476 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23478         * scripts/evaluate-test.sh: Take new argument indicating whether
23479         failure is expected.
23480         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23481         indicating whether failure is expected.
23482         * conform/Makefile (test-xfail-run-conformtest): New variable.
23483         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23484         level.
23485         * posix/Makefile (test-xfail-annexc): New variable.
23486         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23488 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23490         * argp/Makefile: Include Makeconfig immediately after defining
23491         subdir.
23492         * assert/Makefile: Likewise.
23493         * benchtests/Makefile: Likewise.
23494         * catgets/Makefile: Likewise.
23495         * conform/Makefile: Likewise.
23496         * crypt/Makefile: Likewise.
23497         * csu/Makefile: Likewise.
23498         (all): Remove target.
23499         * ctype/Makefile: Include Makeconfig immediately after defining
23500         subdir.
23501         * debug/Makefile: Likewise.
23502         * dirent/Makefile: Likewise.
23503         * dlfcn/Makefile: Likewise.
23504         * gmon/Makefile: Likewise.
23505         * gnulib/Makefile: Likewise.
23506         * grp/Makefile: Likewise.
23507         * gshadow/Makefile: Likewise.
23508         * hesiod/Makefile: Likewise.
23509         * hurd/Makefile: Likewise.
23510         (all): Remove target.
23511         * iconvdata/Makefile: Include Makeconfig immediately after
23512         defining subdir.
23513         * inet/Makefile: Likewise.
23514         * intl/Makefile: Likewise.
23515         * io/Makefile: Likewise.
23516         * libio/Makefile: Likewise.
23517         (all): Remove target.
23518         * locale/Makefile: Include Makeconfig immediately after defining
23519         subdir.
23520         * login/Makefile: Likewise.
23521         * mach/Makefile: Likewise.
23522         (all): Remove target.
23523         * malloc/Makefile: Include Makeconfig immediately after defining
23524         subdir.
23525         (all): Remove target.
23526         * manual/Makefile: Include Makeconfig immediately after defining
23527         subdir.
23528         * math/Makefile: Likewise.
23529         * misc/Makefile: Likewise.
23530         * nis/Makefile: Likewise.
23531         * nss/Makefile: Likewise.
23532         * po/Makefile: Likewise.
23533         (all): Remove target.
23534         * posix/Makefile: Include Makeconfig immediately after defining
23535         subdir.
23536         * pwd/Makefile: Likewise.
23537         * resolv/Makefile: Likewise.
23538         * resource/Makefile: Likewise.
23539         * rt/Makefile: Likewise.
23540         * setjmp/Makefile: Likewise.
23541         * shadow/Makefile: Likewise.
23542         * signal/Makefile: Likewise.
23543         * socket/Makefile: Likewise.
23544         * soft-fp/Makefile: Likewise.
23545         * stdio-common/Makefile: Likewise.
23546         * stdlib/Makefile: Likewise.
23547         * streams/Makefile: Likewise.
23548         * string/Makefile: Likewise.
23549         * sunrpc/Makefile: Likewise.
23550         (all): Remove target.
23551         * sysvipc/Makefile: Include Makeconfig immediately after defining
23552         subdir.
23553         * termios/Makefile: Likewise.
23554         * time/Makefile: Likewise.
23555         * timezone/Makefile: Likewise.
23556         (all): Remove target.
23557         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23558         subdir.
23559         * wctype/Makefile: Likewise.
23561 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23563         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23564         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23565         (libc_feholdexcept_setround_mips): Ditto.
23566         (libc_feholdsetround): New.
23567         (libc_feholdsetroundf): New.
23568         (libc_feholdsetroundl): New.
23569         (libc_feupdateenv_test_mips): New.
23570         (libc_feupdateenv_test): New.
23571         (libc_feupdateenv_testf): New.
23572         (libc_feupdateenv_testl): New.
23573         (libc_feresetround): New.
23574         (libc_feresetroundf): New.
23575         (libc_feresetroundl): New.
23576         (libc_fetestexcept_mips): New.
23577         (libc_fetestexcept): New.
23578         (libc_fetestexceptf): New.
23579         (libc_fetestexceptl): New.
23580         (HAVE_RM_CTX): New.
23581         (libc_feholdexcept_setround_mips_ctx): New.
23582         (libc_feholdexcept_setround_ctx): New.
23583         (libc_feholdexcept_setroundf_ctx): New.
23584         (libc_feholdexcept_setroundl_ctx): New.
23585         (libc_fesetenv_mips_ctx): New.
23586         (libc_fesetenv_ctx): New.
23587         (libc_fesetenv_ctxf): New.
23588         (libc_fesetenv_ctxl): New.
23589         (libc_feupdateenv_mips_ctx): New.
23590         (libc_feupdateenv_ctx): New.
23591         (libc_feupdateenvf_ctx): New.
23592         (libc_feupdateenvl_ctx): New.
23593         (libc_feholdsetround_mips_ctx): New.
23594         (libc_feholdsetround_ctx): New.
23595         (libc_feholdsetroundf_ctx): New.
23596         (libc_feholdsetroundl_ctx): New.
23597         (libc_feresetround_mips_ctx): New.
23598         (libc_feresetround_ctx): New.
23599         (libc_feresetroundf_ctx): New.
23600         (libc_feresetroundl_ctx): New.
23602 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23604         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23606         * manual/ipc.texi: New file.
23607         * manual/Makefile (chapters): Add ipc.
23608         * manual/job.texi: Add "Inter-Process Communication" to next.
23609         * manual/process.texi: Add "Inter-Process Communication" to prev.
23611 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23617         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23619         * manual/arith.texi: Fix spaces after sentences.
23620         * manual/charset.texi: Likewise.
23621         * manual/errno.texi: Likewise.
23622         * manual/install.texi: Likewise.
23623         * manual/llio.texi: Likewise.
23624         * manual/locale.texi: Likewise.
23625         * manual/maint.texi: Likewise.
23626         * manual/math.texi: Likewise.
23627         * manual/memory.texi: Likewise.
23628         * manual/message.texi: Likewise.
23629         * manual/probes.texi: Likewise.
23630         * manual/resource.texi: Likewise.
23631         * manual/signal.texi: Likewise.
23632         * manual/socket.texi: Likewise.
23633         * manual/stdio.texi: Likewise.
23634         * manual/string.texi: Likewise.
23635         * manual/time.texi: Likewise.
23636         * manual/users.texi: Likewise.
23638 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23640         [BZ #16632]
23641         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23642         _DEFAULT_SOURCE is defined.
23644 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23645             Carlos O'Donell  <carlos@redhat.com>
23647         [BZ #16613]
23648         * elf/dl-tls.c (_dl_count_modids): New function.
23649         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23650         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23651         audit library and increment generation counter.
23652         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23653         * elf/tst-audit9.c: New file.
23654         * elf/tst-auditmod9a.c: New file.
23655         * elf/tst-auditmod9b.c: New file.
23656         * elf/Makefile: Add rules to build and run tst-audit9.
23658 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23660         [BZ #15347]
23661         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23663 2014-02-25  Will Newton  <will.newton@linaro.org>
23665         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23666         (__longjmp): Restore sp and lr before restoring callee
23667         saved registers.  Add longjmp and longjmp_target
23668         SystemTap probe point.
23669         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23670         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23671         Define to zero to match jmpbuf layout.
23672         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23673         (__sigsetjmp): Save sp and lr before saving callee
23674         saved registers.  Add setjmp SystemTap probe point.
23676 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23678         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23680 2014-02-24  Andreas Schwab  <schwab@suse.de>
23682         [BZ #15804]
23683         * elf/pldd.c (wait_for_ptrace_stop): New function.
23684         (main): Call it after attaching.
23686 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23688         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23689         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23690         Versions files is now verboten.
23691         * hurd/Versions (libc: GLIBC_2.0):
23692         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23693         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23694         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23695         * mach/Versions: Likewise.
23697         * csu/Versions: Remove unused %include.
23698         * resolv/Versions: Likewise.
23700 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23702         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23703         ($(objpfx)check-local-headers.out): Likewise.
23704         ($(objpfx)begin-end-check.out): Likewise.
23705         * Makerules (check-abi-%.out): Likewise.
23706         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23707         ($(objpfx)test2.cat): Likewise.
23708         ($(objpfx)de/libc.cat): Likewise.
23709         ($(objpfx)test-gencat.out): Likewise.
23710         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23711         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23712         ($(objpfx)noload-mem): Likewise.
23713         ($(objpfx)tst-pathopt.out): Likewise.
23714         ($(objpfx)tst-rtld-load-self.out): Likewise.
23715         ($(objpfx)tst-array1-cmp.out): Likewise.
23716         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23717         ($(objpfx)tst-array2-cmp.out): Likewise.
23718         ($(objpfx)tst-array3-cmp.out): Likewise.
23719         ($(objpfx)tst-array4-cmp.out): Likewise.
23720         ($(objpfx)tst-array5-cmp.out): Likewise.
23721         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23722         ($(objpfx)check-textrel.out): Likewise.
23723         ($(objpfx)check-execstack.out): Likewise.
23724         ($(objpfx)check-localplt.out): Likewise.
23725         ($(objpfx)order2-cmp.out): Likewise.
23726         ($(objpfx)tst-leaks1-mem): Likewise.
23727         ($(objpfx)tst-leaks1-static-mem): Likewise.
23728         ($(objpfx)tst-initorder-cmp.out): Likewise.
23729         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23730         ($(objpfx)tst-unused-dep.out): Likewise.
23731         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23732         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23733         * iconv/Makefile (test-iconvconfig): Likewise.
23734         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23735         ($(objpfx)iconv-test.out): Likewise.
23736         ($(objpfx)tst-tables.out): Likewise.
23737         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23738         ($(objpfx)tst-gettext.out): Likewise.
23739         ($(objpfx)tst-translit.out): Likewise.
23740         ($(objpfx)tst-gettext2.out): Likewise.
23741         ($(objpfx)tst-gettext4.out): Likewise.
23742         ($(objpfx)tst-gettext6.out): Likewise.
23743         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23744         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23745         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23746         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23747         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23748         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23749         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23750         ($(objpfx)wordexp-tst.out): Likewise.
23751         ($(objpfx)annexc.out): Likewise.
23752         ($(objpfx)tst-fnmatch-mem): Likewise.
23753         ($(objpfx)bug-regex2-mem): Likewise.
23754         ($(objpfx)bug-regex14-mem): Likewise.
23755         ($(objpfx)bug-regex21-mem): Likewise.
23756         ($(objpfx)bug-regex31-mem): Likewise.
23757         ($(objpfx)tst-vfork3-mem): Likewise.
23758         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23759         ($(objpfx)tst-pcre-mem): Likewise.
23760         ($(objpfx)tst-boost-mem): Likewise.
23761         ($(objpfx)tst-getconf.out): Likewise.
23762         ($(objpfx)bug-ga2-mem): Likewise.
23763         ($(objpfx)bug-glob2-mem): Likewise.
23764         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23765         ($(objpfx)mtrace-tst-leaks2): Likewise.
23766         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23767         ($(objpfx)tst-printf.out): Likewise.
23768         ($(objpfx)tst-setvbuf1.out): Likewise.
23769         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23770         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23771         ($(objpfx)tst-fmtmsg.out): Likewise.
23772         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23773         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23775         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23776         * bits/sigaction.h [__USE_MISC]: Likewise.
23777         * bits/waitstatus.h: Update #endif comments.
23778         * ctype/ctype.h: Likewise.
23779         * dirent/dirent.h: Likewise.
23780         [__USE_MISC]: Remove redundant conditionals.
23781         * grp/grp.h: Update #endif comments.
23782         [__USE_GNU]: Remove redundant conditionals.
23783         [__USE_MISC]: Likewise.
23784         * inet/netinet/in.h [__USE_GNU]: Likewise.
23785         * io/sys/stat.h [__USE_MISC]: Likewise.
23786         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23787         * libio/bits/stdio.h: Update #endif comments.
23788         [__USE_MISC]: Remove redundant conditionals.
23789         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23790         * libio/stdio.h: Update #endif comments.
23791         [__USE_MISC]: Remove redundant conditionals.
23792         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23793         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23794         * math/math.h: Update #else and #endif comments.
23795         [__USE_MISC]: Remove redundant conditionals.
23796         * misc/sys/uio.h: Update #endif comments.
23797         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23798         * posix/glob.h [__USE_MISC]: Likewise.
23799         * posix/sys/types.h: Update #endif comments.
23800         [__USE_MISC]: Remove redundant conditionals.
23801         * posix/sys/wait.h: Update #endif comments.
23802         [__USE_MISC]: Remove redundant conditionals.
23803         * posix/unistd.h: Update #endif comments.
23804         [__USE_MISC]: Remove redundant conditionals.
23805         * pwd/pwd.h [__USE_GNU]: Likewise.
23806         [__USE_MISC]: Likewise.
23807         * resolv/netdb.h [__USE_GNU]: Likewise.
23808         * signal/signal.h: Update #endif comments.
23809         [__USE_MISC]: Remove redundant conditionals.
23810         * stdlib/stdlib.h: Update #else and #endif comments.
23811         [__USE_MISC]: Remove redundant conditionals.
23812         [__USE_GNU]: Likewise.
23813         * string/bits/string2.h [__USE_MISC]: Likewise.
23814         * string/string.h: Update #endif comments.
23815         [__USE_MISC]: Remove redundant conditionals.
23816         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23817         Likewise.
23818         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23819         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23820         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23821         Likewise.
23822         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23823         Likewise.
23824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23825         comments.
23826         [__USE_MISC]: Remove redundant conditionals.
23827         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23828         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23829         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23830         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23831         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23832         Likewise.
23833         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23834         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23835         Likewise.
23836         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23837         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23838         Likewise.
23839         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23840         Likewise.
23841         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23842         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23843         Likewise.
23844         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23845         Likewise.
23846         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23847         * sysdeps/x86/bits/string.h: Update #endif comments.
23848         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23849         conditionals.
23850         * time/sys/time.h: Update #endif comments.
23851         * time/time.h: Likewise.
23852         [__USE_MISC]: Remove redundant conditionals.
23854 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23856         [BZ #16600]
23857         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23859 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23861         * Versions.def (librt): Add GLIBC_2.17.
23863 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23865         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23866         synonym for _SYS_AUXV_H to allow direct inclusion.
23867         * sysdeps/sparc/bits/hwcap.h: Likewise.
23868         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23869         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23870         * sysdeps/sparc/sysdep.h: Likewise.
23872 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23874         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23876 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23878         * benchtests/bench-strrchr.c: Print length instead of position.
23880 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23882         [BZ #16611]
23883         * sysdeps/unix/sysv/linux/kernel-features.h
23884         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23885         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23886         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23887         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23888         Likewise.
23889         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23890         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23891         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23892         (__ASSUME_SENDMMSG): Define instead of using previous
23893         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23894         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23895         (__ASSUME_SENDMMSG_SYSCALL): Define.
23896         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23897         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23900         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23901         Likewise.
23902         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23903         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23904         Likewise.
23905         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23906         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23907         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23908         [__ASSUME_SENDMMSG]: Change conditionals to
23909         [__ASSUME_SENDMMSG_SOCKETCALL].
23910         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23911         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23912         Define.
23913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23914         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23917         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23918         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23919         [!__ASSUME_SENDMMSG]: Change conditional to
23920         [!__ASSUME_SENDMMSG_SOCKETCALL].
23921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23922         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23923         Define.
23925         [BZ #16610]
23926         * sysdeps/unix/sysv/linux/kernel-features.h
23927         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23928         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23929         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23930         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23931         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23932         [__i386__ || __sparc__]
23933         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23934         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23935         (__ASSUME_RECVMMSG): Define instead of using previous
23936         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23937         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23938         (__ASSUME_RECVMMSG_SYSCALL): Define.
23939         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23940         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23941         Likewise.
23942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23943         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23944         Likewise.
23945         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23946         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23947         Likewise.
23948         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23949         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23950         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23951         [__ASSUME_RECVMMSG]: Change condition to
23952         [__ASSUME_RECVMMSG_SOCKETCALL].
23953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23954         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23955         Define.
23956         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23957         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23959         Likewise.
23960         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23961         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23962         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23963         [!__ASSUME_RECVMMSG]: Change condition to
23964         [!__ASSUME_RECVMMSG_SOCKETCALL].
23965         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23966         (__ASSUME_RECVMMSG_SYSCALL): Define.
23968         [BZ #16609]
23969         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23970         __powerpc__ || __s390__ || __sh__ || __sparc__]
23971         (__ASSUME_SOCKETCALL): Define.
23972         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23973         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23974         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23975         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23976         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23977         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23978         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23979         (__ASSUME_ACCEPT4): Define instead of using previous
23980         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23981         __powerpc__ || __sparc__ || __s390__)] condition.
23982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23983         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23984         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23985         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23986         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23987         [!__ASSUME_ACCEPT4]: Change condition to
23988         [!__ASSUME_ACCEPT4_SOCKETCALL].
23989         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23990         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23991         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23993         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23994         __ASSUME_ACCEPT4_SYSCALL.
23995         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23996         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23997         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23998         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23999         __ASSUME_ACCEPT4_SYSCALL.
24000         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24001         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24002         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24003         [__ASSUME_ACCEPT4]: Change condition to
24004         [__ASSUME_ACCEPT4_SOCKETCALL].
24005         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24006         (__ASSUME_SOCKETCALL): Define.
24007         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24008         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24009         (__ASSUME_SOCKETCALL): Define.
24010         (__ASSUME_ACCEPT4): Remove.
24011         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24012         Define.
24013         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24014         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24015         Likewise.
24016         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24017         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24019         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24020         macro.
24021         (HWCAP_ARM_LPAE): Likewise.
24022         (HWCAP_ARM_EVTSTRM): Likewise.
24023         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24024         Add vpfd32, lpae and evtstrm.
24025         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24026         Increase to 22.
24028 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24030         * math/auto-libm-test-in: Add tests of clog10.
24031         * math/auto-libm-test-out: Regenerated.
24032         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24033         * sysdeps/i386/fpu/libm-test-ulps: Update.
24034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24036 2014-02-18  Andreas Schwab  <schwab@suse.de>
24038         [BZ #16574]
24039         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24040         Store non-zero if the second buffer was newly allocated.
24041         (send_dg): Likewise.
24042         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24043         to send_vc and send_dg.
24044         (res_nsend): Pass NULL for ansp2_malloced.
24045         * resolv/res_query.c (__libc_res_nquery): Add parameter
24046         answerp2_malloced and pass it down to __libc_res_nsend.
24047         (res_nquery): Pass additional NULL to __libc_res_nquery.
24048         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24049         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24050         second answer buffer if answerp2_malloced was set.
24051         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24052         (__libc_res_nquerydomain): Add parameter
24053         answerp2_malloced and pass it down to __libc_res_nquery.
24054         (res_nquerydomain): Pass additional NULL to
24055         __libc_res_nquerydomain.
24056         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24057         additional NULL to __libc_res_nsend and __libc_res_nquery.
24058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24059         additional NULL to __libc_res_nsearch.
24060         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24061         parameter of __libc_res_nsearch to check for separately allocated
24062         second buffer.
24063         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24064         __libc_res_nquery.
24065         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24066         additional NULL to __libc_res_nquery.
24067         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24068         __libc_res_nsearch.
24069         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24070         * include/resolv.h: Update prototypes of __libc_res_nquery,
24071         __libc_res_nsearch, __libc_res_nsend.
24073 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24075         * math/auto-libm-test-in: Add tests of fma.
24076         * math/auto-libm-test-out: Regenerated.
24077         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24078         (fma_towardzero_test_data): Likewise.
24079         (fma_downward_test_data): Likewise.
24080         (fma_upward_test_data): Likewise.
24081         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24082         mpc_mode.
24083         (rounding_modes): Add values for new field.
24084         (func_calc_method): Add value mpfr_fff_f.
24085         (func_calc_desc): Add mpfr_fff_f union field.
24086         (test_function): Add field exact_args.
24087         (FUNC): Add macro argument EXACT_ARGS.
24088         (FUNC_mpfr_f_f): Update call to FUNC.
24089         (FUNC_mpfr_f_f): Likewise.
24090         (FUNC_mpfr_ff_f): Likewise.
24091         (FUNC_mpfr_if_f): Likewise.
24092         (FUNC_mpc_c_f): Likewise.
24093         (FUNC_mpc_c_c): Likewise.
24094         (test_functions): Add fma.  Update calls to FUNC.
24095         (handle_input_arg): Add argument exact_args.
24096         (add_test): Update call to handle_input_arg.
24097         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24098         (output_for_one_input_case): Update call to calc_generic_results.
24099         Recalculate exact zero results in each rounding mode.
24101         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24102         non-negative before setting low bit.
24103         * math/auto-libm-test-in: Mark one asin test possibly having
24104         spurious underflow.
24105         * math/auto-libm-test-out: Regenerated.
24106         * sysdeps/i386/fpu/libm-test-ulps: Update.
24107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24111         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24112         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24113         ports/sysdeps/unix/sysv/linux/microblaze.
24114         * README: Add missing listing for microblaze*-*-linux-gnu.
24116 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24118         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24119         duplicate code
24121 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24123         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24124         * sysdeps/unix/sysv/linux/ia64: Move directory from
24125         ports/sysdeps/unix/sysv/linux/ia64.
24126         * README: Update listing for ia64-*-linux-gnu.
24128 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24129             Joseph Myers  <joseph@codesourcery.com>
24131         * Makeconfig (test-name): New variable.
24132         (evaluate-test): Likewise.
24133         * Makerules (do-test-clean): Remove .test-result files.
24134         (common-mostlyclean): Likewise.
24135         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24136         * scripts/evaluate-test.sh: New file.
24138 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24140         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24141         separate $(objpfx)tst-fopenloc-cmp.out and
24142         $(objpfx)tst-fopenloc-mem.out targets.
24143         (tests): Update dependencies.
24144         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24145         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24146         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24147         (tst-rxspencer-no-utf8-ARGS): New variable.
24148         (tst-rxspencer-no-utf8-ENV): Likewise.
24149         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24150         instead of $(objpfx)tst-rxspencer-mem.
24151         ($(objpfx)tst-rxspencer-mem): Change target to
24152         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24153         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24154         * posix/tst-rxspencer-no-utf8.c: New file.
24156         * elf/Makefile ($(objpfx)order.out): Remove rule.
24157         [$(run-built-tests) = yes] (tests): Depend on
24158         $(objpfx)order-cmp.out.
24159         ($(objpfx)order-cmp.out): New rule.
24160         [$(run-built-tests) = yes] (tests): Depend on
24161         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24162         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24163         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24164         $(objpfx)tst-array5-static-cmp.out.
24165         ($(objpfx)tst-array1.out): Remove rule.
24166         ($(objpfx)tst-array1-cmp.out): New rule.
24167         ($(objpfx)tst-array1-static.out): Remove rule.
24168         ($(objpfx)tst-array1-static-cmp.out): New rule.
24169         ($(objpfx)tst-array2.out): Remove rule.
24170         ($(objpfx)tst-array2-cmp.out): New rule.
24171         ($(objpfx)tst-array3.out): Remove rule.
24172         ($(objpfx)tst-array3-cmp.out): New rule.
24173         ($(objpfx)tst-array4.out): Remove rule.
24174         ($(objpfx)tst-array4-cmp.out): New rule.
24175         ($(objpfx)tst-array5.out): Remove rule.
24176         ($(objpfx)tst-array5-cmp.out): New rule.
24177         ($(objpfx)tst-array5-static.out): Remove rule.
24178         ($(objpfx)tst-array5-static-cmp.out): New rule.
24179         [$(run-built-tests) = yes] (tests): Depend on
24180         $(objpfx)order2-cmp.out.
24181         ($(objpfx)order2.out): Remove rule.
24182         ($(objpfx)order2-cmp.out): New rule.
24183         ($(objpfx)tst-initorder.out): Remove rule.
24184         [$(run-built-tests) = yes] (tests): Depend on
24185         $(objpfx)tst-initorder-cmp.out.
24186         ($(objpfx)tst-initorder-cmp.out): New rule.
24187         ($(objpfx)tst-initorder2.out): Remove rule.
24188         [$(run-built-tests) = yes] (tests): Depend on
24189         $(objpfx)tst-initorder2-cmp.out.
24190         ($(objpfx)tst-initorder2-cmp.out): New rule.
24191         [$(run-built-tests) = yes] (tests): Depend on
24192         $(objpfx)tst-unused-dep-cmp.out.
24193         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24194         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24195         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24196         on $(objpfx)tst-setvbuf1-cmp.out.
24197         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24198         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24199         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24200         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24201         ($(objpfx)tst-svc.out): Remove rule.
24202         ($(objpfx)tst-svc-cmp.out): New rule.
24204 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24206         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24207         * ctype/ctype.h [__USE_MISC]: Likewise.
24208         * dirent/dirent.h [__USE_MISC]: Likewise.
24209         * grp/grp.h [__USE_MISC]: Likewise.
24210         * io/fcntl.h [__USE_MISC]: Likewise.
24211         * io/sys/stat.h [__USE_MISC]: Likewise.
24212         * libio/stdio.h [__USE_MISC]: Likewise.
24213         * posix/unistd.h [__USE_MISC]: Likewise.
24214         * pwd/pwd.h [__USE_MISC]: Likewise.
24215         * stdlib.h [__USE_MISC]: Likewise.
24216         * string/bits/string2.h [__USE_MISC]: Likewise.
24217         * string/string.h [__USE_MISC]: Likewise.
24218         * time/time.h [__USE_MISC]: Likewise.
24220 2014-02-13  Andreas Schwab  <schwab@suse.de>
24222         [BZ #16574]
24223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24224         second answer buffer if it was separately allocated.
24226 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24228         * sysdeps/mips/math-tests.h: Include <features.h>.
24229         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24230         (ROUNDING_TESTS_long_double): Do not define.
24231         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24232         (EXCEPTION_TESTS_long_double): Likewise.
24233         * sysdeps/mips/mips64/libm-test-ulps: Update.
24235         * include/features.h (__USE_BSD): Remove macro definitions.
24236         (__USE_SVID): Likewise.
24237         (_BSD_SOURCE): Likewise.
24238         (_SVID_SOURCE): Likewise.
24239         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24240         from definition of _DEFAULT_SOURCE.
24241         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24242         [_DEFAULT_SOURCE].
24243         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24244         * bits/mman.h [__USE_BSD]: Likewise.
24245         * bits/termios.h [__USE_BSD]: Likewise.
24246         * bits/waitstatus.h [__USE_BSD]: Likewise.
24247         * ctype/ctype.h [__USE_SVID]: Likewise.
24248         * dirent/dirent.h [__USE_BSD]: Likewise.
24249         * grp/grp.h [__USE_SVID]: Likewise.
24250         [__USE_BSD]: Likewise.
24251         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24252         * io/fcntl.h [__USE_BSD]: Likewise.
24253         * io/ftw.h [__USE_BSD]: Likewise.
24254         * io/sys/stat.h [__USE_BSD]: Likewise.
24255         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24256         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24257         * libio/stdio.h [__USE_SVID]: Likewise.
24258         [__USE_BSD]: Likewise.
24259         * math/math.h [__USE_SVID]: Likewise.
24260         [__USE_BSD]: Likewise.
24261         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24262         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24263         * misc/search.h [__USE_SVID]: Likewise.
24264         * misc/sys/mman.h [__USE_BSD]: Likewise.
24265         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24266         * misc/sys/uio.h [__USE_BSD]: Likewise.
24267         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24268         * posix/glob.h [__USE_BSD]: Likewise.
24269         * posix/regex.h [__USE_BSD]: Likewise.
24270         * posix/sys/types.h [__USE_BSD]: Likewise.
24271         [__USE_SVID]: Likewise.
24272         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24273         * posix/sys/wait.h [__USE_BSD]: Likewise.
24274         [__USE_SVID]: Likewise.
24275         * posix/unistd.h [__USE_BSD]: Likewise.
24276         [__USE_SVID]: Likewise.
24277         * pwd/pwd.h [__USE_SVID]: Likewise.
24278         * resolv/netdb.h [__USE_BSD]: Likewise.
24279         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24280         * signal/signal.h [__USE_BSD]: Likewise.
24281         [__USE_SVID]: Likewise.
24282         * socket/sys/socket.h [__USE_BSD]: Likewise.
24283         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24284         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24285         [__USE_SVID]: Likewise.
24286         * string/bits/string2.h [__USE_BSD]: Likewise.
24287         [__USE_SVID]: Likewise.
24288         * string/bits/string3.h [__USE_BSD]: Likewise.
24289         * string/endian.h [__USE_BSD]: Likewise.
24290         * string/string.h [__USE_SVID]: Likewise.
24291         [__USE_BSD]: Likewise.
24292         * string/strings.h [__USE_BSD]: Likewise.
24293         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24294         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24295         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24296         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24297         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24298         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24301         Likewise.
24302         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24303         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24304         Likewise.
24305         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24306         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24307         Likewise.
24308         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24309         Likewise.
24310         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24311         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24312         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24315         Likewise.
24316         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24317         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24318         * termios/termios.h [__USE_BSD]: Likewise.
24319         * time/sys/time.h [__USE_BSD]: Likewise.
24320         * time/time.h [__USE_BSD]: Likewise.
24321         [__USE_SVID]: Likewise.
24323         * Makefile (subdir_targets): Remove subdir_lint.out.
24325         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24326         (do-tst-printf): Likewise.
24327         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24328         $(objpfx)tst-printf.out.
24330         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24332         * Makerules (check-abi-%): Change target to
24333         $(objpfx)check-abi-%.out.
24334         (check-abi target): Update dependencies.
24335         (check-abi-pattern variable): Redirect output of diff to $@.
24336         (check-abi variable): Likewise.
24337         * elf/Makefile (check-abi): Update dependencies.
24339         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24340         unused.
24341         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24342         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24343         subnormal range.
24344         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24345         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24346         value has largest subnormal exponent.
24347         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24348         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24349         * sysdeps/aarch64/soft-fp/sfp-machine.h
24350         (_FP_TININESS_AFTER_ROUNDING): New macro.
24351         * sysdeps/alpha/soft-fp/sfp-machine.h
24352         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24353         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24354         Likewise.
24355         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24356         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24357         * sysdeps/mips/soft-fp/sfp-machine.h
24358         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24359         * sysdeps/powerpc/soft-fp/sfp-machine.h
24360         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24361         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24362         Likewise.
24363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24365         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24366         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24367         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24368         Likewise.
24370 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24372         [BZ #16545]
24373         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24374         model 1.
24376 2014-02-12  Richard Henderson  <rth@redhat.com>
24378         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24379         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24380         * sysdeps/unix/sysv/linux/alpha: Move directory from
24381         ports/sysdeps/unix/sysv/linux/alpha.
24382         * README: Update listing for alpha-*-linux-gnu.
24384 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24386         * include/features.h: Update comment documenting feature test
24387         macros.
24388         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24389         _DEFAULT_SOURCE.
24390         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24391         (_SVID_SOURCE): Likewise.
24392         (_DEFAULT_SOURCE): Update description of default features.
24393         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24394         with _GNU_SOURCE.
24395         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24396         (S_ISVTX): Likewise.
24397         * manual/math.texi (Mathematical Constants): Likewise.
24398         * manual/signal.texi (Interrupted Primitives): Likewise.
24399         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24400         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24401         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24402         Don't refer to _SVID_SOURCE in warning text.
24404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24406         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24407         already defined.
24408         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24409         * sysdeps/mips/dl-lookup.c: Remove.
24410         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24412 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24414         [BZ #16447]
24415         * math/auto-libm-test-in: Add testcase for expl.
24416         * math/auto-libm-test-out: Regenerate.
24417         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24418         calculation of unsafe.
24419         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24421 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24423         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24424         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24425         ports/sysdeps/unix/sysv/linux/aarch64.
24426         * README: Update listing for aarch64*-*-linux-gnu.
24428 2014-02-11  Will Newton  <will.newton@linaro.org>
24430         * manual/probes.texi (Mathematical Function Probes): Use
24431         "triggered" instead of "hit".
24433         * manual/probes.texi (Internal Probes): Add documentation
24434         of setjmp, longjmp and longjmp_target probes.
24436         * include/stap-probe.h: Add comment about probe argument
24437         format.
24439         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24440         definition.  (tr_where, tr_freehook, tr_mallochook,
24441         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24443 2014-02-11  David S. Miller  <davem@davemloft.net>
24445         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24446         processing int_tests.
24448 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24450         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24451         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24452         * sysdeps/unix/sysv/linux/mips: Move directory from
24453         ports/sysdeps/unix/sysv/linux/mips.
24454         * README: Update listing for mips-*-linux-gnu and
24455         mips64-*-linux-gnu.
24457 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24459         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24460         * sysdeps/unix/sysv/linux/m68k: Move directory from
24461         ports/sysdeps/unix/sysv/linux/m68k.
24462         * README: Update listing for m68k-*-linux-gnu.
24464 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24466         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24467         * sysdeps/unix/sysv/linux/generic: Move directory from
24468         ports/sysdeps/unix/sysv/linux/generic.
24469         * sysdeps/unix/sysv/linux/tile: Move directory from
24470         ports/sysdeps/unix/sysv/linux/tile.
24471         * README: Update listing for tile*-*-linux-gnu.
24473 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24475         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24476         __builtin_expect.
24477         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24478         * catgets/open_catalog.c (__open_catalog): Likewise.
24479         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24480         * debug/confstr_chk.c: Likewise.
24481         * debug/fread_chk.c (__fread_chk): Likewise.
24482         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24483         * debug/getgroups_chk.c: Likewise.
24484         * debug/mbsnrtowcs_chk.c: Likewise.
24485         * debug/mbsrtowcs_chk.c: Likewise.
24486         * debug/mbstowcs_chk.c: Likewise.
24487         * debug/memcpy_chk.c: Likewise.
24488         * debug/memmove_chk.c: Likewise.
24489         * debug/mempcpy_chk.c: Likewise.
24490         * debug/memset_chk.c: Likewise.
24491         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24492         * debug/strcat_chk.c (__strcat_chk): Likewise.
24493         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24494         * debug/strncat_chk.c (__strncat_chk): Likewise.
24495         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24496         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24497         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24498         * debug/wcpncpy_chk.c: Likewise.
24499         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24500         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24501         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24502         * debug/wcsncpy_chk.c: Likewise.
24503         * debug/wcsnrtombs_chk.c: Likewise.
24504         * debug/wcsrtombs_chk.c: Likewise.
24505         * debug/wcstombs_chk.c: Likewise.
24506         * debug/wmemcpy_chk.c: Likewise.
24507         * debug/wmemmove_chk.c: Likewise.
24508         * debug/wmempcpy_chk.c: Likewise.
24509         * debug/wmemset_chk.c: Likewise.
24510         * dirent/scandirat.c (SCANDIRAT): Likewise.
24511         * dlfcn/dladdr1.c (dladdr1): Likewise.
24512         * dlfcn/dladdr.c (dladdr): Likewise.
24513         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24514         * dlfcn/dlerror.c (__dlerror): Likewise.
24515         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24516         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24517         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24518         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24519         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24520         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24521         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24522         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24523         Likewise.
24524         * elf/dl-conflict.c: Likewise.
24525         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24526         * elf/dl-dst.h: Likewise.
24527         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24528         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24529         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24530         * elf/dl-init.c (call_init, _dl_init): Likewise.
24531         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24532         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24533         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24534         Likewise.
24535         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24536         Likewise.
24537         * elf/dl-minimal.c (__libc_memalign): Likewise.
24538         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24539         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24540         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24541         * elf/dl-sym.c (do_sym): Likewise.
24542         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24543         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24544         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24545         * elf/dl-writev.h (_dl_writev): Likewise.
24546         * elf/ldconfig.c (search_dir): Likewise.
24547         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24548         (dl_main): Likewise.
24549         * elf/setup-vdso.h (setup_vdso): Likewise.
24550         * grp/compat-initgroups.c (compat_call): Likewise.
24551         * grp/fgetgrent.c (fgetgrent): Likewise.
24552         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24553         * grp/putgrent.c (putgrent): Likewise.
24554         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24555         Likewise.
24556         * hurd/hurdinit.c: Likewise.
24557         * iconvdata/8bit-gap.c (struct): Likewise.
24558         * iconvdata/ansi_x3.110.c : Likewise.
24559         * iconvdata/big5.c : Likewise.
24560         * iconvdata/big5hkscs.c : Likewise.
24561         * iconvdata/cp1255.c: Likewise.
24562         * iconvdata/cp1258.c : Likewise.
24563         * iconvdata/cp932.c : Likewise.
24564         * iconvdata/euc-cn.c: Likewise.
24565         * iconvdata/euc-jisx0213.c : Likewise.
24566         * iconvdata/euc-jp.c: Likewise.
24567         * iconvdata/euc-jp-ms.c : Likewise.
24568         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24569         * iconvdata/gb18030.c : Likewise.
24570         * iconvdata/gbbig5.c (const): Likewise.
24571         * iconvdata/gbgbk.c: Likewise.
24572         * iconvdata/gbk.c : Likewise.
24573         * iconvdata/ibm1364.c : Likewise.
24574         * iconvdata/ibm930.c : Likewise.
24575         * iconvdata/ibm932.c: Likewise.
24576         * iconvdata/ibm933.c : Likewise.
24577         * iconvdata/ibm935.c : Likewise.
24578         * iconvdata/ibm937.c : Likewise.
24579         * iconvdata/ibm939.c : Likewise.
24580         * iconvdata/ibm943.c: Likewise.
24581         * iconvdata/iso_11548-1.c: Likewise.
24582         * iconvdata/iso-2022-cn.c : Likewise.
24583         * iconvdata/iso-2022-cn-ext.c : Likewise.
24584         * iconvdata/iso-2022-jp-3.c: Likewise.
24585         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24586         * iconvdata/iso-2022-kr.c : Likewise.
24587         * iconvdata/iso646.c (gconv_end): Likewise.
24588         * iconvdata/iso_6937-2.c : Likewise.
24589         * iconvdata/iso_6937.c : Likewise.
24590         * iconvdata/iso8859-1.c: Likewise.
24591         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24592         * iconvdata/shift_jisx0213.c : Likewise.
24593         * iconvdata/sjis.c : Likewise.
24594         * iconvdata/t.61.c : Likewise.
24595         * iconvdata/tcvn5712-1.c : Likewise.
24596         * iconvdata/tscii.c: Likewise.
24597         * iconvdata/uhc.c : Likewise.
24598         * iconvdata/unicode.c (gconv_end): Likewise.
24599         * iconvdata/utf-16.c (gconv_end): Likewise.
24600         * iconvdata/utf-32.c (gconv_end): Likewise.
24601         * iconvdata/utf-7.c (base64): Likewise.
24602         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24603         * iconv/gconv_close.c (__gconv_close): Likewise.
24604         * iconv/gconv_open.c (__gconv_open): Likewise.
24605         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24606         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24607         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24608         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24609         (ucs4le_internal_loop_single): Likewise.
24610         * iconv/iconv.c (iconv): Likewise.
24611         * iconv/iconv_close.c: Likewise.
24612         * iconv/loop.c (SINGLE): Likewise.
24613         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24614         * include/atomic.h: Likewise.
24615         * inet/inet6_option.c (option_alloc): Likewise.
24616         * intl/bindtextdom.c (set_binding_values): Likewise.
24617         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24618         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24619         * intl/localealias.c (read_alias_file): Likewise.
24620         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24621         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24622         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24623         * libio/fmemopen.c (fmemopen): Likewise.
24624         * libio/iofgets.c (_IO_fgets): Likewise.
24625         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24626         * libio/iofgetws.c (fgetws): Likewise.
24627         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24628         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24629         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24630         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24631         * locale/findlocale.c (_nl_find_locale): Likewise.
24632         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24633         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24634         Likewise.
24635         * locale/setlocale.c (setlocale): Likewise.
24636         * login/programs/pt_chown.c (main): Likewise.
24637         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24638         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24639         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24640         (mmap, mmap64, mremap, munmap): Likewise.
24641         * math/e_exp2l.c: Likewise.
24642         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24643         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24644         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24645         * math/s_catan.c (__catan): Likewise.
24646         * math/s_catanf.c (__catanf): Likewise.
24647         * math/s_catanh.c (__catanh): Likewise.
24648         * math/s_catanhf.c (__catanhf): Likewise.
24649         * math/s_catanhl.c (__catanhl): Likewise.
24650         * math/s_catanl.c (__catanl): Likewise.
24651         * math/s_ccosh.c (__ccosh): Likewise.
24652         * math/s_ccoshf.c (__ccoshf): Likewise.
24653         * math/s_ccoshl.c (__ccoshl): Likewise.
24654         * math/s_cexp.c (__cexp): Likewise.
24655         * math/s_cexpf.c (__cexpf): Likewise.
24656         * math/s_cexpl.c (__cexpl): Likewise.
24657         * math/s_clog10.c (__clog10): Likewise.
24658         * math/s_clog10f.c (__clog10f): Likewise.
24659         * math/s_clog10l.c (__clog10l): Likewise.
24660         * math/s_clog.c (__clog): Likewise.
24661         * math/s_clogf.c (__clogf): Likewise.
24662         * math/s_clogl.c (__clogl): Likewise.
24663         * math/s_csin.c (__csin): Likewise.
24664         * math/s_csinf.c (__csinf): Likewise.
24665         * math/s_csinh.c (__csinh): Likewise.
24666         * math/s_csinhf.c (__csinhf): Likewise.
24667         * math/s_csinhl.c (__csinhl): Likewise.
24668         * math/s_csinl.c (__csinl): Likewise.
24669         * math/s_csqrt.c (__csqrt): Likewise.
24670         * math/s_csqrtf.c (__csqrtf): Likewise.
24671         * math/s_csqrtl.c (__csqrtl): Likewise.
24672         * math/s_ctan.c (__ctan): Likewise.
24673         * math/s_ctanf.c (__ctanf): Likewise.
24674         * math/s_ctanh.c (__ctanh): Likewise.
24675         * math/s_ctanhf.c (__ctanhf): Likewise.
24676         * math/s_ctanhl.c (__ctanhl): Likewise.
24677         * math/s_ctanl.c (__ctanl): Likewise.
24678         * math/w_pow.c: Likewise.
24679         * math/w_powf.c: Likewise.
24680         * math/w_powl.c: Likewise.
24681         * math/w_scalb.c (sysv_scalb): Likewise.
24682         * math/w_scalbf.c (sysv_scalbf): Likewise.
24683         * math/w_scalbl.c (sysv_scalbl): Likewise.
24684         * misc/error.c (error_tail): Likewise.
24685         * misc/pselect.c (__pselect): Likewise.
24686         * nis/nis_callback.c (__nis_create_callback): Likewise.
24687         * nis/nis_call.c (__nisfind_server): Likewise.
24688         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24689         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24690         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24691         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24692         * nis/nis_lookup.c (nis_lookup): Likewise.
24693         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24694         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24695         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24696         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24697         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24698         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24699         * nis/nss_compat/compat-initgroups.c (add_group)
24700         (internal_getgrent_r): Likewise.
24701         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24702         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24703         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24704         (internal_getspnam_r): Likewise.
24705         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24706         (_nss_nis_getaliasbyname_r): Likewise.
24707         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24708         (_nss_nis_getntohost_r): Likewise.
24709         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24710         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24711         (_nss_nis_getgrgid_r): Likewise.
24712         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24713         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24714         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24715         (_nss_nis_gethostbyname4_r): Likewise.
24716         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24717         (initgroups_netid): Likewise.
24718         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24719         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24720         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24721         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24722         (_nss_nis_getprotobynumber_r): Likewise.
24723         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24724         (_nss_nis_getsecretkey): Likewise.
24725         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24726         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24727         (_nss_nis_getpwuid_r): Likewise.
24728         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24729         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24730         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24731         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24732         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24733         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24734         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24735         Likewise.
24736         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24737         (_nss_nisplus_getntohost_r): Likewise.
24738         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24739         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24740         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24741         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24742         Likewise.
24743         * nis/nss_nisplus/nisplus-initgroups.c
24744         (_nss_nisplus_initgroups_dyn): Likewise.
24745         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24746         (_nss_nisplus_getnetbyaddr_r): Likewise.
24747         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24748         (_nss_nisplus_getprotobynumber_r): Likewise.
24749         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24750         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24751         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24752         Likewise.
24753         * nis/nss_nisplus/nisplus-service.c
24754         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24755         (_nss_nisplus_getservbyport_r): Likewise.
24756         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24757         (_nss_nisplus_getspnam_r): Likewise.
24758         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24759         Likewise.
24760         * nscd/aicache.c (addhstaiX): Likewise.
24761         * nscd/cache.c (cache_search, prune_cache): Likewise.
24762         * nscd/connections.c (register_traced_file, send_ro_fd)
24763         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24764         (main_loop_epoll): Likewise.
24765         * nscd/grpcache.c (addgrbyX): Likewise.
24766         * nscd/hstcache.c (addhstbyX): Likewise.
24767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24768         * nscd/mem.c (gc, mempool_alloc): Likewise.
24769         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24770         (addinnetgrX): Likewise.
24771         * nscd/nscd-client.h (__nscd_acquire_maplock)
24772         (__nscd_drop_map_ref): Likewise.
24773         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24774         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24775         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24776         Likewise.
24777         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24778         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24779         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24780         (__nscd_get_map_ref): Likewise.
24781         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24782         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24783         Likewise.
24784         * nscd/pwdcache.c (addpwbyX): Likewise.
24785         * nscd/selinux.c (preserve_capabilities): Likewise.
24786         * nscd/servicescache.c (addservbyX): Likewise.
24787         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24788         * posix/fnmatch.c (fnmatch): Likewise.
24789         * posix/getopt.c (_getopt_internal_r): Likewise.
24790         * posix/glob.c (glob, glob_in_dir): Likewise.
24791         * posix/wordexp.c (exec_comm_child): Likewise.
24792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24793         (getanswer_r, gaih_getanswer_slice): Likewise.
24794         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24795         * resolv/res_init.c: Likewise.
24796         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24797         * resolv/res_query.c (__libc_res_nquery): Likewise.
24798         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24799         Likewise.
24800         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24801         * stdio-common/perror.c (perror): Likewise.
24802         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24803         * stdio-common/tmpnam.c (tmpnam): Likewise.
24804         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24805         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24806         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24807         Likewise.
24808         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24809         * stdlib/putenv.c (putenv): Likewise.
24810         * stdlib/setenv.c (__add_to_environ): Likewise.
24811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24812         * stdlib/strtol_l.c (INTERNAL): Likewise.
24813         * string/memmem.c (memmem): Likewise.
24814         * string/strerror.c (strerror): Likewise.
24815         * string/strnlen.c (__strnlen): Likewise.
24816         * string/test-memmem.c (simple_memmem): Likewise.
24817         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24818         * sunrpc/pm_getport.c (__get_socket): Likewise.
24819         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24820         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24821         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24822         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24823         Likewise.
24824         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24825         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24826         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24827         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24828         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24829         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24830         Likewise.
24831         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24832         Likewise.
24833         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24834         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24836         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24837         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24839         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24840         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24841         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24842         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24843         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24844         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24845         Likewise.
24846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24847         Likewise.
24848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24849         Likewise.
24850         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24851         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24852         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24853         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24854         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24855         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24856         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24857         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24859         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24860         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24862         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24863         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24865         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24866         Likewise.
24867         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24868         Likewise.
24869         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24870         Likewise.
24871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24872         Likewise.
24873         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24875         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24876         Likewise.
24877         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24878         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24879         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24880         * sysdeps/posix/sleep.c: Likewise.
24881         * sysdeps/posix/tempname.c: Likewise.
24882         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24883         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24884         Likewise.
24885         * sysdeps/powerpc/powerpc32/dl-machine.h
24886         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24887         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24889         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24890         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24891         Likewise.
24892         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24894         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24896         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24897         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24898         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24899         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24901         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24903         (elf_machine_lazy_rel): Likewise.
24904         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24905         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24906         (elf_machine_lazy_rel): Likewise.
24907         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24908         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24909         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24910         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24911         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24912         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24913         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24915         Likewise.
24916         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24917         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24918         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24919         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24920         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24921         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24922         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24923         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24924         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24925         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24926         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24927         Likewise.
24928         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24929         (__posix_fallocate64_l64): Likewise.
24930         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24931         (posix_fallocate): Likewise.
24932         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24933         Likewise.
24934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24935         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24936         (getifaddrs_internal): Likewise.
24937         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24938         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24939         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24940         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24941         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24942         (__posix_fallocate64_l64): Likewise.
24943         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24944         Likewise.
24945         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24947         (__get_clockfreq): Likewise.
24948         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24949         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24950         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24953         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24954         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24955         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24956         Likewise.
24957         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24958         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24959         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24960         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24961         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24962         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24963         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24964         Likewise.
24965         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24966         (posix_fallocate): Likewise.
24967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24968         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24969         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24970         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24971         (elf_machine_rela, elf_machine_rela_relative)
24972         (elf_machine_lazy_rel): Likewise.
24973         * time/asctime.c (asctime_internal): Likewise.
24974         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24975         * time/tzset.c (__tzset_parse_tz): Likewise.
24976         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24977         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24978         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24979         * wcsmbs/wcsmbsload.h: Likewise.
24981         [BZ #15894]
24982         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24984         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24985         (arena_get2): Remove THREAD_STATS conditionals.
24986         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24987         (__malloc_stats, int): Likewise.
24989 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24991         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24992         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24994         * manual/setjmp.texi: Fix typos/grammar errors.
24996         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24997         Only return early when n is <= 0.  Delete unused return statement.
24999         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25000         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25001         * debug/tst-longjmp_chk3.c: New file.
25003         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25004         (test_main): Replace code with set_fortify_handler call.
25005         * debug/test-strcpy_chk.c: Likewise.
25006         * debug/tst-chk1.c: Likewise.
25007         * debug/tst-longjmp_chk.c: Likewise.
25008         * test-skeleton.c: Include fcntl.h & paths.h
25009         (set_fortify_handler): Define.
25011         * debug/tst-longjmp_chk.c: Add header comment and include
25012         ../test-skeleton.c.
25013         (do_test): Mark static.
25014         (TEST_FUNCTION): Define.
25016         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25017         (IP_PMTUDISC_INTERFACE): Likewise.
25018         (IP_MULTICAST_IF): Likewise.
25019         (IP_MULTICAST_TTL): Likewise.
25020         (IP_MULTICAST_LOOP): Likewise.
25021         (IP_ADD_MEMBERSHIP): Likewise.
25022         (IP_DROP_MEMBERSHIP): Likewise.
25023         (IP_UNBLOCK_SOURCE): Likewise.
25024         (IP_BLOCK_SOURCE): Likewise.
25025         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25026         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25027         (IP_MSFILTER): Likewise.
25028         (MCAST_JOIN_GROUP): Likewise.
25029         (MCAST_BLOCK_SOURCE): Likewise.
25030         (MCAST_UNBLOCK_SOURCE): Likewise.
25031         (MCAST_LEAVE_GROUP): Likewise.
25032         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25033         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25034         (MCAST_MSFILTER): Likewise.
25035         (IP_MULTICAST_ALL): Likewise.
25036         (IP_UNICAST_IF): Likewise.
25038         * timezone/Makefile: Delete $(have-ksh) check.
25039         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25040         * timezone/tzselect.ksh: Add +x mode bits.
25042         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25043         (ANON_INODE_FS_MAGIC): Likewise.
25044         (BDEVFS_MAGIC): Likewise.
25045         (BINFMTFS_MAGIC): Likewise.
25046         (BTRFS_TEST_MAGIC): Likewise.
25047         (CRAMFS_MAGIC_WEND): Likewise.
25048         (DEBUGFS_MAGIC): Likewise.
25049         (ECRYPTFS_SUPER_MAGIC): Likewise.
25050         (EXT3_SUPER_MAGIC): Likewise.
25051         (EXT4_SUPER_MAGIC): Likewise.
25052         (FUTEXFS_SUPER_MAGIC): Likewise.
25053         (HOSTFS_SUPER_MAGIC): Likewise.
25054         (HUGETLBFS_MAGIC): Likewise.
25055         (MINIX3_SUPER_MAGIC): Likewise.
25056         (MTD_INODE_FS_MAGIC): Likewise.
25057         (NILFS_SUPER_MAGIC): Likewise.
25058         (OPENPROM_SUPER_MAGIC): Likewise.
25059         (PIPEFS_MAGIC): Likewise.
25060         (PSTOREFS_MAGIC): Likewise.
25061         (QNX6_SUPER_MAGIC): Likewise.
25062         (RAMFS_MAGIC): Likewise.
25063         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25064         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25065         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25066         (SECURITYFS_MAGIC): Likewise.
25067         (SELINUX_MAGIC): Likewise.
25068         (SMACK_MAGIC): Likewise.
25069         (SOCKFS_MAGIC): Likewise.
25070         (SQUASHFS_MAGIC): Likewise.
25071         (STACK_END_MAGIC): Likewise.
25072         (TMPFS_MAGIC): Likewise.
25073         (USBDEVICE_SUPER_MAGIC): Likewise.
25074         (V9FS_MAGIC): Likewise.
25075         (XENFS_SUPER_MAGIC): Likewise.
25076         (CRAMFS_MAGIC): Fix typo in comment.
25077         (EXT2_SUPER_MAGIC): Update comment.
25078         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25080 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25082         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25083         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25084         * sysdeps/unix/sysv/linux/arm: Move directory from
25085         ports/sysdeps/unix/sysv/linux/arm.
25086         * README: Update listing for arm-*-linux-gnueabi.
25088         * README: Remove mention of am33.
25090 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25092         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25093         than the comma operator, to avoid "rhs of comma has no effect"
25094         compiler warnings.
25095         (__sigfillset, __sigandset, __sigorset): Likewise.
25096         * include/signal.h (__sigemptyset): Likewise.
25097         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25099 2014-02-07  Allan McRae  <allan@archlinux.org>
25101         * version.h (RELEASE): Set to "development".
25102         (VERSION): Set to "2.19.90"
25103         * NEWS: Add 2.20 section.
25105 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25107         [BZ #16529]
25108         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25110 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25112         * manual/contrib.texi: Update entry for Carlos O'Donell,
25113         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25115 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25117         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25119         * sysdeps/unix/sysv/linux/kernel-features.h
25120         [__LINUX_KERNEL_VERSION >= 0x020621]
25121         (__ASSUME_PROC_PID_TASK_COMM): Define.
25123 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25125         [BZ #16398]
25126         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25127         conversion when destination buffer does not have enough space.
25128         * libio/tst-ftell-partial-wide.c: New test case.
25129         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25131         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25132         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25133         Leonard and Allan McRae.
25135 2014-02-04  David S. Miller  <davem@davemloft.net>
25137         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25138         32-bit.
25140 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25143         New file
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25145         New file
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25147         New file.
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25149         New file.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25151         New file.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25153         New file.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25155         New file.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25157         New file.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25159         New file.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25161         New file.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25163         New file.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25165         New file.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25167         New file.
25169 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25171         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25172         * shlib-versions: Likewise.
25174 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25175             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25177         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25178         (abilist-pattern): New variable, set to %-le.abilist.
25180         * Makerules (abilist-pattern): New variable.
25181         (vpath): Use $(abilist-pattern) in place of %.abilist.
25182         (check-abi-% pattern rule): Likewise.
25183         (check-abi, update-abi): Likewise.
25185 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25189 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25191         * manual/startup.texi: Add next, previous, and top entries for
25192         the `Program Arguments' and `Environment Variables' nodes.
25194 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25196         * manual/macros.texi: Add comments before MTASC-safety macros.
25198         * manual/users.texi: Document MTASC-safety properties.
25200         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25201         (pthread_getspecific, pthread_setspecific): Format with
25202         @deftypefun, and add @safety note.
25203         * manual/signal.texi: Move comments that analyze the above
25204         functions to their home place.
25206 2014-02-03  Allan McRae  <allan@archlinux.org>
25208         * po/sl.po: Update Slovenian translation from translation project.
25210 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25212         * manual/time.texi (timegm): Add missing blank after @c.
25213         Reported by Joseph Myers <joseph@codesourcery.com>.
25215 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25217         * manual/check-safety.sh: New.
25218         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25220         * manual/terminal.texi: Document MTASC-safety properties.
25222         * manual/filesys.texi: Document MTASC-safety properties.
25224         * manual/errno.texi: Document MTASC-safety properties.
25226         * manual/intro.texi: Document safety identifiers and
25227         conditionals.
25229         * manual/string.texi (wcstok): Fix prototype.
25230         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25232         * manual/time.texi: Document MTASC-safety properties.
25234         * manual/string.texi: Document MTASC-safety properties.
25236         * manual/threads.texi: Document MTASC-safety properties.
25238         * manual/stdio.texi: Document MTASC-safety properties.
25240         * manual/syslog.texi: Document MTASC-safety properties.
25242         * manual/sysinfo.texi: Document MTASC-safety properties.
25244         * manual/startup.texi: Document MTASC-safety properties.
25246         * manual/socket.texi: Document MTASC-safety properties.
25248         * manual/signal.texi: Document MTASC-safety properties.
25250 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25252         * manual/setjmp.texi: Document MTASC-safety properties.
25254         * manual/search.texi: Document MTASC-safety properties.
25256         * manual/resource.texi: Document MTASC-safety properties.
25258         * manual/process.texi: Document MTASC-safety properties.
25260         * manual/platform.texi: Document MTASC-safety properties.
25262         * manual/pipe.texi: Document MTASC-safety properties.
25264         * manual/pattern.texi: Document MTASC-safety properties.
25266         * manual/message.texi: Document MTASC-safety properties.
25268         [BZ #12751]
25269         * manual/memory.texi: Document MTASC-safety properties.
25271         * manual/math.texi: Document MTASC-safety properties.
25273         * manual/locale.texi: Document MTASC-safety properties.
25275         * manual/llio.texi: Document MTASC-safety properties.
25277         * manual/libdl.texi: New.
25279         * manual/lang.texi: Document MTASC-safety properties.
25281         * manual/job.texi: Document MTASC-safety properties.
25283         * manual/getopt.texi: Document MTASC-safety properties.
25285         * manual/ctype.texi: Document MTASC-safety properties.
25287 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25289         [BZ #16046]
25290         * csu/libc-tls.c (static_map): Remove variable.
25291         (__libc_setup_tls): Use main executable's link map for TLS data.
25292         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25293         casing for LM_ID_BASE and GL(dl_nns).
25294         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25295         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25296         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25297         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25298         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25299         member.
25300         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25301         l_phnum members.
25303 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25305         * manual/debug.texi: Document MTASC-safety properties.
25307 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25309         [BZ #16510]
25310         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25311         of __x86_64__ when disabling x87 inline functions.
25313 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25315         * manual/charset.texi: Document MTASC-safety properties.
25317         * manual/crypt.texi: Document MTASC-safety properties.
25319         * manual/conf.texi: Document MTASC-safety properties.
25321         * manual/arith.texi: Document MTASC-safety properties.
25323         * manual/argp.texi: Document MTASC-safety properties.
25325         * manual/macros.texi: Introduce macros to document multi
25326         thread, asynchronous signal and asynchronous cancellation
25327         safety properties.
25328         * manual/intro.texi: Introduce the properties themselves.
25330 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25332         * sysdeps/sh/sh4/Makefile: New file.
25334 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25336         * math/gen-libm-test.pl ($srcdir): New variable.
25337         ($auto_input): Use it.
25339 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         [BZ #16506]
25342         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25343         access beyond array bounds when parsing netgroups file.
25345         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25346         the old buffer before realloc.
25348 2014-01-27  Allan McRae  <allan@archlinux.org>
25350         * po/fr.po: Update French translation from translation project.
25352 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25354         * sysdeps/sh/libm-test-ulps: Regenerate.
25356 2014-01-24  David S. Miller  <davem@davemloft.net>
25358         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25360 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25362         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25363         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25365 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25367         [BZ #16474]
25368         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25369         string pointers after reallocation.
25371 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25373         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25374         __SH4A__ instead of __SH_FPU_ANY__.
25376 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25378         * sysdeps/sh/fpu_control.h: New file.
25379         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25380         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25381         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25382         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25383         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25384         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25385         * sysdeps/sh/sys/ucontext.h: Remove.
25386         * sysdeps/sh/sys: Remove directory.
25388 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25390         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25391         s390/sys/ucontext.h.
25392         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25395 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25397         [BZ #15605]
25398         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25400 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25402         [BZ#16431]
25403         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25404         Adjust the vDSO correctly for internal calls.
25405         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25407 2014-01-20  Allan McRae  <allan@archlinux.org>
25409         * po/ca.po: Update Catalan translation from translation project.
25411 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25413         * sysdeps/s390/sotruss-lib.c: New file.
25415 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25417         [BZ#16430]
25418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25419         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25420         local calls issues by not having a PLT stub required for IFUNC calls.
25421         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25423 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25425         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25426         * math/test-fpucw-static.c: Likewise.
25428 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25430         [BZ #16453]
25431         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25433 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25435         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25436         implementation for powerpc.
25438 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25440         [BZ #14782]
25441         * sysdeps/posix/system.c (__libc_system): Do not enable
25442         asynchronous cancellation.
25444 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25446         [BZ #16427]
25447         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25448         handling only for numbers special also in the IEEE case.
25450 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25452         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25454 2014-01-11  Allan McRae  <allan@archlinux.org>
25456         * po/bg.po: Update Bulgarian translation from translation project.
25458         * po/de.po: Update German translation from translation project.
25460 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25462         * sysdeps/generic/gcc-compat.h: New file.
25464 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25466         * benchtests/asin-inputs: Correct slow inputs.
25467         * benchtests/acos-inputs: Likewise.
25469 2014-01-10  Allan McRae  <allan@archlinux.org>
25471         * po:sv.po: Update Swedish translation from translation project.
25473         * po/vi.po: Update Vietnamese translation from translation project.
25475         * po/eo.po: Update Esperanto translation from translation project.
25477         * po/cs.po: Update Czech translation from translation project.
25479         * po/nl.po: Update Dutch translation from translation project.
25481         * po/pl.po: Update Polish translation from translation project.
25483         * po/ru.po: Update Russian translation from translation project.
25485         * po/uk.po: Update Ukrainian translation from translation project.
25487 2014-01-08  Brooks Moses  <bmoses@google.com>
25489         * elf/dl-load.c: Fix comment typo.
25491 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25493         * po/header.pot: Rename to...
25494         * po/pot.header: ... this.
25495         * po/Makefile: Use pot.header.
25497 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25498             Maxim Kuvyrkov  <maxim@kugelworks.com>
25500         [BZ #16394]
25501         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25502         SRC and DEST against LEN.
25504 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25506         [BZ #16414]
25507         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25508         implementation.
25509         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25511 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25515 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25517         [BZ #16408]
25518         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25519         for large positive arguments.
25521 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25523         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25525         * math/auto-libm-test-in: Mark various tests with
25526         xfail-rounding:ldbl-128ibm.
25527         * math/auto-libm-test-out: Regenerated.
25529         [BZ #16407]
25530         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25531         Increase overflow threshold.
25533 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25535         [BZ #14286]
25536         * stdio-common/vfprintf.c: Check for integer overflow.
25538 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25540         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25541         the first argument and return value of __tls_get_addr_internal.
25543 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25545         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25546         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25548 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25550         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25551         * sysdeps/s390/rtld-global-offsets.sym: New file.
25552         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25553         GLIBC_2.19 symbol.
25554         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25555         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25556         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25557         ... this.
25558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25560         ... this.
25561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25562         Regenerate.
25563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25564         Regenerate.
25565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25566         halfs of GPRs for high_gprs contexts.
25567         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25568         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25569         field.
25570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25571         uc_flags field.
25572         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25573         64 bit versions:
25574         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25575         for high GPRs (uc_high_gprs) and for future extensions
25576         (__reserved).
25577         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25578         for future extensions (__reserved).
25579         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25580         64 bit versions:
25581         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25582         SC_HIGHGPRS offset definition.
25583         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25584         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25586         * Versions.def: Add GLIBC_2.19 for libpthread.
25587         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25588         siglongjmp for libpthread with GLIBC_2.19 symver.
25589         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25590         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25591         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25592         * sysdeps/s390/__longjmp.c: New file.
25593         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25594         * sysdeps/s390/longjmp.c: New file.
25595         * sysdeps/s390/setjmp.S: New file.
25596         * sysdeps/s390/sigjmp.S: New file.
25597         * sysdeps/s390/v1-longjmp.c: New file.
25598         * sysdeps/s390/v1-setjmp.h: New file.
25599         * sysdeps/s390/v1-sigjmp.c: New file.
25600         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25601         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25602         GLIBC_2.19 version.
25603         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25604         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25605         versioned symbols for ____longjmp_chk.
25606         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25607         Likewise.
25608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25609         Regenerate.
25610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25611         Regenerate.
25612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25613         Regenerate.
25614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25615         Regenerate.
25616         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25617         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25618         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25619         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25620         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25621         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25622         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25623         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25624         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25625         * sysdeps/s390/rtld-__longjmp.c: New file.
25626         * sysdeps/s390/rtld-setjmp.S: New file.
25628 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25630         [BZ #16400]
25631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25632         Return -__logl (x) for small positive arguments without evaluating
25633         a polynomial.
25635 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25637         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25638         Rename to ...
25639         (__ptrace_peeksiginfo_args): ... this.
25640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25641         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25644 2014-01-06  Allan McRae  <allan@archlinux.org>
25646         * inet/netinet/in.h: Fix typo in comment.
25648 2014-01-05  Andreas Jaeger  <aj@suse.de>
25650         * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 2014-01-05  Allan McRae  <allan@archlinux.org>
25654         * po/libc.pot: Regenerated.
25656         * malloc/memusagestat.c: Fix gettext call formatting.
25658 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25660         * nscd/nscd.c: Improve usage() output.
25662 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25664         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25665         * sysdeps/unix/sysv/linux/configure: Regenerated.
25666         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25667         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25669 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25671         [BZ #16390]
25672         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25673         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25675 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25678         extra tokens at end of #undef directive.
25679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25680         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25681         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25683 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25685         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25687         * math/auto-libm-test-in: Mark various tests with
25688         xfail-rounding:ldbl-128ibm.
25689         * math/auto-libm-test-out: Regenerated.
25691 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25693         [BZ #16386]
25694         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25695         numbers with subnormal high part when calculating exponent.
25697         [BZ #16385]
25698         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25699         fabs.
25701         [BZ #16384]
25702         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25703         M_LN2l.
25704         (__ieee754_acoshl): Use __log1pl not __log1p.
25706 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25708         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25709         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25710         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25711         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25712         (reused_arena, arena_get2): Convert to GNU style.
25713         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25714         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25715         (memalign_check, __malloc_set_state): Likewise.
25716         * malloc/mallocbug.c (main): Likewise.
25717         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25718         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25719         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25720         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25721         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25722         (__posix_memalign, malloc_info): Likewise.
25723         * malloc/malloc.h: Likewise.
25724         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25725         (mallochook, memalignhook, reallochook, mabort): Likewise.
25726         * malloc/mcheck.h: Likewise.
25727         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25728         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25729         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25730         * malloc/morecore.c (__default_morecore): Likewise.
25731         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25732         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25733         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25734         (print_and_abort): Likewise.
25735         * malloc/obstack.h: Likewise.
25736         * malloc/set-freeres.c (__libc_freeres): Likewise.
25737         * malloc/tst-mallocstate.c (main): Likewise.
25738         * malloc/tst-mtrace.c (main): Likewise.
25739         * malloc/tst-realloc.c (do_test): Likewise.
25741 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25743         [BZ #16366]
25744         * nscd/netgroupcache.c (do_notfound): New function.
25745         (addgetnetgrentX): Use it.
25747         [BZ # 16365]
25748         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25749         NSS_STATUS_NOTFOUND.
25751 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25753         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25756 2014-01-01  Allan McRae  <allan@archlinux.org>
25758         * scripts/update-copyrights: Update configure input file suffix.
25760         * NEWS: Update copyright year.
25761         * catgets/gencat.c: Likewise.
25762         * csu/version.c: Likewise.
25763         * debug/catchsegv.sh: Likewise.
25764         * debug/pcprofiledump.c: Likewise.
25765         * debug/xtrace.sh: Likewise.
25766         * elf/ldconfig.c: Likewise.
25767         * elf/ldd.bash.in: Likewise.
25768         * elf/pldd.c: Likewise.
25769         * elf/sotruss.ksh: Likewise.
25770         * elf/sprof.c: Likewise.
25771         * iconv/iconv_prog.c: Likewise.
25772         * iconv/iconvconfig.c: Likewise.
25773         * locale/programs/locale.c: Likewise.
25774         * locale/programs/localedef.c: Likewise.
25775         * login/programs/pt_chown.c: Likewise.
25776         * malloc/memusage.sh: Likewise.
25777         * malloc/memusagestat.c: Likewise.
25778         * malloc/mtrace.pl: Likewise.
25779         * manual/libc.texinfo: Likewise.
25780         * nscd/nscd.c: Likewise.
25781         * nss/getent.c: Likewise.
25782         * nss/makedb.c: Likewise.
25783         * posix/getconf.c: Likewise.
25784         * scripts/test-installation.pl: Likewise.
25786         * All files with FSF copyright notices: Update copyright dates
25787         using scripts/update-copyrights.
25788         * intl/plural.c: Regenerated.
25789         * locale/programs/charmap-kw.h: Likewise.
25790         * locale/programs/locfile-kw.h: Likewise.
25792 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25794         * sysdeps/unix/sysv/linux/configure: Regenerated.
25795         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25796         the linux/fanotify.h header.
25797         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25798         HAVE_LINUX_FANOTIFY_H is defined.
25800 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25802         * benchtests/cos-inputs: New inputs.
25803         * benchtests/sin-inputs: Likewise.
25805         * benchtests/atan-inputs: New inputs. Fix name of multiple
25806         precision fallback inputs.
25808         * benchtests/atanh-inputs: New inputs.
25809         * benchtests/tanh-inputs: Likewise.
25811         * benchtests/acosh-inputs: New inputs.
25812         * benchtests/asinh-inputs: Likewise.
25814         * benchtests/cosh-inputs: New inputs.
25815         * benchtests/sinh-inputs: Likewise.
25817         * benchtests/acos-inputs: Add more inputs.
25818         * benchtests/asin-inputs: Likewise.
25820 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25822         [BZ #16375]
25823         * manual/arith.texi: Fix spelling.
25824         * manual/charset.texi: Likewise.
25825         * manual/errno.texi: Likewise.
25826         * manual/filesys.texi: Likewise.
25827         * manual/lang.texi: Likewise.
25828         * manual/llio.texi: Likewise.
25829         * manual/locale.texi: Likewise.
25830         * manual/message.texi: Likewise.
25831         * manual/resource.texi: Likewise.
25832         * manual/search.texi: Likewise.
25833         * manual/setjmp.texi: Likewise.
25834         * manual/stdio.texi: Likewise.
25835         * manual/string.texi: Likewise.
25836         * manual/sysinfo.texi: Likewise.
25837         * manual/time.texi: Likewise.
25839 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25841         * po/sl.po: New file.
25843 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25845         * .gitignore: Add core/.gdbinit/.gdb_history.
25847 2013-12-27  Allan McRae  <allan@archlinux.org>
25849         [BZ #16369]
25850         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25851         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25853 2013-12-24  Brooks Moses  <bmoses@google.com>
25855         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25856         all compilers that claim C++98 compliance, not just GCC.
25857         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25858         Likewise.
25860 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25862         * NEWS: Restore accidentally deleted bug-fix entries.
25864 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25865             Ondřej Bílka  <neleai@seznam.cz>
25867         [BZ #15073]
25868         * malloc/malloc.c (_int_free): Perform sanity check only if we
25869         have_lock.
25871 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25873         [BZ #12986]
25874         * manual/stdio.texi (String Input Conversions): Clarify that character
25875         classes are not supported.
25877 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25881 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25883         [BZ #16337]
25884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25885         Calculate results for small negative arguments directly rather
25886         than using reflection formula with special underflow handling.
25888         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25889         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25890         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25891         (fchflags): Likewise.
25892         (revoke): Likewise.
25893         (setlogin): Likewise.
25894         (sigaltstack): Likewise.
25895         (wait4): Likewise.
25896         (sigblock): Remove.
25897         (sigsetmask): Likewise.
25898         (wait3): Likewise.
25899         (waitpid): Likewise.
25900         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25901         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25902         file.
25903         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25904         * sysdeps/unix/bsd/Makefile: ... here.
25905         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25906         * sysdeps/unix/bsd/Versions: ... here.
25907         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25908         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25909         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25910         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25911         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25912         * sysdeps/unix/bsd/sigblock.c: ... here.
25913         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25914         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25915         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25916         * sysdeps/unix/bsd/sigvec.c: ... here.
25917         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25918         * sysdeps/unix/bsd/tcdrain.c: ... here.
25919         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25920         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25921         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25922         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25923         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25924         * sysdeps/unix/bsd/wait.c: ... here.
25925         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25926         * sysdeps/unix/bsd/wait3.c: ... here.
25927         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25928         * sysdeps/unix/bsd/waitpid.c: ... here.
25930 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25932         [BZ #16356]
25933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25934         round-to-nearest for [!USE_AS_EXPM1L].
25935         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25936         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25937         more tests of exp and exp10.  Expect some exp10 tests to miss
25938         exceptions or fail in directed rounding modes.
25939         * math/auto-libm-test-out: Regenerated.
25940         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25941         (exp10_test_tonearest): New function.
25942         (exp10_towardzero_test_data): New array.
25943         (exp10_test_towardzero): New function.
25944         (exp10_downward_test_data): New array.
25945         (exp10_test_downward): New function.
25946         (exp10_upward_test_data): New array.
25947         (exp10_test_upward): New function.
25948         (main): Call the new functions.
25949         * sysdeps/i386/fpu/libm-test-ulps: Update.
25950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25952 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25954         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25955         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25956         * math/auto-libm-test-out: Regenerated.
25957         * math/libm-test.inc (acosh_test_data): Add more tests.
25958         (atanh_test_data): Likewise.
25959         (ceil_test_data): Likewise.
25960         (copysign_test_data): Likewise.
25961         * sysdeps/i386/fpu/libm-test-ulps: Update.
25962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25964         * timezone/checktab.awk: Update from tzcode 2013i.
25965         * timezone/private.h: Likewise.
25966         * timezone/scheck.c: Likewise.
25967         * timezone/tzfile.h: Likewise.
25968         * timezone/tzselect.ksh: Likewise.
25969         * timezone/zdump.c: Likewise.
25970         * timezone/zic.c: Likewise.
25972         * math/auto-libm-test-in: Add tests of cpow.
25973         * math/auto-libm-test-out: Regenerated.
25974         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25975         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25976         mpc_cc_c.
25977         (func_calc_desc): Add mpc_cc_c union field.
25978         (test_functions): Add cpow.
25979         (special_fill_2pi): New function.
25980         (special_real_inputs): Add 2pi.
25981         (calc_generic_results): Handle mpc_cc_c.
25982         * sysdeps/i386/fpu/libm-test-ulps: Update.
25983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25985         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25986         csqrt, ctan and ctanh.
25987         * math/auto-libm-test-out: Regenerated.
25988         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25989         (TEST_COND_x86): Likewise.
25990         (ccos_test_data): Use AUTO_TESTS_c_c.
25991         (ccosh_test_data): Likewise.
25992         (cexp_test_data): Likewise.
25993         (clog_test_data): Likewise.
25994         (csqrt_test_data): Likewise.
25995         (ctan_test_data): Likewise.
25996         (ctan_tonearest_test_data): Likewise.
25997         (ctan_towardzero_test_data): Likewise.
25998         (ctan_downward_test_data): Likewise.
25999         (ctan_upward_test_data): Likewise.
26000         (ctanh_test_data): Likewise.
26001         (ctanh_tonearest_test_data): Likewise.
26002         (ctanh_towardzero_test_data): Likewise.
26003         (ctanh_downward_test_data): Likewise.
26004         (ctanh_upward_test_data): Likewise.
26005         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26006         mpc_c_c.
26007         (func_calc_desc): Add mpc_c_c union field.
26008         (FUNC_mpc_c_c): New macro.
26009         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26010         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26011         ctanh.
26012         (special_fill_min_subnorm_p120): New function.
26013         (special_real_inputs): Add min_subnorm_p120.
26014         (calc_generic_results): Handle mpc_c_c.
26015         * sysdeps/i386/fpu/libm-test-ulps: Update.
26016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26018 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26020         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26021         (do_sin_slow): New functions.
26022         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26023         (cslow2, csloww1, csloww2): Use the new functions.
26025         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26026         Use M to change sign of result instead of X.  Assume X is
26027         positive.
26028         (csloww1): Likewise.
26029         (__sin): Adjust.
26030         (__cos): Adjust.
26032         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26033         arguments A and DA.
26034         (__sin): Adjust.
26035         (__cos): Likewise.
26037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26038         (__cos): Likewise.
26039         (sloww1): Don't adjust sign of DX.
26040         (csloww1): Likewise.
26041         (sloww2): Use X directly and don't adjust sign of DX.
26042         (csloww2): Likewise.
26044 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26046         * math/auto-libm-test-in: Add tests of cabs and carg.
26047         * math/auto-libm-test-out: Regenerated.
26048         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26049         (carg_test_data): Likewise.
26050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26051         mpc_c_f.
26052         (func_calc_desc): Add mpc_c_f union field.
26053         (test_functions): Add cabs and carg.
26054         (calc_generic_results): Handle mpc_c_f.
26056         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26057         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26058         as a macro and a compat symbol.
26059         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26060         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26061         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26062         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26063         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26064         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26065         not use .hidden.
26066         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26067         Likewise.
26068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26069         Likewise.
26070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26071         Likewise.
26072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26073         Likewise.
26074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26075         Likewise.
26076         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26077         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26078         from GLIBC_2.3.2.
26080 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26084 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26086         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26087         trailing whitespace removed.
26088         * scripts/config.guess: Update to version 2013-11-29.
26089         * scripts/config.sub: Update to version 2013-10-01.
26091         * math/auto-libm-test-in: Add tests of sincos.
26092         * math/auto-libm-test-out: Regenerated.
26093         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26094         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26095         mpfr_f_11.
26096         (func_calc_desc): Add mpfr_f_11 union field.
26097         (test_functions): Add sincos.
26098         (calc_generic_results): Handle mpfr_f_11.
26099         * sysdeps/i386/fpu/libm-test-ulps: Update.
26100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102 2013-12-19  Andreas Schwab  <schwab@suse.de>
26104         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26105         CALL_MCOUNT.
26106         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26107         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26108         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26110 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26112         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26113         * sysdeps/i386/fpu/libm-test-ulps: Update.
26114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26116         [BZ #16293]
26117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26118         round-to-nearest mode when using frndint.
26119         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26120         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26122         Likewise.
26123         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26124         sinh test to fail.
26125         * math/auto-libm-test-out: Regenerated.
26126         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26127         (TEST_COND_x86): Likewise.
26128         (expm1_tonearest_test_data): New array.
26129         (expm1_test_tonearest): New function.
26130         (expm1_towardzero_test_data): New array.
26131         (expm1_test_towardzero): New function.
26132         (expm1_downward_test_data): New array.
26133         (expm1_test_downward): New function.
26134         (expm1_upward_test_data): New array.
26135         (expm1_test_upward): New function.
26136         (main): Run the new test functions.
26137         * sysdeps/i386/fpu/libm-test-ulps: Update.
26138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26140         * include/features.h: Update comment documenting feature test
26141         macros.  Mention _DEFAULT_SOURCE in comment.
26142         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26143         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26144         _BSD_SOURCE and _SVID_SOURCE.
26145         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26146         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26147         !_SVID_SOURCE]: Likewise.
26148         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26149         (__USE_POSIX_IMPLICITLY): Define.
26150         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26151         (_POSIX_SOURCE): Undefine and redefine.
26152         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26153         (_POSIX_C_SOURCE): Likewise.
26154         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26155         (Feature Test Macros): Update documentation of default features.
26157 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26159         * benchtests/Makefile: Add bench-strtok.
26160         * benchtests/bench-strtok.c: New file: strtok benchtest.
26162 2013-12-19  Allan McRae  <allan@archlinux.org>
26164         * manual/install.texi: Suppress menu for plain text output.
26165         * INSTALL: Regenerated.
26167 2013-12-18  Brooks Moses  <bmoses@google.com>
26169         [BZ #15846]
26170         * misc/getauxval.c: Include errno.h.
26171         (__getauxval): Set errno to ENOENT if the requested type is not
26172         found.
26173         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26174         don't declare with __attribute_const__.
26175         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26176         * manual/startup.texi: Document that getauxval sets errno.
26178 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26180         * math/auto-libm-test-in: Add tests of jn and yn.
26181         * math/auto-libm-test-out: Regenerated.
26182         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26183         (yn_test_data): Likewise.
26184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26185         mpfr_if_f.
26186         (func_calc_desc): Add mpfr_if_f union field.
26187         (FUNC_mpfr_if_f): New macro.
26188         (test_functions): Add jn and yn.
26189         (calc_generic_results): Assert type of second input for
26190         mpfr_ff_f.  Handle mpfr_if_f.
26191         (output_for_one_input_case): Disable all checking for arguments
26192         fitting floating-point types in case of an integer argument.
26193         * sysdeps/i386/fpu/libm-test-ulps: Update.
26194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26197         Don't expect fegetround reference in libm.so.
26199 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26201         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26202         $(config-cflags-nofma).
26204 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26206         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26207         * math/auto-libm-test-out: Regenerated.
26209         [BZ #16338]
26210         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26211         to determine exponent and adjust argument to have exponent of -1.
26212         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26213         log2.
26214         * math/auto-libm-test-out: Regenerated.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26218 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26220         * manual/probes.texi: Remove cases when per-thread arenas are
26221         disabled.
26223 2013-12-18  Andreas Schwab  <schwab@suse.de>
26225         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26226         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26227         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26228         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26229         * sysdeps/i386/i686/multiarch/Makefile: Update.
26230         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26232 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26234         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26235         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26237 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26239         [BZ #15968]
26240         Support TZ transition times < 00:00:00.
26241         This is needed for version-3 tz-format files; it supports time
26242         stamps past 2037 for America/Godthab (the only entry in the tz
26243         database for which this change is relevant).
26244         * manual/time.texi (TZ Variable): Document transition times
26245         from -167:59:59 through -00:00:01.
26246         * time/tzset.c (tz_rule): Time of day is now signed.
26247         (__tzset_parse_tz): Parse negative time of day.
26249         Document TZ transition times >= 25:00:00.
26250         * manual/time.texi (TZ Variable): Document transition times from
26251         25:00:00 through 167:59:59.  These are already supported, and this
26252         support will help with version-3 tz-format files.
26254         * manual/time.texi (TZ Variable): Modernize North America example
26255         to reflect current (i.e., 2007-and-later) daylight saving rules.
26257         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26259 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26261         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26262         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26265         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26266         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26267         * sysdeps/unix/bsd/clock.c: Likewise.
26268         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26269         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26270         * sysdeps/unix/bsd/init-posix.c: Likewise.
26271         * sysdeps/unix/bsd/poll.c: Likewise.
26272         * sysdeps/unix/bsd/ptsname.c: Likewise.
26273         * sysdeps/unix/bsd/seekdir.c: Likewise.
26274         * sysdeps/unix/bsd/setegid.c: Likewise.
26275         * sysdeps/unix/bsd/seteuid.c: Likewise.
26276         * sysdeps/unix/bsd/setgid.c: Likewise.
26277         * sysdeps/unix/bsd/setrgid.c: Likewise.
26278         * sysdeps/unix/bsd/setruid.c: Likewise.
26279         * sysdeps/unix/bsd/setsid.c: Likewise.
26280         * sysdeps/unix/bsd/setuid.c: Likewise.
26281         * sysdeps/unix/bsd/sigaction.c: Likewise.
26282         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26283         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26284         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26285         * sysdeps/unix/bsd/telldir.c: Likewise.
26286         * sysdeps/unix/bsd/times.c: Likewise.
26287         * sysdeps/unix/bsd/usleep.c: Likewise.
26289         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26290         ($(objpfx)libbsd-compat.a): Remove rule.
26292         * include/features.h (__FAVOR_BSD): Do not define.
26293         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26294         features conflicting with POSIX.
26295         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26296         (_BSD_SOURCE): Remove description of not being a subset of other
26297         feature test macros.
26298         * manual/job.texi (getpgrp): Do not document BSD version.
26299         (getpgid): Do not document by reference to BSD getpgrp.
26300         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26301         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26302         * signal/signal.h [__FAVOR_BSD]: Likewise.
26303         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26304         instead of making contents conditional on [__FAVOR_BSD].
26305         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26307 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26311 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26313         [BZ #16314]
26314         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26315         values below 2**-450, not 2**-500.
26316         * math/auto-libm-test-in: Don't allow spurious underflow from
26317         hypot.
26318         * math/auto-libm-test-out: Regenerated.
26320         [BZ #16316]
26321         [BZ #16330]
26322         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26323         values of ha and hb and sort them after adjusting subnormal
26324         arguments.
26325         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26326         Likewise.
26327         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26328         values of ea and eb and sort them after adjusting subnormal
26329         arguments.
26330         * math/auto-libm-test-in: Do not expect some hypot tests of
26331         subnormals to fail.  Add more hypot tests.
26332         * math/auto-libm-test-out: Regenerated.
26334 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26336         [BZ #13304]
26337         * sysdeps/sh/s_fma.c: New file.
26338         * sysdeps/sh/s_fmaf.c: New file.
26339         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26340         version.
26341         * sysdeps/sh/Implies: Add sh/soft-fp.
26343 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26345         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26346         level of indirection to members `objname', `errstring', `malloced'.
26347         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26348         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26349         it as the __longjmp argument (just pass 1 instead).
26350         (_dl_catch_error): Initialize C with argument pointers and address of
26351         volatile local ERRCODE rather than copying values out of C at return.
26353 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26355         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26356         * math/auto-libm-test-out: Regenerated.
26357         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26358         (hypot_test_data): Likewise.
26359         (pow_test_data): Likewise.
26360         (pow_tonearest_test_data): Likewise.
26361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26362         mpfr_ff_f.
26363         (func_calc_desc): Add mpfr_ff_f union field.
26364         (FUNC_mpfr_ff_f): New macro.
26365         (test_functions): Add atan2, hypot and pow.
26366         (special_fill_min): New function.
26367         (special_fill_minus_min): Likewise.
26368         (special_fill_min_subnorm): Likewise.
26369         (special_fill_minus_min_subnorm): Likewise.
26370         (special_real_inputs): Add min, -min, min_subnorm and
26371         -min_subnorm.
26372         (calc_generic_results): Handle mpfr_ff_f.
26373         * sysdeps/i386/fpu/libm-test-ulps: Update.
26374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376 2013-12-16  Will Newton  <will.newton@linaro.org>
26378         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26379         (Aligned Memory Blocks): Add documentation for aligned_alloc
26380         and suggest it as an alternative to posix_memalign.
26381         (Hooks for Malloc): Document __memalign_hook is also called
26382         for aligned_alloc.  (Summary of Malloc): Add summary for
26383         aligned alloc.  Document __memalign_hook is also called
26384         for aligned_alloc.
26386 2013-12-16  Will Newton  <will.newton@linaro.org>
26388         * manual/memory.texi (Malloc Examples): Clarify default
26389         alignment documentation.  Suggest posix_memalign rather
26390         than memalign or valloc.
26391         (Aligned Memory Blocks): Remove suggestion to use memalign
26392         or valloc.  Remove obsolete comment about BSD.
26393         Document memalign errno values and mark the function obsolete.
26394         Document posix_memalign returned error codes.  Mark valloc
26395         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26396         called for posix_memalign and valloc.
26397         (Summary of Malloc): Add posix_memalign to function summary.
26398         __memalign_hook is also called for posix_memalign and valloc.
26400 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26402         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26403         TAYLOR_SIN.
26404         (__sin): Adjust.
26405         (__cos): Likewise.
26406         (sloww): Use mynumber union.  Expand ternary operator into
26407         if-else statements.
26408         (cslow): use mynumber union.
26410 2013-12-16  Allan McRae  <allan@archlinux.org>
26412         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26413         * configure: Regenerated.
26415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26417         [BZ #14120]
26418         * configure.ac: Added --enable-maintainer-mode. Check for
26419         autoconf when enabled.
26420         * configure: Regenerated.
26422         * nscd/nscd.service: New file.
26423         * nscd/nscd.tmpfiles: New file.
26425 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26427         [BZ #12100]
26428         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26429         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26430         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26431         (strstr): Add __strstr_sse2_unaligned ifunc.
26432         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26433         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26434         (strcasestr): Remove __strcasestr_sse42 ifunc.
26435         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26439 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26441         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26442         * sysdeps/sh/bits/fenv.h: ... here.
26443         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26445 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26447         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26450         hypotf multiarch implementations.
26451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26454         multiarch hypot for PPC64.
26455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26458         multiarch hypotf for PPC64.
26460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26461         modff multiarch implementations.
26462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26465         multiarch modf for PPC64.
26466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26469         multiarch modff for PPC64.
26471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26472         and logl multiarch implementations.
26473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26476         multiarch logb for PPC64.
26477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26480         multiarch logb for PPC64.
26481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26484         multiarch logb for PPC64.
26486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26487         isinff multiarch implementation.
26488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26489         file.
26490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26492         multiarch isinf for PPC64.
26493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26494         file.
26495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26496         multiarch isinff for PPC64.
26498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26499         finitef multiarch implementation.
26500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26501         file.
26502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26504         multiarch finite for PPC64.
26505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26506         file.
26507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26508         multiarch finitef for PPC64.
26510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26511         lrint multiarch implementation.
26512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26513         file.
26514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26516         multiarch llrint for PPC64.
26517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26518         multiarch lrint for PPC64.
26520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26521         copysignf multiarch implementation.
26522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26523         file.
26524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26525         file.
26526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26527         multiarch copysign for PPC64.
26528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26529         multiarch copysignf for PPC64.
26531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26532         multiarch implementation.
26533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26534         file.
26535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26536         file.
26537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26538         file.
26539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26540         file.
26541         multiarch llround for PPC64.
26542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26543         multiarch trunc for PPC64.
26544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26545         multiarch truncf for PPC64.
26547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26548         multiarch implementation.
26549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26550         file.
26551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26552         file.
26553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26554         file.
26555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26556         file.
26557         multiarch llround for PPC64.
26558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26559         multiarch round for PPC64.
26560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26561         multiarch roundf for PPC64.
26563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26564         multiarch implementation.
26565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26566         file.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26568         file.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26570         file.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26572         file.
26573         multiarch llround for PPC64.
26574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26575         multiarch floor for PPC64.
26576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26577         multiarch floorf for PPC64.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26580         multiarch implementation.
26581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26582         file.
26583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26584         file.
26585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26586         file.
26587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26588         file.
26589         multiarch llround for PPC64.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26591         multiarch ceil for PPC64.
26592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26593         multiarch ceilf for PPC64.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26596         multiarch implementation.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26598         file.
26599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26600         file.
26601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26602         file.
26603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26604         multiarch llround for PPC64.
26605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26606         multiarch lround for PPC64.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26609         multiarch implementation.
26610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26613         file.
26614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26617         multiarch isnan for PPC64.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26619         multiarch isnanf for PPC64.
26621         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26622         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26623         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26624         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26625         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26628         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26629         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26634         multiarch implementations.
26635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26636         (__libc_ifunc_impl_list): Likewise.
26637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26640         multiarch stpcpy for PPC64.
26642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26643         multiarch implementations.
26644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26645         (__libc_ifunc_impl_list): Likewise.
26646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26648         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26649         multiarch strcpy for PPC64.
26651         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26652         redefine function name.
26653         (_wordcopy_fwd_dest_aligned): Likewise.
26654         (_wordcopy_bwd_aligned): Likewise.
26655         (_wordcopy_bwd_dest_aligned): Likewise.
26656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26657         multiarch implementations.
26658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26659         (__libc_ifunc_impl_list): Likewise.
26660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26664         multiarch wcscpy for PPC64.
26666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26667         multiarch implementations.
26668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26669         (__libc_ifunc_impl_list): Likewise.
26670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26674         multiarch wcscpy for PPC64.
26676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26677         multiarch implementations.
26678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26679         (__libc_ifunc_impl_list): Likewise.
26680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26684         multiarch wcsrchr for PPC64.
26686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26687         multiarch implementations.
26688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26689         (__libc_ifunc_impl_list): Likewise.
26690         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26691         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26692         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26693         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26694         multiarch wcschr for PPC64.
26696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26697         multiarch implementations.
26698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26699         (__libc_ifunc_impl_list): Likewise.
26700         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26702         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26703         multiarch strchrnul for PPC64.
26705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26706         implementations.
26707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26708         (__libc_ifunc_impl_list): Likewise.
26709         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26710         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26711         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26712         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26713         strchr for PPC64.
26715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26716         implementations.
26717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26718         (__libc_ifunc_impl_list): Likewise.
26719         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26722         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26723         strncmp for PPC64.
26725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26726         multiarch implementations.
26727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26728         (__libc_ifunc_impl_list): Likewise.
26729         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26730         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26731         strncasecmp for PPC64.
26732         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26733         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26734         multiarch strncasecmp_l for PPC64.
26736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26737         multiarch implementations.
26738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26739         (__libc_ifunc_impl_list): Likewise.
26740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26742         multiarch strcasecmp for PPC64.
26743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26744         file.
26745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26746         multiarch strcasecmp_l for PPC64.
26748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26749         implementations.
26750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26751         (__libc_ifunc_impl_list): Likewise.
26752         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26754         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26755         strnlen for PPC64.
26757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26758         implementations.
26759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26760         (__libc_ifunc_impl_list): Likewise.
26761         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26762         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26763         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26764         strlen for PPC64.
26766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26767         implementations.
26768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26769         (__libc_ifunc_impl_list): Likewise.
26770         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26772         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26773         rawmemrchr for PPC64.
26775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26776         implementation.
26777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26778         (__libc_ifunc_impl_list): Likewise.
26779         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26780         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26781         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26782         memrchr for PPC64.
26784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26785         implementation.
26786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26787         (__libc_ifunc_impl_list): Likewise.
26788         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26789         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26790         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26791         memchr for PPC64.
26793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26794         implementation.
26795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26796         (__libc_ifunc_impl_list): Likewise.
26797         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26800         mempcpy for PPC64.
26802         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26803         avoid cretion of __bzero symbol.
26804         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26805         Likewise.
26806         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26807         Likewise.
26808         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26809         Likewise.
26810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26811         multiarch implementations.
26812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26813         (__libc_ifunc_impl_list): Likewise.
26814         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26817         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26818         bzero for PPC32.
26819         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26820         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26821         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26822         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26823         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26824         memset for PPC64.
26825         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26827         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26829         implementations.
26830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26831         (__libc_ifunc_impl_list): Likewise.
26832         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26833         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26834         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26835         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26836         memcmp for PPC64.
26838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26839         multiarch for POWER/PPC64.
26840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26841         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26848         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26849         memcpy for PPC64.
26851         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26852         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26853         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26854         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26855         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26856         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26857         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26858         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26859         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26860         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26861         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26862         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26863         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26864         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26865         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26874 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26876         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26878 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880         * benchtests/Makefile (bench): Add exp2 and log2.
26881         (LDLIBS-bench-exp2): Add -lm.
26882         (LDLIBS-bench-log2): Likewise.
26883         * benchtests/exp2-inputs: New inputs file.
26884         * benchtests/log2-inputs: New inputs file.
26885         * benchtests/log-inputs: Add new inputs.
26886         * benchtests/tan-inputs: Likewise.
26888 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26890         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26891         definition...
26892         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26893         (csloww2): ... from here.
26895         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26896         instead of structures.
26897         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26898         (POLYNOMIAL): Likewise.
26899         (TAYLOR_SLOW): Likewise.
26900         (__sin): Likewise.
26901         (__cos): Likewise.
26902         (slow1): Likewise.
26903         (slow2): Likewise.
26904         (sloww): Likewise.
26905         (sloww1); Likewise.
26906         (sloww2): Likewise.
26907         (bsloww1): Likewise.
26908         (bsloww2): Likewise.
26909         (cslow2): Likewise.
26910         (csloww): Likewise.
26911         (csloww1): Likewise.
26912         (csloww2): Likewise.
26914 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26916         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26917         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26918         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26919         * malloc/hooks.c (realloc_check): Likewise.
26921         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26922         * malloc/arena.c: Remove PER_THREAD conditional.
26923         [!PER_THREAD]: Remove code.
26924         (ptmalloc_unlock_all2): Likewise.
26925         (ptmalloc_init): Likewise.
26926         (_int_new_arena): Likewise.
26927         (arena_get2): Likewise.
26928         * malloc/hooks.c (__malloc_get_state): Likewise.
26929         (__malloc_set_state): Likewise.
26930         * malloc/malloc.c: Likewise.
26931         (struct malloc_state): Likewise.
26932         (struct malloc_par): Likewise.
26933         (__libc_realloc): Likewise.
26934         (__libc_mallopt): Likewise.
26936 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26938         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26940 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26942         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26943         macro to a function.  Check for zero perturb_byte.
26944         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26946         * malloc/malloc.c: (force_reg): Remove.
26947         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26948         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26949         force_reg by atomic_forced_read.
26950         * malloc/arena.c (ptmalloc_init): Likewise.
26951         * malloc/hooks.c (top_check): Likewise.
26953 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26957 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26961 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26963         * math/auto-libm-test-in: Add tests of lgamma.
26964         * math/auto-libm-test-out: Regenerated.
26965         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26966         (M_LOG_2_SQRT_PIl): Likewise.
26967         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26969         mpfr_f_f1.
26970         (func_calc_desc): Add mpfr_f_f1 union field.
26971         (ARGS1): New macro.
26972         (ARGS2): Likewise.
26973         (ARGS3): Likewise.
26974         (ARGS4): Likewise.
26975         (RET1): Likewise.
26976         (RET2): Likewise.
26977         (CALC): Likewise.
26978         (FUNC): Likewise.
26979         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26980         (test_functions): Add lgamma.
26981         (calc_generic_results): Handle mpfr_f_f1.
26982         * sysdeps/i386/fpu/libm-test-ulps: Update.
26983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26987         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26988         __mpn_add_n for PowerPC64/POWER7.
26989         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26990         __mpn_sub_n for PowerPC64/POWER7.
26992         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26993         __mpn_addmul_1 for PowerPC64.
26994         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26995         __mpn_submul_1 for PowerPC64.
26996         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26997         for PowerPC64.
26998         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26999         for PowerPC64.
27001 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27003         [BZ #15089]
27004         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27008         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27010         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27011         add multiarch folders.
27012         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27013         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27014         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27015         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27016         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27017         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27018         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27019         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27020         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27021         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27022         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27031         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27033         New file.
27034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27035         New file.
27036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27037         multiarch __ieee754_hypot for PowerPC32.
27038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27039         New file.
27040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27041         New file.
27042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27043         multiarch __ieee754_hypotf for PowerPC32.
27045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27046         long_double_symbol only if __logbl is defined.
27047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27048         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27050         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27052         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27054         path for implementation.
27055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27058         logb, and logbl multiarch implementations for PowerPC32.
27059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27060         file.
27061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27062         file.
27063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27064         multiarch logb for PowerPC32.
27065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27066         file.
27067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27068         file.
27069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27070         multiarch logbf for PowerPC32.
27071         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27073         file.
27074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27075         multiarch logbl implementation for PowerPC32.
27077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27078         and modff multiarch implementations.
27079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27080         New file.
27081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27082         New file.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27084         multiarch modf for PowerPC32.
27085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27086         New file.
27087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27088         New file.
27089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27090         multiarch modff for PowerPC32.
27092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27093         and lrintf multiarch implementations.
27094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27095         New file.
27096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27097         New file.
27098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27099         multiarch lrint for PowerPC32.
27100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27101         file: multiarch lrintf for PowerPC32.
27103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27104         and lroundf multiarch implementations.
27105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27106         New file.
27107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27108         New file.
27109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27110         New file.
27111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27112         multiarch lround for PowerPC32.
27113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27114         file: multiarch lroundf for PowerPC32.
27116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27117         copysign and copysignf multiarch implementations.
27118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27119         New file.
27120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27121         New file.
27122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27123         file: multiarch copysign for PowerPC32.
27124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27125         file: multiarch copysignf for PowerPC32.
27127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27128         and truncf multiarch implementations.
27129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27130         New file.
27131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27132         file.
27133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27134         multiarch trunc for PowerPC32.
27135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27136         New file.
27137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27138         New file.
27139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27140         multiarch truncf for PowerPC32.
27142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27143         and roundf multiarch implementations.
27144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27145         New file.
27146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27147         file.
27148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27149         multiarch round for PowerPC32.
27150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27151         New file.
27152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27153         New file.
27154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27155         multiarch roundf for PowerPC32.
27157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27158         and floorf multiarch implementations.
27159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27160         New file.
27161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27162         file.
27163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27164         multiarch floor for PowerPC32.
27165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27166         New file.
27167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27168         New file.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27170         multiarch floorf for PowerPC32.
27172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27173         and ceilf multiarch implementations.
27174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27175         New file.
27176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27177         file.
27178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27179         multiarch ceil for PowerPC32.
27180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27181         New file.
27182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27183         file.
27184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27185         multiarch ceilf for PowerPC32.
27187         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27188         is defined.
27189         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27190         FINITEF is defined.
27191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27192         and finitef multiarch implementations.
27193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27194         New file.
27195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27196         file.
27197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27198         multiarch finite for PowerPC32.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27200         New file.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27202         file: multiarch finitef for PowerPC32.
27204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27205         and isinff multiarch implementations.
27206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27207         file.
27208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27209         file.
27210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27211         multiarch isinf for PowerPC32.
27212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27213         New file.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27215         multiarch isinff for PowerPC32.
27217         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27218         alias when __isnan is defined.
27219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27220         and isnanf multiarch implementations.
27221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27222         file.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27224         file.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27226         file.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27228         file.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27230         multiarch isnan for PowerPC32.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27232         New file.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27234         New file.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27236         multiarch isnanf for PowerPC32.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27239         and sqrtf multiarch implementations.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27241         file.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27243         file.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27245         multiarch sqrt for PowerPC32.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27247         file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27249         file.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27251         multiarch sqrtf for PowerPC32.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27254         and llroundf multiarch implementations.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27256         New file.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27258         New file.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27260         New file.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27262         file: multiarch llround for PowerPC32.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27264         file: multiarch llroundf for PowerPC32.
27266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27267         multiarch PowerPC32 fpu implementations.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27269         New file.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27271         New file.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27273         multiarch llrint for PowerPC32.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27275         New file.
27276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27277         New file.
27278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27279         file.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27284         file.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27286         file.
27287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27288         file.
27289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27290         multiarch wordcopy for PPC32.
27291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27292         wordcopy objects.
27293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27294         (__libc_ifunc_impl_list): Likewise.
27295         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27296         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27297         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27298         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27300         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27302         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27304         file.
27305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27306         file.
27307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27308         file.
27309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27310         multiarch wcscpy for PPC32.
27311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27312         multiarch objects.
27313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27314         (__libc_ifunc_impl_list): Likewise.
27315         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27316         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27317         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27318         sysdeps/powerpc/power6/wcscpy.c.
27320         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27322         file.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27324         file.
27325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27326         file.
27327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27328         multiarch wcsrchr for PPC32.
27329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27330         multiarch objects.
27331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27332         (__libc_ifunc_impl_list): Likewise.
27333         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27334         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27335         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27336         sysdeps/powerpc/power6/wcsrchr.c.
27338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27339         file.
27340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27341         file.
27342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27344         multiarch wcschr for PPc32.
27345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27346         multiarch objects.
27347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27348         (__libc_ifunc_impl_list): Likewise.
27349         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27350         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27351         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27352         sysdeps/powerpc/power6/wcschr.c.
27354         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27356         file.
27357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27358         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27359         file: multiarch strchr for PPC32.
27360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27361         multiarch objects.
27362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27363         (__libc_ifunc_impl_list): Likewise.
27365         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27366         name.
27367         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27368         file.
27369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27370         file.
27371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27372         multiarch strchrnul for PPC32.
27373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27374         multiarch objects.
27375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27376         (__libc_ifunc_impl_list): Likewise.
27378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27379         file.
27380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27381         multiarch strncasecmp for PPC32.
27382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27383         file.
27384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27385         multiarch strncasecmp_l for PPC32.
27386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27387         strncasecmp multiarch objects.
27388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27389         (__libc_ifunc_impl_list): Likewise.
27391         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27392         file.
27393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27394         multiarch strncasecmp for PPC32.
27395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27396         New file.
27397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27398         multiarch strcasecmp_l for PPC32.
27399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27400         multiarch objects.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27402         (__libc_ifunc_impl_list): Likewise.
27404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27405         file.
27406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27407         file.
27408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27409         multiarch strncmp for PPC32.
27410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27411         multiarch objects.
27412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27413         (__libc_ifunc_impl_list): Likewise.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27416         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27417         file.
27418         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27421         multiarch objects.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27423         (__libc_ifunc_impl_list): Likewise.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27426         file.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27428         file.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27431         multiarch objects.
27432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27433         (__libc_ifunc_impl_list): Likewise.
27435         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27436         file.
27437         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27438         file.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27440         multiarch rawmemchr for PPC32.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27442         multiarch objects.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27444         (__libc_ifunc_impl_list): Likewise.
27446         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27447         file.
27448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27449         file.
27450         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27451         file: memrchr multiarch for PPC32.
27452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27453         multiarch objects.
27454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27455         (__libc_ifunc_impl_list): Likewise.
27457         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27459         file.
27460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27462         multiarch memchr for PPC32.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27464         multiarch objects.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27466         (__libc_ifunc_impl_list): Likewise.
27468         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27470         file.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27472         file.
27473         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27474         file: multiarch mempcpy for PPC32.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27476         multiarch objects.
27477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27478         (__libc_ifunc_impl_list): Likewise.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27484         multiarch bzero for PPC32.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27486         file.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27488         file.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27490         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27491         file: multiarch memset for PPC32.
27492         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27494         memset multiarch objects.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27496         (__libc_ifunc_impl_list): Likewise.
27498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27499         file.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27502         memcmp for PPC32.
27503         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27505         multiarch objects.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27507         (__libc_ifunc_impl_list): Likewise.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27512         file.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27514         file.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27516         file.
27517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27518         multiarch memcpy for PPC32.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27520         multiarch objects.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27522         (__libc_ifunc_impl_list): Likewise.
27524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27525         support multiarch for POWER/PPC32.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27527         Likewise.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27530         Implies file to make multiarch folder appers before the fpu and
27531         default folder for power4 configuration.
27533 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27535         * scripts/bench.pl: Append volatile keyword to type.
27537 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27539         * sysdeps/sh/sotruss-lib.c: New file.
27540         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27542 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27546 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27548         [BZ #6810]
27549         * math/w_tgamma.c: Include <errno.h>.
27550         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27551         * math/w_tgammaf.c: Include <errno.h>.
27552         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27553         * math/w_tgammal.c: Include <errno.h>.
27554         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27555         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27556         underflow.  Add more tgamma tests.
27557         * math/auto-libm-test-out: Regenerated.
27558         * sysdeps/i386/fpu/libm-test-ulps: Update.
27559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27561         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27562         sin, sinh, tan, tanh, tgamma, y0 and y1.
27563         * math/auto-libm-test-out: Regenerated.
27564         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27565         (TEST_COND_x86): Likewise.
27566         (M_E2l): Remove macro.
27567         (M_E3l): Likewise.
27568         (M_2_SQRT_PIl): Likewise.
27569         (M_SQRT_PIl): Likewise.
27570         (M_1_DIV_El): Likewise.
27571         (log_test_data): Use AUTO_TESTS_f_f.
27572         (log10_test_data): Likewise.
27573         (log1p_test_data): Likewise.
27574         (log2_test_data): Likewise.
27575         (sin_test_data): Likewise.
27576         (sin_tonearest_test_data): Likewise.
27577         (sin_towardzero_test_data): Likewise.
27578         (sin_downward_test_data): Likewise.
27579         (sin_upward_test_data): Likewise.
27580         (sinh_test_data): Likewise.
27581         (sinh_tonearest_test_data): Likewise.
27582         (sinh_towardzero_test_data): Likewise.
27583         (sinh_downward_test_data): Likewise.
27584         (sinh_upward_test_data): Likewise.
27585         (tan_test_data): Likewise.
27586         (tan_tonearest_test_data): Likewise.
27587         (tan_towardzero_test_data): Likewise.
27588         (tan_downward_test_data): Likewise.
27589         (tan_upward_test_data): Likewise.
27590         (tanh_test_data): Likewise.
27591         (tgamma_test_data): Likewise.
27592         (y0_test_data): Likewise.
27593         (y1_test_data): Likewise.
27594         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27595         (special_real_inputs): Add pi/4.
27596         * sysdeps/i386/fpu/libm-test-ulps: Update.
27597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27599 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27601         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27602         "longjmp_target" static probes.
27603         (__longjmp): Rename to __longjmp_symbol.
27604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27605         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27606         on which longjmp to generate.
27607         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27608         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27609         probe.
27610         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27611         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27612         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27614         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27617         __longjmp_symbol based on which __longjmp to generate.
27618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27619         probe.
27620         (setjmp): Rename to setjmp_symbol.
27621         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27622         (_setjmp): Rename to _setjmp_symbol.
27623         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27624         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27625         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27626         which setjmp to generate.
27627         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27628         "longjmp_target" static probes.
27630 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632         * benchtests/README: Add note about output arguments.
27633         * benchtests/bench-sincos.c: Remove file.
27634         * benchtests/sincos-inputs: New file.
27635         * scripts/bench.pl: Identify output arguments and define
27636         static variables for them.
27638         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27640         [BZ #15941]
27641         * Makefile (INSTALL): Add install-plain.texi as the primary
27642         dependency.
27643         * manual/install-plain.texi: New file.
27644         * manual/install.texi: Include node directive only for
27645         non-plaintext output.
27647 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27649         * stdlib/longlong.h: Update from GCC.
27651         [BZ #6807]
27652         [BZ #15901]
27653         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27654         * math/w_j0f.c (y0f): Likewise.
27655         * math/w_j0l.c (__y0l): Likewise.
27656         * math/w_j1.c (y1): Likewise.
27657         * math/w_j1f.c (y1f): Likewise.
27658         * math/w_j1l.c (__y1l): Likewise
27659         * math/w_jn.c (yn): Likewise.
27660         * math/w_jnf.c (ynf): Likewise.
27661         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27662         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27663         value for Bessel function domain errors outside _SVID_ mode.
27664         Adjust sign of return value for yn (negative integer, 0).
27665         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27666         by zero in return for negative x and set sign appropriately for
27667         negative n.
27668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27669         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27670         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27671         expectations in error cases.
27672         (y1_test_data): Likewise.
27673         (yn_test_data): Likewise.
27674         * sysdeps/i386/fpu/libm-test-ulps: Update.
27675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27677 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27679         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27680         "64" to "64-v1".  Add "64-v2".
27681         (abi-64-options): Rename to ...
27682         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27683         (abi-64-condition): Rename to ...
27684         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27685         (abi-64-ld-soname): Rename to ...
27686         (abi-64-v1-ld-soname): ... this.
27687         (abi-64-v2-options): Define.
27688         (abi-64-v2-condition): Likewise.
27689         (abi-64-v2-ld-soname): Likewise.
27690         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27691         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27696 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27697             Alan Modra  <amodra@gmail.com>
27699         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27700         New versions for use with the ELFv2 ABI.
27701         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27702         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27703         declaration.
27704         (struct La_ppc64v2_retval): Likewise.
27705         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27706         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27707         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27708         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27709         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27710         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27711         Do not save or restore CR.
27712         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27713         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27714         return values for ELFv2 ABI.  Fix location of FPR return registers.
27715         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27716         updated values for _CALL_ELF == 2.
27717         (La_regs, La_retval, int_retval): Likewise.
27719 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27721         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27722         (FRAME_MIN_SIZE_PARM): Likewise.
27723         (FRAME_BACKCHAIN): Likewise.
27724         (FRAME_CR_SAVE): Likewise.
27725         (FRAME_LR_SAVE): Likewise.
27726         (FRAME_TOC_SAVE): Likewise.
27727         (FRAME_PARM_SAVE): Likewise.
27728         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27729         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27730         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27731         (call_mcount_parm_offset): New macro.
27732         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27733         (PROF): Use symbolic stack frame offsets.
27734         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27736         Redefine in terms of FRAME_MIN_SIZE.
27737         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27738         (_dl_profile_resolve): Likewise.  Update comment.
27739         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27740         symbols stack frame offsets.
27741         (__sigsetjmp): Likewise.
27742         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27743         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27744         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27745         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27748         (FRAME_BACKCHAIN): Remove.
27749         (FRAME_CR_SAVE): Likewise.
27750         (FRAME_LR_SAVE): Likewise.
27751         (FRAME_COMPILER_DW): Likewise.
27752         (FRAME_LINKER_DW): Likewise.
27753         (FRAME_TOC_SAVE): Likewise.
27754         (FRAME_PARM_SAVE): Likewise.
27755         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27756         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27757         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27759         (CHECK_SP): Use symbolic stack frame offsets.
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27761         zone" instead of caller's parameter save area for temp storage.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27763         Likewise.  Also, use symbolic stack frame offsets.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27765         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27766         our own stack frame instead of the caller's.
27767         (__socket): Use symbolic stack frame offsets.
27769 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27770             Alan Modra  <amodra@gmail.com>
27772         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27773         Define.
27774         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27775         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27776         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27777         New function.
27778         (elf_machine_fixup_plt): Call it.
27779         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27780         reloc arguments.
27781         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27783         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27784         r2 before calling target.
27786 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27787             Alan Modra  <amodra@gmail.com>
27789         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27790         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27791         versions of macros to support ELFv2 ABI.
27792         (LOCALENTRY): New macro.
27793         (ENTRY, EALIGN): Use it.
27794         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27795         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27796         fall through into ENTRY entry point.
27797         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27798         Only define if _CALL_ELF != 2.
27800         (elf_machine_matches_host): Verify ABI version matches.
27801         (RTLD_START): Use LOCALENTRY.
27802         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27803         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27804         (PLT_ENTRY_WORDS): New macro.
27805         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27806         (elf_machine_runtime_setup): Support ELFv2 ABI.
27807         (elf_machine_fixup_plt): Likewise.
27808         (elf_machine_plt_conflict): Likewise.
27809         (resolve_ifunc): Likewise.
27810         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27812         Likewise.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27814         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27816         (makecontext): Support ELFv2 ABI.
27817         * elf/elf.h (EF_PPC64_ABI): Define.
27819 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27821         * sysdeps/powerpc/powerpc64/sysdep.h
27822         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27823         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27824         (ENTRY) [ASSEMBLER]: ... but instead here ...
27825         (EALIGN) [ASSEMBLER]: ... and here.
27826         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27827         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27828         (ENTRY_2) [!ASSEMBLER]: Use it.
27829         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27830         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27831         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27832         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27833         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27835         Use PPC64_LOAD_FUNCPTR.
27837         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27839 2013-12-04  Alan Modra  <amodra@gmail.com>
27841         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27842         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27843         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27844         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27846         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27847         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27848         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27849         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27850         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27851         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27856         (__makecontext): Fix incorrect CFI when backtracing out of
27857         context created via makecontext.
27858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27859         (__setcontext): Fix incorrect CFI during switch to new context.
27860         (__novec_setcontext): Likewise.
27862 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27864         [BZ #4772]
27865         * time/strptime_l.c (__strptime_internal): Allow modifiers
27866         in strptime.
27867         * time/tst-strptime.c (day_tests): Add testcase.
27869 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27871         * scripts/bench.pl: Skip over blank lines.
27873 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27875         [BZ #926]
27876         * manual/time.texi (Calendar Time): Clarify what timezone functions
27877         use.
27879 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27883 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27885         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27886         implementation.
27887         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27888         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27889         * debug/memset_chk.c (__memset_chk): Likewise.
27890         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27891         * debug/strncpy_chk.c: Likewise.
27893 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27895         [BZ #15268]
27896         [BZ #15425]
27897         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27898         (__ieee754_exp): For possibly underflowing results, check size of
27899         result and force underflow exception if required.
27900         * math/auto-libm-test-in: Add more tests of exp.
27901         * math/auto-libm-test-out: Regenerated.
27902         * sysdeps/i386/fpu/libm-test-ulps: Update.
27903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27905         [BZ #16283]
27906         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27907         * math/w_exp2f.c (__exp2f): Likewise.
27908         * math/w_exp2l.c (__exp2l): Likewise.
27909         * math/auto-libm-test-in: Do not allow missing errno on exp2
27910         underflow.
27911         * math/auto-libm-test-out: Regenerated.
27913 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27915         [BZ #16274]
27916         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27917         handle filename validation.
27918         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27919         (do_open): Delete.
27921 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27923         [BZ #6786]
27924         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27925         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27926         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27927         <float.h>.
27928         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27930         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27931         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27932         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27933         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27934         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27935         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27936         Add more erfc tests.
27937         * math/auto-libm-test-out: Regenerated.
27938         * sysdeps/i386/fpu/libm-test-ulps: Update.
27939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27942         exp2, expm1, j0 and j1.
27943         * math/auto-libm-test-out: Regenerated.
27944         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27945         (erfc_test_data): Likewise.
27946         (exp_test_data): Likewise.
27947         (exp_tonearest_test_data): Likewise.
27948         (exp_towardzero_test_data): Likewise.
27949         (exp_downward_test_data): Likewise.
27950         (exp_upward_test_data): Likewise.
27951         (exp10_test_data): Likewise.
27952         (exp2_test_data): Likewise.
27953         (expm1_test_data): Likewise.
27954         (j0_test_data): Likewise.
27955         (j1_test_data): Likewise.
27956         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27957         (input_flag_type): Add flag_xfail_rounding.
27958         (input_flags): Add xfail-rounding.
27959         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27960         (output_for_one_input_case): Handle flag_xfail_rounding.
27961         * sysdeps/i386/fpu/libm-test-ulps: Update.
27962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27964 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27966         [BZ #16289]
27967         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27968         division by 0.
27970 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27972         [BZ #16195]
27973         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27974         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27975         (STAP_PROBE0): New macro.
27976         (STAP_PROBE1): Likewise.
27977         (STAP_PROBE2): Likewise.
27978         (STAP_PROBE3): Likewise.
27979         (STAP_PROBE4): Likewise.
27981 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27983         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27985 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27987         * benchtests/Makefile (bench): Add sqrt.
27988         (LDLIBS-bench-sqrt): New.
27989         * benchtests/sqrt-input: New.
27991 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27993         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27994         (GAIH_EAI): Likewise.
27995         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27996         (gaih_inet): Likewise.
27997         (getaddrinfo): Don't use GAIH_EAI.
27999         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28000         (struct gaih): Remove definition.
28002 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28004         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28005         Use HERRNOP directly.
28007 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28011 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28013         * math/gen-auto-libm-tests.c (test_functions): Add more
28014         single-argument functions.
28015         (special_fill_pi_2): New function.
28016         (special_fill_minus_pi_2): Likewise.
28017         (special_fill_pi_6): Likewise.
28018         (special_fill_minus_pi_6): Likewise.
28019         (special_fill_pi_3): Likewise.
28020         (special_fill_2pi_3): Likewise.
28021         (special_fill_e): Likewise.
28022         (special_fill_1_e): Likewise.
28023         (special_fill_e_minus_1): Likewise.
28024         (special_real_inputs): Add more special inputs.
28025         (output_for_one_input_case): Do not require ERANGE on underflow to
28026         zero if round-to-nearest result does not underflow to zero, unless
28027         exact results required.
28028         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28029         atan, atanh, cbrt, cos and cosh.
28030         * math/auto-libm-test-out: Regenerated.
28031         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28032         (acos_tonearest_test_data): Likewise.
28033         (acos_towardzero_test_data): Likewise.
28034         (acos_downward_test_data): Likewise.
28035         (acos_upward_test_data): Likewise.
28036         (acosh_test_data): Likewise.
28037         (asin_test_data): Likewise.
28038         (asin_tonearest_test_data): Likewise.
28039         (asin_towardzero_test_data): Likewise.
28040         (asin_upward_test_data): Likewise.
28041         (asinh_test_data): Likewise.
28042         (atan_test_data): Likewise.
28043         (atanh_test_data): Likewise.
28044         (cbrt_test_data): Likewise.
28045         (cos_test_data): Likewise.
28046         (cos_tonearest_test_data): Likewise.
28047         (cos_towardzero_test_data): Likewise.
28048         (cos_downward_test_data): Likewise.
28049         (cos_upward_test_data): Likewise.
28050         (cosh_test_data): Likewise.
28051         (cosh_tonearest_test_data): Likewise.
28052         (cosh_towardzero_test_data): Likewise.
28053         (cosh_downward_test_data): Likewise.
28054         (cosh_upward_test_data): Likewise.
28055         * sysdeps/i386/fpu/libm-test-ulps: Update.
28056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28060         [BZ #6787]
28061         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28062         * math/w_exp10f.c (__exp10f): Likewise.
28063         * math/w_exp10l.c (__exp10l): Likewise.
28064         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28065         errno settings in existing tests.
28067         [BZ #14032]
28068         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28069         precision control set to double precision.
28070         * sysdeps/i386/fpu/w_sqrt.c: New file.
28071         * math/auto-libm-test-in: Add more tests.
28072         * math/auto-libm-test-out: Update.
28074         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28075         (sqrt_test_tonearest): New function.
28076         (sqrt_towardzero_test_data): New variable.
28077         (sqrt_test_towardzero): New function.
28078         (sqrt_downward_test_data): New variable.
28079         (sqrt_test_downward): New function.
28080         (sqrt_upward_test_data): New variable.
28081         (sqrt_test_upward): New function.
28082         (main): Call the new functions.
28084         * math/gen-auto-libm-tests.c: New file.
28085         * math/auto-libm-test-in: Likewise.
28086         * math/auto-libm-test-out: New generated file.
28087         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28088         variables.
28089         (%beautify): Add generated representations of zero.
28090         (top level): Set $auto_input and call parse_auto_input.
28091         (beautify): Remove trailing "f" from hex float constants.
28092         (parse_args): Handle XFAIL_TEST.
28093         (convert_condition): New function.
28094         (or_value): Likewise.
28095         (or_cond_value): Likewise.
28096         (generate_testfile): Handle AUTO_TESTS_* lines.
28097         (parse_auto_input): New function.
28098         * math/libm-test.inc (XFAIL_TEST): New macro.
28099         (ERRNO_UNCHANGED): Update value.
28100         (ERRNO_EDOM): Likewise.
28101         (ERRNO_ERANGE): Likewise.
28102         (IGNORE_RESULT): Likewise.
28103         (TEST_COND_flt_32): New macro.
28104         (TEST_COND_dbl_64): Likewise.
28105         (TEST_COND_ldbl_96_intel): Likewise.
28106         (TEST_COND_ldbl_96_m68k): Likewise.
28107         (TEST_COND_ldbl_128): Likewise.
28108         (TEST_COND_ldbl_128ibm): Likewise.
28109         (TEST_COND_long32): Likewise.
28110         (TEST_COND_long64): Likewise.
28111         (TEST_COND_before_rounding): Likewise.
28112         (TEST_COND_after_rounding): Likewise.
28113         (enable_test): Handle XFAIL_TEST flag.
28114         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28115         with finite results.
28116         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28117         auto-libm-test-out.
28119 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28120             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28122         [BZ #16214]
28123         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28124         __tls_get_addr_internal instead of __tls_get_offset in order to
28125         avoid GOT pointer dependency.  Make rtld export
28126         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28127         __tls_get_addr since we are a __tls_get_offset platform.
28128         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28129         GOT pointer being set up before.
28130         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28132 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28134         * manual/math.texi (Errors in Math Functions): Document accuracy
28135         goals.
28137         [BZ #15004]
28138         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28139         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28140         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28141         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28145         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28146         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28147         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28148         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28149         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28150         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28151         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28152         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28153         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28155         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28156         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28157         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28158         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28159         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28160         Likewise.
28161         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28162         Likewise.
28163         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28164         Likewise.
28165         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28166         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28167         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28168         atomic-feupdateenv and flt-rounds.
28169         * sysdeps/powerpc/nofpu/Versions (libc): Add
28170         __atomic_feholdexcept, __atomic_feclearexcept,
28171         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28172         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28173         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28174         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28175         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28176         here.
28177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28178         Update.
28180         * manual/arith.texi (FP Exceptions): Document that exceptions may
28181         not be raised when matherr is used.
28182         (Math Error Reporting): Document overflow in directed rounding
28183         modes.  Document that errno may not be set when finite values are
28184         returned on overflow.  Document intent to set errno on underflow
28185         only for underflow to zero.
28187         [BZ #16271]
28188         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28189         round-to-nearest then adjust result for other rounding modes.
28190         * include/fenv.h (fegetround): Use libm_hidden_proto.
28191         * math/fegetround.c (fegetround): Use libm_hidden_def.
28192         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28193         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28194         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28195         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28196         Likewise.
28197         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28198         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28199         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28200         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28202 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28204         [BZ #16077]
28205         * nss/Versions (libnss_files): Add
28206         _nss_files_gethostbyname3_r.
28207         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28208         New function.
28209         (HOST_DB_LOOKUP): Remove macro.
28210         (_nss_files_gethostbyname_r): Implement function without the
28211         HOST_DB_LOOKUP macro.
28212         (_nss_files_gethostbyname2_r): Likewise.
28214 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28216         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28218 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28220         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28221         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28222         warning.
28224 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28226         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28227         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28228         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28229         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28230         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28231         __fe_nomask_env_priv and attribute_hidden.
28232         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28233         (libc_feupdateenv_test_ppc): Likewise.
28234         (libc_feresetround_ppc): Likewise.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28236         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28237         compat_symbol macro.
28238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28239         (__fe_nomask_env): Likewise.
28240         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28244         * string/Makefile: Remove ifunc tests.
28245         * string/test-string.h: Define TEST_IFUNC.
28246         * string/test-bcopy-ifunc.c: Remove.
28247         * string/test-bzero-ifunc.c: Likewise.
28248         * string/test-memccpy-ifunc.c: Likewise.
28249         * string/test-memchr-ifunc.c: Likewise.
28250         * string/test-memcmp-ifunc.c: Likewise.
28251         * string/test-memcpy-ifunc.c: Likewise.
28252         * string/test-memmem-ifunc.c: Likewise.
28253         * string/test-memmove-ifunc.c: Likewise.
28254         * string/test-mempcpy-ifunc.c: Likewise.
28255         * string/test-memrchr-ifunc.c: Likewise.
28256         * string/test-memset-ifunc.c: Likewise.
28257         * string/test-rawmemchr-ifunc.c: Likewise.
28258         * string/test-stpcpy-ifunc.c: Likewise.
28259         * string/test-stpncpy-ifunc.c: Likewise.
28260         * string/test-strcasecmp-ifunc.c: Likewise.
28261         * string/test-strcasestr-ifunc.c: Likewise.
28262         * string/test-strcat-ifunc.c: Likewise.
28263         * string/test-strchr-ifunc.c: Likewise.
28264         * string/test-strchrnul-ifunc.c: Likewise.
28265         * string/test-strcmp-ifunc.c: Likewise.
28266         * string/test-strcpy-ifunc.c: Likewise.
28267         * string/test-strcspn-ifunc.c: Likewise.
28268         * string/test-strlen-ifunc.c: Likewise.
28269         * string/test-strncasecmp-ifunc.c: Likewise.
28270         * string/test-strncat-ifunc.c: Likewise.
28271         * string/test-strncmp-ifunc.c: Likewise.
28272         * string/test-strncpy-ifunc.c: Likewise.
28273         * string/test-strnlen-ifunc.c: Likewise.
28274         * string/test-strpbrk-ifunc.c: Likewise.
28275         * string/test-strrchr-ifunc.c: Likewise.
28276         * string/test-strspn-ifunc.c: Likewise.
28277         * string/test-strstr-ifunc.c: Likewise.
28279 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28281         * benchtests/Makefile: Remove ifunc tests.
28282         * benchtests/bench-string.h: Define TEST_IFUNC.
28283         * benchtests/bench-bcopy-ifunc.c: Remove.
28284         * benchtests/bench-bzero-ifunc.c: Likewise.
28285         * benchtests/bench-memccpy-ifunc.c: Likewise.
28286         * benchtests/bench-memchr-ifunc.c: Likewise.
28287         * benchtests/bench-memcmp-ifunc.c: Likewise.
28288         * benchtests/bench-memcpy-ifunc.c: Likewise.
28289         * benchtests/bench-memmem-ifunc.c: Likewise.
28290         * benchtests/bench-memmove-ifunc.c: Likewise.
28291         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28292         * benchtests/bench-memrchr-ifunc.c: Likewise.
28293         * benchtests/bench-memset-ifunc.c: Likewise.
28294         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28295         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28296         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28297         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28298         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28299         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28300         * benchtests/bench-strcat-ifunc.c: Likewise.
28301         * benchtests/bench-strchr-ifunc.c: Likewise.
28302         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28303         * benchtests/bench-strcmp-ifunc.c: Likewise.
28304         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28305         * benchtests/bench-strcpy-ifunc.c: Likewise.
28306         * benchtests/bench-strcspn-ifunc.c: Likewise.
28307         * benchtests/bench-strlen-ifunc.c: Likewise.
28308         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28309         * benchtests/bench-strncat-ifunc.c: Likewise.
28310         * benchtests/bench-strncmp-ifunc.c: Likewise.
28311         * benchtests/bench-strncpy-ifunc.c: Likewise.
28312         * benchtests/bench-strnlen-ifunc.c: Likewise.
28313         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28314         * benchtests/bench-strrchr-ifunc.c: Likewise.
28315         * benchtests/bench-strsep-ifunc.c: Likewise.
28316         * benchtests/bench-strspn-ifunc.c: Likewise.
28317         * benchtests/bench-strstr-ifunc.c: Likewise.
28319 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28321         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28323 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28325         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28326         * rt/aio.h: Likewise.
28327         * sysdeps/gnu/bits/utmp.h: Likewise.
28328         * sysdeps/gnu/bits/utmpx.h: Likewise.
28329         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28330         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28331         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28332         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28333         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28334         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28335         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28336         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28337         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28338         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28339         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28340         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28341         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28343         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28344         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28345         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28346         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28347         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28348         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28349         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28350         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28351         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28352         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28353         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28355         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28356         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28357         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28358         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28359         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28360         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28361         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28363         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28364         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28365         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28366         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28367         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28368         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28369         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28370         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28372 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28374         [BZ #16245]
28375         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28376         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28378 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28380         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28381         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28382         Likewise.
28384 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28386         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28387         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28388         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28389         (__fesetround): Remove define.
28390         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28391         rounding and exceptions handling.
28392         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28393         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28394         (__fe_nomask_env): Likewise.
28395         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28396         __fegetround instead of fegetround.
28397         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28398         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28400 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28402         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28403         it's there.
28405         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28407 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28409         [BZ #11157]
28410         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28411         (encrypt_r): Likewise.
28412         * malloc/obstack.h (obstack_free): Likewise.
28413         * posix/unistd.h (encrypt): Likewise.
28415 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28417         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28418         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28419         DL_CALL_DT_FINI() that call the functions directly.
28420         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28421         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28422         * elf/dl-fini.c: Likewise.
28424 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28426         * malloc/hooks.c (memalign_check): Add alignment rounding.
28427         * malloc/malloc.c (_mid_memalign): New function.
28428         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28429         Implement by calling _mid_memalign.
28430         * manual/probes.texi (Memory Allocation Probes): Remove
28431         memory_valloc_retry and memory_pvalloc_retry.
28433 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28435         * locale/programs/locarchive.c (open_archive): Add const
28436         qualifier to ARCHIVEFNAME and copy default fname to
28437         DEFAULT_FNAME.
28439         [BZ #15601]
28440         * libio/tst-widetext.input: Rename Oriya to Odia.
28441         * locale/iso-639.def: Likewise.
28443         * manual/probes.texi (Mathematical Function Probes): Add
28444         documentation for sin, cos, asin and acos probes.
28445         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28446         (__sin32): Add slowasin probe.
28447         (__cos32): Add slowacos probe.
28448         (__mpsin): Add slowsin probe.
28449         (__mpcos): Add slowcos probe.
28451 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28453         [BZ #15483]
28454         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28455         thread-local __sim_exceptions_thread and global
28456         __sim_exceptions_global.
28457         (__sim_disabled_exceptions): Change to thread-local
28458         __sim_disabled_exceptions_thread and global
28459         __sim_disabled_exceptions_global.
28460         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28461         and global __sim_round_mode_global.
28462         (__simulate_exceptions): Use thread-local floating-point state and
28463         set global state from it as needed.
28464         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28465         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28466         __sim_round_mode_thread.
28467         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28468         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28469         and global __sim_exceptions_global.
28470         (__sim_disabled_exceptions): Change to thread-local
28471         __sim_disabled_exceptions_thread and global
28472         __sim_disabled_exceptions_global.
28473         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28474         and global __sim_round_mode_global.
28475         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28476         (SIM_SET_GLOBAL): Likewise.
28477         * sysdeps/powerpc/soft-fp/sfp-machine.h
28478         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28479         __sim_round_mode_thread.
28480         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28481         __sim_disabled_exceptions_thread.
28482         (__sim_exceptions): Change to __sim_exceptions_thread.
28483         (__sim_disabled_exceptions): Change to
28484         __sim_disabled_exceptions_thread.
28485         (__sim_round_mode): Change to __sim_round_mode_thread.
28486         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28487         thread-local floating-point state and set global state from it as
28488         needed.
28489         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28490         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28491         (__sim_disabled_exceptions): Remove extern declaration.
28492         (feenableexcept): Use thread-local floating-point state and set
28493         global state from it as needed.
28494         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28495         extern declaration.
28496         (__sim_disabled_exceptions): Likewise.
28497         (__sim_round_mode): Likewise.
28498         (__fegetenv): Use thread-local floating-point state.
28499         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28500         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28501         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28502         floating-point state and set global state from it as needed.
28503         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28504         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28505         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28506         Likewise.
28507         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28508         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28509         Likewise.
28510         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28511         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28512         Use __sim_round_mode_thread.
28513         * math/test-fenv-tls.c: New file.
28514         * math/Makefile (tests): Add test-fenv-tls.
28515         ($(objpfx)test-fenv-tls): Depend on
28516         $(common-objpfx)nptl/libpthread.so.
28518 2013-11-19  Andreas Schwab  <schwab@suse.de>
28520         * locale/programs/locale.c (show_info): Decode wordarray elements.
28521         * locale/categories.def (LC_MONETARY): Add element for
28522         _NL_MONETARY_CRNCYSTR.
28523         * locale/C-monetary.c (conversion_rate): New variable.
28524         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28525         element.
28527 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28529         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28530         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28532 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28534         * elf/Makefile (tst-auxv): New test.
28535         * elf/tst-auxv.c: New
28536         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28538 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28540         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28541         (hidden_proto): Caller changed.
28542         (hidden_tls_proto): New macro.
28543         (libc_hidden_tls_proto): Likewise.
28544         (rtld_hidden_tls_proto): Likewise.
28545         (libm_hidden_tls_proto): Likewise.
28546         (libresolv_hidden_tls_proto): Likewise.
28547         (librt_hidden_tls_proto): Likewise.
28548         (libdl_hidden_tls_proto): Likewise.
28549         (libnss_files_hidden_tls_proto): Likewise.
28550         (libnsl_hidden_tls_proto): Likewise.
28551         (libnss_nisplus_hidden_tls_proto): Likewise.
28552         (libutil_hidden_tls_proto): Likewise.
28554 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28556         [BZ #10253]
28557         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28558         (decompose_rpath): Defer expansion to fillin_rpath.
28559         (_dl_init_paths): Pass linkmap to fillin_rpath.
28561 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28563         * benchtests/Makefile: Add strsep.
28564         * benchtests/bench-strsep.c: New file: strsep benchtest.
28565         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28567 2013-11-18  Andreas Schwab  <schwab@suse.de>
28569         * locale/programs/locale.c (show_info) [case byte]: Check for
28570         '\377' instead of '\177'.
28571         * locale/C-monetary.c (not_available): Always use "\377".
28572         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28573         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28574         detect unavailable sign_posn locale elements.
28575         * locale/localeconv.c (__localeconv): For grouping and
28576         mon_grouping handle "\177" and "\377" like no grouping.
28577         (INT_ELEM): New macro.  Use it to set all numeric members.
28578         * locale/programs/ld-monetary.c (monetary_read)
28579         <tok_mon_grouping>: Normalize single -1 to the empty string.
28580         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28581         Likewise.
28583 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28585         [BZ #16055]
28586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28587         when we match (nil).
28588         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28590 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28592         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28593         (NO_TEST_INLINE): Update value.
28594         (ERRNO_UNCHANGED): Likewise.
28595         (ERRNO_EDOM): Likewise.
28596         (ERRNO_ERANGE): Likewise.
28597         (IGNORE_RESULT): Likewise.
28598         (check_float_internal): Check signs of NaN results if
28599         TEST_NAN_SIGN used.
28600         (check_complex): Pass TEST_NAN_SIGN flag through to second
28601         check_float_internal call.
28602         (copysign_test_data): Add tests with quiet NaNs as second
28603         argument.  Use TEST_NAN_SIGN.
28604         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28605         TEST_NAN_SIGN.
28606         (signbit_test_data): Add tests of quiet NaN argument.
28607         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28609         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28610         $ignore_result.
28611         (parse_args): Handle function results specified as IGNORE.
28612         * math/libm-test.inc (IGNORE_RESULT): New macro.
28613         (check_float_internal): Do not check numerical result if flag
28614         IGNORE_RESULT set.
28615         (check_complex): Pass through IGNORE_RESULT to second
28616         check_float_internal call.
28617         (check_int): Do not check numerical result if flag IGNORE_RESULT
28618         set.
28619         (check_long): Likewise.
28620         (check_bool): Likewise.
28621         (check_longlong): Likewise.
28622         (lrint_test_data): Add tests of infinite and NaN arguments.
28623         (lrint_tonearest_test_data): Likewise.
28624         (lrint_towardzero_test_data): Likewise.
28625         (lrint_downward_test_data): Likewise.
28626         (lrint_upward_test_data): Likewise.
28627         (llrint_test_data): Likewise.
28628         (llrint_tonearest_test_data): Likewise.
28629         (llrint_towardzero_test_data): Likewise.
28630         (llrint_downward_test_data): Likewise.
28631         (llrint_upward_test_data): Likewise.
28632         (lround_test_data): Likewise.
28633         (llround_test_data): Likewise.
28635         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28636         (ERRNO_UNCHANGED): Update value.
28637         (ERRNO_EDOM): Likewise.
28638         (ERRNO_ERANGE): Likewise.
28639         (NO_TEST_INLINE_FLOAT): New macro.
28640         (NO_TEST_INLINE_DOUBLE): Likewise.
28641         (enable_test): New function.
28642         (RUN_TEST_f_f): Check enable_test before running test.
28643         (RUN_TEST_2_f): Likewise.
28644         (RUN_TEST_fff_f): Likewise.
28645         (RUN_TEST_c_f): Likewise.
28646         (RUN_TEST_f_f1): Likewise.
28647         (RUN_TEST_fF_f1): Likewise.
28648         (RUN_TEST_fI_f1): Likewise.
28649         (RUN_TEST_ffI_f1): Likewise.
28650         (RUN_TEST_c_c): Likewise.
28651         (RUN_TEST_cc_c): Likewise.
28652         (RUN_TEST_f_i): Likewise.
28653         (RUN_TEST_f_i_tg): Likewise.
28654         (RUN_TEST_ff_i_tg): Likewise.
28655         (RUN_TEST_f_b): Likewise.
28656         (RUN_TEST_f_b_tg): Likewise.
28657         (RUN_TEST_f_l): Likewise.
28658         (RUN_TEST_f_L): Likewise.
28659         (RUN_TEST_fFF_11): Likewise.
28660         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28661         conditionals.
28662         (cosh_test_data): Likewise.
28663         (exp_test_data): Likewise.
28664         (expm1_test_data): Likewise.
28665         (hypot_test_data): Likewise.
28666         (pow_test_data): Likewise.
28667         (sinh_test_data): Likewise.
28668         (tanh_test_data): Likewise.
28669         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28670         flags argument.
28672         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28673         tests with quiet NaN input and output.
28674         (acosh_test_data): Likewise.
28675         (asin_test_data): Likewise.
28676         (asinh_test_data): Likewise.
28677         (atan_test_data): Likewise.
28678         (atanh_test_data): Likewise.
28679         (atan2_test_data): Likewise.
28680         (cbrt_test_data): Likewise.
28681         (cos_test_data): Likewise.
28682         (cosh_test_data): Likewise.
28683         (erf_test_data): Likewise.
28684         (erfc_test_data): Likewise.
28685         (exp_test_data): Likewise.
28686         (exp10_test_data): Likewise.
28687         (exp2_test_data): Likewise.
28688         (expm1_test_data): Likewise.
28689         (hypot_test_data): Likewise.
28690         (j0_test_data): Likewise.
28691         (j1_test_data): Likewise.
28692         (jn_test_data): Likewise.
28693         (lgamma_test_data): Likewise.
28694         (log_test_data): Likewise.
28695         (log10_test_data): Likewise.
28696         (log1p_test_data): Likewise.
28697         (log2_test_data): Likewise.
28698         (pow_test_data): Likewise.
28699         (scalb_test_data): Likewise.
28700         (sin_test_data): Likewise.
28701         (sincos_test_data): Likewise.
28702         (sinh_test_data): Likewise.
28703         (tan_test_data): Likewise.
28704         (tanh_test_data): Likewise.
28705         (tgamma_test_data): Likewise.
28706         (y0_test_data): Likewise.
28707         (y1_test_data): Likewise.
28708         (yn_test_data): Likewise.
28710         [BZ #16167]
28711         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28712         argument being NaN and avoid computations with second argument in
28713         that case.
28714         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28715         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28716         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28718 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28720         * locale/iso-639.def: Add Chitwani Tharu (the).
28722 2013-11-14  Andreas Schwab  <schwab@suse.de>
28724         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28725         word instead of empty string.
28727 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28730         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28732         (__fe_nomask_env): Likewise.
28734 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28736         * benchtests/bench-timing.h: Include time.h.
28738 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28740         [BZ #15997]
28741         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28742         to 3.4.0 for x32.
28743         * sysdeps/unix/sysv/linux/configure: Regenerated.
28745 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28747         [BZ #16151]
28748         * stdlib/strtod_l.c (round_and_return): Do not consider
28749         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28750         exponent one less than half the least subnormal exponent.
28751         * stdlib/test-strtod-round-data: Add more tests.
28752         * stdlib/tst-strtod-round.c (tests): Regenerated.
28754 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28756         [BZ #14143]
28757         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28758         (__fe_mask_env): Likewise.
28759         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28760         libm_hidden_proto and add function prototype.
28761         (__fe_mask_env): Add function prototype.
28762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28763         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28765         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28767         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28769 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28771         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28772         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28774 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28776         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28777         of htab_find_slot().
28779 2013-11-11  David S. Miller  <davem@davemloft.net>
28781         [BZ #16150]
28782         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28783         symbol in the non-vis3 case in static builds.
28784         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28785         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28786         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28787         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28789 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28791         [BZ #387]
28792         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28793         it is empty.
28795 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28797         * benchtests/Makefile: Add bench-strtod.
28798         * benchtests/bench-strtod.c: New file: strtod benchtest
28800 2013-11-11  Andreas Schwab  <schwab@suse.de>
28802         [BZ #16153]
28803         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28804         terminating NUL in key length.
28806 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28809         Add artificial ODP entry for vDSO symbol for PPC64.
28810         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28811         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28813 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28815         [BZ #15374]
28816         * nss/getent.c (services_keys): Recognize services starting with digit.
28818 2013-11-06  David S. Miller  <davem@davemloft.net>
28820         [BZ #15985]
28821         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28822         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28824 2013-11-06  Will Newton  <will.newton@linaro.org>
28826         * manual/memory.texi (Malloc Examples): Remove register
28827         keyword from examples.
28829 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28831         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28833 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28835         [BZ #6981]
28836         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28837         depending on [__GCC_IEC_559 > 0].
28838         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28839         depending on [__GCC_IEC_559_COMPLEX > 0].
28841 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28843         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28844         to iso-639.def.
28846 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28848         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28850 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28852         [BZ #16112]
28853         * malloc/malloc (malloc_info): Do not handle first bin as
28854         special case.
28856 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28858         * locale/iso-639.def: Add Central Nahuatl (nhn).
28860 2013-11-01  Bruno Haible  <bruno@clisp.org>
28862         [BZ #7003]
28863         * manual/math.texi (BSD Random): Specify range upper bound as
28864         in POSIX.
28866 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28868         * locale/iso-639.def: Add Meadow Mari (mhr).
28870 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28872         [BZ #14752], [BZ #15763]
28873         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28874         Validate name.
28875         * rt/tst_shm.c: Add test for escaping directory.
28877 2013-10-31  Andreas Schwab  <schwab@suse.de>
28879         [BZ #15917]
28880         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28881         followed by 'x' as part of digit sequence.
28882         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28884 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28886         [BZ #16037]
28887         * configure.ac: allow GNU Make 4.0 and greater.
28888         * configure: Regenerated.
28890 2013-10-30  Will Newton  <will.newton@linaro.org>
28892         [BZ #16038]
28893         * malloc/hooks.c (memalign_check): Limit alignment to the
28894         maximum representable power of two.
28895         * malloc/malloc.c (__libc_memalign): Likewise.
28896         * malloc/tst-memalign.c (do_test): Add test for very
28897         large alignment values.
28898         * malloc/tst-posix_memalign.c (do_test): Likewise.
28900 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28902         [BZ #11087]
28903         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28904         (munmap_chunk): Likewise.
28905         (mremap_chunk): Likewise.
28907 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28909         [BZ #15799]
28910         * stdlib/div.c (div): Remove obsolete code.
28911         * stdlib/ldiv.c (ldiv): Likewise.
28912         * stdlib/lldiv.c (lldiv): Likewise.
28914 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28916         [BZ #16071]
28917         * nss/nss_files/files-XXX.c (get_contents_ret): New
28918         enumerator.
28919         (get_contents): New function.
28920         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28922 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28924         * configure.in: Moved to ...
28925         * configure.ac: ... here. Change reference to configure.in
28926         to configure.ac.
28927         * sysdeps/arm/preconfigure.ac: ... here.
28928         configure.in to configure.ac.
28929         * sysdeps/gnu/configure.in: Moved to ...
28930         * sysdeps/gnu/configure.ac: ... here.
28931         * sysdeps/i386/configure.in: Moved to ...
28932         * sysdeps/i386/configure.ac: ... here.
28933         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28934         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28935         * sysdeps/mach/configure.in: Moved to ...
28936         * sysdeps/mach/configure.ac: ... here.
28937         * sysdeps/mach/hurd/configure.in: Moved to ...
28938         * sysdeps/mach/hurd/configure.ac: ... here.
28939         * sysdeps/powerpc/configure.in: Moved to ...
28940         * sysdeps/powerpc/configure.ac: ... here.
28941         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28942         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28943         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28944         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28945         * sysdeps/s390/s390-32/configure.in: Moved to ...
28946         * sysdeps/s390/s390-32/configure.ac: ... here.
28947         * sysdeps/s390/s390-64/configure.in: Moved to ...
28948         * sysdeps/s390/s390-64/configure.ac: ... here.
28949         * sysdeps/sh/configure.in: Moved to ...
28950         * sysdeps/sh/configure.ac: ... here.
28951         * sysdeps/sparc/configure.in: Moved to ...
28952         * sysdeps/sparc/configure.ac: ... here.
28953         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28954         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28955         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28956         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28957         * sysdeps/x86_64/configure.in: Moved to ...
28958         * sysdeps/x86_64/configure.ac: ... here.
28959         * sysdeps/x86_64/preconfigure.in: Moved to ...
28960         * sysdeps/x86_64/preconfigure.ac: ... here.
28961         * aclocal.m4: Change reference to configure.in to configure.ac.
28962         * config.h.in: Likewise.
28963         * manual/install.texi: Likewise.
28964         * manual/maint.texi: Likewise.
28965         * Makefile: Likewise.
28966         * malloc/Makefile: Likewise.
28967         * nscd/Makefile: Likewise.
28968         * Makeconfig: Change reference to configure.in and
28969         preconfigure.in to configure.ac and preconfigure.ac
28970         respectively.
28971         * INSTALL: Regenerated.
28972         * configure: Likewise.
28973         * sysdeps/gnu/configure: Likewise.
28974         * sysdeps/i386/configure: Likewise.
28975         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28976         * sysdeps/mach/configure: Likewise.
28977         * sysdeps/mach/hurd/configure: Likewise.
28978         * sysdeps/powerpc/configure: Likewise.
28979         * sysdeps/powerpc/powerpc32/configure: Likewise.
28980         * sysdeps/powerpc/powerpc64/configure: Likewise.
28981         * sysdeps/s390/s390-32/configure: Likewise.
28982         * sysdeps/s390/s390-64/configure: Likewise.
28983         * sysdeps/sh/configure: Likewise.
28984         * sysdeps/sparc/configure: Likewise.
28985         * sysdeps/unix/sysv/linux/configure: Likewise.
28986         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28987         * sysdeps/x86_64/configure: Likewise.
28988         * sysdeps/x86_64/preconfigure: Likewise.
28990 2013-10-29  Andreas Schwab  <schwab@suse.de>
28992         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28994 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996         * benchtests/pow-inputs: Add new inputs.
28998         * benchtests/exp-inputs: Add new inputs.
29000         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29001         conditional check for return value.
29002         (__cos32): Likewise.
29004 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29006         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29007         to provide a boost for large inputs with word alignment.
29008         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29009         implementation based on optimized PPC64 strcpy.
29010         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29011         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29012         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29013         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29015 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29017         [BZ #2801]
29018         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29020 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29022         [BZ #14876]
29023         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29024         * time/tst-strptime.c (day_tests): Add testcase.
29026 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29028         [BZ #14029]
29029         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29031 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29033         [BZ #16074]
29034         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29035         MAP_FAILED on error.
29037 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29039         [BZ #16072]
29040         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29041         heap for large requests.
29043 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29045         [BZ #9954]
29046         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29047         result if the result has no associated interface.
29048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29049         interface for all 127.X.Y.Z addresses.
29051 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29053         * locale/iso-639.def: Add Ligurian (lij)
29055 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29057         [BZ #15825]
29058         * sunrpc/rpc_main.c: Document rpcgen -5.
29060 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29062         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29064 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29066         [BZ #10278]
29067         * posix/glob.c: Match only directories when trailing slash is present.
29068         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29069         (main): Add testcase.
29071 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29073         [BZ #15670]
29074         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29076 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29078         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29079         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29080         AUTH_DES and cindex for FIPS 140-2.
29081         (DES Encryption): Add cindex FIPS 46-3.
29083         * locale/locarchive.h (struct locarhandle): Add fname.
29084         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29085         if an optional argument was specified to --list-archive,
29086         otherwise NULL.
29087         * locale/programs/locarchive.c (show_archive_content): Take new
29088         argument fname and pass it via ah.fname to open_archive.
29089         * locale/programs/localedef.h: Update decl.
29090         (open_archive): If AH->fname is non-null, open that file
29091         rather than the default file name, and don't ignore ENOENT.
29092         (create_archive): Set AH.fname to NULL.
29093         (delete_locales_from_archive): Likewise.
29094         (add_locales_to_archive): Likewise.
29095         * locale/programs/locfile.c (write_all_categories): Likewise.
29097 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29098             Aldy Hernandez  <aldyh@redhat.com>
29100         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29101         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29102         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29103         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29104         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29108         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29109         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29112         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29113         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29114         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29115         Likewise.
29116         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29117         Likewise.
29118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29119         Likewise.
29120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29121         Likewise.
29122         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29123         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29124         Likewise.
29125         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29126         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29127         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29128         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29129         Likewise.
29130         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29131         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29132         * sysdeps/powerpc/preconfigure: Likewise.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29134         Likewise.
29135         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29136         Replace contents of file by #include of <fenv_libc.h>.
29137         * sysdeps/powerpc/soft-fp/sfp-machine.h
29138         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29139         and <sys/prctl.h>.
29140         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29153         Allow copysignl PLT reference to be missing.
29155 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29156             Joseph Myers  <joseph@codesourcery.com
29158         [BZ #15948]
29159         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29160         single character.
29161         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29163 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29165         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29166         * elf/tst-tls1.c: Likewise.
29167         * elf/tst-tls10.h: Likewise.
29168         * elf/tst-tls14.c: Likewise.
29169         * elf/tst-tls2.c: Likewise.
29170         * elf/tst-tls3.c: Likewise.
29171         * elf/tst-tls4.c: Likewise.
29172         * elf/tst-tls5.c: Likewise.
29173         * elf/tst-tls6.c: Likewise.
29174         * elf/tst-tls7.c: Likewise.
29175         * elf/tst-tls8.c: Likewise.
29176         * elf/tst-tls9.c: Likewise.
29177         * elf/tst-tlsmod1.c: Likewise.
29178         * elf/tst-tlsmod13.c: Likewise.
29179         * elf/tst-tlsmod13a.c: Likewise.
29180         * elf/tst-tlsmod14a.c: Likewise.
29181         * elf/tst-tlsmod16a.c: Likewise.
29182         * elf/tst-tlsmod16b.c: Likewise.
29183         * elf/tst-tlsmod2.c: Likewise.
29184         * elf/tst-tlsmod3.c: Likewise.
29185         * elf/tst-tlsmod4.c: Likewise.
29186         * elf/tst-tlsmod5.c: Likewise.
29187         * elf/tst-tlsmod6.c: Likewise.
29189 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29191         [BZ #12486]
29192         * malloc/malloc.c: remove checks for statistics.
29194 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29196         [BZ #15277]
29197         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29198         * inet/tst-network.c: Add testcase.
29200 2013-10-17  Andreas Schwab  <schwab@suse.de>
29202         [BZ #15218]
29203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29204         to determine canonical name.
29206 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29208         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29209         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29211         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29213         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29214         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29218         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29223         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29225         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29226         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29227         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29231         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29232         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29233         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29238         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29245         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29246         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29247         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29248         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29249         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29250         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29251         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29252         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29254         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29255         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29256         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29257         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29259         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29260         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29261         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29262         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29263         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29265         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29267 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #16041]
29270         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29271         make result into a quiet NaN.
29273 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29275         * soft-fp/adddf3.c: Fix horizontal whitespace.
29276         * soft-fp/addsf3.c: Likewise.
29277         * soft-fp/addtf3.c: Likewise.
29278         * soft-fp/divdf3.c: Likewise.
29279         * soft-fp/divsf3.c: Likewise.
29280         * soft-fp/divtf3.c: Likewise.
29281         * soft-fp/double.h: Likewise.
29282         * soft-fp/eqdf2.c: Likewise.
29283         * soft-fp/eqsf2.c: Likewise.
29284         * soft-fp/eqtf2.c: Likewise.
29285         * soft-fp/extenddftf2.c: Likewise.
29286         * soft-fp/extended.h: Likewise.
29287         * soft-fp/extendsfdf2.c: Likewise.
29288         * soft-fp/extendsftf2.c: Likewise.
29289         * soft-fp/extendxftf2.c: Likewise.
29290         * soft-fp/fixdfdi.c: Likewise.
29291         * soft-fp/fixdfsi.c: Likewise.
29292         * soft-fp/fixdfti.c: Likewise.
29293         * soft-fp/fixsfdi.c: Likewise.
29294         * soft-fp/fixsfsi.c: Likewise.
29295         * soft-fp/fixsfti.c: Likewise.
29296         * soft-fp/fixtfdi.c: Likewise.
29297         * soft-fp/fixtfsi.c: Likewise.
29298         * soft-fp/fixtfti.c: Likewise.
29299         * soft-fp/fixunsdfdi.c: Likewise.
29300         * soft-fp/fixunsdfsi.c: Likewise.
29301         * soft-fp/fixunsdfti.c: Likewise.
29302         * soft-fp/fixunssfdi.c: Likewise.
29303         * soft-fp/fixunssfsi.c: Likewise.
29304         * soft-fp/fixunssfti.c: Likewise.
29305         * soft-fp/fixunstfdi.c: Likewise.
29306         * soft-fp/fixunstfsi.c: Likewise.
29307         * soft-fp/fixunstfti.c: Likewise.
29308         * soft-fp/floatdidf.c: Likewise.
29309         * soft-fp/floatdisf.c: Likewise.
29310         * soft-fp/floatditf.c: Likewise.
29311         * soft-fp/floatsidf.c: Likewise.
29312         * soft-fp/floatsisf.c: Likewise.
29313         * soft-fp/floatsitf.c: Likewise.
29314         * soft-fp/floattidf.c: Likewise.
29315         * soft-fp/floattisf.c: Likewise.
29316         * soft-fp/floattitf.c: Likewise.
29317         * soft-fp/floatundidf.c: Likewise.
29318         * soft-fp/floatundisf.c: Likewise.
29319         * soft-fp/floatunditf.c: Likewise.
29320         * soft-fp/floatunsidf.c: Likewise.
29321         * soft-fp/floatunsisf.c: Likewise.
29322         * soft-fp/floatunsitf.c: Likewise.
29323         * soft-fp/floatuntidf.c: Likewise.
29324         * soft-fp/floatuntisf.c: Likewise.
29325         * soft-fp/floatuntitf.c: Likewise.
29326         * soft-fp/fmadf4.c: Likewise.
29327         * soft-fp/fmasf4.c: Likewise.
29328         * soft-fp/fmatf4.c: Likewise.
29329         * soft-fp/gedf2.c: Likewise.
29330         * soft-fp/gesf2.c: Likewise.
29331         * soft-fp/getf2.c: Likewise.
29332         * soft-fp/ledf2.c: Likewise.
29333         * soft-fp/lesf2.c: Likewise.
29334         * soft-fp/letf2.c: Likewise.
29335         * soft-fp/muldf3.c: Likewise.
29336         * soft-fp/mulsf3.c: Likewise.
29337         * soft-fp/multf3.c: Likewise.
29338         * soft-fp/negdf2.c: Likewise.
29339         * soft-fp/negsf2.c: Likewise.
29340         * soft-fp/negtf2.c: Likewise.
29341         * soft-fp/op-1.h: Likewise.
29342         * soft-fp/op-2.h: Likewise.
29343         * soft-fp/op-4.h: Likewise.
29344         * soft-fp/op-8.h: Likewise.
29345         * soft-fp/op-common.h: Likewise.
29346         * soft-fp/quad.h: Likewise.
29347         * soft-fp/single.h: Likewise.
29348         * soft-fp/soft-fp.h: Likewise.
29349         * soft-fp/sqrtdf2.c: Likewise.
29350         * soft-fp/sqrtsf2.c: Likewise.
29351         * soft-fp/sqrttf2.c: Likewise.
29352         * soft-fp/subdf3.c: Likewise.
29353         * soft-fp/subsf3.c: Likewise.
29354         * soft-fp/subtf3.c: Likewise.
29355         * soft-fp/truncdfsf2.c: Likewise.
29356         * soft-fp/trunctfdf2.c: Likewise.
29357         * soft-fp/trunctfsf2.c: Likewise.
29358         * soft-fp/trunctfxf2.c: Likewise.
29359         * soft-fp/unorddf2.c: Likewise.
29360         * soft-fp/unordsf2.c: Likewise.
29361         * soft-fp/unordtf2.c: Likewise.
29363 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29365         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29366         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29368 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29370         * elf/dl-libc.c: Clear initfini list after freeing.
29372 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29374         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29375         * soft-fp/addsf3.c: Likewise.
29376         * soft-fp/addtf3.c: Likewise.
29377         * soft-fp/divdf3.c: Likewise.
29378         * soft-fp/divsf3.c: Likewise.
29379         * soft-fp/divtf3.c: Likewise.
29380         * soft-fp/double.h: Likewise.
29381         * soft-fp/eqdf2.c: Likewise.
29382         * soft-fp/eqsf2.c: Likewise.
29383         * soft-fp/eqtf2.c: Likewise.
29384         * soft-fp/extenddftf2.c: Likewise.
29385         * soft-fp/extended.h: Likewise.
29386         * soft-fp/extendsfdf2.c: Likewise.
29387         * soft-fp/extendsftf2.c: Likewise.
29388         * soft-fp/extendxftf2.c: Likewise.
29389         * soft-fp/fixdfdi.c: Likewise.
29390         * soft-fp/fixdfsi.c: Likewise.
29391         * soft-fp/fixdfti.c: Likewise.
29392         * soft-fp/fixsfdi.c: Likewise.
29393         * soft-fp/fixsfsi.c: Likewise.
29394         * soft-fp/fixsfti.c: Likewise.
29395         * soft-fp/fixtfdi.c: Likewise.
29396         * soft-fp/fixtfsi.c: Likewise.
29397         * soft-fp/fixtfti.c: Likewise.
29398         * soft-fp/fixunsdfdi.c: Likewise.
29399         * soft-fp/fixunsdfsi.c: Likewise.
29400         * soft-fp/fixunsdfti.c: Likewise.
29401         * soft-fp/fixunssfdi.c: Likewise.
29402         * soft-fp/fixunssfsi.c: Likewise.
29403         * soft-fp/fixunssfti.c: Likewise.
29404         * soft-fp/fixunstfdi.c: Likewise.
29405         * soft-fp/fixunstfsi.c: Likewise.
29406         * soft-fp/fixunstfti.c: Likewise.
29407         * soft-fp/floatdidf.c: Likewise.
29408         * soft-fp/floatdisf.c: Likewise.
29409         * soft-fp/floatditf.c: Likewise.
29410         * soft-fp/floatsidf.c: Likewise.
29411         * soft-fp/floatsisf.c: Likewise.
29412         * soft-fp/floatsitf.c: Likewise.
29413         * soft-fp/floattidf.c: Likewise.
29414         * soft-fp/floattisf.c: Likewise.
29415         * soft-fp/floattitf.c: Likewise.
29416         * soft-fp/floatundidf.c: Likewise.
29417         * soft-fp/floatundisf.c: Likewise.
29418         * soft-fp/floatunsidf.c: Likewise.
29419         * soft-fp/floatunsisf.c: Likewise.
29420         * soft-fp/floatuntidf.c: Likewise.
29421         * soft-fp/floatuntisf.c: Likewise.
29422         * soft-fp/floatuntitf.c: Likewise.
29423         * soft-fp/fmadf4.c: Likewise.
29424         * soft-fp/fmasf4.c: Likewise.
29425         * soft-fp/fmatf4.c: Likewise.
29426         * soft-fp/gedf2.c: Likewise.
29427         * soft-fp/gesf2.c: Likewise.
29428         * soft-fp/getf2.c: Likewise.
29429         * soft-fp/ledf2.c: Likewise.
29430         * soft-fp/lesf2.c: Likewise.
29431         * soft-fp/letf2.c: Likewise.
29432         * soft-fp/muldf3.c: Likewise.
29433         * soft-fp/mulsf3.c: Likewise.
29434         * soft-fp/multf3.c: Likewise.
29435         * soft-fp/negdf2.c: Likewise.
29436         * soft-fp/negsf2.c: Likewise.
29437         * soft-fp/negtf2.c: Likewise.
29438         * soft-fp/op-1.h: Likewise.
29439         * soft-fp/op-2.h: Likewise.
29440         * soft-fp/op-4.h: Likewise.
29441         * soft-fp/op-8.h: Likewise.
29442         * soft-fp/op-common.h: Likewise.
29443         * soft-fp/quad.h: Likewise.
29444         * soft-fp/single.h: Likewise.
29445         * soft-fp/soft-fp.h: Likewise.
29446         * soft-fp/sqrtdf2.c: Likewise.
29447         * soft-fp/sqrtsf2.c: Likewise.
29448         * soft-fp/sqrttf2.c: Likewise.
29449         * soft-fp/subdf3.c: Likewise.
29450         * soft-fp/subsf3.c: Likewise.
29451         * soft-fp/subtf3.c: Likewise.
29452         * soft-fp/truncdfsf2.c: Likewise.
29453         * soft-fp/trunctfdf2.c: Likewise.
29454         * soft-fp/trunctfsf2.c: Likewise.
29455         * soft-fp/trunctfxf2.c: Likewise.
29456         * soft-fp/unorddf2.c: Likewise.
29457         * soft-fp/unordsf2.c: Likewise.
29458         * soft-fp/unordtf2.c: Likewise.
29460 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29462         [BZ #15672]
29463         * misc/error.c (error_tail): Fix possible buffer overflow.
29465 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29467         [BZ #13028]
29468         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29469         address.
29471 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29473         [BZ #832]
29474         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29475         testing pipefail option.
29477 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29479         * soft-fp/double.h: Indent preprocessor directives inside #if.
29480         * soft-fp/extended.h: Likewise.
29481         * soft-fp/op-2.h: Likewise.
29482         * soft-fp/op-4.h: Likewise.
29483         * soft-fp/op-common.h: Likewise.
29484         * soft-fp/quad.h: Likewise.
29485         * soft-fp/single.h: Likewise.
29486         * soft-fp/soft-fp.h: Likewise.
29488 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29490         * iconv/iconv_prog.c: Fix typos.
29491         * stdio-common/psiginfo-data.h: Likewise.
29493 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29495         [BZ #15764]
29496         * locale/setlocale.c: Fix typo.
29498 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29500         [BZ #16036]
29501         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29502         signaling NaN arguments.
29503         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29504         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29506         [BZ #14910]
29507         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29508         unordered operands.
29509         * soft-fp/gesf2.c (__gesf2): Likewise.
29510         * soft-fp/getf2.c (__getf2): Likewise.
29511         * soft-fp/ledf2.c (__ledf2): Likewise.
29512         * soft-fp/lesf2.c (__lesf2): Likewise.
29513         * soft-fp/letf2.c (__letf2): Likewise.
29515         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29516         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29517         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29518         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29519         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29520         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29521         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29522         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29523         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29524         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29525         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29526         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29527         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29528         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29529         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29530         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29531         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29532         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29533         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29534         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29535         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29536         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29537         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29538         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29539         * soft-fp/floattidf.c (__floattidf): Likewise.
29540         * soft-fp/floattisf.c (__floattisf): Likewise.
29541         * soft-fp/floattitf.c (__floattitf): Likewise.
29542         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29543         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29544         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29545         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29546         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29547         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29548         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29549         * soft-fp/gesf2.c (__gesf2): Likewise.
29550         * soft-fp/getf2.c (__getf2): Likewise.
29551         * soft-fp/ledf2.c (__ledf2): Likewise.
29552         * soft-fp/lesf2.c (__lesf2): Likewise.
29553         * soft-fp/letf2.c (__letf2): Likewise.
29555         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29556         Undefine and redefine.
29557         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29558         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29559         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29560         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29561         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29562         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29563         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29564         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29565         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29566         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29567         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29568         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29569         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29570         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29571         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29573         [BZ #16032]
29574         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29575         without decrementing exponent if mantissa >= that for the
29576         denominator, not >.
29577         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29578         denominator, not >.  Decrement exponent in < case instead of
29579         incrementing in >= case.
29580         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29581         without decrementing exponent if mantissa >= that for the
29582         denominator, not >.
29584         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29585         computing saturated result for unsigned overflow.
29587 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29588             Jeff Law  <law@redhat.com>
29590         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29591         (atan2Mp): Add systemtap probe marker.
29592         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29593         (__ieee754_log): Add systemtap probe marker.
29594         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29595         (atanMp): Add systemtap probe marker.
29596         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29597         (tanMp): Add systemtap probe marker.
29598         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29599         (__slowexp): Add systemtap probe marker.
29600         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29601         (__slowpow): Add systemtap probe marker.
29602         * manual/probes.texi: Document probes.
29604 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29606         [BZ #15362]
29607         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29608         written.
29609         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29610         written.
29611         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29612         written to buffer but not flushed.
29613         * libio/iofwrite_u.c:  Likewise.
29614         * libio/iopadn.c:  Return bytes returned even if EOF was
29615         encountered.
29616         * libio/iowpadn.c:  Likewise.
29617         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29618         if _IO_padn does not write the whole buffer.
29619         [!COMPILE_WPRINTF] (PAD): Likewise.
29621 2013-10-10  David S. Miller  <davem@davemloft.net>
29623         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29624         directory block.
29626 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29628         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29629         instead of FSF address.
29630         * soft-fp/fixdfti.c: Likewise.
29631         * soft-fp/fixsfti.c: Likewise.
29632         * soft-fp/fixtfti.c: Likewise.
29633         * soft-fp/fixunsdfti.c: Likewise.
29634         * soft-fp/fixunssfti.c: Likewise.
29635         * soft-fp/fixunstfti.c: Likewise.
29636         * soft-fp/floattidf.c: Likewise.
29637         * soft-fp/floattisf.c: Likewise.
29638         * soft-fp/floattitf.c: Likewise.
29639         * soft-fp/floatuntidf.c: Likewise.
29640         * soft-fp/floatuntisf.c: Likewise.
29641         * soft-fp/floatuntitf.c: Likewise.
29642         * soft-fp/trunctfxf2.c: Likewise.
29644         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29645         * soft-fp/fixdfti.c: Likewise.
29646         * soft-fp/fixsfti.c: Likewise.
29647         * soft-fp/fixtfti.c: Likewise.
29648         * soft-fp/fixunsdfti.c: Likewise.
29649         * soft-fp/fixunssfti.c: Likewise.
29650         * soft-fp/fixunstfti.c: Likewise.
29651         * soft-fp/floattidf.c: Likewise.
29652         * soft-fp/floattisf.c: Likewise.
29653         * soft-fp/floattitf.c: Likewise.
29654         * soft-fp/floatuntidf.c: Likewise.
29655         * soft-fp/floatuntisf.c: Likewise.
29656         * soft-fp/floatuntitf.c: Likewise.
29657         * soft-fp/trunctfxf2.c: Likewise.
29659 2013-10-10  David S. Miller  <davem@davemloft.net>
29661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29663 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29666         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29667         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29668         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29669         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29670         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29671         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29674         for NaNs before doing comparisons on argument.
29675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29676         Likewise.
29678 2013-10-10  Will Newton  <will.newton@linaro.org>
29680         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29681         passed to _int_memalign does not overflow.
29683 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29685         * scripts/bench.pl: Add include-sources directive.
29686         * benchtests/README: Update documentation.
29688 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29690         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29691         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29692         instead of FP_INIT_ROUNDMODE.
29693         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29694         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29696         [BZ #16034]
29697         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29698         copy class of input value.
29699         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29700         not handle exceptions.
29701         * soft-fp/negsf2.c (__negsf2): Likewise.
29702         * soft-fp/negtf2.c (__negtf2): Likewise.
29703         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29705 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29707         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29708         semicolon.  From Linux kernel.
29710 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29712         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29714 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29716         [BZ #156]
29717         * manual/socket.texi: Added statement about buffer
29718         for gethostbyname2_r.
29720 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29722         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29723         Use .p2align directive instead, throughout.
29724         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29725         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29726         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29727         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29728         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29729         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29730         * sysdeps/x86_64/strchr.S: Likewise.
29731         * sysdeps/x86_64/strrchr.S: Likewise.
29733 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29735         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29737         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29739         * sysdeps/generic/math_private.h (__mpsin1): Remove
29740         declaration.
29741         (__mpcos1): Likewise.
29742         (__mpsin): New argument __range_reduce.
29743         (__mpcos): Likewise.
29744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29745         (slow): Use __mpsin and __mpcos.
29746         (slow1): Likewise.
29747         (slow2): Likewise.
29748         (sloww): Likewise.
29749         (sloww1): Likewise.
29750         (sloww2): Likewise.
29751         (bsloww): Likewise.
29752         (bsloww1): Likewise.
29753         (bsloww2): Likewise.
29754         (cslow2): Likewise.
29755         (csloww): Likewise.
29756         (csloww1): Likewise.
29757         (csloww2): Likewise.
29758         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29759         range_reduce.  Merge in __mpsin1.
29760         (__mpcos): Likewise.
29761         (__mpsin1): Remove.
29762         (__mpcos1): Likewise.
29764 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29766         * locale/loadlocale.c (_nl_intern_locale_data): Use
29767         LOCFILE_ALIGNED_P.
29768         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29769         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29770         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29771         obstack data is appropriately aligned.
29772         (obstack_int32_grow_fast): Likewise.
29773         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29774         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29775         (add_locale_uint32_array): Likewise.
29777 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29779         * benchtests/Makefile: Remove ARGLIST and RET variables.
29780         ($(objpfx)bench-%.c): Pass only function name to the script.
29781         * benchtests/README: Update documentation.
29782         * benchtests/acos-inputs: Add new directives.
29783         * benchtests/acosh-inputs: Likewise.
29784         * benchtests/asin-inputs: Likewise.
29785         * benchtests/asinh-inputs: Likewise.
29786         * benchtests/atan-inputs: Likewise.
29787         * benchtests/atanh-inputs: Likewise.
29788         * benchtests/cos-inputs: Likewise.
29789         * benchtests/cosh-inputs: Likewise.
29790         * benchtests/exp-inputs: Likewise.
29791         * benchtests/log-inputs: Likewise.
29792         * benchtests/pow-inputs: Likewise.
29793         * benchtests/rint-inputs: Likewise.
29794         * benchtests/sin-inputs: Likewise.
29795         * benchtests/sinh-inputs: Likewise.
29796         * benchtests/tan-inputs: Likewise.
29797         * benchtests/tanh-inputs: Likewise.
29798         * scripts/bench.pl: Add support for new directives.
29800 2013-10-07  Alan Modra  <amodra@gmail.com>
29802         * README: Fix careless merge.
29804 2013-10-05  Alan Modra  <amodra@gmail.com>
29806         * NEWS: Mention powerpc64le support and bugs fixed.
29807         * README: Both big-endian and little-endian powerpc64 supported.
29809 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29811         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29812         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29813         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29814         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29816 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29818         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29819         match prototype.
29821 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29823         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29824         Move -mhard-float appending from
29825         ports/sysdeps/powerpc/powerpc32/Makefile.
29826         [$(with-fp) = yes] (ASFLAGS): Likewise.
29827         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29828         * sysdeps/powerpc/nofpu: Move directory from
29829         ports/sysdeps/powerpc/nofpu.
29830         * sysdeps/powerpc/soft-fp: Move directory from
29831         ports/sysdeps/powerpc/soft-fp.
29832         * sysdeps/powerpc/powerpc32/405: Move directory from
29833         ports/sysdeps/powerpc/powerpc32/405.
29834         * sysdeps/powerpc/powerpc32/440: Move directory from
29835         ports/sysdeps/powerpc/powerpc32/440.
29836         * sysdeps/powerpc/powerpc32/464: Move directory from
29837         ports/sysdeps/powerpc/powerpc32/464.
29838         * sysdeps/powerpc/powerpc32/476: Move directory from
29839         ports/sysdeps/powerpc/powerpc32/476.
29840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29841         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29843         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29850         * README: Update for powerpc-*-linux-gnu software floating point
29851         support in libc.
29853         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29854         case to powerpc/powerpc32*.
29855         * sysdeps/unix/sysv/linux/configure: Regenerated.
29857         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29858         (_FPU_MASK_OM): Define as 0x04.
29859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29861         0x00c10080.
29862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29863         0x0000003c.
29864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29867         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29868         getcontext_e500.
29869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29871         setcontext_e500.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29874         and setcontext_e500.
29876 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29878         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29880 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29882         * manual/threads.texi (Default Thread Attributes): Fix typo.
29884 2013-10-04  Will Newton  <will.newton@linaro.org>
29886         * malloc/Makefile: Add tst-memalign.
29887         * malloc/tst-memalign.c: New file.
29889         * malloc/tst-posix_memalign.c: Add comments.
29890         (do_test): Add comments and call free on all potentially
29891         allocated pointers. Add space after cast.
29893         * malloc/tst-pvalloc.c: Add comments.
29894         (do_test): Add comments and call free on all potentially
29895         allocated pointers. Remove duplicate check for NULL pointer.
29896         Add space after cast.
29898         * malloc/tst-valloc.c: Add comments.
29899         (do_test): Add comments and call free on all potentially
29900         allocated pointers. Remove duplicate check for NULL pointer.
29901         Add space after cast.
29903 2013-10-04  Alan Modra  <amodra@gmail.com>
29905         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29906         Use stdint types in rather than __attribute__((mode())).
29907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29909 2013-10-04  Alan Modra  <amodra@gmail.com>
29911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29912         Correct handling of unaligned relocs for little-endian.
29913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29915 2013-10-04  Alan Modra  <amodra@gmail.com>
29917         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29918         * configure: Regenerate.
29919         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29920         * shlib-versions: Likewise.
29922 2013-10-04  Alan Modra  <amodra@gmail.com>
29924         * string/tester.c (test_memrchr): Increment reported test cycle.
29926 2013-10-04  Alan Modra  <amodra@gmail.com>
29928         * string/test-memcpy.c (do_one_test): When reporting errors, print
29929         string address and don't overrun end of string.
29931 2013-10-04  Alan Modra  <amodra@gmail.com>
29933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29934         insrdi.  Make better use of reg selection to speed exit slightly.
29935         Schedule entry path a little better.  Remove useless "are we done"
29936         checks on entry to main loop.  Handle wrapping around zero address.
29937         Correct main loop count.  Handle single left-over word from main
29938         loop inline rather than by using loop_small.  Remove extra word
29939         case in loop_small caused by wrong loop count.  Add little-endian
29940         support.
29941         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29942         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29943         cache hint.
29944         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29945         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29946         support.  Avoid rlwimi.
29947         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29949 2013-10-04  Alan Modra  <amodra@gmail.com>
29951         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29952         insrdi.  Formatting.
29953         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29954         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29955         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29956         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29957         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29958         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29960 2013-10-04  Alan Modra  <amodra@gmail.com>
29962         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29964         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29965         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29966         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29967         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29968         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29969         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29970         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29971         use of regs.  Use power7 mtocrf.  Tidy function tails.
29973 2013-10-04  Alan Modra  <amodra@gmail.com>
29975         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29976         Formatting.  Consistently use rXXX register defines or rN defines.
29977         Use early exit labels that avoid restoring unused non-volatile regs.
29978         Make cr field use more consistent with rWORDn compares.  Rename
29979         regs used as shift registers for unaligned loop, using rN defines
29980         for short lifetime/multiple use regs.
29981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29983         addi 1,1,64 to pop stack frame.  Simplify return value code.
29984         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29986 2013-10-04  Alan Modra  <amodra@gmail.com>
29988         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29989         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29990         rather than rlwimi.
29991         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29992         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29993         little-endian support.  Correct typos.
29994         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29995         rather than rlwimi.
29996         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29997         in loop and entry code to keep "and." results.
29998         (strchr): Add little-endian support.  Comment.  Move cntlzd
29999         earlier in tail.
30000         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30002 2013-10-04  Alan Modra  <amodra@gmail.com>
30004         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30005         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30006         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30007         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30009 2013-10-04  Alan Modra  <amodra@gmail.com>
30011         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30012         (rTMP): Define as r11.
30013         (strcmp): Add little-endian support.  Optimise tail.
30014         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30015         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30016         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30018         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30019         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30022 2013-10-04  Alan Modra  <amodra@gmail.com>
30024         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30025         little-endian support.  Remove unnecessary "are we done" tests.
30026         Handle "s" wrapping around zero and extremely large "size".
30027         Correct main loop count.  Handle single left-over word from main
30028         loop inline rather than by using small_loop.  Correct comments.
30029         Delete "zero" tail, use "end_max" instead.
30030         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30032 2013-10-04  Alan Modra  <amodra@gmail.com>
30034         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30035         support.  Don't branch over align.
30036         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30037         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30038         support.  Rearrange tmp reg use to suit.  Comment.
30039         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30041 2013-10-04  Alan Modra  <amodra@gmail.com>
30043         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30045 2013-10-04  Alan Modra  <amodra@gmail.com>
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30048         conditional form of branch and link when obtaining pc.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30051 2013-10-04  Alan Modra  <amodra@gmail.com>
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30054         HIWORD/LOWORD.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30058 2013-10-04  Alan Modra  <amodra@gmail.com>
30060         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30061         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30062         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30063         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30064         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30065         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30066         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30067         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30068         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30069         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30071 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30072             Alistair Popple <alistair@ozlabs.au.ibm.com>
30073             Alan Modra <amodra@gmail.com>
30075         [BZ #15723]
30076         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30077         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30078         _dl_hwcap access for little-endian.
30079         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30080         destroy vmx regs when saving unaligned.
30081         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30082         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30083         destroy vmx regs when saving unaligned.
30085 2013-10-04  Alan Modra  <amodra@gmail.com>
30087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30088         Don't use a union to pack hi/low value.
30090 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30092         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30093         for little-endian.
30094         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30096         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30097         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30098         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30100 2013-10-04  Alan Modra  <amodra@gmail.com>
30102         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30103         constants to usual value for .cst8 section, and remove redundant
30104         high address load.
30105         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30106         constant for 0x1p52.  Load little-endian words of double from
30107         correct stack offsets.
30109 2013-10-04  Alan Modra  <amodra@gmail.com>
30111         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30112         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30113         words of double from correct stack offsets.
30114         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30115         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30116         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30117         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30118         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30119         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30120         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30121         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30122         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30126         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30127         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30128         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30129         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30130         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30132 2013-10-04  Alan Modra  <amodra@gmail.com>
30134         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30135         64-bit int/double union.
30136         (_FPU_SETCW): Likewise.
30137         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30138         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30140 2013-10-04  Alan Modra  <amodra@gmail.com>
30142         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30143         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30145 2013-10-04  Alan Modra  <amodra@gmail.com>
30147         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30148         use vector int constants.
30149         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30151 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30153         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30154         array with long long.
30155         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30156         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30157         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30158         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30159         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30160         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30161         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30162         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30163         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30164         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30165         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30166         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30167         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30169 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30171         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30172         (__signbit): Likewise.  Correct for little-endian.
30173         (__signbitl): Call __signbit.
30174         (lrint): Correct for little-endian.
30175         (lrintf): Call lrint.
30177 2013-10-04  Alan Modra  <amodra@gmail.com>
30179         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30180         union 32-bit int array member with 64-bit int array.
30181         (t515, tm256): Double rather than long double.
30182         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30184 2013-10-04  Alan Modra  <amodra@gmail.com>
30186         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30187         Delete.
30188         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30190         version of math_ldbl.h.
30192 2013-10-04  Alan Modra  <amodra@gmail.com>
30194         [BZ #15734], [BZ #15735]
30195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30196         all uses of ieee875 long double macros and unions.  Simplify test
30197         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30198         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30199         normalize after ldbl_extract_mantissa, and don't add hidden bit
30200         already handled.  Don't treat low word of ieee854 mantissa like
30201         low word of IBM long double and mask off bit when testing for
30202         zero.
30203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30204         all uses of ieee875 long double macros and unions.  Simplify tests
30205         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30206         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30207         two1022, instead use their values.  Recognise that tests for large
30208         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30210         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30211         test for 0.0L and nan.  Correct negation.
30212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30213         ieee875 long double macros and unions.  Correct output for large
30214         magnitude x.  Correct absolute value calculation.
30215         (__erfcl): Likewise.
30216         * math/libm-test.inc: Add tests for errors discovered in IBM long
30217         double versions of fmodl, remainderl, erfl and erfcl.
30219 2013-10-04  Alan Modra  <amodra@gmail.com>
30221         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30222         all uses of ieee854 long double macros and unions.  Simplify tests
30223         for long doubles that are fully specified by the high double.
30224         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30225         Likewise.
30226         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30227         Remove dead code too.
30228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30229         (__ieee754_ynl): Likewise.
30230         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30231         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30233         Remove dead code too.
30234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30236         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30237         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30238         Simplify.
30239         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30240         Simplify.
30241         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30242         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30244         Comment on variable precision.
30245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30246         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30247         Likewise.
30248         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30252         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30254 2013-10-04  Alan Modra  <amodra@gmail.com>
30256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30258         all uses of ieee854 long double macros and unions.
30259         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30260         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30263         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30264         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30265         Likewise.
30266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30267         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30268         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30269         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30270         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30271         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30272         Simplify sign and nan test too.
30273         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30275         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30276         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30277         Likewise.
30278         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30279         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30280         Likewise.
30281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30282         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30283         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30284         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30285         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30288 2013-10-04  Alan Modra  <amodra@gmail.com>
30290         * stdio-common/printf_size.c (__printf_size): Don't use
30291         union ieee854_long_double in fpnum union.
30292         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30293         signbit macro to retrieve sign from long double.
30294         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30295         retrieve sign from long double.
30296         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30297         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30298         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30299         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30300         * math/test-misc.c (main): Don't use union ieee854_long_double.
30302 2013-10-04  Alan Modra  <amodra@gmail.com>
30304         [BZ #15680]
30305         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30306         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30307         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30308         calculation.  Remove unnecessary test for denormal exponent.
30309         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30310         Correct handling of denormals.  Avoid undefined shift behaviour.
30311         Correct normalisation of low mantissa when low double is denormal.
30312         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30313         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30314         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30315         Correct normalisation of low mantissa.  Test for overflow of high
30316         mantissa and normalise.
30317         (ldbl_nearbyint): Use more readable constant for two52.
30318         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30319         (__mpn_construct_long_double): Fix test for overflow of high
30320         mantissa and correct normalisation.  Avoid undefined shift.
30322 2013-10-04  Alan Modra  <amodra@gmail.com>
30324         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30325         (union ibm_extended_long_double): Define as an array of ieee754_double.
30326         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30327         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30328         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30329         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30331         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30333         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30334         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30335         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30336         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30338 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30340         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30341         page size instead of calling getpagesize.
30343         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30344         (LOCFILE_ALIGN_MASK): Likewise.
30345         (LOCFILE_ALIGN_UP): Likewise.
30346         (LOCFILE_ALIGNED_P): Likewise.
30347         * locale/programs/ld-collate.c (collate_output): Use the new
30348         macros instead of __alignof__ (int32_t).
30349         * locale/weight.h (findidx): Likewise.
30351 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30353         [BZ #431]
30354         * manual/string.texi: Fix strncat and wcsncat.
30356 2013-10-03  Brooks Moses  <bmoses@google.com>
30358         [BZ #15915]
30359         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30360         * Makerules: ...here, and adjust associated comments.
30362 2013-10-02  Will Newton  <will.newton@linaro.org>
30364         * malloc/Makefile: Add tst-pvalloc.
30365         * malloc/tst-pvalloc.c: New file.
30367 2013-10-02  Will Newton  <will.newton@linaro.org>
30369         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30370         improve test coverage.
30372 2013-10-02  Will Newton  <will.newton@linaro.org>
30374         * malloc/Makefile: Add tst-posix_memalign.
30375         * malloc/tst-posix_memalign.c: New file.
30377 2013-10-01  Eric Blake  <eblake@redhat.com>
30379         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30380         Use __THROWNL rather than __THROW on static functions.
30382 2013-09-30  Petr Machata  <pmachata@redhat.com>
30384         * elf/elf.h (R_AARCH64_ABS16): New macro.
30385         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30386         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30387         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30388         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30389         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30390         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30391         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30392         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30393         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30394         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30395         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30396         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30397         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30398         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30399         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30400         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30401         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30402         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30403         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30404         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30405         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30406         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30407         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30408         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30409         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30410         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30411         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30412         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30413         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30414         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30415         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30416         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30417         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30418         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30419         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30420         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30421         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30422         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30423         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30424         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30425         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30426         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30427         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30428         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30429         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30430         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30431         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30432         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30433         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30434         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30435         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30436         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30437         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30438         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30439         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30440         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30441         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30442         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30443         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30444         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30445         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30446         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30447         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30448         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30449         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30450         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30451         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30452         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30453         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30454         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30455         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30456         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30457         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30458         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30459         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30460         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30461         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30462         (R_AARCH64_TLSDESC_LDR): Likewise.
30463         (R_AARCH64_TLSDESC_ADD): Likewise.
30464         (R_AARCH64_TLSDESC_CALL): Likewise.
30466 2013-09-30  Andreas Schwab  <schwab@suse.de>
30468         [BZ #15048]
30469         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30470         the nss database lookup.
30471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30474 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30476         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30478 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30481         ${Bash-specific parameter/pattern/string} parameter expansion.
30482         * sysdeps/unix/make-syscalls.sh: Likewise.
30484 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30486         * sysdeps/sh/stackguard-macros.h: New file.
30488 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30491         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30492         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30493         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30494         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30495         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30497 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30499         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30500         Fix thread ID register.
30502 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30504         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30505         [POSIX || UNIX98]: Require rather than permitting all symbols from
30506         <time.h>.
30507         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30508         element of struct sched_param.
30509         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30510         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30511         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30512         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30513         constant.
30515 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30517         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30518         argument calculation.
30520 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30522         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30523         Expect macro.
30524         [POSIX] (pthread_attr_t): Do not require type.
30525         [POSIX] (pthread_cond_t): Likewise.
30526         [POSIX] (pthread_condattr_t): Likewise.
30527         [POSIX] (pthread_key_t): Likewise.
30528         [POSIX] (pthread_mutex_t): Likewise.
30529         [POSIX] (pthread_mutexattr_t): Likewise.
30530         [POSIX] (pthread_once_t): Likewise.
30531         [POSIX] (pthread_t): Likewise.
30532         [POSIX-based standards] (pthread_atfork): Expect function.
30534 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30535             Richard Sandiford  <richard@codesourcery.com>
30537         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30538         (swap_endianness_p): New extern variable.
30539         (set_big_endian): New inline function.
30540         (maybe_swap_uint32): Likewise.
30541         (maybe_swap_uint32_array): Likewise.
30542         (maybe_swap_uint32_obstack): Likewise.
30543         * locale/programs/locfile.c: Include <stdbool.h>.
30544         (swap_endianness_p): New variable.
30545         (add_locale_uint32): Call maybe_swap_uint32.
30546         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30547         (write_locale_data): Call maybe_swap_uint32_array.
30548         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30549         maybe_swap_uint32.
30550         (obstack_int32_grow_fast): Likewise.
30551         (output_weightwc): Call maybe_swap_uint32_obstack.
30552         (collate_output): Likewise.
30553         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30554         (OPT_LITTLE_ENDIAN): Likewise.
30555         (options): Add --little-endian and --big-endian options.
30556         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30557         * locale/programs/locarchive.c: Include "locfile.h".
30558         (GET): New macro.
30559         (SET): Likewise.
30560         (INC): Likewise.
30561         (create_archive): Use the new macros to access fields of
30562         structures directly mapped from or written to locale archives.
30563         (oldlocrecentcmp): Likewise.
30564         (enlarge_archive): Likewise.
30565         (insert_name): Likewise.
30566         (add_alias): Likewise.
30567         (add_locale): Likewise.
30568         (delete_locales_from_archive): Likewise.
30569         (show_archive_content): Likewise.
30570         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30571         locale data.
30573 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30575         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30576         http://www.gnu.org/doc/freemanuals.texi.
30577         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30579 2013-09-24  Will Newton  <will.newton@linaro.org>
30581         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30582         macro.
30584 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30586         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30587         unsigned char.
30589 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30591         * manual/threads.texi (POSIX Threads): Fix a typo.
30593 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30595         [BZ #14547]
30596         * string/tst-strcoll-overflow.c: New test case.
30597         * string/Makefile (xtests): Add tst-strcoll-overflow.
30598         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30599         cache if string sizes may cause integer overflow.
30601         [BZ #14547]
30602         * string/strcoll_l.c (coll_seq): New members rule, idx,
30603         save_idx and back_us.
30604         (get_next_seq_nocache): New function.
30605         (do_compare_nocache): New function.
30606         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30607         when malloc fails.
30609 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30611         [BZ #15754]
30612         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30613         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30614         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30616         [BZ #15754]
30617         * elf/Makefile (tests): Add tst-ptrguard1.
30618         (tests-static): Add tst-ptrguard1-static.
30619         (tst-ptrguard1-ARGS): Define.
30620         (tst-ptrguard1-static-ARGS): Define.
30621         * elf/tst-ptrguard1.c: New file.
30622         * elf/tst-ptrguard1-static.c: New file.
30623         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30624         * sysdeps/i386/stackguard-macros.h: Likewise.
30625         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30626         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30627         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30628         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30629         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30630         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30632 2013-09-23  Hector Marco  <hecmargi@upv.es>
30633             Ismael Ripoll  <iripoll@disca.upv.es>
30634             Carlos O'Donell  <carlos@redhat.com>
30636         [BZ #15754]
30637         * sysdeps/generic/stackguard-macros.h: Define
30638         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30639         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30640         Define __pointer_chk_guard_local.
30641         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30642         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30644 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30646         [BZ #15859]
30647         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30649 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30651         * include/string.h (__ffs): Declare as hidden.
30652         * string/ffs.c (__ffs): Define as hidden.
30653         * sysdeps/i386/ffs.c (__ffs): Likewise.
30654         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30655         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30656         * sysdeps/s390/ffs.c (__ffs): Likewise.
30657         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30659 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30661         * NEWS: Mention malloc probes.
30663         * malloc/arena.c (new_heap): New memory_heap_new probe.
30664         (grow_heap): New memory_heap_more probe.
30665         (shrink_heap): New memory_heap_less probe.
30666         (heap_trim): New memory_heap_free probe.
30667         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30668         (systrim): New memory_sbrk_less probe.
30669         * manual/probes.texi: Document them.
30671         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30672         * manual/probes.texi: Document it.
30674         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30675         (__libc_realloc): Add memory_realloc_retry probe.
30676         (__libc_memalign): Add memory_memalign_retry probe.
30677         (__libc_valloc): Add memory_valloc_retry probe.
30678         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30679         (__libc_calloc): Add memory_calloc_retry probe.
30680         * manual/probes.texi: Document them.
30682         * malloc/arena.c (get_free_list): Add probe
30683         memory_arena_reuse_free_list.
30684         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30685         and memory_arena_reuse.
30686         (arena_get2) [!PER_THREAD]: Likewise.
30687         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30688         memory_arena_reuse_realloc.
30689         * manual/probes.texi: Document them.
30691         * malloc/malloc.c (__libc_free): Add
30692         memory_mallopt_free_dyn_thresholds probe.
30693         (__libc_mallopt): Add multiple memory_mallopt probes.
30694         * manual/probes.texi: Document them.
30696         * malloc/malloc.c: Include stap-probe.h.
30697         (__libc_mallopt): Add memory_mallopt probe.
30698         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30699         * manual/probes.texi: New.
30700         * manual/Makefile (chapters): Add probes.
30701         * manual/threads.texi: Set next node.
30703 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30705         [BZ #15963, #13985]
30706         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30707         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30708         Add `Chinese' to `nan' entry name.
30710 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30712         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30713         (POLYNOMIAL): Likewise.
30714         (TAYLOR_SINCOS): Likewise.
30715         (TAYLOR_SLOW): Likewise.
30716         (__sin): Use TAYLOR_SINCOS.
30717         (__cos): Likewise.
30718         (slow): Use TAYLOR_SLOW.
30719         (sloww): Likewise.
30720         (bsloww): Likewise.
30721         (csloww): Likewise.
30723 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30725         * stdlib/strtod_l.c: Fix buffer overrun.
30727 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30729         * benchtests/Makefile (bench): Add sincos.
30730         * benchtests/bench-sincos.c: New file.
30732         * math/libm-test.inc (cos_test_data): New test inputs.
30733         (sin_test_data): Likewise.
30735         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30736         macro.
30737         (__sin): Use it.
30738         (__cos): Likewise.
30739         (slow1): Likewise.
30740         (slow2): Likewise.
30741         (sloww1): Likewise.
30742         (sloww2): Likewise.
30743         (bsloww1): Likewise.
30744         (bsloww2): Likewise.
30745         (cslow2): Likewise.
30746         (csloww1): Likewise.
30747         (csloww2): Likewise.
30749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30750         function.
30751         (__sin): Use it.
30752         (__cos): Likewise.
30754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30755         gotos.
30756         (__cos): Likewise.
30758 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30760         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30761         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30762         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30763         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30764         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30765         * elf/cache.c (print_entry): Handle the new cache flags.
30767 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30768             Aldy Hernandez  <aldyh@redhat.com>
30770         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30771         Change condition to [_SOFT_FLOAT].
30772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30784         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30787         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30788         declaration.
30790 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30792         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30793         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30794         (__longjmp): Use LOAD_GP to load saved GPRs.
30795         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30796         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30797         (__sigsetjmp): Use SAVE_GP to save GPRs.
30799         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30800         Do not append -msoft-float.
30801         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30803 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30805         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30807 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30809         [BZ #15966]
30810         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30811         (_FPU_GETCW): Use initial "__" on variable and field names but not
30812         on macro parameter name.
30813         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30814         parentheses around reference to macro parameter.
30816 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30818         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30819         prototype.
30820         (ctype_startup): Use uint32_t in cast and sizeof for
30821         ctype->charnames.
30823 2013-09-11  Jia Liu  <proljc@gmail.com>
30825         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30826         __daddr_t_defined.
30827         [__FreeBSD__]: Likewise.
30829 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30832         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30833         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30834         (strchr): Remove __strchr_sse42 ifunc selection.
30835         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30836         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30838 2013-09-11  Will Newton  <will.newton@linaro.org>
30840         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30841         parameter to RES. Remove hardcoded 1000 value.
30842         * benchtests/bench-skeleton.c (main): Pass RES parameter
30843         to TIMING_INIT and multiply result by 1000.
30845 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30849 2013-09-11  Andreas Schwab  <schwab@suse.de>
30851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30852         if not defined.
30853         (O_TMPFILE) [__USE_GNU]: Define.
30854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30855         Define.
30857 2013-09-11  Will Newton  <will.newton@linaro.org>
30859         [BZ #15857]
30860         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30861         does not overflow.
30863 2013-09-11  Will Newton  <will.newton@linaro.org>
30865         [BZ #15856]
30866         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30867         does not overflow.
30869 2013-09-11  Will Newton  <will.newton@linaro.org>
30871         [BZ #15855]
30872         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30873         does not overflow.
30875 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30877         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30878         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30879         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30881         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30883 2013-09-10  Allan McRae  <allan@archlinux.org>
30885         [BZ #15748]
30886         * manual/arith.texi (Parsing of Floats): Clarify
30887         cross-reference.
30889         [BZ #15849]
30890         * manual/install.texi (Running make install): Mention
30891         --enable-pt-chown.
30892         * INSTALL: Regenerated.
30894 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30896         * csu/init-first.c (_init): Remove the !SHARED condition around
30897         FPU control word initialization.
30898         * elf/dl-support.c (_dl_fpu_control): New variable.
30899         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30900         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30901         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30902         * math/test-fpucw-static.c: New file.
30903         * math/test-fpucw-ieee.c: New file.
30904         * math/test-fpucw-ieee-static.c: New file.
30905         * math/Makefile (tests): Add `test-fpucw-ieee' and
30906         `$(tests-static)'.
30907         (tests-static): New variable.
30908         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30909         dependency to...
30910         [($(build-shared),yes)]
30911         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30912         ... this.
30913         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30914         New dependency.
30916 2013-09-09  Allan McRae  <allan@archlinux.org>
30918         [BZ #15939]
30919         * manual/string.texi (Collation Functions): Fix typo in
30920         strcoll example.
30921         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30923         [BZ #15893]
30924         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30926         [BZ #15892]
30927         * libio/memstream.c (open_memstream): Fix memory leak.
30928         * libio/wmemstream.c (open_wmemstream): Likewise.
30930         [BZ #15895]
30931         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30933 2013-09-09  Will Newton  <will.newton@linaro.org>
30935         * malloc/Makefile: Add tst-realloc to tests.
30936         * malloc/tst-realloc.c: New file.
30938 2013-09-09  Allan McRae  <allan@archlinux.org>
30940         [BZ #15844]
30941         * COPYING: Update from GNU website to fix FSF address.
30942         * COPYING.LIB: Likewise.
30944 2013-09-06  David S. Miller  <davem@davemloft.net>
30946         * po/zh_TW.po: Update Chinese (traditional) translation from
30947         translation project.
30949 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30950             Joseph Myers  <joseph@codesourcery.com>
30952         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30953         "localeinfo.h".
30954         (obstack_chunk_alloc): New macro.
30955         (obstack_chunk_free): Likewise.
30956         (record_offset): New function.
30957         (init_locale_data): Likewise.
30958         (align_locale_data): Likewise.
30959         (add_locale_empty): Likewise.
30960         (add_locale_raw_data): Likewise.
30961         (add_locale_raw_obstack): Likewise.
30962         (add_locale_string): Likewise.
30963         (add_locale_wstring): Likewise.
30964         (add_locale_uint32): Likewise.
30965         (add_locale_uint32_array): Likewise.
30966         (add_locale_char): Likewise.
30967         (start_locale_structure): Likewise.
30968         (end_locale_structure): Likewise.
30969         (start_locale_prelude): Likewise.
30970         (end_locale_prelude): Likewise.
30971         (write_locale_data): Take locale_file structure rather than an
30972         iovec.
30973         * locale/programs/locfile.h: Include "obstack.h".
30974         (struct locale_file): Change to store locale file contents instead
30975         of header.
30976         (init_locale_data): New prototype.
30977         (align_locale_data): Likewise.
30978         (add_locale_empty): Likewise.
30979         (add_locale_raw_data): Likewise.
30980         (add_locale_raw_obstack): Likewise.
30981         (add_locale_string): Likewise.
30982         (add_locale_wstring): Likewise.
30983         (add_locale_uint32): Likewise.
30984         (add_locale_uint32_array): Likewise.
30985         (add_locale_char): Likewise.
30986         (start_locale_structure): Likewise.
30987         (end_locale_structure): Likewise.
30988         (start_locale_prelude): Likewise.
30989         (end_locale_prelude): Likewise.
30990         (write_locale_data): Update prototype.
30991         * locale/programs/3level.h (struct TABLE): Remove result field.
30992         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30993         Use new locale_file interface.
30994         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30995         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30996         * locale/programs/ld-address.c (address_output): Use new
30997         locale_file interface.
30998         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30999         NO_ADD_LOCALE.
31000         (collate_finish): Don't call collseq_table_finalize.
31001         (collate_output): Use new locale_file interface.
31002         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31003         in file.
31004         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31005         (TABLE): Move defines earlier in file.
31006         (ELEMENT): Likewise.
31007         (DEFAULT): Likewise.
31008         (wctrans_table_add): Move macro and inline function earlier in
31009         file.
31010         (struct wctype_table): Move type earlier in file.
31011         (add_locale_wctype_table): New static prototype.
31012         (struct locale_ctype_t): Use logical types instead of struct iovec
31013         pointers for members.
31014         (ctype_output): Use new locale_file interface.
31015         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31016         new locale_file interface.
31017         (allocate_arrays): Update for use of new locale_file interface.
31018         * locale/programs/ld-identification.c (identification_output): Use
31019         new locale_file interface.
31020         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31021         * locale/programs/ld-messages.c (messages_output): Likewise.
31022         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31023         * locale/programs/ld-name.c (name_output): Likewise.
31024         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31025         * locale/programs/ld-paper.c (paper_output): Likewise.
31026         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31027         * locale/programs/ld-time.c (time_output): Likewise.
31029 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31031         * benchtests/Makefile: Add memrchr benchmark.
31032         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31033         benchmark as memrchr.
31034         * benchtests/bench-memrchr-ifunc.c: New file.
31035         * benchtests/bench-memrchr.c: New file.
31037 2013-09-06   Will Newton  <will.newton@linaro.org>
31039         * benchtests/Makefile (string-bench): Add memcpy.
31041 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31042             Cong Wang  <amwang@redhat.com>
31044         [BZ #15850]
31045         * sysdeps/unix/sysv/linux/bits/in.h
31046         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31047         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31048         before __USE_KERNEL_IPV6_DEFS uses.
31049         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31050         IPPROTO_BEETPH.
31051         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31052         sockaddr_in6, or ipv6_mreq.
31054 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31056         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31057         memory access for final bytes in some large inputs.
31058         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31060 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31062         * string/test-memrchr.c: New file.
31063         * string/test-memrchr-ifunc.c: New file.
31064         * string/Makefile: Add new memrchr testcase.
31066 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31068         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31069         fanotify_init returns EPERM.
31071 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31073         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31074         errors.
31075         (top level): Treat second token from macro or constant entries for
31076         allowed headers as allowed.
31077         * include/complex.h: Condition internal declarations on
31078         [!_ISOMAC].
31079         * include/fenv.h: Condition include of <stdbool.h> and internal
31080         declarations on [!_ISOMAC].
31082 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31084         [BZ #15923]
31085         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31087 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31089         * configure.in (--enable-versioning): Remove configure option.
31090         (libc_cv_asm_symver_directive): Remove configure test.
31091         (libc_cv_ld_version_script_option): Likewise.
31092         (VERSIONING): Remove variable and AC_SUBST.
31093         (DO_VERSIONING): Remove AC_DEFINE.
31094         * configure: Regenerated.
31095         * config.h.in (DO_VERSIONING): Remove macro.
31096         * Makerules [$(versioning) = yes]: Change conditionals to
31097         [$(build-shared) = yes].
31098         * config.make.in (versioning): Remove variable.
31099         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31100         [$(build-shared) = yes].
31101         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31102         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31103         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31104         [$(build-shared) = yes].
31105         * extra-lib.mk [$(versioning) = yes]: Likewise.
31106         * hurd/Makefile [$(versioning) = yes]: Likewise.
31107         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31108         [SHARED].
31109         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31110         [SHARED].
31111         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31112         [SHARED && !NO_HIDDEN].
31113         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31114         [SHARED].
31115         [SHARED && DO_VERSIONING]: Likewise..
31116         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31117         [$(build-shared) = yes].
31118         * manual/install.texi (--disable-versioning): Remove
31119         documentation.
31120         * INSTALL: Regenerated.
31121         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31122         to [SHARED].
31123         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31124         [$(build-shared) = yes].
31125         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31126         * sysdeps/i386/i686/multiarch/strstr-c.c
31127         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31128         [SHARED && !NO_HIDDEN].
31129         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31130         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31131         * sysdeps/powerpc/powerpc32/dl-machine.c
31132         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31133         * sysdeps/powerpc/powerpc32/sysdep.h
31134         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31135         to [SHARED && PIC && !NO_HIDDEN].
31136         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31137         conditional to [SHARED].
31139 2013-09-04   Will Newton  <will.newton@linaro.org>
31141         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31142         * benchtests/bench-string.h: Include bench-timing.h instead
31143         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31144         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31145         call to HP_TIMING_DIFF_INIT.
31146         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31147         instead of hp-timing.h macros.
31148         * benchtests/bench-memchr.c: Likewise.
31149         * benchtests/bench-memcmp.c: Likewise.
31150         * benchtests/bench-memcpy.c: Likewise.
31151         * benchtests/bench-memmem.c: Likewise.
31152         * benchtests/bench-memmove.c: Likewise.
31153         * benchtests/bench-memset.c: Likewise.
31154         * benchtests/bench-rawmemchr.c: Likewise.
31155         * benchtests/bench-strcasecmp.c: Likewise.
31156         * benchtests/bench-strcasestr.c: Likewise.
31157         * benchtests/bench-strcat.c: Likewise.
31158         * benchtests/bench-strchr.c: Likewise.
31159         * benchtests/bench-strcmp.c: Likewise.
31160         * benchtests/bench-strcpy.c: Likewise.
31161         * benchtests/bench-strcpy_chk.c: Likewise.
31162         * benchtests/bench-strlen.c: Likewise.
31163         * benchtests/bench-strncasecmp.c: Likewise.
31164         * benchtests/bench-strncat.c: Likewise.
31165         * benchtests/bench-strncmp.c: Likewise.
31166         * benchtests/bench-strncpy.c: Likewise.
31167         * benchtests/bench-strnlen.c: Likewise.
31168         * benchtests/bench-strpbrk.c: Likewise.
31169         * benchtests/bench-strrchr.c: Likewise.
31170         * benchtests/bench-strspn.c: Likewise.
31171         * benchtests/bench-strstr.c: Likewise.
31173 2013-09-04  Will Newton  <will.newton@linaro.org>
31175         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31177 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31179         [BZ #15427]
31180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31181         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31182         * math/libm-test.inc (lgamma_test_data): Add more tests.
31183         * sysdeps/i386/fpu/libm-test-ulps: Update.
31184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31186 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31188         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31190         Add ifunc.
31191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31192         Add strcmp-sse2-unaligned
31193         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31195 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31197         * Versions.def (libc): Add GLIBC_2.19.
31199 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31201         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31202         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31204 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31206         [BZ #14155]
31207         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31208         intermediate calculations in recurrence.
31209         (__ieee754_ynf): Likewise.
31210         * math/libm-test.inc (jn_test_data): Do not allow spurious
31211         underflow exception.  Add more tests.
31212         (yn_test_data): Add more tests.
31213         * sysdeps/i386/fpu/libm-test-ulps: Update.
31214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31216 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31218         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31220 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31222         * csu/init-first.c: Fix then/than typos.
31223         * locale/programs/ld-collate.c: Likewise.
31224         * locale/programs/linereader.h: Likewise.
31225         * manual/charset.texi: Likewise.
31226         * manual/filesys.texi: Likewise.
31227         * manual/stdio.texi: Likewise.
31228         * manual/string.texi: Likewise.
31229         * stdlib/fmtmsg.c: Likewise.
31230         * sysdeps/i386/stpncpy.S: Likewise.
31231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31232         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31233         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31234         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31236 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31238         * elf/dl-open.c: Fix typos.
31239         * iconvdata/gbbig5.c: Likewise.
31240         * iconvdata/iso-2022-jp.c: Likewise.
31241         * iconv/gconv_int.h: Likewise.
31242         * iconv/loop.c: Likewise.
31243         * nis/rpcsvc/nis.h: Likewise.
31244         * resolv/ns_name.c: Likewise.
31245         * stdio-common/vfscanf.c: Likewise.
31246         * streams/stropts.h: Likewise.
31247         * sunrpc/rpc_thread.c: Likewise.
31248         * sysdeps/i386/strpbrk.S: Likewise.
31249         * sysdeps/ieee754/k_standard.c: Likewise.
31250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31251         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31252         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31253         * sysdeps/mach/hurd/profil.c: Likewise.
31254         * sysdeps/s390/dl-procinfo.h: Likewise.
31255         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31256         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31257         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31258         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31259         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31261 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31263         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31266 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31268         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31269         aix specific files.
31270         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31273         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31274         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31275         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31276         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31277         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31279 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31280             Roland McGrath  <roland@hack.frob.com>
31282         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31283         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31285 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31287         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31288         __executable_start symbol instead of _start.
31290 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31292         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31293         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31294         Move macros to...
31295         * sysdeps/gnu/ldsodefs.h: ... this new file.
31297         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31298         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31299         instead of ELFOSABI_LINUX.
31301         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31302         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31303         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31304         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31305         Likewise.
31306         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31307         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31308         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31309         Likewise.
31310         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31311         (ibm_extended_long_double): Add ieee_nan member.
31312         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31313         (do_test): New function.
31315         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31316         TEST_TRUNC.
31317         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31318         functions, renamed from truncdfsf_test, trunctfsf_test,
31319         trunctfdf_test.
31320         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31321         functions.
31322         (do_test): Run all these.
31324 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31326         * argp/argp-help.c: Fix typos.
31327         * argp/argp-parse.c: Likewise.
31328         * debug/backtracesyms.c: Likewise.
31329         * elf/elf.h: Likewise.
31330         * malloc/malloc.c: Likewise.
31331         * nis/nis_print.c: Likewise.
31332         * resolv/res_comp.c: Likewise.
31333         * stdlib/stdlib.h: Likewise.
31334         * sunrpc/clnt_tcp.c: Likewise.
31335         * sunrpc/clnt_udp.c: Likewise.
31336         * sunrpc/clnt_unix.c: Likewise.
31337         * sysdeps/unix/bsd/ptsname.c: Likewise.
31338         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31339         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31341         Likewise.
31342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31343         Likewise.
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31345         Likewise.
31346         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31348 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31350         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31353 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31355         [BZ #15897]
31356         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31357         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31358         ($(objpfx)bug-dl-leaf): New rule.
31359         ($(objpfx)bug-dl-leaf.so): Likewise.
31360         ($(objpfx)bug-dl-leaf.out): Likewise.
31361         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31362         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31363         * dlfcn/bug-dl-leaf.c: New test.
31364         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31365         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31366         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31367         (dlclose): Likewise.
31368         (dlmopen): Likewise.
31370 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31372         * include/netdb.h [!_ISOMAC]:
31373         Don't include <tls.h>.
31374         (h_errno, __libc_h_errno): Move declaration and macros out of
31375         [_LIBC_REENTRANT].
31377         * include/resolv.h [_RESOLV_H_]:
31378         Don't include <tls.h>.
31379         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31380         * resolv/res_libc.c: Don't include <tls.h>.
31381         (_res): Use __attribute__ ((nocommon)) in place of
31382         __attribute__ ((section (".bss"))).
31384         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31385         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31387         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31389         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31390         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31392         * resolv/res_mkquery.c: Include <sys/time.h>.
31394         * inet/ifreq.c: Moved to ...
31395         * sysdeps/unix/ifreq.c: ... here.
31396         * inet/ifreq.c: New file, true stub version.
31398         * socket/sa_len.c: New file.
31399         * socket/Makefile (aux): Add it.
31400         * sysdeps/unix/sysv/linux/Makefile
31401         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31402         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31403         and #include <socket/sa_len.c>.
31404         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31405         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31407         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31408         * bits/socket.h: ... here.
31410         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31411         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31412         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31414 2013-08-27  Andreas Schwab  <schwab@suse.de>
31416         [BZ #15736]
31417         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31418         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31419         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31420         * string/test-strcasecmp.c (test_main): Run tests in several
31421         locales.
31422         * string/test-strncasecmp.c (test_main): Likewise.
31424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31425         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31426         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31428         (__strncasecmp_ssse3) [PIC]: Likewise.
31430 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31432         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31434         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31435         instead of explicitly declaring xdecrypt.
31436         * nis/nss_nis/nis-publickey.c: Likewise.
31438 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31440         [BZ #15890]
31441         * nscd/aicache.c: Include res_hconf.h.
31442         (addhstaiX): Initialize res_hconf.
31444 2013-08-26  Andreas Schwab  <schwab@suse.de>
31446         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31447         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31449 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31451         * nscd/aicache.c (addhstaiX): Fix indentation.
31453 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31455         * configure.ac: Quote $build_pt_chown test.
31456         * configure: Regenerated.
31458 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31460         [BZ #15532]
31461         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31462         * math/s_cexpf.c (__cexpf): Likewise.
31463         * math/s_cexpl.c (__cexpl): Likewise.
31464         * math/libm-test.inc (cexp_test_data): Correct expected return
31465         value for NaN + i0.  Add another test.
31467 2013-08-22  David S. Miller  <davem@davemloft.net>
31469         * po/ca.po: Update Catalan translation from translation project.
31470         * po/uk.po: Add Ukrainian translations from translation project.
31472 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31474         [BZ #15797]
31475         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31476         is infinite, not alongside NaN test.
31477         * math/s_fdimf.c (__fdimf): Likewise.
31478         * math/s_fdiml.c (__fdiml): Likewise.
31479         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31480         errno is unchanged.
31482 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31484         * argp/argp-help.c: Fix typos.
31485         * crypt/speeds.c: Likewise.
31486         * csu/check_fds.c: Likewise.
31487         * elf/dl-load.c: Likewise.
31488         * elf/dl-open.c: Likewise.
31489         * elf/reldep3.c: Likewise.
31490         * elf/reldep.c: Likewise.
31491         * elf/sprof.c: Likewise.
31492         * iconv/iconv_charmap.c: Likewise.
31493         * iconv/skeleton.c: Likewise.
31494         * iconv/strtab.c: Likewise.
31495         * io/lockf64.c: Likewise.
31496         * libio/libioP.h: Likewise.
31497         * resolv/gai_notify.c: Likewise.
31498         * resolv/ns_name.c: Likewise.
31499         * resolv/ns_samedomain.c: Likewise.
31500         * resolv/res_send.c: Likewise.
31501         * stdlib/random.c: Likewise.
31502         * sunrpc/rpc/xdr.h: Likewise.
31503         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31504         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31505         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31506         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31507         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31508         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31510         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31511         * sysdeps/mach/hurd/check_fds.c: Likewise.
31512         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31513         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31516         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31517         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31518         * sysdeps/pthread/aio_notify.c: Likewise.
31519         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31520         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31521         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31523         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31525 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31527         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31528         version if bit_Slow_SSE4_2 is set.
31529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31532 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31534         [BZ #15867]
31535         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31536         trampoline stack frame information.
31537         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31539         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31540         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31541         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31542         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31543         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31544         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31545         sa_flags value.
31546         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31547         interrupting a syscall and set with option SA_SIGINFO.
31549 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31551         [BZ #15531]
31552         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31553         argument is infinite.
31554         * math/s_cprojf.c (__cprojf): Likewise.
31555         * math/s_cprojl.c (__cprojl): Likewise.
31556         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31557         * math/libm-test.inc (cproj_test_data): Add more tests.
31559         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31561         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31562         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31563         size.  Use __ffs to determine corresponding shift.
31565 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31566             Roland McGrath  <roland@hack.frob.com>
31568         * Makefile (INSTALL): Remove trailing blank lines from output of
31569         makeinfo.
31571 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31573         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31574         Align 32 bit compat elf_greg to 8 bytes.
31576 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31578         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31580 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31582         * string/strcoll_l.c (coll_seq): New structure.
31583         (get_next_seq_cached): New function.
31584         (get_next_seq): New function.
31585         (do_compare): New function.
31586         (STRCOLL): Use GNU style definition.  Simplify implementation
31587         by using get_next_seq, get_next_seq_cached and do_compare.
31589 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31591         [BZ #14699]
31592         CVE-2013-4237
31593         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31594         member.
31595         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31596         member.
31597         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31598         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31599         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31600         conditional.
31601         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31602         GETDENTS_64BIT_ALIGNED.
31603         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31604         * manual/filesys.texi (Reading/Closing Directory): Document
31605         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31606         strongly.
31607         * manual/conf.texi (Limits for Files): Add portability note to
31608         NAME_MAX, PATH_MAX.
31609         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31611 2013-08-13  Andreas Schwab  <schwab@suse.de>
31613         [BZ #15749]
31614         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31615         of fabs.
31616         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31617         LDBL_MAX_EXP >= 16384]: Add tests for it.
31619 2013-08-12  David S. Miller  <davem@davemloft.net>
31621         * version.h (RELEASE): Set to "development".
31622         (VERSION): Set to "2.18.90".
31623         * NEWS: Add 2.19 section.
31625 2013-08-03  David S. Miller  <davem@davemloft.net>
31627         * po/ko.po: Update Korean translation from translation project.
31629 2013-08-01  David S. Miller  <davem@davemloft.net>
31631         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31632         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31633         Bilka.
31635 2013-07-30  David S. Miller  <davem@davemloft.net>
31637         * po/fr.po: Update French translation from translation project.
31639 2013-07-28  David S. Miller  <davem@davemloft.net>
31641         * po/cs.po: Update Czech translation from translation project.
31643         * po/sv.po: Update Swedish translation from translation project.
31645 2013-07-27  David S. Miller  <davem@davemloft.net>
31647         * po/eo.po: Update Esperanto translation from translation project.
31649         * po/vi.po: Update Vietnamese translation from translation project.
31651         * po/de.po: Update German translation from translation project.
31653 2013-07-26  David S. Miller  <davem@davemloft.net>
31655         * po/bg.po: Update Bulgarian translation from translation project.
31657         * po/nl.po: Update Dutch translation from translation project.
31658         * po/pl.po: Update Polish translation from translation project.
31659         * po/ru.po: Update Russian translation from translation project.
31661 2013-07-24  David S. Miller  <davem@davemloft.net>
31663         * po/libc.pot: Update.
31665 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31667         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31668         variable page size.
31669         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31670         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31671         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31673 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31675         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31677 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31678             Andreas Schwab  <schwab@suse.de>
31679             Roland McGrath  <roland@hack.frob.com>
31680             Joseph Myers  <joseph@codesourcery.com>
31681             Carlos O'Donell  <carlos@redhat.com>
31683         [BZ #15755]
31684         * config.h.in: Define HAVE_PT_CHOWN.
31685         * config.make.in (build-pt-chown): New variable.
31686         * configure.in (--enable-pt_chown): New configure option.
31687         * configure: Regenerate.
31688         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31689         build-pt-chown is enabled.
31690         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31691         pt_chown to fix pty ownership.
31692         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31693         CLOSE_ALL_FDS.
31694         * manual/install.texi (Configuring and compiling): Mention
31695         --enable-pt_chown. Add @findex for grantpt.
31696         * INSTALL: Regenerate.
31698 2013-07-20  David S. Miller  <davem@davemloft.net>
31700         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31701         difference between 32-bit and 64-bit.
31703 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31705         [BZ #15711]
31706         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31707         Avoid system header dependency with -ffreestanding.
31708         ($(objpfx)bits/syscall%d): Likewise.
31710 2013-07-13  David S. Miller  <davem@davemloft.net>
31712         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31713         underflows from atanl/atan2l due to bug 15319.
31714         (casinh_test_data): Likewise.
31716 2013-07-07  David S. Miller  <davem@davemloft.net>
31718         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31720 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31722         * sysdeps/i386/fpu/libm-test-ulps: Update.
31723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31725 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31727         * configure.in (--enable-lock-elision): Fix message text.
31728         * INSTALL: Regenerate.
31729         * configure: Regenerate.
31731 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31735 2013-07-03  Andreas Jaeger  <aj@suse.de>
31737         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31738         define.
31739         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31740         (ptrace_peeksiginfo_args): Add.
31741         (__ptrace_peeksiginfo_flags): Add.
31742         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31743         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31744         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31746 2013-07-03  Allan McRae  <allan@archlinux.org>
31748         * sysdeps/i386/fpu/libm-test-ulps: Update.
31750 2013-07-02  David S. Miller  <davem@davemloft.net>
31752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31754 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31758 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31760         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31763 2013-07-02  Andi Kleen <ak@linux.intel.com>
31765         * config.h.in (ENABLE_LOCK_ELISION): Add.
31766         * configure.in (--enable-lock-elision): Add option.
31767         * manual/install.texi: Document --enable lock elision.
31768         * configure: Regenerate
31769         * INSTALL: Regenerate.
31771 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31773         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31774         SSE4.2 strcasecmp for libc.a.
31775         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31777 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31779         [BZ #13304]
31780         * soft-fp/op-common.h (_FP_FMA): New macro.
31781         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31782         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31783         (_FP_MUL_MEAT_1_imm): ... here.
31784         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31785         (_FP_MUL_MEAT_1_wide): ... here.
31786         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31787         (_FP_MUL_MEAT_1_hard): ... here.
31788         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31789         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31790         (_FP_MUL_MEAT_2_wide): ... here.
31791         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31792         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31793         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31794         (_FP_MUL_MEAT_2_gmp): ... here.
31795         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31796         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31797         (_FP_MUL_MEAT_4_wide): ... here.
31798         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31799         (_FP_MUL_MEAT_4_gmp): ... here.
31800         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31801         (_FP_WFRACBITS_DW_S): Likewise.
31802         (_FP_WFRACXBITS_DW_S): Likewise.
31803         (_FP_HIGHBIT_DW_S): Likewise.
31804         (FP_FMA_S): Likewise.
31805         (_FP_FRAC_HIGH_DW_S): Likewise.
31806         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31807         (_FP_WFRACBITS_DW_D): Likewise.
31808         (_FP_WFRACXBITS_DW_D): Likewise.
31809         (_FP_HIGHBIT_DW_D): Likewise.
31810         (FP_FMA_D): Likewise.
31811         (_FP_FRAC_HIGH_DW_D): Likewise.
31812         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31813         (_FP_WFRACBITS_DW_E): Likewise.
31814         (_FP_WFRACXBITS_DW_E): Likewise.
31815         (_FP_HIGHBIT_DW_E): Likewise.
31816         (FP_FMA_E): Likewise.
31817         (_FP_FRAC_HIGH_DW_E): Likewise.
31818         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31819         (_FP_WFRACBITS_DW_Q): Likewise.
31820         (_FP_WFRACXBITS_DW_Q): Likewise.
31821         (_FP_HIGHBIT_DW_Q): Likewise.
31822         (FP_FMA_Q): Likewise.
31823         (_FP_FRAC_HIGH_DW_Q): Likewise.
31824         * soft-fp/fmasf4.c: New file.
31825         * soft-fp/fmadf4.c: Likewise.
31826         * soft-fp/fmatf4.c: Likewise.
31828 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31831         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31832         Silvermont.
31833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31834         macro.
31835         (index_Slow_SSE4_2): Likewise.
31836         (index_Prefer_PMINUB_for_stringop): Likewise.
31837         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31838         bit_Slow_SSE4_2 is set.
31839         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31840         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31842 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31844         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31845         rtld_global._dl_hwcap2.
31846         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31847         POWER8.
31848         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31849         POWER8 feature descriptions defined in _dl_hwcap2.
31850         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31851         string handling for POWER8 feature bits.
31852         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31853         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31854         _dl_powerpc_cap_flags.
31855         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31856         * sysdeps/powerpc/rtld-global-offsets.sym
31857         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31858         _dl_hwcap2 in the rtld_global_ro structure.
31860 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31862         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31863         hardware capabilities in support of AT_HWCAP2.
31864         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31865         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31866         GLRO(dl_hwcap2).
31867         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31868         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31869         explicitly the unknown a_type display mechanism is used.
31870         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31871         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31872         struct member.
31873         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31874         to macro prototype for AT_HWCAP2 support.
31875         * sysdeps/i386/dl-procinfo.h: Likewise.
31876         * sysdeps/s390/dl-procinfo.h: Likewise.
31877         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31878         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31879         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31880         return -1 for unknown a_type display fallback.
31881         * sysdeps/sparc/dl-procinfo.h: Likewise.
31882         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31883         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31885 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31887         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31888         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31890 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31892         [BZ #12492]
31893         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31894         mprotect making __stack_prot writable.
31896 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31897             Joseph Myers  <joseph@codesourcery.com>
31899         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31900         as being properly aligned.
31902 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31904         * dlfcn/modstatic5.c: New file.
31905         * dlfcn/tststatic5.c: New file.
31906         * dlfcn/Makefile (tests): Add tststatic5.
31907         (tests-static): Likewise.
31908         (modules-names): Add modstatic5.
31909         (tststatic5-ENV): New variable.
31910         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31912         [BZ #15022]
31913         * elf/dl-support.c (_dl_main_map): New variable.
31914         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31915         (_dl_nns, _dl_load_adds): Set to 1.
31916         (_dl_initial_searchlist): Refer to _dl_main_map.
31917         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31918         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31919         call to _dl_get_origin.
31920         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31921         around call_map.
31922         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31923         * dlfcn/modstatic3.c: New file.
31924         * dlfcn/tststatic3.c: New file.
31925         * dlfcn/tststatic4.c: New file.
31926         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31927         (tests-static): Likewise.
31928         (modules-names): Add modstatic3.
31929         (tststatic3-ENV, tststatic4-ENV): New variables.
31930         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31931         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31933 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31935         * configure.in (CC): Require GCC version 4.4 or later.
31936         * configure: Regenerated.
31937         * manual/install.texi (Tools for Compilation): Update GCC version
31938         requirement.
31939         * INSTALL: Regenerated.
31941 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31943         [BZ #15674]
31944         * string/test-memcmp.c (check2): New.
31945         (main): Call check2.
31947         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31949 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31951         [BZ #15022]
31952         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31953         over to...
31954         (dl_open_worker) [!SHARED]: ... here.
31956 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31958         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31960 2013-06-25  Richard Henderson  <rth@redhat.com>
31962         * locale/programs/locarchive.c: Include <libc-internal.h>
31964 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31966         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31967         trailing whitespace removed.
31969 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31971         [BZ #10283]
31972         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31973         * locale/programs/locarchive.c: Include libc-mmap.h.
31974         (prepare_address_space): Take two new outputs (the mmap base and len).
31975         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31976         values.
31977         (create_archive): Declare new mmap base and len values for
31978         prepare_address_space, and store the result in ah.
31979         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31980         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31981         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31982         Declare new mmap base and len values for
31983         prepare_address_space, and store the result in new_ah.
31984         (open_archive): Declare new mmap base and len values for
31985         prepare_address_space, and store the result in ah.
31986         (close_archive): If ah->mmap_base is not NULL, use that and
31987         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31988         * sysdeps/generic/libc-mmap.h: New file.
31990 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31992         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31993         (ALIGN_UP): Likewise.
31994         (PTR_ALIGN_DOWN): Likewise.
31995         (PTR_ALIGN_UP): Likewise.
31997 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31999         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32000         entry mapped to PPC_PLATFORM_POWER8.
32001         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32002         POWER8.
32003         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32004         (_dl_string_platform): Add case for exporting platform position for
32005         POWER8.
32006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32007         search path to sysdeps/powerpc/powerpc32/power8 directory.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32009         search path to sysdeps/powerpc/powerpc64/power8 directory.
32010         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32011         power7 directories.
32012         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32013         power7 directories.
32015 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32017         * INSTALL: Regenerate.
32019         * nscd/connections.c (nscd_init): Fix comment.
32021 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32023         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32025         [BZ #15667]
32026         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32027         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32029 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32031         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32032         DL_DST_REQ_STATIC.
32033         (DL_DST_REQ_STATIC): Remove macro.
32035 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32037         [BZ #7006]
32038         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32039         with a shift of 0 bits.
32041 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32043         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32044         $(tststatic-ENV).
32046 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32048         [BZ #15655]
32049         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32051 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32053         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32054         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32055         accepts -fno-tree-loop-distribute-patterns.
32056         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32057         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32058         recursive call.
32059         * string/memset.c (memset): Likewise.
32060         * string/test-memmove.c (simple_memmove): Disable loop transformation
32061         to library calls.
32062         * string/test-memset.c (simple_memset): Likewise.
32063         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32064         * benchtests/bench-memset.c (simple_memset): Likewise.
32065         * configure: Regenerated.
32067 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32069         * math/test-misc.c (main): Ignore fesetround failure when failures
32070         of subsequent rounding tests would be ignored.
32072         [BZ #15654]
32073         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32074         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32075         * math/fegetenv.c (__fegetenv): Return 0.
32076         * math/fegetexcept.c (fegetexcept): Return 0.
32077         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32078         FE_TONEAREST.
32079         * math/feholdexcpt.c (feholdexcept): Return 0.
32080         * math/fesetenv.c (__fesetenv): Return 0.
32081         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32082         argument FE_TONEAREST.
32083         * math/feupdateenv.c (__feupdateenv): Return 0.
32084         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32086 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32088         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32089         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32090         ($(objpfx)rtld-%.os rules): Use them.
32092 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32094         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32095         fields.
32097 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32099         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32100         length of target pattern, then descending length of dependency pattern.
32101         * configure.in (AWK): Require gawk 3.1.2 or newer.
32102         * manual/install.texi (Tools for Compilation): Say that we do.
32103         * configure: Regenerated.
32105         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32106         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32107         * scripts/sysd-rules.awk: ... this new script.
32108         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32109         than a glob-style pattern.
32111 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32113         * math/test-misc.c (main): Do not treat incorrectly rounded
32114         conversions as failure unless ROUNDING_TESTS passes.
32116 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32118         [BZ #15631]
32119         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32120         restore exception state around main square root computation, then
32121         check for inexactness explicitly.
32123         * math/libm-test.inc (fma_test_data): Add another test.
32125 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32127         * manual/threads.texi (Non-POSIX Extensions): New document
32128         node.  Document pthread_getattr_default_np and
32129         pthread_setattr_default_np.
32131         * Versions.def (libpthread): Add GLIBC_2.18.
32132         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32134         Likewise.
32135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32136         Likewise.
32137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32138         Likewise.
32139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32140         Likewise.
32141         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32142         Likewise.
32143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32144         Likewise.
32145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32146         Likewise.
32147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32148         Likewise.
32149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32150         Likewise.
32152 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32155         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32157 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32158             H.J. Lu  <hjl.tools@gmail.com>
32160         [BZ #15627]
32161         * sysdeps/x86_64/rtld-memset.c: Remove file.
32162         * sysdeps/x86_64/rtld-memset.S: New file.
32164 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32166         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32167         (test_in_one_mode): Take arguments for whether the rounding mode
32168         is supported for each floating-point type.
32169         (do_test): Pass new arguments to test_in_one_mode using
32170         ROUNDING_TESTS.
32172 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32174         * posix/tst-waitid.c (do_test): Distinguish different instances of
32175         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32176         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32177         before entering the kernel for waitpid.
32179 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32181         * NEWS: Fix note on clock function precision.  Text by Roland
32182         McGrath.
32184 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32186         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32187         it into place only when and if the sanity check passes.
32189 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32191         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32192         output for whether conversion result is exact.  Take argument
32193         indicating whether type is IBM long double.
32194         (round_for_all): Change need_exact field to ibm_ld.
32195         * stdlib/tst-strtod-round.c (struct exactness): New type.
32196         (struct test): Change bool ld_ok field to struct exactness exact.
32197         (TEST): Update all definitions for change to field.
32198         (tests): Regenerate array contents.
32199         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32200         field value.  Check for IBM long double here.
32201         (do_test): Update calls to test_in_one_mode.
32203 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32205         [BZ #12515]
32206         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32207         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32209 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32211         [BZ #15605]
32212         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32213         generated by the compiler on loop optimizations.
32214         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32215         general definitions.
32217 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32219         * math/bug-nextafter.c: Include <math-tests.h>.
32220         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32221         the relevant type.
32222         * math/bug-nexttoward.c: Include <math-tests.h>.
32223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32224         the relevant type.
32225         * math/test-misc.c: Include <math-tests.h>.
32226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32227         the relevant type.
32229 2013-06-12  Andreas Jaeger  <aj@suse.de>
32231         * po/ia.po: Update Interlingua translation from translation
32232         project.
32234 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32236         * include/fenv.h: Include stdbool.h.
32237         (struct rm_ctx): New structure.
32238         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32239         Define macro.
32240         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32241         (SET_RESTORE_ROUNDF): Likewise.
32242         (SET_RESTORE_ROUNDL): Likewise.
32243         (SET_RESTORE_ROUND_NOEX): Likewise.
32244         (SET_RESTORE_ROUND_NOEXF): Likewise.
32245         (SET_RESTORE_ROUND_NOEXL): Likewise.
32246         (SET_RESTORE_ROUND_53BIT): Likewise.
32247         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32248         (libc_feresetround_noexf_ctx): Likewise.
32249         (libc_feresetround_noexl_ctx): Likewise.
32250         (libc_feholdsetround_53bit_ctx): Likewise.
32251         (libc_feresetround_53bit_ctx): Likewise.
32252         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32253         (libc_feholdexcept_setround_sse_ctx): New function.
32254         (libc_fesetenv_sse_ctx): Likewise.
32255         (libc_feupdateenv_sse_ctx): Likewise.
32256         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32257         (libc_feholdexcept_setround_387_ctx): Likewise.
32258         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32259         (libc_feholdsetround_387_prec_ctx): Likewise.
32260         (libc_feholdsetround_387_ctx): Likewise.
32261         (libc_feholdsetround_387_53bit_ctx): Likewise.
32262         (libc_feholdsetround_sse_ctx): Likewise.
32263         (libc_feresetround_sse_ctx): Likewise.
32264         (libc_feresetround_387_ctx): Likewise.
32265         (libc_feupdateenv_387_ctx): Likewise.
32266         (libc_feholdexcept_setroundf_ctx): Define macro.
32267         (libc_fesetenvf_ctx): Likewise.
32268         (libc_feupdateenvf_ctx): Likewise.
32269         (libc_feholdsetroundf_ctx): Likewise.
32270         (libc_feresetroundf_ctx): Likewise.
32271         (libc_feholdexcept_setround_ctx): Likewise.
32272         (libc_fesetenv_ctx): Likewise.
32273         (libc_feupdateenv_ctx): Likewise.
32274         (libc_feholdsetround_ctx): Likewise.
32275         (libc_feresetround_ctx): Likewise.
32276         (libc_feholdexcept_setroundl_ctx): Likewise.
32277         (libc_feupdateenvl_ctx): Likewise.
32278         (libc_feholdsetroundl_ctx): Likewise.
32279         (libc_feresetroundl_ctx): Likewise.
32280         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32281         (libc_feresetround_53bit_ctx): Likewise.
32283 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32285         * locale/iso-639.def: Convert to UTF-8.
32287 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32289         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32290         (EXCEPTION_TESTS_double): Likewise.
32291         (EXCEPTION_TESTS_long_double): Likewise.
32292         (EXCEPTION_TESTS): Likewise.
32293         * math/libm-test.inc (test_exceptions): Only test exceptions if
32294         EXCEPTION_TESTS (FLOAT).
32296 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32298         * benchtests/Makefile (string-bench): Add strcpy_chk and
32299         stpcpy_chk.
32300         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32301         * benchtests/bench-stpcpy_chk.c: New file.
32302         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32303         * benchtests/bench-strcpy_chk.c: New file.
32304         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32305         code.
32306         (do_test): Likewise.
32308 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32310         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32311         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32312         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32313         with tabs where appropriate.
32314         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32315         dl-procinfo.h.
32316         [PPC_PLATFORM_PPC440]: Likewise.
32317         [PPC_PLATFORM_PPC464]: Likewise.
32318         [PPC_PLATFORM_PPC476]: Likewise.
32319         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32320         ppc464, and ppc476 platform strings merging from ports/
32321         dl-procinfo.h.
32323 2013-06-11  Andreas Schwab  <schwab@suse.de>
32325         [BZ #14991]
32326         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32327         (from_ucs4_idx): Regenerate.
32328         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32329         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32330         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32331         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32332         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32333         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32334         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32335         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32336         from FROM_LOOP and TO_LOOP specific macros.
32337         (BODY): Handle combining characters.
32338         * iconvdata/BIG5HKSCS.irreversible: Update.
32339         * iconvdata/BIG5HKSCS.precomposed: New file.
32340         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32341         characters.
32342         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32344 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32346         * include/sys/time.h: Fix indentation and add copyright header.
32348         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32349         (do_test): Likewise.
32350         * string/test-memchr.c (do_one_test): Likewise.
32351         (do_test): Likewise.
32352         * string/test-memcmp.c (do_one_test): Likewise.
32353         (do_test): Likewise.
32354         * string/test-memcpy.c (do_one_test): Likewise.
32355         (do_test): Likewise.
32356         * string/test-memmem.c (do_one_test): Likewise.
32357         (do_test): Likewise.
32358         (do_random_tests): Likewise.
32359         * string/test-memmove.c (do_one_test): Likewise.
32360         (do_test): Likewise.
32361         * string/test-memset.c (do_one_test): Likewise.
32362         (do_test): Likewise.
32363         * string/test-rawmemchr.c (do_one_test): Likewise.
32364         (do_test): Likewise.
32365         * string/test-strcasecmp.c (do_one_test): Likewise.
32366         (do_test): Likewise.
32367         * string/test-strcasestr.c (do_one_test): Likewise.
32368         (do_test): Likewise.
32369         * string/test-strcat.c (do_one_test): Likewise.
32370         (do_test): Likewise.
32371         * string/test-strchr.c (do_one_test): Likewise.
32372         (do_test): Likewise.
32373         * string/test-strcmp.c (do_one_test): Likewise.
32374         (do_test): Likewise.
32375         * string/test-strcpy.c (do_one_test): Likewise.
32376         (do_test): Likewise.
32377         * string/test-string.h: Likewise.
32378         (test_init): Likewise.
32379         * string/test-strlen.c (do_one_test): Likewise.
32380         (do_test): Likewise.
32381         * string/test-strncasecmp.c (do_one_test): Likewise.
32382         (do_test): Likewise.
32383         * string/test-strncat.c (do_one_test): Likewise.
32384         (do_test): Likewise.
32385         * string/test-strncmp.c (do_one_test): Likewise.
32386         (do_test_limit): Likewise.
32387         (do_test): Likewise.
32388         * string/test-strncpy.c (do_one_test): Likewise.
32389         (do_test): Likewise.
32390         * string/test-strnlen.c (do_one_test): Likewise.
32391         (do_test): Likewise.
32392         * string/test-strpbrk.c (do_one_test): Likewise.
32393         (do_test): Likewise.
32394         * string/test-strrchr.c (do_one_test): Likewise.
32395         (do_test): Likewise.
32396         * string/test-strspn.c (do_one_test): Likewise.
32397         (do_test): Likewise.
32398         * string/test-strstr.c (do_one_test): Likewise.
32399         (do_test): Likewise.
32401         * benchtests/Makefile (string-bench): Add string benchmarks.
32402         * benchtests/bench-bcopy-ifunc.c: New file.
32403         * benchtests/bench-bcopy.c: New file.
32404         * benchtests/bench-bzero-ifunc.c: New file.
32405         * benchtests/bench-bzero.c: New file.
32406         * benchtests/bench-memccpy-ifunc.c: New file.
32407         * benchtests/bench-memccpy.c: New file.
32408         * benchtests/bench-memchr-ifunc.c: New file.
32409         * benchtests/bench-memchr.c: New file.
32410         * benchtests/bench-memcmp-ifunc.c: New file.
32411         * benchtests/bench-memcmp.c: New file.
32412         * benchtests/bench-memmem-ifunc.c: New file.
32413         * benchtests/bench-memmem.c: New file.
32414         * benchtests/bench-memmove-ifunc.c: New file.
32415         * benchtests/bench-memmove.c: New file.
32416         * benchtests/bench-mempcpy-ifunc.c: New file.
32417         * benchtests/bench-mempcpy.c: New file.
32418         * benchtests/bench-memset-ifunc.c: New file.
32419         * benchtests/bench-memset.c: New file.
32420         * benchtests/bench-rawmemchr-ifunc.c: New file.
32421         * benchtests/bench-rawmemchr.c: New file.
32422         * benchtests/bench-stpcpy-ifunc.c: New file.
32423         * benchtests/bench-stpcpy.c: New file.
32424         * benchtests/bench-stpncpy-ifunc.c: New file.
32425         * benchtests/bench-stpncpy.c: New file.
32426         * benchtests/bench-strcasecmp-ifunc.c: New file.
32427         * benchtests/bench-strcasecmp.c: New file.
32428         * benchtests/bench-strcasestr-ifunc.c: New file.
32429         * benchtests/bench-strcasestr.c: New file.
32430         * benchtests/bench-strcat-ifunc.c: New file.
32431         * benchtests/bench-strcat.c: New file.
32432         * benchtests/bench-strchr-ifunc.c: New file.
32433         * benchtests/bench-strchr.c: New file.
32434         * benchtests/bench-strchrnul-ifunc.c: New file.
32435         * benchtests/bench-strchrnul.c: New file.
32436         * benchtests/bench-strcmp-ifunc.c: New file.
32437         * benchtests/bench-strcmp.c: New file.
32438         * benchtests/bench-strcpy-ifunc.c: New file.
32439         * benchtests/bench-strcpy.c: New file.
32440         * benchtests/bench-strcspn-ifunc.c: New file.
32441         * benchtests/bench-strcspn.c: New file.
32442         * benchtests/bench-strlen-ifunc.c: New file.
32443         * benchtests/bench-strlen.c: New file.
32444         * benchtests/bench-strncasecmp-ifunc.c: New file.
32445         * benchtests/bench-strncasecmp.c: New file.
32446         * benchtests/bench-strncat-ifunc.c: New file.
32447         * benchtests/bench-strncat.c: New file.
32448         * benchtests/bench-strncmp-ifunc.c: New file.
32449         * benchtests/bench-strncmp.c: New file.
32450         * benchtests/bench-strncpy-ifunc.c: New file.
32451         * benchtests/bench-strncpy.c: New file.
32452         * benchtests/bench-strnlen-ifunc.c: New file.
32453         * benchtests/bench-strnlen.c: New file.
32454         * benchtests/bench-strpbrk-ifunc.c: New file.
32455         * benchtests/bench-strpbrk.c: New file.
32456         * benchtests/bench-strrchr-ifunc.c: New file.
32457         * benchtests/bench-strrchr.c: New file.
32458         * benchtests/bench-strspn-ifunc.c: New file.
32459         * benchtests/bench-strspn.c: New file.
32460         * benchtests/bench-strstr-ifunc.c: New file.
32461         * benchtests/bench-strstr.c: New file.
32463         * benchtests/Makefile: Disable parallel execution of targets.
32464         (string-bench): Add memcpy.
32465         (benchset): New variable to store a list of benchmark sets.
32466         (bench-func): Renamed from bench.
32467         (bench-set): New target.
32468         (bench): Depend on bench-func and bench-set.
32469         * benchtests/README: Add section on benchmark sets.
32470         * benchtests/bench-memcpy-ifunc.c: New file.
32471         * benchtests/bench-memcpy.c: New file.
32472         * benchtests/bench-string.h: New file.
32474 2013-06-11  Andreas Schwab  <schwab@suse.de>
32476         [BZ #15577]
32477         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32478         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32479         values in the triple.
32480         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32481         terminator in the group key.
32483 2013-06-11  Andreas Jaeger  <aj@suse.de>
32485         * po/zh_TW.po: Update Chinese (traditional) translation from
32486         translation project.
32488 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32490         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32491         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32492         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32493         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32494         (clock_getcpuclockid): Likewise.
32495         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32496         Add weak_alias and libc_hidden_def.
32497         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32498         * rt/clock_gettime.c (clock_gettime): Rename to
32499         __clock_gettime.  Add weak_alias and libc_hidden_def.
32500         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32501         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32502         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32503         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32504         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32505         Likewise.
32506         * rt/clock_settime.c (clock_settime): Rename to
32507         __clock_settime.  Add weak_alias and libc_hidden_def.
32508         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32510 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32512         * mach/err_boot.sub: Remove trailing whitespace.
32513         * mach/err_ipc.sub: Likewise.
32514         * mach/err_mach.sub: Likewise.
32516         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32517         (ROUNDING_TESTS_double): Likewise.
32518         (ROUNDING_TESTS_long_double): Likewise.
32519         (ROUNDING_TESTS): Likewise.
32520         * math/libm-test.inc: Include <math-tests.h>.
32521         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32522         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32523         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32524         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32526 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32528         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32529         of assigning.
32531 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32533         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32534         otherwise empty TRANS lines.
32535         * sysdeps/gnu/errlist.c: Regenerated.
32537         * catgets/gencat.c (error_print): Use (void) in function
32538         definition.
32539         * crypt/crypt_util.c (__init_des): Likewise.
32540         * crypt/speeds.c (Stop): Likewise.
32541         (main): Likewise.
32542         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32543         * inet/ruserpass.c (token): Likewise.
32544         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32545         * intl/localealias.c (extend_alias_table): Likewise.
32546         * intl/plural-exp.c (init_germanic_plural): Likewise.
32547         * libio/fcloseall.c (__fcloseall): Likewise.
32548         * libio/genops.c (_IO_flush_all): Likewise.
32549         (_IO_flush_all_linebuffered): Likewise.
32550         (_IO_cleanup): Likewise.
32551         (_IO_iter_begin): Likewise.
32552         (_IO_iter_end): Likewise.
32553         (_IO_list_lock): Likewise.
32554         (_IO_list_unlock): Likewise.
32555         (_IO_list_resetlock): Likewise.
32556         * libio/getchar.c (getchar): Likewise.
32557         * libio/getchar_u.c (getchar_unlocked): Likewise.
32558         * libio/getwchar.c (getwchar): Likewise.
32559         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32560         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32561         * login/getpt.c (__getpt): Likewise.
32562         * login/tst-utmp.c (main): Likewise.
32563         * malloc/hooks.c (__malloc_check_init): Likewise.
32564         * malloc/malloc.c (__malloc_stats): Likewise.
32565         * malloc/mtrace.c (tr_break): Likewise.
32566         (mtrace): Likewise.
32567         (muntrace): Likewise.
32568         * misc/fstab.c (endfsent): Likewise.
32569         * misc/getclktck.c (__getclktck): Likewise.
32570         * misc/getdtsz.c (__getdtablesize): Likewise.
32571         * misc/gethostid.c (gethostid): Likewise.
32572         * misc/getpagesize.c (__getpagesize): Likewise.
32573         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32574         (__get_nprocs): Likewise.
32575         (__get_phys_pages): Likewise.
32576         (__get_avphys_pages): Likewise.
32577         * misc/getttyent.c (getttyent): Likewise.
32578         (setttyent): Likewise.
32579         (endttyent): Likewise.
32580         * misc/getusershell.c (getusershell): Likewise.
32581         (endusershell): Likewise.
32582         (setusershell): Likewise.
32583         (initshells): Likewise.
32584         * misc/hsearch.c (__hdestroy): Likewise.
32585         * misc/sync.c (sync): Likewise.
32586         * misc/syslog.c (closelog_internal): Likewise.
32587         (closelog): Likewise.
32588         * misc/ttyslot.c (ttyslot): Likewise.
32589         * misc/vhangup.c (vhangup): Likewise.
32590         * posix/fork.c (__fork): Likewise.
32591         * posix/getegid.c (__getegid): Likewise.
32592         * posix/geteuid.c (__geteuid): Likewise.
32593         * posix/getgid.c (__getgid): Likewise.
32594         * posix/getpid.c (__getpid): Likewise.
32595         * posix/getppid.c (__getppid): Likewise.
32596         * posix/getuid.c (__getuid): Likewise.
32597         * posix/pause.c (pause): Likewise.
32598         * posix/setpgrp.c (setpgrp): Likewise.
32599         * posix/setsid.c (__setsid): Likewise.
32600         * posix/test-vfork.c (noop): Likewise.
32601         * resolv/gethnamaddr.c (_endhtent): Likewise.
32602         (_gethtent): Likewise.
32603         (ht_endhostent): Likewise.
32604         (gethostent): Likewise.
32605         (dns_service): Likewise.
32606         * stdlib/drand48.c (drand48): Likewise.
32607         * stdlib/lrand48.c (lrand48): Likewise.
32608         * stdlib/mrand48.c (mrand48): Likewise.
32609         * stdlib/rand.c (rand): Likewise.
32610         * stdlib/random.c (__random): Likewise.
32611         * stdlib/setenv.c (clearenv): Likewise.
32612         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32613         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32614         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32615         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32616         (__get_nprocs): Likewise.
32617         (__get_phys_pages): Likewise.
32618         (__get_avphys_pages): Likewise.
32619         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32620         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32621         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32622         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32623         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32624         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32625         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32626         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32627         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32628         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32629         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32630         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32631         * sysdeps/posix/clock.c (clock): Likewise.
32632         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32633         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32634         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32635         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32636         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32637         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32638         (__get_nprocs_conf): Likewise.
32639         (__get_phys_pages): Likewise.
32640         (__get_avphys_pages): Likewise.
32641         * time/clock.c (clock): Likewise.
32642         * time/tzset.c (__tzname_max): Likewise.
32644 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32646         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32647         (__bswap_32): Do not use "register".
32648         * crypt/crypt.c (_ufc_doit_r): Likewise.
32649         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32650         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32651         * gmon/gmon.c (__monstartup): Likewise.
32652         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32653         * hurd/hurdmalloc.c (more_memory): Likewise.
32654         (malloc): Likewise.
32655         (free): Likewise.
32656         (realloc): Likewise.
32657         (malloc_fork_prepare): Likewise.
32658         (malloc_fork_parent): Likewise.
32659         (malloc_fork_child): Likewise.
32660         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32661         (_svcauth_des): Likewise.
32662         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32663         * inet/inet_net.c (inet_network): Likewise.
32664         * inet/inet_netof.c (inet_netof): Likewise.
32665         * inet/rcmd.c (__validuser2_sa): Likewise.
32666         * io/fts.c (fts_open): Likewise.
32667         (fts_load): Likewise.
32668         (fts_close): Likewise.
32669         (fts_read): Likewise.
32670         (fts_children): Likewise.
32671         (fts_build): Likewise.
32672         (fts_stat): Likewise.
32673         (fts_sort): Likewise.
32674         (fts_alloc): Likewise.
32675         (fts_lfree): Likewise.
32676         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32677         (_IO_file_xsgetn): Likewise.
32678         (_IO_file_xsgetn_mmap): Likewise.
32679         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32680         (_IO_cookie_write): Likewise.
32681         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32682         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32683         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32684         * malloc/obstack.c (_obstack_begin): Likewise.
32685         (_obstack_begin_1): Likewise.
32686         (_obstack_newchunk): Likewise.
32687         (_obstack_allocated_p): Likewise.
32688         (obstack_free): Likewise.
32689         (_obstack_memory_used): Likewise.
32690         * misc/getttyent.c (getttynam): Likewise.
32691         (getttyent): Likewise.
32692         (skip): Likewise.
32693         (value): Likewise.
32694         * misc/getusershell.c (initshells): Likewise.
32695         * misc/syslog.c (__vsyslog_chk): Likewise.
32696         * misc/ttyslot.c (ttyslot): Likewise.
32697         * nis/nis_hash.c (__nis_hash): Likewise.
32698         * posix/fnmatch_loop.c (FCT): Likewise.
32699         * posix/getconf.c (print_all): Likewise.
32700         (main): Likewise.
32701         * posix/getopt.c (exchange): Likewise.
32702         * posix/glob.c (globfree): Likewise.
32703         (prefix_array): Likewise.
32704         (__glob_pattern_type): Likewise.
32705         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32706         (NS_GET32): Likewise.
32707         (NS_PUT16): Likewise.
32708         (NS_PUT32): Likewise.
32709         * resolv/gethnamaddr.c (getanswer): Likewise.
32710         (gethostbyname2): Likewise.
32711         (gethostbyaddr): Likewise.
32712         (_gethtent): Likewise.
32713         (_gethtbyname2): Likewise.
32714         (_gethtbyaddr): Likewise.
32715         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32716         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32717         * resolv/res_init.c (__res_vinit): Likewise.
32718         (net_mask): Likewise.
32719         * resolv/res_mkquery.c (outchar): Likewise.
32720         (PRINT): Likewise.
32721         * stdio-common/printf_fp.c (outchar): Likewise.
32722         (PRINT): Likewise.
32723         * stdio-common/printf_fphex.c (outchar): Likewise.
32724         (PRINT): Likewise.
32725         * stdio-common/printf_size.c (outchar): Likewise.
32726         (PRINT): Likewise.
32727         * stdio-common/test_rdwr.c (main): Likewise.
32728         * stdio-common/tfformat.c (matches): Likewise.
32729         * stdio-common/vfprintf.c (outchar): Likewise.
32730         (printf_unknown): Likewise.
32731         (buffered_vfprintf): Likewise.
32732         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32733         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32734         (ReadFile): Likewise.
32735         * stdlib/qsort.c (SWAP): Likewise.
32736         (_quicksort): Likewise.
32737         * stdlib/setenv.c (__add_to_environ): Likewise.
32738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32739         * stdlib/strtol_l.c (__strtol_l): Likewise.
32740         * stdlib/tst-strtod.c (main): Likewise.
32741         * stdlib/tst-strtol.c (main): Likewise.
32742         * stdlib/tst-strtoll.c (main): Likewise.
32743         * string/bits/string2.h (__strcmp_cc): Likewise.
32744         (__strcmp_cg): Likewise.
32745         (__strcspn_c1): Likewise.
32746         (__strcspn_c2): Likewise.
32747         (__strcspn_c3): Likewise.
32748         (__strspn_c1): Likewise.
32749         (__strspn_c2): Likewise.
32750         (__strspn_c3): Likewise.
32751         (__strsep_1c): Likewise.
32752         (__strsep_2c): Likewise.
32753         (__strsep_3c): Likewise.
32754         * string/memccpy.c (__memccpy): Likewise.
32755         * string/stpcpy.c (__stpcpy): Likewise.
32756         * string/strcmp.c (strcmp): Likewise.
32757         * string/strrchr.c (strrchr): Likewise.
32758         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32759         Likewise.
32760         * sysdeps/mach/hurd/getcwd.c
32761         (_hurd_canonicalize_directory_name_internal): Likewise.
32762         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32763         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32764         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32765         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32766         Likewise, in both definitions.
32767         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32768         definitions.
32769         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32770         64] (__bswap_64): Likewise.
32771         * time/test_time.c (main): Likewise.
32772         * time/tzfile.c (__tzfile_read): Likewise.
32773         (__tzfile_compute): Likewise.
32774         * time/tzset.c (__tzset_parse_tz): Likewise.
32775         (tzset_internal): Likewise.
32776         (compute_change): Likewise.
32777         * wcsmbs/wcscat.c (__wcscat): Likewise.
32778         * wcsmbs/wcschr.c (wcschr): Likewise.
32779         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32780         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32781         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32782         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32783         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32784         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32785         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32786         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32787         * wcsmbs/wmemset.c (wmemset): Likewise.
32789 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32791         * scripts/config.guess: Update to version 2013-05-16.
32792         * scripts/config.sub: Update to version 2013-04-24.
32793         * scripts/install-sh: Update to version 2011-11-20.07.
32794         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32795         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32797 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32799         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32800         * elf/sln.c: Likewise.
32801         * hurd/hurd/ioctl.h: Likewise.
32802         * hurd/hurdmalloc.c: Likewise.
32803         * hurd/xattr.c: Likewise.
32804         * include/shlib-compat.h: Likewise.
32805         * inet/ruserpass.c: Likewise.
32806         * libio/iofgets_u.c: Likewise.
32807         * libio/iofgetws_u.c: Likewise.
32808         * locale/programs/ld-identification.c: Likewise.
32809         * locale/programs/ld-time.c: Likewise.
32810         * mach/msg-destroy.c: Likewise.
32811         * nss/nss_files/files-netgrp.c: Likewise.
32812         * resolv/res_data.c: Likewise.
32813         * soft-fp/op-1.h: Likewise.
32814         * soft-fp/op-2.h: Likewise.
32815         * soft-fp/op-4.h: Likewise.
32816         * soft-fp/op-common.h: Likewise.
32817         * stdio-common/printf_fphex.c: Likewise.
32818         * stdlib/strtod_l.c: Likewise.
32819         * sunrpc/rpc/clnt.h: Likewise.
32820         * sysdeps/generic/framestate.c: Likewise.
32821         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32822         * sysdeps/i386/bsd-setjmp.S: Likewise.
32823         * sysdeps/i386/__longjmp.S: Likewise.
32824         * sysdeps/i386/setjmp.S: Likewise.
32825         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32826         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32828         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32829         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32830         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32834         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32835         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32836         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32837         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32838         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32839         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32841         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32842         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32843         * sysdeps/ieee754/support.c: Likewise.
32844         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32845         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32846         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32847         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32848         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32849         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32850         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32851         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32852         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32853         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32854         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32855         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32856         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32857         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32858         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32859         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32860         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32863 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32865         * posix/transbug.c: Remove executable mode.
32867 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32869         * crypt/speeds.c: Remove trailing whitespace.
32870         * dlfcn/default.c: Likewise.
32871         * elf/ifuncdep2.c: Likewise.
32872         * elf/ifuncmain1.c: Likewise.
32873         * elf/ifuncmain1vis.c: Likewise.
32874         * elf/testobj.h: Likewise.
32875         * elf/tst-stackguard1.c: Likewise.
32876         * gmon/sys/gmon.h: Likewise.
32877         * hurd/hurdmsg.c: Likewise.
32878         * hurd/new-fd.c: Likewise.
32879         * hurd/ports-get.c: Likewise.
32880         * iconvdata/ibm1008_420.c: Likewise.
32881         * inet/tst-getni1.c: Likewise.
32882         * inet/tst-getni2.c: Likewise.
32883         * libio/ioungetc.c: Likewise.
32884         * libio/wfiledoalloc.c: Likewise.
32885         * manual/libm-err-tab.pl: Likewise.
32886         * math/w_dremf.c: Likewise.
32887         * misc/ftruncate.c: Likewise.
32888         * posix/bug-glob2.c: Likewise.
32889         * posix/tst-pcre.c: Likewise.
32890         * posix/wait4.c: Likewise.
32891         * resolv/README: Likewise.
32892         * resolv/res_debug.h: Likewise.
32893         * resolv/tst-inet_ntop.c: Likewise.
32894         * setjmp/bug269-setjmp.c: Likewise.
32895         * soft-fp/extended.h: Likewise.
32896         * soft-fp/op-1.h: Likewise.
32897         * soft-fp/op-2.h: Likewise.
32898         * soft-fp/op-4.h: Likewise.
32899         * soft-fp/op-8.h: Likewise.
32900         * soft-fp/testit.c: Likewise.
32901         * stdio-common/bug16.c: Likewise.
32902         * stdlib/random.c: Likewise.
32903         * sunrpc/rpcsvc/rquota.x: Likewise.
32904         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32905         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32906         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32907         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32908         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32909         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32910         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32911         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32912         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32915         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32916         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32917         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32918         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32919         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32920         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32921         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32922         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32923         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32924         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32925         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32926         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32927         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32928         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32929         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32933         * sysdeps/ieee754/s_lib_version.c: Likewise.
32934         * sysdeps/mach/hurd/check_fds.c: Likewise.
32935         * sysdeps/mach/hurd/getsockname.c: Likewise.
32936         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32937         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32938         * sysdeps/powerpc/bits/link.h: Likewise.
32939         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32940         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32941         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32942         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32943         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32944         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32945         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32946         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32947         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32948         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32949         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32950         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32951         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32952         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32953         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32954         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32960         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32961         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32962         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32963         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32964         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32971         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32973         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32974         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32975         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32976         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32977         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32978         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32979         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32980         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32981         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32982         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32983         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32984         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32985         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32986         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32987         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32988         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32991         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32992         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32993         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32994         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32995         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32996         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32997         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32998         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33001         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33002         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33003         * sysdeps/powerpc/sysdep.h: Likewise.
33004         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33005         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33006         * sysdeps/sh/dl-trampoline.S: Likewise.
33007         * sysdeps/sh/memset.S: Likewise.
33008         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33009         * sysdeps/sh/strlen.S: Likewise.
33010         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33011         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33012         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33013         * sysdeps/sparc/sparc32/rem.S: Likewise.
33014         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33015         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33016         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33017         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33018         * sysdeps/sparc/sparc32/urem.S: Likewise.
33019         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33020         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33021         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33022         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33023         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33024         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33025         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33026         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33027         * sysdeps/unix/bsd/times.c: Likewise.
33028         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33029         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33033         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33034         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33035         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33037         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33038         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33040         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33041         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33042         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33043         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33045         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33046         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33047         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33048         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33049         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33050         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33051         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33052         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33053         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33054         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33055         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33056         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33057         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33058         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33059         * sysdeps/x86_64/strcspn.S: Likewise.
33061 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33063         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33064         generated file.  Regenerate properly from gen-translit.pl.
33065         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33066         locale/C-translit.h.
33068 2013-06-05  Andreas Schwab  <schwab@suse.de>
33070         [BZ #15100]
33071         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33072         week as 6 instead of -1.
33073         * time/tst-strptime.c (day_tests): Add test case.
33075 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33077         * sysdeps/generic/math_private.h
33078         (libc_feholdexcept_setround_53bit): Replace with
33079         libc_feholdsetround_53bit.
33080         (libc_feupdateenv_53bit): Replace with
33081         libc_feresetround_53bit.
33082         (SET_RESTORE_ROUND_53BIT): Adjust.
33084 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33086         * string/test-strchrnul.c: Add copyright header.
33088         * posix/tst-getaddrinfo4.c: Increase test timeout.
33090 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33092         [BZ #15536]
33093         * math/libm-test.inc (MAX_EXP): Remove
33094         (MIN_EXP): Define.
33095         (ulp): Use MIN_EXP - MANT_DIG.
33096         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33098 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33100         * po/be.po: Revert last change.
33101         * po/zh_CN.po: Likewise.
33102         * po/header.pot: Likewise.
33104 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33106         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33107         link-libc-deps to empty as target-specific variable.
33108         * Makerules (link-libc-args): New variable.
33109         (libc-for-link): Likewise.
33110         (link-libc-deps): Likewise.
33111         (lib%.so): Depend on $(link-libc-deps).  Link with
33112         $(link-libc-args).
33113         (build-module): Link with $(link-libc-args).
33114         (build-module-asneeded): Likewise.
33115         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33116         list of objects.
33117         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33118         target-specific variable.
33119         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33120         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33121         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33122         libc.
33123         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33124         libc and ld.so.
33125         ($(objpfx)libpcprofile.so): Likewise.
33126         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33127         libc_nonshared.a.
33128         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33129         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33130         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33131         $(link-libc-deps).
33132         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33133         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33134         * login/Makefile ($(objpfx)libutil.so): Likewise.
33135         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33136         * math/Makefile ($(objpfx)libm.so): Likewise.
33137         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33138         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33139         variable instead of depending directly on libc.
33140         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33141         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33142         $(link-libc-deps).
33143         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33144         libc.
33145         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33146         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33147         ($(objpfx)libanl.so): Likewise.
33148         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33149         ld.so.
33150         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33151         $(link-libc-deps).
33152         * sysdeps/i386/fpu/Makefile: Remove file.
33153         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33154         ($(objpfx)libm.so): Remove dependency on ld.so.
33156 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33158         [BZ # 15553]
33159         * nis/yp_xdr.c (XDRMAXNAME): Define.
33160         (XDRMAXRECORD): Define.
33161         (xdr_domainname): Use XDRMAXNAME.
33162         (xdr_mapname): Likewise.
33163         (xdr_peername): Likewise.
33164         (xdr_keydat): Use XDRMAXRECORD.
33165         (xdr_valdat): Likewise.
33167 2013-05-30  Jeff Law  <law@redhat.com>
33169         [BZ #14256]
33170         * manual/errno.texi (ESTALE): Update to account for more than
33171         just NFS file systems.
33172         * sysdeps/gnu/errlist.c: Regenerated.
33174 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33176         [BZ #15465]
33177         * elf/Makefile (tests): Add tst-null-argv.
33178         (modules-names):  Add tst-null-argv-lib.
33179         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33180         (tst-null-argv-ENV): Set environment for tst-null-argv.
33181         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33182         (RTLD_PROGNAME): New macro.
33183         * elf/tst-null-argv.c: New test case.
33184         * elf/tst-null-argv-lib.c: Library for test case.
33185         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33186         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33187         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33188         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33189         * elf/dl-init.c (call_init): Likewise.
33190         (_dl_init): Likewise.
33191         * elf/dl-load.c (print_search_path): Likewise.
33192         (_dl_map_object): Likewise.
33193         * elf/dl-lookup.c (do_lookup_x): Likewise.
33194         (add_dependency): Likewise.
33195         (_dl_lookup_symbol_x): Likewise.
33196         (_dl_debug_bindings): Likewise.
33197         * elf/dl-open.c (_dl_show_scope): Likewise.
33198         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33199         * elf/dl-version.c (match_symbol): Likewise.
33200         (_dl_check_map_versions): Likewise.
33201         * elf/rtld.c (dl_main): Likewise.
33202         (print_unresolved): Use RTLD_PROGNAME.
33203         (print_missing_version): Likewise.
33204         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33205         (elf_machine_rela): Likewise.
33206         * sysdeps/powerpc/powerpc32/dl-machine.c
33207         (__process_machine_rela): Likewise.
33208         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33209         Likewise.
33210         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33211         Likewise.
33212         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33213         Likewise.
33214         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33215         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33216         Likewise.
33217         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33218         Likewise.
33219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33221 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33223         * po/be.po: Add descriptive title.
33224         * po/zh_CN.po: Likewise.
33225         * po/header.pot: Likewise.
33227 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33229         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33230         error message.
33231         (enlarge_archive): Likewise.
33233 2013-05-28  Ben North  <ben@redfrontdoor.org>
33235         * manual/arith.texi (frexp): It is the magnitude of the return
33236         value which lies in [0.5, 1), not the return value itself.
33238 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33242 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33244         * stdio-common/bug26.c (main): Correct fscanf template.
33246         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33247         declare _dl_skip_args.
33249         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33250         Don't declare.
33252         * manual/platform.texi: Add missing @end deftypefun.
33254 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33256         [BZ #15529]
33257         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33258         bit of mantissa of 2^16382.
33259         * math/libm-test.inc (hypot_test_data): Add more tests.
33261         * math/libm-test.inc: Add drem and pow10 to list of tested
33262         functions.
33263         (pow10_test): New function.
33264         (drem_test): Likewise.
33265         (drem_test_tonearest): Likewise.
33266         (drem_test_towardzero): Likewise.
33267         (drem_test_downward): Likewise.
33268         (drem_test_upward): Likewise.
33269         (main): Call the new functions.
33271         * math/libm-test.inc (finite_test_data): Remove.
33272         (finite_test): Run tests from isfinite_test_data.
33273         (gamma_test_data): Remove.
33274         (gamma_test): Run tests from lgamma_test_data.
33275         * sysdeps/i386/fpu/libm-test-ulps: Update.
33276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33278 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33280         * manual/platform.texi: Add PowerPC PPR function set documentation.
33281         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33282         implementation.
33284 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33286         * math/libm-test.inc (MAX_EXP): Define.
33287         (ULPDIFF): Define.
33288         (ulp): New function.
33289         (check_float_internal): Use ULPDIFF.
33290         (cpow_test): Disable failing test.
33291         (check_ulp): Test ulp() implemetnation.
33292         (main): Call check_ulp before starting tests.
33294 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33296         * math/gen-libm-test.pl (generate_testfile): Do not handle
33297         START_DATA and END_DATA.
33298         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33299         END_DATA.
33300         (acos_tonearest_test_data): Likewise.
33301         (acos_towardzero_test_data): Likewise.
33302         (acos_downward_test_data): Likewise.
33303         (acos_upward_test_data): Likewise.
33304         (acosh_test_data): Likewise.
33305         (asin_test_data): Likewise.
33306         (asin_tonearest_test_data): Likewise.
33307         (asin_towardzero_test_data): Likewise.
33308         (asin_downward_test_data): Likewise.
33309         (asin_upward_test_data): Likewise.
33310         (asinh_test_data): Likewise.
33311         (atan_test_data): Likewise.
33312         (atanh_test_data): Likewise.
33313         (atan2_test_data): Likewise.
33314         (cabs_test_data): Likewise.
33315         (cacos_test_data): Likewise.
33316         (cacosh_test_data): Likewise.
33317         (carg_test_data): Likewise.
33318         (casin_test_data): Likewise.
33319         (casinh_test_data): Likewise.
33320         (catan_test_data): Likewise.
33321         (catanh_test_data): Likewise.
33322         (cbrt_test_data): Likewise.
33323         (ccos_test_data): Likewise.
33324         (ccosh_test_data): Likewise.
33325         (ceil_test_data): Likewise.
33326         (cexp_test_data): Likewise.
33327         (cimag_test_data): Likewise.
33328         (clog_test_data): Likewise.
33329         (clog10_test_data): Likewise.
33330         (conj_test_data): Likewise.
33331         (copysign_test_data): Likewise.
33332         (cos_test_data): Likewise.
33333         (cos_tonearest_test_data): Likewise.
33334         (cos_towardzero_test_data): Likewise.
33335         (cos_downward_test_data): Likewise.
33336         (cos_upward_test_data): Likewise.
33337         (cosh_test_data): Likewise.
33338         (cosh_tonearest_test_data): Likewise.
33339         (cosh_towardzero_test_data): Likewise.
33340         (cosh_downward_test_data): Likewise.
33341         (cosh_upward_test_data): Likewise.
33342         (cpow_test_data): Likewise.
33343         (cproj_test_data): Likewise.
33344         (creal_test_data): Likewise.
33345         (csin_test_data): Likewise.
33346         (csinh_test_data): Likewise.
33347         (csqrt_test_data): Likewise.
33348         (ctan_test_data): Likewise.
33349         (ctan_tonearest_test_data): Likewise.
33350         (ctan_towardzero_test_data): Likewise.
33351         (ctan_downward_test_data): Likewise.
33352         (ctan_upward_test_data): Likewise.
33353         (ctanh_test_data): Likewise.
33354         (ctanh_tonearest_test_data): Likewise.
33355         (ctanh_towardzero_test_data): Likewise.
33356         (ctanh_downward_test_data): Likewise.
33357         (ctanh_upward_test_data): Likewise.
33358         (erf_test_data): Likewise.
33359         (erfc_test_data): Likewise.
33360         (exp_test_data): Likewise.
33361         (exp_tonearest_test_data): Likewise.
33362         (exp_towardzero_test_data): Likewise.
33363         (exp_downward_test_data): Likewise.
33364         (exp_upward_test_data): Likewise.
33365         (exp10_test_data): Likewise.
33366         (exp2_test_data): Likewise.
33367         (expm1_test_data): Likewise.
33368         (fabs_test_data): Likewise.
33369         (fdim_test_data): Likewise.
33370         (finite_test_data): Likewise.
33371         (floor_test_data): Likewise.
33372         (fma_test_data): Likewise.
33373         (fma_towardzero_test_data): Likewise.
33374         (fma_downward_test_data): Likewise.
33375         (fma_upward_test_data): Likewise.
33376         (fmax_test_data): Likewise.
33377         (fmin_test_data): Likewise.
33378         (fmod_test_data): Likewise.
33379         (fpclassify_test_data): Likewise.
33380         (frexp_test_data): Likewise.
33381         (gamma_test_data): Likewise.
33382         (hypot_test_data): Likewise.
33383         (ilogb_test_data): Likewise.
33384         (isfinite_test_data): Likewise.
33385         (isgreater_test_data): Likewise.
33386         (isgreaterequal_test_data): Likewise.
33387         (isinf_test_data): Likewise.
33388         (isless_test_data): Likewise.
33389         (islessequal_test_data): Likewise.
33390         (islessgreater_test_data): Likewise.
33391         (isnan_test_data): Likewise.
33392         (isnormal_test_data): Likewise.
33393         (issignaling_test_data): Likewise.
33394         (isunordered_test_data): Likewise.
33395         (j0_test_data): Likewise.
33396         (j1_test_data): Likewise.
33397         (jn_test_data): Likewise.
33398         (ldexp_test_data): Likewise.
33399         (lgamma_test_data): Likewise.
33400         (lrint_test_data): Likewise.
33401         (lrint_tonearest_test_data): Likewise.
33402         (lrint_towardzero_test_data): Likewise.
33403         (lrint_downward_test_data): Likewise.
33404         (lrint_upward_test_data): Likewise.
33405         (llrint_test_data): Likewise.
33406         (llrint_tonearest_test_data): Likewise.
33407         (llrint_towardzero_test_data): Likewise.
33408         (llrint_downward_test_data): Likewise.
33409         (llrint_upward_test_data): Likewise.
33410         (log_test_data): Likewise.
33411         (log10_test_data): Likewise.
33412         (log1p_test_data): Likewise.
33413         (log2_test_data): Likewise.
33414         (logb_test_data): Likewise.
33415         (logb_downward_test_data): Likewise.
33416         (lround_test_data): Likewise.
33417         (llround_test_data): Likewise.
33418         (modf_test_data): Likewise.
33419         (nearbyint_test_data): Likewise.
33420         (nextafter_test_data): Likewise.
33421         (nexttoward_test_data): Likewise.
33422         (pow_test_data): Likewise.
33423         (pow_tonearest_test_data): Likewise.
33424         (pow_towardzero_test_data): Likewise.
33425         (pow_downward_test_data): Likewise.
33426         (pow_upward_test_data): Likewise.
33427         (remainder_test_data): Likewise.
33428         (remainder_tonearest_test_data): Likewise.
33429         (remainder_towardzero_test_data): Likewise.
33430         (remainder_downward_test_data): Likewise.
33431         (remainder_upward_test_data): Likewise.
33432         (remquo_test_data): Likewise.
33433         (rint_test_data): Likewise.
33434         (rint_tonearest_test_data): Likewise.
33435         (rint_towardzero_test_data): Likewise.
33436         (rint_downward_test_data): Likewise.
33437         (rint_upward_test_data): Likewise.
33438         (round_test_data): Likewise.
33439         (scalb_test_data): Likewise.
33440         (scalbn_test_data): Likewise.
33441         (scalbln_test_data): Likewise.
33442         (signbit_test_data): Likewise.
33443         (sin_test_data): Likewise.
33444         (sin_tonearest_test_data): Likewise.
33445         (sin_towardzero_test_data): Likewise.
33446         (sin_downward_test_data): Likewise.
33447         (sin_upward_test_data): Likewise.
33448         (sincos_test_data): Likewise.
33449         (sinh_test_data): Likewise.
33450         (sinh_tonearest_test_data): Likewise.
33451         (sinh_towardzero_test_data): Likewise.
33452         (sinh_downward_test_data): Likewise.
33453         (sinh_upward_test_data): Likewise.
33454         (sqrt_test_data): Likewise.
33455         (tan_test_data): Likewise.
33456         (tan_tonearest_test_data): Likewise.
33457         (tan_towardzero_test_data): Likewise.
33458         (tan_downward_test_data): Likewise.
33459         (tan_upward_test_data): Likewise.
33460         (tanh_test_data): Likewise.
33461         (tgamma_test_data): Likewise.
33462         (trunc_test_data): Likewise.
33463         (y0_test_data): Likewise.
33464         (y1_test_data): Likewise.
33465         (yn_test_data): Likewise.
33466         (significand_test_data): Likewise.
33468         * math/gen-libm-test.pl (@functions): Remove variable.
33469         (generate_testfile): Don't handle START and END lines.
33470         * math/libm-test.inc (START): New macro.
33471         (END): Likewise.
33472         (END_COMPLEX): Likewise.
33473         (acos_test): Use END macro without arguments.
33474         (acos_test_tonearest): Likewise.
33475         (acos_test_towardzero): Likewise.
33476         (acos_test_downward): Likewise.
33477         (acos_test_upward): Likewise.
33478         (acosh_test): Likewise.
33479         (asin_test): Likewise.
33480         (asin_test_tonearest): Likewise.
33481         (asin_test_towardzero): Likewise.
33482         (asin_test_downward): Likewise.
33483         (asin_test_upward): Likewise.
33484         (asinh_test): Likewise.
33485         (atan_test): Likewise.
33486         (atanh_test): Likewise.
33487         (atan2_test): Likewise.
33488         (cabs_test): Likewise.
33489         (cacos_test): Use END_COMPLEX macro without arguments.
33490         (cacosh_test): Likewise.
33491         (carg_test): Use END macro without arguments.
33492         (casin_test): Use END_COMPLEX macro without arguments.
33493         (casinh_test): Likewise.
33494         (catan_test): Likewise.
33495         (catanh_test): Likewise.
33496         (cbrt_test): Use END macro without arguments.
33497         (ccos_test): Use END_COMPLEX macro without arguments.
33498         (ccosh_test): Likewise.
33499         (ceil_test): Use END macro without arguments.
33500         (cexp_test): Use END_COMPLEX macro without arguments.
33501         (cimag_test): Use END macro without arguments.
33502         (clog_test): Use END_COMPLEX macro without arguments.
33503         (clog10_test): Likewise.
33504         (conj_test): Likewise.
33505         (copysign_test): Use END macro without arguments.
33506         (cos_test): Likewise.
33507         (cos_test_tonearest): Likewise.
33508         (cos_test_towardzero): Likewise.
33509         (cos_test_downward): Likewise.
33510         (cos_test_upward): Likewise.
33511         (cosh_test): Likewise.
33512         (cosh_test_tonearest): Likewise.
33513         (cosh_test_towardzero): Likewise.
33514         (cosh_test_downward): Likewise.
33515         (cosh_test_upward): Likewise.
33516         (cpow_test): Use END_COMPLEX macro without arguments.
33517         (cproj_test): Likewise.
33518         (creal_test): Use END macro without arguments.
33519         (csin_test): Use END_COMPLEX macro without arguments.
33520         (csinh_test): Likewise.
33521         (csqrt_test): Likewise.
33522         (ctan_test): Likewise.
33523         (ctan_test_tonearest): Likewise.
33524         (ctan_test_towardzero): Likewise.
33525         (ctan_test_downward): Likewise.
33526         (ctan_test_upward): Likewise.
33527         (ctanh_test): Likewise.
33528         (ctanh_test_tonearest): Likewise.
33529         (ctanh_test_towardzero): Likewise.
33530         (ctanh_test_downward): Likewise.
33531         (ctanh_test_upward): Likewise.
33532         (erf_test): Use END macro without arguments.
33533         (erfc_test): Likewise.
33534         (exp_test): Likewise.
33535         (exp_test_tonearest): Likewise.
33536         (exp_test_towardzero): Likewise.
33537         (exp_test_downward): Likewise.
33538         (exp_test_upward): Likewise.
33539         (exp10_test): Likewise.
33540         (exp2_test): Likewise.
33541         (expm1_test): Likewise.
33542         (fabs_test): Likewise.
33543         (fdim_test): Likewise.
33544         (finite_test): Likewise.
33545         (floor_test): Likewise.
33546         (fma_test): Likewise.
33547         (fma_test_towardzero): Likewise.
33548         (fma_test_downward): Likewise.
33549         (fma_test_upward): Likewise.
33550         (fmax_test): Likewise.
33551         (fmin_test): Likewise.
33552         (fmod_test): Likewise.
33553         (fpclassify_test): Likewise.
33554         (frexp_test): Likewise.
33555         (gamma_test): Likewise.
33556         (hypot_test): Likewise.
33557         (ilogb_test): Likewise.
33558         (isfinite_test): Likewise.
33559         (isgreater_test): Likewise.
33560         (isgreaterequal_test): Likewise.
33561         (isinf_test): Likewise.
33562         (isless_test): Likewise.
33563         (islessequal_test): Likewise.
33564         (islessgreater_test): Likewise.
33565         (isnan_test): Likewise.
33566         (isnormal_test): Likewise.
33567         (issignaling_test): Likewise.
33568         (isunordered_test): Likewise.
33569         (j0_test): Likewise.
33570         (j1_test): Likewise.
33571         (jn_test): Likewise.
33572         (ldexp_test): Likewise.
33573         (lgamma_test): Likewise.
33574         (lrint_test): Likewise.
33575         (lrint_test_tonearest): Likewise.
33576         (lrint_test_towardzero): Likewise.
33577         (lrint_test_downward): Likewise.
33578         (lrint_test_upward): Likewise.
33579         (llrint_test): Likewise.
33580         (llrint_test_tonearest): Likewise.
33581         (llrint_test_towardzero): Likewise.
33582         (llrint_test_downward): Likewise.
33583         (llrint_test_upward): Likewise.
33584         (log_test): Likewise.
33585         (log10_test): Likewise.
33586         (log1p_test): Likewise.
33587         (log2_test): Likewise.
33588         (logb_test): Likewise.
33589         (logb_test_downward): Likewise.
33590         (lround_test): Likewise.
33591         (llround_test): Likewise.
33592         (modf_test): Likewise.
33593         (nearbyint_test): Likewise.
33594         (nextafter_test): Likewise.
33595         (nexttoward_test): Likewise.
33596         (pow_test): Likewise.
33597         (pow_test_tonearest): Likewise.
33598         (pow_test_towardzero): Likewise.
33599         (pow_test_downward): Likewise.
33600         (pow_test_upward): Likewise.
33601         (remainder_test): Likewise.
33602         (remainder_test_tonearest): Likewise.
33603         (remainder_test_towardzero): Likewise.
33604         (remainder_test_downward): Likewise.
33605         (remainder_test_upward): Likewise.
33606         (remquo_test): Likewise.
33607         (rint_test): Likewise.
33608         (rint_test_tonearest): Likewise.
33609         (rint_test_towardzero): Likewise.
33610         (rint_test_downward): Likewise.
33611         (rint_test_upward): Likewise.
33612         (round_test): Likewise.
33613         (scalb_test): Likewise.
33614         (scalbn_test): Likewise.
33615         (scalbln_test): Likewise.
33616         (signbit_test): Likewise.
33617         (sin_test): Likewise.
33618         (sin_test_tonearest): Likewise.
33619         (sin_test_towardzero): Likewise.
33620         (sin_test_downward): Likewise.
33621         (sin_test_upward): Likewise.
33622         (sincos_test): Likewise.
33623         (sinh_test): Likewise.
33624         (sinh_test_tonearest): Likewise.
33625         (sinh_test_towardzero): Likewise.
33626         (sinh_test_downward): Likewise.
33627         (sinh_test_upward): Likewise.
33628         (sqrt_test): Likewise.
33629         (tan_test): Likewise.
33630         (tan_test_tonearest): Likewise.
33631         (tan_test_towardzero): Likewise.
33632         (tan_test_downward): Likewise.
33633         (tan_test_upward): Likewise.
33634         (tanh_test): Likewise.
33635         (tgamma_test): Likewise.
33636         (trunc_test): Likewise.
33637         (y0_test): Likewise.
33638         (y1_test): Likewise.
33639         (yn_test): Likewise.
33640         (significand_test): Likewise.
33642 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33644         [BZ #15381]
33645         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33647 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33649         [BZ #14894]
33650         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33651         __ppc_mdoio and __ppc_mdoom.
33652         * manual/platform.texi: Document new functions __ppc_yield,
33653         __ppc_mdoio and __ppc_mdoom.
33655 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33657         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33658         (main): Mention "tls" pseudo-hwcap is legacy.
33659         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33661 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33663         * math/gen-libm-test.pl (parse_args): Output only string of
33664         arguments as text for test name, not full call or descriptions of
33665         tests for extra outputs.
33666         (generate_testfile): Do not pass function name to parse_args.
33667         Generate this_func variable from START.
33668         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33669         field to arg_str.
33670         (struct test_ff_f_data): Likewise.
33671         (test_ff_f_data_nexttoward): Likewise.
33672         (struct test_fi_f_data): Likewise.
33673         (struct test_fl_f_data): Likewise.
33674         (struct test_if_f_data): Likewise.
33675         (struct test_fff_f_data): Likewise.
33676         (struct test_c_f_data): Likewise.
33677         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33678         (struct test_fF_f1_data): Likewise.
33679         (struct test_ffI_f1_data): Likewise.
33680         (struct test_c_c_data): Rename test_name field to arg_str.
33681         (struct test_cc_c_data): Likewise.
33682         (struct test_f_i_data): Likewise.
33683         (struct test_ff_i_data): Likewise.
33684         (struct test_f_l_data): Likewise.
33685         (struct test_f_L_data): Likewise.
33686         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33687         and extra2_name.
33688         (COMMON_TEST_SETUP): New macro.
33689         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33690         (COMMON_TEST_CLEANUP): Likewise.
33691         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33692         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33693         macros.
33694         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33695         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33696         macros.
33697         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33698         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33699         cleanup macros.
33700         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33701         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33702         macros.
33703         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33704         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33705         macros.
33706         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33707         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33708         cleanup macros.
33709         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33710         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33711         cleanup macros.
33712         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33713         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33714         cleanup macros.
33715         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33716         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33717         macros.
33718         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33719         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33720         macros.
33721         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33722         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33723         macros.
33724         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33725         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33726         cleanup macros.
33727         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33728         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33729         cleanup macros.
33730         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33731         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33732         macros.
33733         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33734         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33735         cleanup macros.
33736         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33737         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33738         macros.
33739         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33740         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33741         macros.
33742         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33743         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33744         cleanup macros.
33745         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33747 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33749         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33750         to _sifields.sigfault.
33751         (si_addr_lsb): Define new macro.
33752         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33756 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33758         [BZ #15441]
33759         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33760         returns -1.
33761         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33762         null return -1.
33763         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33764         loading the domain.
33766 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33768         * math/gen-libm-test.pl (parse_args): Do not include expected
33769         result in test name.
33770         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33771         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33772         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33773         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33774         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33777 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33779         * benchtests/Makefile: Sort function entries.
33781         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33782         tanh, asinh, acosh, atanh.
33783         * benchtests/acos-inputs: New file.
33784         * benchtests/acosh-inputs: New file.
33785         * benchtests/asin-inputs: New file.
33786         * benchtests/asinh-inputs: New file.
33787         * benchtests/atanh-inputs: New file.
33788         * benchtests/cosh-inputs: New file.
33789         * benchtests/log-inputs: New file.
33790         * benchtests/sinh-inputs: New file.
33791         * benchtests/tanh-inputs: New file.
33793 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33795         [BZ #15339]
33796         * posix/tst-getaddrinfo4.c: New test.
33797         * posix/Makefile (tests): Add it.
33799 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33801         [BZ #15339]
33802         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33803         when no services were used.
33804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33805         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33807 2013-05-21  Andreas Schwab  <schwab@suse.de>
33809         [BZ #15014]
33810         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33811         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33812         successful.
33813         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33814         redundant variable declarations and reallocation of buffer when
33815         parsing as IPv6 address.  Always set NSS status when called from
33816         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33817         buffer too small.  Correct computation of needed size.
33818         * nss/Makefile (tests): Add test-digits-dots.
33819         * nss/test-digits-dots.c: New test.
33821 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33823         * benchtests/Makefile: Remove instructions for adding
33824         benchmark tests.
33825         * benchtests/README: New file to explain how to execute and
33826         enhance the benchmark tests.
33828 2013-05-21  Andreas Schwab  <schwab@suse.de>
33830         [BZ #15493]
33831         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33832         * setjmp/tst-sigsetjmp.c: New test.
33834 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33836         * sysdeps/x86_64/memset.S (memset): New implementation.
33837         (__bzero): Likewise.
33838         (__memset_tail): New function.
33840 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33842         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33843         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33844         __memcpy_sse2_unaligned ifunc selection.
33845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33846         Add memcpy-sse2-unaligned.S.
33847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33848         Add: __memcpy_sse2_unaligned.
33850 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33852         [BZ #15490]
33853         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33854         math_force_eval before restoring floating-point envrionment.
33855         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33856         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33857         Likewise.
33858         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33859         <math_private.h>.
33860         (__nearbyintl): Use math_force_eval before restoring
33861         floating-point environment.
33862         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33864         * math/gen-libm-test.pl (special_functions): Remove.
33865         (parse_args): Don't handle TEST_extra.  Handle functions with no
33866         return value.
33867         * math/libm-test.inc (struct test_sincos_data): Replace with
33868         struct test_fFF_11_data.
33869         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33870         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33871         (sincos_test_data): Change element type to struct
33872         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33873         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33874         RUN_TEST_LOOP_sincos.
33875         * math/README.libm-test: Don't mention special handling of
33876         individual functions.
33877         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33878         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33879         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33880         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33881         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884         * math/gen-libm-test.pl (get_variable): Remove function.
33885         (parse_args): Don't show pointer parameters to call in test
33886         names.  Use "extra output N" in test names for extra outputs
33887         rather than naming variables.
33889 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33891         [BZ #15488]
33892         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33893         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33894         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33895         double tests.
33896         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33897         disable.
33898         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33899         check_long_double.
33901         * math/gen-libm-test.pl (@tests): Remove variable.
33902         ($count): Likewise.
33903         (new_test): Remove function.
33904         (show_exceptions): New function.
33905         (special_functions): Use show_exceptions instead of new_test.
33906         (parse_args): Likewise.
33907         (generate_testfile): Pass only function name in generated call to
33908         print_max_error or print_complex_max_error.
33909         (get_ulps): Do not handle complex tests specially.
33910         (output_test): Rename to ...
33911         (get_all_ulps_for_test): ... this.  Return a string rather than
33912         printing to a file.  Require ulps to be present.
33913         (output_ulps): Generate arrays rather than #defines.
33914         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33915         (struct ulp_data): New type.
33916         (BUILD_COMPLEX_ULP): Remove macro.
33917         (compare_ulp_data): New function.
33918         (find_ulps): Likewise.
33919         (find_test_ulps): Likewise.
33920         (find_function_ulps): Likewise.
33921         (find_complex_function_ulps): Likewise.
33922         (print_max_error): Determine allowed ulps using
33923         find_function_ulps.
33924         (print_complex_max_error): Determine allowed ulps using
33925         find_complex_function_ulps.
33926         (check_float_internal): Determine max ulps using find_test_ulps.
33927         (check_float): Do not take max_ulp parameter.  Update call to
33928         check_float_internal.
33929         (check_complex): Likewise.
33930         (check_int): Do not take max_ulp parameter.
33931         (check_long): Likewise.
33932         (check_bool): Likewise.
33933         (check_longlong): Likewise.
33934         (struct test_f_f_data): Remove max_ulp field.
33935         (struct test_ff_f_data): Likewise.
33936         (struct test_ff_f_data_nexttoward): Likewise.
33937         (struct test_fi_f_data): Likewise.
33938         (struct test_fl_f_data): Likewise.
33939         (struct test_if_f_data): Likewise.
33940         (struct test_fff_f_data): Likewise.
33941         (struct test_c_f_data): Likewise.
33942         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33943         (struct test_fF_f1_data): Likewise.
33944         (struct test_ffI_f1_data): Likewise.
33945         (struct test_c_c_data): Remove max_ulp field.
33946         (struct test_cc_c_data): Likewise.
33947         (struct test_f_i_data): Likewise.
33948         (struct test_ff_i_data): Likewise.
33949         (struct test_f_l_data): Likewise.
33950         (struct test_f_L_data): Likewise.
33951         (struct test_sincos_data): Likewise.
33952         (RUN_TEST_f_f): Do not handle ulps.
33953         (RUN_TEST_LOOP_f_f): Likewise.
33954         (RUN_TEST_2_f): Likewise.
33955         (RUN_TEST_LOOP_2_f): Likewise.
33956         (RUN_TEST_fff_f): Likewise.
33957         (RUN_TEST_LOOP_fff_f): Likewise.
33958         (RUN_TEST_c_f): Likewise.
33959         (RUN_TEST_LOOP_c_f): Likewise.
33960         (RUN_TEST_f_f1): Likewise.
33961         (RUN_TEST_LOOP_f_f1): Likewise.
33962         (RUN_TEST_fF_f1): Likewise.
33963         (RUN_TEST_LOOP_fF_f1): Likewise.
33964         (RUN_TEST_fI_f1): Likewise.
33965         (RUN_TEST_LOOP_fI_f1): Likewise.
33966         (RUN_TEST_ffI_f1): Likewise.
33967         (RUN_TEST_LOOP_ffI_f1): Likewise.
33968         (RUN_TEST_c_c): Likewise.
33969         (RUN_TEST_LOOP_c_c): Likewise.
33970         (RUN_TEST_cc_c): Likewise.
33971         (RUN_TEST_LOOP_cc_c): Likewise.
33972         (RUN_TEST_f_i): Likewise.
33973         (RUN_TEST_LOOP_f_i): Likewise.
33974         (RUN_TEST_f_i_tg): Likewise.
33975         (RUN_TEST_LOOP_f_i_tg): Likewise.
33976         (RUN_TEST_ff_i_tg): Likewise.
33977         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33978         (RUN_TEST_f_b): Likewise.
33979         (RUN_TEST_LOOP_f_b): Likewise.
33980         (RUN_TEST_f_b_tg): Likewise.
33981         (RUN_TEST_LOOP_f_b_tg): Likewise.
33982         (RUN_TEST_f_l): Likewise.
33983         (RUN_TEST_LOOP_f_l): Likewise.
33984         (RUN_TEST_f_L): Likewise.
33985         (RUN_TEST_LOOP_f_L): Likewise.
33986         (RUN_TEST_sincos): Likewise.
33987         (RUN_TEST_LOOP_sincos): Likewise.
33989 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33991         [BZ #15480]
33992         [BZ #15485]
33993         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33994         main case of finite arguments, set rounding mode to FE_TONEAREST
33995         and discard exceptions.
33996         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33997         exceptions.
33998         (remainder_tonearest_test_data): New variable.
33999         (remainder_test_tonearest): New function.
34000         (remainder_towardzero_test_data): New variable.
34001         (remainder_test_towardzero): New function.
34002         (remainder_downward_test_data): New variable.
34003         (remainder_test_downward): New function.
34004         (remainder_upward_test_data): New variable.
34005         (remainder_test_upward): New function.
34006         (main): Call the new test functions.
34008         * math/libm-test.inc (struct test_f_f1_data): Remove field
34009         extra_init.
34010         (struct test_fF_f1_data): Likewise.
34011         (struct test_ffI_f1_data): Likewise.
34012         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34013         based on value of EXTRA_EXPECTED.
34014         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34015         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34016         EXTRA_VAR based on value of EXTRA_EXPECTED.
34017         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34018         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34019         EXTRA_VAR based on value of EXTRA_EXPECTED.
34020         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34021         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34022         EXTRA_VAR based on value of EXTRA_EXPECTED.
34023         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34024         * math/gen-libm-test.pl (parse_args): Don't output initializers
34025         for extra output values.
34027         * math/libm-test.inc (check_int): Expect result to be exactly
34028         equal to expected value and do not handle ulps.
34029         (check_long): Likewise.
34030         (check_longlong): Likewise.
34032         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34033         exceptions.
34034         (cimag_test_data): Likewise.
34035         (conj_test_data): Likewise.
34036         (copysign_test_data): Likewise.
34037         (cproj_test_data): Likewise.
34038         (creal_test_data): Likewise.
34039         (fabs_test_data): Likewise.
34040         (fdim_test_data): Likewise.
34041         (finite_test_data): Likewise.
34042         (floor_test_data): Likewise.
34043         (fmax_test_data): Likewise.
34044         (fmin_test_data): Likewise.
34045         (fmod_test_data): Likewise.
34046         (fpclassify_test_data): Likewise.
34047         (frexp_test_data): Likewise.
34048         (ilogb_test_data): Likewise.
34049         (isfinite_test_data): Likewise.
34050         (isgreater_test_data): Likewise.
34051         (isgreaterequal_test_data): Likewise.
34052         (isinf_test_data): Likewise.
34053         (isless_test_data): Likewise.
34054         (islessequal_test_data): Likewise.
34055         (islessgreater_test_data): Likewise.
34056         (isnan_test_data): Likewise.
34057         (isnormal_test_data): Likewise.
34058         (issignaling_test_data): Likewise.
34059         (isunordered_test_data): Likewise.
34060         (ldexp_test_data): Likewise.
34061         (lrint_test_data): Likewise.
34062         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34063         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34064         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34065         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34066         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34067         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34068         test input.
34069         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34070         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34071         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34072         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34073         that test input.
34074         (lrint_downward_test_data): Test for "inexact" exceptions.
34075         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34076         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34077         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34078         test input.
34079         (lrint_upward_test_data): Test for "inexact" exceptions.
34080         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34081         test input.
34082         (llrint_test_data): Test for "inexact" exceptions.
34083         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34084         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34085         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34086         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34087         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34088         (llrint_downward_test_data): Test for "inexact" exceptions.
34089         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34090         (llrint_upward_test_data): Test for "inexact" exceptions.
34091         (logb_test_data): Likewise.
34092         (logb_downward_test_data): Likewise.
34093         (nextafter_test_data): Likewise.
34094         (nexttoward_test_data): Likewise.
34095         (remainder_test_data): Likewise.
34096         (remquo_test_data): Likewise.
34097         (scalbn_test_data): Likewise.
34098         (scalbln_test_data): Likewise.
34099         (signbit_test_data): Likewise.
34100         (sqrt_test_data): Likewise.
34101         (significand_test_data): Likewise.
34103 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34105         [BZ #15424]
34106         * benchtests/bench-modf.c (struct args): Mark arg0 as
34107         volatile.
34108         * scripts/bench.pl: Mark members of struct args as volatile.
34110 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34112         [BZ # 15497]
34113         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34114         negative infinity on POWER6 or lower.
34115         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34117 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34119         [BZ #15442]
34120         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34121         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34122         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34123         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34124         (_FP_SETQNAN): New macro.
34125         (_FP_SETQNAN_SEMIRAW): Likewise.
34126         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34127         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34128         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34129         (FP_EXTEND): Use _FP_FRAC_SNANP.
34130         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34131         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34132         into account.
34133         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34134         New macro.
34135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34136         Likewise.
34138 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34140         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34141         with DIVIDE_BY_ZERO_EXCEPTION.
34142         (gamma_test_data): Likewise.
34143         (lgamma_test_data): Likewise.
34144         (log_test_data): Likewise.
34145         (log10_test_data): Likewise.
34146         (log2_test_data): Likewise.
34147         (tgamma_test_data): Likewise.
34149         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34150         (acos_test_tonearest): Likewise.
34151         (acos_test_towardzero): Likewise.
34152         (acos_test_downward): Likewise.
34153         (acos_test_upward): Likewise.
34154         (acosh_test): Likewise.
34155         (asin_test): Likewise.
34156         (asin_test_tonearest): Likewise.
34157         (asin_test_towardzero): Likewise.
34158         (asin_test_downward): Likewise.
34159         (asin_test_upward): Likewise.
34160         (asinh_test): Likewise.
34161         (atan_test): Likewise.
34162         (atanh_test): Likewise.
34163         (atan2_test): Likewise.
34164         (cabs_test): Likewise.
34165         (cacos_test): Likewise.
34166         (cacosh_test): Likewise.
34167         (casin_test): Likewise.
34168         (casinh_test): Likewise.
34169         (catan_test): Likewise.
34170         (catanh_test): Likewise.
34171         (cbrt_test): Likewise.
34172         (ccos_test): Likewise.
34173         (ccosh_test): Likewise.
34174         (cexp_test): Likewise.
34175         (clog_test): Likewise.
34176         (clog10_test): Likewise.
34177         (cos_test): Likewise.
34178         (cos_test_tonearest): Likewise.
34179         (cos_test_towardzero): Likewise.
34180         (cos_test_downward): Likewise.
34181         (cos_test_upward): Likewise.
34182         (cosh_test): Likewise.
34183         (cosh_test_tonearest): Likewise.
34184         (cosh_test_towardzero): Likewise.
34185         (cosh_test_downward): Likewise.
34186         (cosh_test_upward): Likewise.
34187         (cpow_test): Likewise.
34188         (csin_test): Likewise.
34189         (csinh_test): Likewise.
34190         (csqrt_test): Likewise.
34191         (ctan_test): Likewise.
34192         (ctan_test_tonearest): Likewise.
34193         (ctan_test_towardzero): Likewise.
34194         (ctan_test_downward): Likewise.
34195         (ctan_test_upward): Likewise.
34196         (ctanh_test): Likewise.
34197         (ctanh_test_tonearest): Likewise.
34198         (ctanh_test_towardzero): Likewise.
34199         (ctanh_test_downward): Likewise.
34200         (ctanh_test_upward): Likewise.
34201         (erf_test): Likewise.
34202         (erfc_test): Likewise.
34203         (exp_test): Likewise.
34204         (exp_test_tonearest): Likewise.
34205         (exp_test_towardzero): Likewise.
34206         (exp_test_downward): Likewise.
34207         (exp_test_upward): Likewise.
34208         (exp10_test): Likewise.
34209         (exp2_test): Likewise.
34210         (expm1_test): Likewise.
34211         (fmod_test): Likewise.
34212         (gamma_test): Likewise.
34213         (hypot_test): Likewise.
34214         (j0_test): Likewise.
34215         (j1_test): Likewise.
34216         (jn_test): Likewise.
34217         (lgamma_test): Likewise.
34218         (log_test): Likewise.
34219         (log10_test): Likewise.
34220         (log1p_test): Likewise.
34221         (log2_test): Likewise.
34222         (logb_test_downward): Likewise.
34223         (pow_test): Likewise.
34224         (pow_test_tonearest): Likewise.
34225         (pow_test_towardzero): Likewise.
34226         (pow_test_downward): Likewise.
34227         (pow_test_upward): Likewise.
34228         (remainder_test): Likewise.
34229         (remquo_test): Likewise.
34230         (sin_test): Likewise.
34231         (sin_test_tonearest): Likewise.
34232         (sin_test_towardzero): Likewise.
34233         (sin_test_downward): Likewise.
34234         (sin_test_upward): Likewise.
34235         (sincos_test): Likewise.
34236         (sinh_test): Likewise.
34237         (sinh_test_tonearest): Likewise.
34238         (sinh_test_towardzero): Likewise.
34239         (sinh_test_downward): Likewise.
34240         (sinh_test_upward): Likewise.
34241         (sqrt_test): Likewise.
34242         (tan_test): Likewise.
34243         (tan_test_tonearest): Likewise.
34244         (tan_test_towardzero): Likewise.
34245         (tan_test_downward): Likewise.
34246         (tan_test_upward): Likewise.
34247         (tanh_test): Likewise.
34248         (tgamma_test): Likewise.
34249         (y0_test): Likewise.
34250         (y1_test): Likewise.
34251         (yn_test): Likewise.
34253         * math/gen-libm-test.pl (adjust_arg): Remove function.
34254         (special_function): Remove argument $in_func.  Only handle
34255         generating output for tables of tests, not inside functions.
34256         (parse_args): Likewise.
34257         (generate_testfile): Remove variable $in_func.  Update call to
34258         parse_args.
34259         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34260         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34261         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34262         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34263         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34264         (MAX_VALUE_INIT): Rename macro to max_value.
34265         (MIN_VALUE_INIT): Rename macro to min_value.
34266         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34267         (plus_zero): Remove variable.
34268         (minus_zero): Likewise.
34269         (plus_infty): Likewise.
34270         (minus_infty): Likewise.
34271         (qnan_value): Likewise.
34272         (max_value): Likewise.
34273         (min_value): Likewise.
34274         (min_subnorm_value): Likewise.
34276 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34278         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34279         uint64_t or uint32_t usage.
34280         * crypt/sha256-block.c: Likewise.
34281         * crypt/sha256-crypt.c: Likewise.
34282         * crypt/sha256.c: Likewise.
34283         * crypt/sha512-block.c: Likewise.
34284         * crypt/sha512-crypt.c: Likewise.
34285         * crypt/sha512.c: Likewise.
34286         * debug/backtrace-tst.c: Likewise.
34287         * debug/pcprofiledump.c: Likewise.
34288         * elf/cache.c: Likewise.
34289         * elf/dl-cache.c: Likewise.
34290         * elf/dl-misc.c: Likewise.
34291         * elf/dl-profile.c: Likewise.
34292         * elf/dl-support.c: Likewise.
34293         * elf/ldconfig.c: Likewise.
34294         * elf/sprof.c: Likewise.
34295         * iconv/dummy-repertoire.c: Likewise.
34296         * iconv/iconv_charmap.c: Likewise.
34297         * iconv/skeleton.c: Likewise.
34298         * iconvdata/8bit-generic.c: Likewise.
34299         * iconvdata/cp737.h: Likewise.
34300         * iconvdata/cp775.h: Likewise.
34301         * iconvdata/ibm1008.h: Likewise.
34302         * iconvdata/ibm1025.h: Likewise.
34303         * iconvdata/ibm1046.h: Likewise.
34304         * iconvdata/ibm1097.h: Likewise.
34305         * iconvdata/ibm1112.h: Likewise.
34306         * iconvdata/ibm1122.h: Likewise.
34307         * iconvdata/ibm1123.h: Likewise.
34308         * iconvdata/ibm1124.h: Likewise.
34309         * iconvdata/ibm1129.h: Likewise.
34310         * iconvdata/ibm1130.h: Likewise.
34311         * iconvdata/ibm1132.h: Likewise.
34312         * iconvdata/ibm1133.h: Likewise.
34313         * iconvdata/ibm1137.h: Likewise.
34314         * iconvdata/ibm1140.h: Likewise.
34315         * iconvdata/ibm1141.h: Likewise.
34316         * iconvdata/ibm1142.h: Likewise.
34317         * iconvdata/ibm1143.h: Likewise.
34318         * iconvdata/ibm1144.h: Likewise.
34319         * iconvdata/ibm1145.h: Likewise.
34320         * iconvdata/ibm1146.h: Likewise.
34321         * iconvdata/ibm1147.h: Likewise.
34322         * iconvdata/ibm1148.h: Likewise.
34323         * iconvdata/ibm1149.h: Likewise.
34324         * iconvdata/ibm1153.h: Likewise.
34325         * iconvdata/ibm1154.h: Likewise.
34326         * iconvdata/ibm1155.h: Likewise.
34327         * iconvdata/ibm1156.h: Likewise.
34328         * iconvdata/ibm1157.h: Likewise.
34329         * iconvdata/ibm1158.h: Likewise.
34330         * iconvdata/ibm1160.h: Likewise.
34331         * iconvdata/ibm1161.h: Likewise.
34332         * iconvdata/ibm1162.h: Likewise.
34333         * iconvdata/ibm1163.h: Likewise.
34334         * iconvdata/ibm1164.h: Likewise.
34335         * iconvdata/ibm1166.h: Likewise.
34336         * iconvdata/ibm1167.h: Likewise.
34337         * iconvdata/ibm12712.h: Likewise.
34338         * iconvdata/ibm1390.h: Likewise.
34339         * iconvdata/ibm1399.h: Likewise.
34340         * iconvdata/ibm16804.h: Likewise.
34341         * iconvdata/ibm4517.h: Likewise.
34342         * iconvdata/ibm4899.h: Likewise.
34343         * iconvdata/ibm4909.h: Likewise.
34344         * iconvdata/ibm4971.h: Likewise.
34345         * iconvdata/ibm5347.h: Likewise.
34346         * iconvdata/ibm803.h: Likewise.
34347         * iconvdata/ibm856.h: Likewise.
34348         * iconvdata/ibm901.h: Likewise.
34349         * iconvdata/ibm902.h: Likewise.
34350         * iconvdata/ibm9030.h: Likewise.
34351         * iconvdata/ibm9066.h: Likewise.
34352         * iconvdata/ibm921.h: Likewise.
34353         * iconvdata/ibm922.h: Likewise.
34354         * iconvdata/ibm9448.h: Likewise.
34355         * iconvdata/isiri-3342.h: Likewise.
34356         * iconvdata/jis0201.h: Likewise.
34357         * include/link.h: Likewise.
34358         * include/netdb.h: Likewise.
34359         * inet/check_native.c: Likewise.
34360         * inet/check_pf.c: Likewise.
34361         * inet/getipv4sourcefilter.c: Likewise.
34362         * inet/getnameinfo.c: Likewise.
34363         * inet/getsourcefilter.c: Likewise.
34364         * inet/htonl.c: Likewise.
34365         * inet/setipv4sourcefilter.c: Likewise.
34366         * inet/setsourcefilter.c: Likewise.
34367         * inet/test-inet6_opt.c: Likewise.
34368         * inet/tst-network.c: Likewise.
34369         * locale/C-collate.c: Likewise.
34370         * locale/C-ctype.c: Likewise.
34371         * locale/C-time.c: Likewise.
34372         * locale/C-translit.h: Likewise.
34373         * locale/loadarchive.c: Likewise.
34374         * locale/programs/3level.h: Likewise.
34375         * locale/programs/charmap.c: Likewise.
34376         * locale/programs/charmap.h: Likewise.
34377         * locale/programs/ld-address.c: Likewise.
34378         * locale/programs/ld-collate.c: Likewise.
34379         * locale/programs/ld-ctype.c: Likewise.
34380         * locale/programs/ld-identification.c: Likewise.
34381         * locale/programs/ld-measurement.c: Likewise.
34382         * locale/programs/ld-messages.c: Likewise.
34383         * locale/programs/ld-monetary.c: Likewise.
34384         * locale/programs/ld-name.c: Likewise.
34385         * locale/programs/ld-numeric.c: Likewise.
34386         * locale/programs/ld-paper.c: Likewise.
34387         * locale/programs/ld-telephone.c: Likewise.
34388         * locale/programs/ld-time.c: Likewise.
34389         * locale/programs/linereader.c: Likewise.
34390         * locale/programs/locale.c: Likewise.
34391         * locale/programs/locarchive.c: Likewise.
34392         * locale/programs/locfile.h: Likewise.
34393         * locale/programs/repertoire.c: Likewise.
34394         * locale/programs/simple-hash.c: Likewise.
34395         * locale/programs/simple-hash.h: Likewise.
34396         * malloc/memusage.c: Likewise.
34397         * malloc/memusagestat.c: Likewise.
34398         * nis/nis_defaults.c: Likewise.
34399         * nis/nis_hash.c: Likewise.
34400         * nis/nis_print.c: Likewise.
34401         * nis/nis_xdr.c: Likewise.
34402         * nscd/connections.c: Likewise.
34403         * nscd/hstcache.c: Likewise.
34404         * nscd/nscd_gethst_r.c: Likewise.
34405         * nscd/nscd_getserv_r.c: Likewise.
34406         * nscd/nscd_helper.c: Likewise.
34407         * nscd/servicescache.c: Likewise.
34408         * nss/makedb.c: Likewise.
34409         * nss/nss_db/db-XXX.c: Likewise.
34410         * nss/nss_db/db-initgroups.c: Likewise.
34411         * nss/nss_db/db-netgrp.c: Likewise.
34412         * nss/nss_files/files-network.c: Likewise.
34413         * nss/nss_files/files-parse.c: Likewise.
34414         * posix/bug-regex5.c: Likewise.
34415         * posix/fnmatch_loop.c: Likewise.
34416         * posix/regcomp.c: Likewise.
34417         * posix/regexec.c: Likewise.
34418         * posix/tst-rfc3484-2.c: Likewise.
34419         * posix/tst-rfc3484-3.c: Likewise.
34420         * posix/tst-rfc3484.c: Likewise.
34421         * resolv/nss_dns/dns-canon.c: Likewise.
34422         * resolv/nss_dns/dns-network.c: Likewise.
34423         * resolv/res_init.c: Likewise.
34424         * resolv/res_mkquery.c: Likewise.
34425         * resolv/tst-aton.c: Likewise.
34426         * stdlib/cxa_atexit.c: Likewise.
34427         * stdlib/cxa_finalize.c: Likewise.
34428         * stdlib/gen-fpioconst.c: Likewise.
34429         * stdlib/strtol_l.c: Likewise.
34430         * string/tst-endian.c: Likewise.
34431         * sunrpc/auth_des.c: Likewise.
34432         * sunrpc/clnt_udp.c: Likewise.
34433         * sunrpc/rtime.c: Likewise.
34434         * sunrpc/svcauth_des.c: Likewise.
34435         * sunrpc/xdr.c: Likewise.
34436         * sunrpc/xdr_intXX_t.c: Likewise.
34437         * sunrpc/xdr_rec.c: Likewise.
34438         * sysdeps/generic/ldconfig.h: Likewise.
34439         * sysdeps/generic/ldsodefs.h: Likewise.
34440         * sysdeps/generic/memusage.h: Likewise.
34441         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34442         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34443         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34444         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34445         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34446         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34447         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34449         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34451         * sysdeps/posix/getaddrinfo.c: Likewise.
34452         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34453         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34454         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34455         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34456         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34457         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34458         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34459         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34460         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34461         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34462         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34463         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34464         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34465         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34466         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34467         * sysdeps/x86_64/dl-tls.h: Likewise.
34468         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34469         * time/alt_digit.c: Likewise.
34470         * time/era.c: Likewise.
34471         * wcsmbs/tst-c16c32-1.c: Likewise.
34473 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34475         * math/libm-test.inc (struct test_sincos_data): New type.
34476         (RUN_TEST_LOOP_sincos): New macro.
34477         (sincos_test_data): New variable.
34478         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34480 2013-05-16  Richard Henderson  <rth@redhat.com>
34482         * math/atest-exp2.c (LIMB64): New macro.
34483         (CONSTSZ): New macro.
34484         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34485         (hexdig): Move ...
34486         (print_mpn_fp): ... to function scope.
34487         (read_mpn_hex): Remove.
34488         (get_log2): Remove.
34489         (exp2_mpn): Use mp_log2.
34490         (main): Use mp_exp1.
34492 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34494         * math/libm-test.inc: Remove comment about not testing "inexact"
34495         exceptions.
34496         (INEXACT_EXCEPTION): New macro.
34497         (NO_INEXACT_EXCEPTION): Likewise.
34498         (INVALID_EXCEPTION_OK): Update value.
34499         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34500         (OVERFLOW_EXCEPTION_OK): Likewise.
34501         (UNDERFLOW_EXCEPTION_OK): Likewise.
34502         (IGNORE_ZERO_INF_SIGN): Likewise.
34503         (ERRNO_UNCHANGED): Likewise.
34504         (ERRNO_EDOM): Likewise.
34505         (ERRNO_ERANGE): Likewise.
34506         (test_exceptions): Handle testing "inexact" exceptions.
34507         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34508         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34509         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34510         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34511         INEXACT_EXCEPTION.
34512         (rint_towardzero_test_data): Likewise.
34513         (rint_downward_test_data): Likewise.
34514         (rint_upward_test_data): Likewise.
34516         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34517         with OVERFLOW_EXCEPTION.
34518         (exp10_test_data): Likewise.
34519         (exp2_test_data): Likewise.
34520         (expm1_test_data): Likewise.
34521         (lgamma_test_data): Likewise.
34522         (pow_test_data): Likewise.
34523         (tgamma_test_data): Likewise.
34524         (yn_test_data): Remove duplicate test of overflow.
34526         * math/libm-test.inc (struct test_cc_c_data): New type.
34527         (RUN_TEST_LOOP_cc_c): New macro.
34528         (cpow_test_data): New variable.
34529         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34531         * math/libm-test.inc (struct test_f_L_data): New type.
34532         (RUN_TEST_LOOP_f_L): New macro.
34533         (llrint_test_data): New variable.
34534         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34535         (llrint_tonearest_test_data): New variable.
34536         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34537         (llrint_towardzero_test_data): New variable.
34538         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34539         (llrint_downward_test_data): New variable.
34540         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34541         (llrint_upward_test_data): New variable.
34542         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34543         (llround_test_data): New variable.
34544         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34546 2013-05-13  Peter Collingbourne  <pcc@google.com>
34548         * math/atest-exp2.c (get_log2): Remove const attribute.
34550 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34552         * math/libm-test.inc (struct test_f_l_data): New type.
34553         (RUN_TEST_LOOP_f_l): New macro.
34554         (lrint_test_data): New variable.
34555         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34556         (lrint_tonearest_test_data): New variable.
34557         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34558         (lrint_towardzero_test_data): New variable.
34559         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34560         (lrint_downward_test_data): New variable.
34561         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34562         (lrint_upward_test_data): New variable.
34563         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34564         (lround_test_data): New variable.
34565         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34567 2013-05-15  Peter Collingbourne  <pcc@google.com>
34569         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34570         (EXTRACT_WORDS64) Use where appropriate.
34571         (INSERT_WORDS64) Likewise.
34573         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34574         constraints with x constraints.
34575         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34577         * malloc/obstack.c (_obstack_compat): Add initializer.
34579 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34581         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34582         si_trapno and add si_addr_lsb to _sifields.sigfault.
34583         (si_trapno): Remove macro.
34584         (si_addr_lsb): Define new macro.
34585         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34587 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34589         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34590         instead of TEST_f_l.
34591         (llrint_test_tonearest): Likewise.
34592         (llrint_test_towardzero): Likewise.
34593         (llrint_test_downward): Likewise.
34594         (llrint_test_upward): Likewise.
34595         (llround_test): Likewise.
34597         * math/libm-test.inc (struct test_f_i_data): Add comment.
34598         (RUN_TEST_LOOP_f_b): New macro.
34599         (RUN_TEST_LOOP_f_b_tg): Likewise.
34600         (finite_test_data): New variable.
34601         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34602         (isfinite_test_data): New variable.
34603         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34604         (isinf_test_data): New variable.
34605         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34606         (isnan_test_data): New variable.
34607         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34608         (isnormal_test_data): New variable.
34609         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34610         (issignaling_test_data): New variable.
34611         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34612         (signbit_test_data): New variable.
34613         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34615         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34616         with INVALID_EXCEPTION.
34617         (acosh_test_data): Likewise.
34618         (asin_test_data): Likewise.
34619         (atanh_test_data): Likewise.
34620         (fmod_test_data): Likewise.
34621         (log_test_data): Likewise.
34622         (log10_test_data): Likewise.
34623         (log2_test_data): Likewise.
34624         (pow_test_data): Likewise.
34625         (sqrt_test_data): Likewise.
34626         (y0_test_data): Likewise.
34627         (y1_test_data): Likewise.
34628         (yn_test_data): Likewise.
34630         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34631         function contents.
34633         * math/libm-test.inc (struct test_ff_i_data): New type.
34634         (RUN_TEST_LOOP_ff_i_tg): New macro.
34635         (isgreater_test_data): New variable.
34636         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34637         (isgreaterequal_test_data): New variable.
34638         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34639         (isless_test_data): New variable.
34640         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34641         (islessequal_test_data): New variable.
34642         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34643         (islessgreater_test_data): New variable.
34644         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34645         (isunordered_test_data): New variable.
34646         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34648 2013-05-14  David S. Miller  <davem@davemloft.net>
34650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34652 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34654         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34656         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34657         extra_test to int.
34658         (struct test_f_i_data): Change type of max_ulp to int.
34660         * math/libm-test.inc (test_ffI_f1_data): New type.
34661         (RUN_TEST_LOOP_ffI_f1): New macro.
34662         (remquo_test_data): New variable.
34663         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34665         * setjmp/tst-setjmp-fp.c: New file.
34666         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34667         (link-libm): New variable.
34668         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34670         * math/libm-test.inc (struct test_f_i_data): New type.
34671         (RUN_TEST_LOOP_f_i): New macro.
34672         (RUN_TEST_LOOP_f_i_tg): Likewise.
34673         (fpclassify_test_data): New variable.
34674         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34675         (ilogb_test_data): New variable.
34676         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34678         * math/libm-test.inc (scalbln_test): Correct function name in END
34679         call.
34681         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34682         (RUN_TEST_LOOP_fI_f1): New macro.
34683         (frexp_test_data): New variable.
34684         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34686         * math/libm-test.inc (struct test_fF_f1_data): New type.
34687         (RUN_TEST_LOOP_fF_f1): New macro.
34688         (modf_test_data): New variable.
34689         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34691         * math/libm-test.inc (struct test_f_f1_data): New type.
34692         (RUN_TEST_LOOP_f_f1): New macro.
34693         (gamma_test_data): New variable.
34694         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34695         (lgamma_test_data): New variable.
34696         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34698 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34700         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34701         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34702         (main): Comment "tls" pseudo-hwcap.
34704 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34706         * math/libm-test.inc (struct test_fl_f_data): New type.
34707         (RUN_TEST_LOOP_fl_f): New variable.
34708         (scalbln_test_data): New variable.
34709         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34711         * math/libm-test.inc (struct test_fi_f_data): New type.
34712         (RUN_TEST_LOOP_fi_f): New macro.
34713         (ldexp_test_data): New variable.
34714         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34715         (scalbn_test_data): New variable.
34716         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34718         * math/libm-test.inc (struct test_c_f_data): New type.
34719         (RUN_TEST_LOOP_c_f): New macro.
34720         (cabs_test_data): New variable.
34721         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34722         (carg_test_data): New variable.
34723         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34724         (cimag_test_data): New variable.
34725         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34726         (creal_test_data): New variable.
34727         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34729         * math/libm-test.inc (struct test_if_f_data): New type.
34730         (RUN_TEST_LOOP_if_f): New macro.
34731         (jn_test_data): New variable.
34732         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34733         (yn_test_data): New variable.
34734         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34736         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34738 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34740         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34741         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34743 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34745         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34746         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34747         (bench-deps): Add bench-timing.h.
34748         * benchtests-bench-skeleton.c: Include bench-timing.h.
34749         (main): Use TIMING_* macros instead of clock_gettime.
34750         * benchtests/bench-timing.h: New file.
34752         [BZ #14582]
34753         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34754         Renamed from _LIB_VERSION.
34755         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34757 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34759         * math/libm-test.inc (struct test_fff_f_data): New type.
34760         (RUN_TEST_LOOP_fff_f): New macro.
34761         (fma_test_data): New variable.
34762         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34763         (fma_towardzero_test_data): New variable.
34764         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34765         (fma_downward_test_data): New variable.
34766         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34767         (fma_upward_test_data): New variable.
34768         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34770         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34771         (struct test_c_c_data): New type.
34772         (RUN_TEST_LOOP_c_c): New macro.
34773         (cacos_test_data): New variable.
34774         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34775         (cacosh_test_data): New variable.
34776         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34777         (casin_test_data): New variable.
34778         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34779         (casinh_test_data): New variable.
34780         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34781         (catan_test_data): New variable.
34782         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34783         (catanh_test_data): New variable.
34784         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34785         (ccos_test_data): New variable.
34786         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34787         (ccosh_test_data): New variable.
34788         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34789         (cexp_test_data): New variable.
34790         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34791         (clog_test_data): New variable.
34792         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34793         (clog10_test_data): New variable.
34794         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34795         (conj_test_data): New variable.
34796         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34797         (cproj_test_data): New variable.
34798         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34799         (csin_test_data): New variable.
34800         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34801         (csinh_test_data): New variable.
34802         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34803         (csqrt_test_data): New variable.
34804         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34805         (ctan_test_data): New variable.
34806         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34807         (ctan_tonearest_test_data): New variable.
34808         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34809         (ctan_towardzero_test_data): New variable.
34810         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34811         (ctan_downward_test_data): New variable.
34812         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34813         (ctan_upward_test_data): New variable.
34814         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34815         (ctanh_test_data): New variable.
34816         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34817         (ctanh_tonearest_test_data): New variable.
34818         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34819         (ctanh_towardzero_test_data): New variable.
34820         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34821         (ctanh_downward_test_data): New variable.
34822         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34823         (ctanh_upward_test_data): New variable.
34824         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34825         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34826         of BUILD_COMPLEX.
34828         * math/libm-test.inc (struct test_ff_f_data): New type.
34829         (struct test_ff_f_data_nexttoward): Likewise.
34830         (RUN_TEST_LOOP_2_f): New macro.
34831         (RUN_TEST_LOOP_ff_f): Likewise.
34832         (atan2_test_data): New variable.
34833         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34834         (copysign_test_data): New variable.
34835         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34836         (fdim_test_data): New variable.
34837         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34838         (fmax_test_data): New variable.
34839         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34840         (fmin_test_data): New variable.
34841         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34842         (fmod_test_data): New variable.
34843         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34844         (hypot_test_data): New variable.
34845         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34846         (nextafter_test_data): New variable.
34847         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34848         (nexttoward_test_data): New variable.
34849         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34850         (pow_test_data): New variable.
34851         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34852         (pow_tonearest_test_data): New variable.
34853         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34854         (pow_towardzero_test_data): New variable.
34855         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34856         (pow_downward_test_data): New variable.
34857         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34858         (pow_upward_test_data): New variable.
34859         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34860         (remainder_test_data): New variable.
34861         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34862         (scalb_test_data): New variable.
34863         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34864         * sysdeps/i386/fpu/libm-test-ulps: Update.
34866 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34868         * math/libm-test.inc (fma_test): Use max_value instead of local
34869         variable fltmax.
34870         (nextafter_test): Likewise.
34872         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34873         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34874         (acos_downward_test_data): New variable.
34875         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34876         (acos_upward_test_data): New variable.
34877         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34878         (acosh_test_data): New variable.
34879         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34880         (asin_test_data): New variable.
34881         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34882         (asin_tonearest_test_data): New variable.
34883         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34884         (asin_towardzero_test_data): New variable.
34885         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34886         (asin_downward_test_data): New variable.
34887         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34888         (asin_upward_test_data): New variable.
34889         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34890         (asinh_test_data): New variable.
34891         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34892         (atan_test_data): New variable.
34893         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34894         (atanh_test_data): New variable.
34895         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34896         (cbrt_test_data): New variable.
34897         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34898         (ceil_test_data): New variable.
34899         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34900         (cos_test_data): New variable.
34901         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34902         (cos_tonearest_test_data): New variable.
34903         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34904         (cos_towardzero_test_data): New variable.
34905         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34906         (cos_downward_test_data): New variable.
34907         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34908         (cos_upward_test_data): New variable.
34909         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34910         (cosh_test_data): New variable.
34911         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34912         (cosh_tonearest_test_data): New variable.
34913         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34914         (cosh_towardzero_test_data): New variable.
34915         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34916         (cosh_downward_test_data): New variable.
34917         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34918         (cosh_upward_test_data): New variable.
34919         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34920         (erf_test_data): New variable.
34921         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34922         (erfc_test_data): New variable.
34923         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34924         (exp_test_data): New variable.
34925         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34926         (exp_tonearest_test_data): New variable.
34927         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34928         (exp_towardzero_test_data): New variable.
34929         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34930         (exp_downward_test_data): New variable.
34931         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34932         (exp_upward_test_data): New variable.
34933         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34934         (exp10_test_data): New variable.
34935         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34936         (exp2_test_data): New variable.
34937         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34938         (expm1_test_data): New variable.
34939         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34940         (fabs_test_data): New variable.
34941         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34942         (floor_test_data): New variable.
34943         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34944         (j0_test_data): New variable.
34945         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34946         (j1_test_data): New variable.
34947         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34948         (log_test_data): New variable.
34949         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34950         (log10_test_data): New variable.
34951         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34952         (log1p_test_data): New variable.
34953         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34954         (log2_test_data): New variable.
34955         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34956         (logb_test_data): New variable.
34957         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34958         (logb_downward_test_data): New variable.
34959         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34960         (nearbyint_test_data): New variable.
34961         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34962         (rint_test_data): New variable.
34963         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34964         (rint_tonearest_test_data): New variable.
34965         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34966         (rint_towardzero_test_data): New variable.
34967         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34968         (rint_downward_test_data): New variable.
34969         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34970         (rint_upward_test_data): New variable.
34971         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34972         (round_test_data): New variable.
34973         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34974         (sin_test_data): New variable.
34975         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34976         (sin_tonearest_test_data): New variable.
34977         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34978         (sin_towardzero_test_data): New variable.
34979         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34980         (sin_downward_test_data): New variable.
34981         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34982         (sin_upward_test_data): New variable.
34983         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34984         (sinh_test_data): New variable.
34985         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34986         (sinh_tonearest_test_data): New variable.
34987         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34988         (sinh_towardzero_test_data): New variable.
34989         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34990         (sinh_downward_test_data): New variable.
34991         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34992         (sinh_upward_test_data): New variable.
34993         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34994         (sqrt_test_data): New variable.
34995         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34996         (tan_test_data): New variable.
34997         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34998         (tan_tonearest_test_data): New variable.
34999         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35000         (tan_towardzero_test_data): New variable.
35001         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35002         (tan_downward_test_data): New variable.
35003         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35004         (tan_upward_test_data): New variable.
35005         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35006         (tanh_test_data): New variable.
35007         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35008         (tgamma_test_data): New variable.
35009         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35010         (trunc_test_data): New variable.
35011         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35012         (y0_test_data): New variable.
35013         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35014         (y1_test_data): New variable.
35015         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35016         (significand_test_data): New variable.
35017         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35019 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35021         [BZ #12387]
35022         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35024 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35026         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35028 2013-05-10  Andreas Jaeger  <aj@suse.de>
35030         [BZ #15448]
35031         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35032         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35034 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35036         * math/gen-libm-test.pl (adjust_arg): New function.
35037         (special_functions): Handle generating output in both functions
35038         and arrays.
35039         (parse_args): Likewise.
35040         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35041         $in_func argument to parse_args.
35042         * math/libm-test.inc (struct test_f_f_data): New type.
35043         (IF_ROUND_INIT_): New macro.
35044         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35045         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35046         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35047         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35048         (ROUND_RESTORE_): Likewise.
35049         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35050         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35051         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35052         (ROUND_RESTORE_FE_UPWARD): Likewise.
35053         (RUN_TEST_LOOP_f_f): New macro.
35054         (acos_test_data): New variable.
35055         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35056         (acos_tonearest_test_data): New variable.
35057         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35059 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35061         * benchtests/bench-skeleton.c (startup): Fix coding style.
35063 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35065         [BZ #6809]
35066         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35067         negative infinity argument.
35068         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35069         negative infinity argument.
35070         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35071         negative infinity argument.
35072         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35073         domain errors.
35075 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35077         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35078         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35079         * iconv/iconv_prog.c (main): Likewise.
35080         * locale/programs/charmap-dir.c (charmap_readdir)
35081         (fopen_uncompressed): Likewise.
35082         * locale/programs/locfile.c (siblings_uncached)
35083         (write_locale_data): Use lstat64 instead of lstat.
35084         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35085         stat.
35087 2013-05-10  Andreas Jaeger  <aj@suse.de>
35089         [BZ #15395]
35090         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35091         localization.
35092         Include <locale.h>.
35094 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35096         * elf/dl-close.c (_dl_close_worker): Add comments.
35098 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35100         [BZ #15359]
35101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35102         high part of pi/2.
35103         (__ieee754_rem_pio2l): Update comments.
35105         [BZ #15429]
35106         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35107         high part of pi/2.
35108         (__ieee754_rem_pio2l): Update comments.
35110         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35111         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35113         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35114         M_PI_4l.
35116         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35117         (M_PI_34_LOG10El): Likewise.
35118         (M_PI2_LOG10El): Likewise.
35119         (M_PI4_LOG10El): Likewise.
35120         (M_PI_LOG10El): Likewise.
35122 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35126 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35128         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35129         (MINUS_ZERO_INIT): Likewise.
35130         (PLUS_INFTY_INIT): Likewise.
35131         (MINUS_INFTY_INIT): Likewise.
35132         (QNAN_VALUE_INIT): Likewise.
35133         (MAX_VALUE_INIT): Likewise.
35134         (MIN_VALUE_INIT): Likewise.
35135         (MIN_SUBNORM_VALUE_INIT): Likewise.
35136         (plus_zero): Initialize with PLUS_ZERO_INIT.
35137         (minus_zero): Initialize with MINUS_ZERO_INIT.
35138         (plus_infty): Initialize with PLUS_INFTY_INIT.
35139         (minus_infty): Initialize with MINUS_INFTY_INIT.
35140         (qnan_value): Initialize with QNAN_VALUE_INIT.
35141         (max_value): Initialize with MAX_VALUE_INIT.
35142         (min_value): Initialize with MIN_VALUE_INIT.
35143         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35145         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35146         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35147         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35148         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35150         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35151         (RUN_TEST_2_f): Likewise.
35152         (RUN_TEST_ff_f): Likewise.
35153         (RUN_TEST_fi_f): Likewise.
35154         (RUN_TEST_fl_f): Likewise.
35155         (RUN_TEST_fff_f): Likewise.
35156         (RUN_TEST_c_f): Likewise.
35157         (RUN_TEST_f_f1): Likewise.
35158         (RUN_TEST_fF_f1): Likewise.
35159         (RUN_TEST_fI_f1): Likewise.
35160         (RUN_TEST_ffI_f1): Likewise.
35161         (RUN_TEST_c_c): Likewise.
35162         (RUN_TEST_cc_c): Likewise.
35163         (RUN_TEST_f_i): Likewise.
35164         (RUN_TEST_f_i_tg): Likewise.
35165         (RUN_TEST_ff_i_tg): Likewise.
35166         (RUN_TEST_f_b): Likewise.
35167         (RUN_TEST_f_b_tg): Likewise.
35168         (RUN_TEST_f_l): Likewise.
35169         (RUN_TEST_f_L): Likewise.
35170         (RUN_TEST_sincos): Likewise.
35171         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35172         whether to show exceptions.  Do not include ");\n" in return
35173         value.
35174         (special_functions): Output call to RUN_TEST_sincos instead of
35175         check_float calls.  Update calls to new_test.
35176         (parse_args): Output call to single RUN_TEST_* macro instead of
35177         check_* calls and other assignments.  Update calls to new_test.
35179         [BZ #2546]
35180         [BZ #2560]
35181         [BZ #5159]
35182         [BZ #15426]
35183         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35184         input to result for tgamma overflow.
35185         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35186         (gamma_coeff): New variable.
35187         (NCOEFF): New macro.
35188         (gamma_positive): New function.
35189         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35190         underflow here.  Use gamma_positive instead of exp (lgamma) for
35191         other arguments.
35192         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35193         (gamma_coeff): New variable.
35194         (NCOEFF): New macro.
35195         (gammaf_positive): New function.
35196         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35197         underflow here.  Use gamma_positive instead of exp (lgamma) for
35198         other arguments.
35199         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35200         (gamma_coeff): New variable.
35201         (NCOEFF): New macro.
35202         (gammal_positive): New function.
35203         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35204         underflow here.  Use gamma_positive instead of exp (lgamma) for
35205         other arguments.
35206         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35207         (gamma_coeff): New variable.
35208         (NCOEFF): New macro.
35209         (gammal_positive): New function.
35210         (__ieee754_gammal_r): Handle positive infinity, overflow and
35211         underflow here.  Handle NaN the same as positive infinity.  Remove
35212         check x < 0xffffffff for negative integers.  Use gamma_positive
35213         instead of exp (lgamma) for other arguments.
35214         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35215         (gamma_coeff): New variable.
35216         (NCOEFF): New macro.
35217         (gammal_positive): New function.
35218         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35219         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35220         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35221         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35222         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35223         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35224         * sysdeps/generic/math_private.h (__gamma_productf): New
35225         prototype.
35226         (__gamma_product): Likewise.
35227         (__gamma_productl): Likewise.
35228         * math/Makefile (libm-calls): Add gamma_product.
35229         * math/libm-test.inc (tgamma_test): Add more tests.
35230         * sysdeps/i386/fpu/libm-test-ulps: Update.
35231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35233 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35235         * benchtests/bench-skeleton.c (main): Preheat CPU.
35237 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35239         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35241 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35243         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35244         and _dl_skip_args_internal.
35246 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35248         * manual/message.texi (Message Translation): Talk about users.
35249         Message to key mapping impacts design.
35251 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35253         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35255         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35257         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35258         * sysdeps/wordsize-64/glob64.c: ... here.
35260         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35261         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35262         New macros.
35264         * debug/getlogin_r_chk.c: Moved to ...
35265         * login/getlogin_r_chk.c: ... here.
35266         * debug/Makefile (routines): Move getlogin_r_chk to ...
35267         * login/Makefile (routines): ... here.
35268         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35269         * login/Versions (libc: GLIBC_2.4): ... here.
35271         * io/poll.c (__poll): Renamed from poll.
35272         Add libc_hidden_def.
35273         (poll): Define as weak alias.
35275         * debug/ptsname_r_chk.c: Moved to ...
35276         * login/ptsname_r_chk.c: ... here.
35277         * debug/Makefile (routines): Move ptsname_r_chk to ...
35278         * login/Makefile (routines): ... here.
35279         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35280         * login/Versions (libc: GLIBC_2.4): ... here.
35282         * posix/getlogin.c: Moved to ...
35283         * login/getlogin.c: ... here.
35284         * posix/getlogin_r.c: Moved to ...
35285         * login/getlogin_r.c: ... here.
35286         * posix/getlogin_r.c: Moved to ...
35287         * login/getlogin_r.c: ... here.
35288         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35289         * login/Makefile (routines): ... here.
35290         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35291         * login/Versions (libc: GLIBC_2.0): ... here.
35293         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35294         (setrlimit): Define as weak alias.
35296         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35297         Call __ names for open, ftruncate, and close.
35298         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35299         (truncate): Define as weak alias.
35301 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35303         * math/gen-libm-test.pl (parse_args): Initialize x before each
35304         test of frexp, modf and remquo.
35306         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35307         test signgam value.
35309 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35311         [BZ #15418]
35312         [BZ #15419]
35313         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35314         internal tests.
35315         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35317 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35319         * elf/dl-writev.h: New file.
35320         * elf/dl-misc.c: Include it.
35321         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35322         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35324 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35326         * math/libm-test.inc (noXFails): Remove variable.
35327         (noXPasses): Likewise.
35328         (BUILD_COMPLEX_INT): Remove macro.
35329         (print_screen): Remove xfail argument.
35330         (print_screen_max_error): Likewise.
35331         (update_stats): Likewise.
35332         (print_max_error): Likewise.  Update calls to other affected
35333         functions.
35334         (print_complex_max_error): Likewise.
35335         (test_single_exception): Update calls to print_screen.
35336         (test_single_errno): Likewise.
35337         (check_float_internal): Remove xfail argument.  Update calls to
35338         other affected functions.
35339         (check_float): Likewise.
35340         (check_complex): Likewise.
35341         (check_int): Likewise.
35342         (check_long): Likewise.
35343         (check_bool): Likewise.
35344         (check_longlong): Likewise.
35345         (main): Don't print noXFails and noXPasses.
35346         * math/gen-libm-test.pl (top level): Don't mention expected
35347         failure handling in comment.
35348         (new_test): Don't handle expected failures.
35349         (parse_args): Don't mention expected failure handling in comment.
35350         (generate_testfile): Don't handle expected failures.
35351         (parse_ulps): Likewise.
35352         (print_ulps_file): Likewise.
35353         (get_failure): Remove function.
35354         (output_test): Don't handle expected failures.
35355         * make/README.libm-test: Don't mention expected failure handling.
35357         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35358         (minus_zero): Likewise.
35359         (plus_infty): Likewise.
35360         (minus_infty): Likewise.
35361         (qnan_value): Likewise.
35362         (max_value): Likewise.
35363         (min_value): Likewise.
35364         (min_subnorm_value): Likewise.
35365         (initialize): Do not initialize those variables dynamically.
35367 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35369         * io/open.c (__open_2): Moved to ...
35370         * io/open_2.c: ... this new file.
35371         * io/open64.c (__open64_2): Moved to ...
35372         * io/open64_2.c: ... this new file.
35373         * io/openat.c (__openat_2): Moved to ...
35374         * io/openat_2.c: ... this new file.
35375         * io/openat64.c (__openat64_2): Moved to ...
35376         * io/openat64_2.c: ... this new file.
35377         * io/Makefile (routines): Add them.
35378         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35379         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35380         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35381         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35382         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35383         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35384         (__openat64): Add hidden_ver.
35385         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35386         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35388         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35389         Separately conditionalize setting of GLRO(dl_sysinfo) so
35390         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35391         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35393 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35395         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35396         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35397         definition.
35398         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35399         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35400         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35401         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35402         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35404 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35406         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35407         test signgam value.
35409         * math/libm-test.inc (hypot_test): Do not use
35410         IGNORE_ZERO_INF_SIGN.
35412 2013-05-03  Andreas Jaeger  <aj@suse.de>
35414         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35415         Linux 3.9.
35416         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35417         (PF_MAX): Adjust for VSOCK change.
35419 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35423 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35425         [BZ #15264]
35426         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35427         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35428         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35430 2013-05-02  David S. Miller  <davem@davemloft.net>
35432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35434 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35436         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35438 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35440         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35442 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35444         [BZ #14952]
35445         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35446         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35447         Use __attribute__ ((__gnu_inline__)).
35448         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35449         Don't use __attribute__ ((__gnu_inline__)).
35451 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35453         [BZ #15423]
35454         * math/s_catan.c (__catan): Handle small real or imaginary part of
35455         input specially to avoid spurious underflow.
35456         * math/s_catanf.c (__catanf): Likewise.
35457         * math/s_catanh.c (__catanh): Likewise.
35458         * math/s_catanhf.c (__catanhf): Likewise.
35459         * math/s_catanhl.c (__catanhl): Likewise.
35460         * math/s_catanl.c (__catanl): Likewise.
35461         * math/libm-test.inc (catan_test): Add more tests.
35462         (catanh_test): Likewise.
35463         * sysdeps/i386/fpu/libm-test-ulps: Update.
35464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35466 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35470 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35472         [BZ #15416]
35473         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35474         accurately for denominator in atan2.
35475         * math/s_catanf.c (__catanf): Likewise.
35476         * math/s_catanh.c (__catanh): Likewise.
35477         * math/s_catanhf.c (__catanhf): Likewise.
35478         * math/s_catanhl.c (__catanhl): Likewise.
35479         * math/s_catanl.c (__catanl): Likewise.
35480         * math/libm-test.inc (catan_test): Add more tests.
35481         (catanh_test): Likewise.
35482         * sysdeps/i386/fpu/libm-test-ulps: Update.
35483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35485 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35487         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35489         * benchtests/Makefile (bench): Remove slow benchmarks.
35490         * benchtests/atan-inputs: Add slow benchmark inputs.
35491         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35492         (BENCH_FUNC): Accept variant offset.
35493         (VARIANT): Define.
35494         * benchtests/bench-skeleton.c (main): Run benchmark for each
35495         variant.
35496         * benchtests/cos-inputs: Add slow benchmark inputs.
35497         * benchtests/exp-inputs: Likewise.
35498         * benchtests/pow-inputs: Likewise.
35499         * benchtests/sin-inputs: Likewise.
35500         * benchtests/slowatan-inputs: Remove.
35501         * benchtests/slowatan.c: Remove.
35502         * benchtests/slowcos-inputs: Remove.
35503         * benchtests/slowcos.c: Remove.
35504         * benchtests/slowexp-inputs: Remove.
35505         * benchtests/slowexp.c: Remove.
35506         * benchtests/slowpow-inputs: Remove.
35507         * benchtests/slowpow.c: Remove.
35508         * benchtests/slowsin-inputs: Remove.
35509         * benchtests/slowsin.c: Remove.
35510         * benchtests/slowtan-inputs: Remove.
35511         * benchtests/slowtan.c: Remove.
35512         * benchtests/tan-inputs: Add slow benchmark inputs.
35513         * scripts/bench.pl: Parse comments and directives.
35515         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35516         in CPPFLAGS.
35517         ($(objpfx)bench-%.c): Remove *-ITER.
35518         * benchtests/bench-modf.c: Remove definition of ITER.
35519         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35520         (main): Loop for DURATION seconds instead of fixed number of
35521         iterations.
35522         * scripts/bench.pl: Don't expect iterations in parameters.
35524 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35526         * io/fchdir.c (__fchdir): Renamed from fchdir.
35527         (fchdir): Define as weak alias.
35529 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35531         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35532         (ERRNO_EDOM): Likewise.
35533         (ERRNO_ERANGE): Likewise.
35534         (noErrnoTests): New variable.
35535         (init_max_error): Set errno to 0.
35536         (test_single_errno): New function.
35537         (test_errno): Likewise.
35538         (check_float_internal): Call test_errno.  Set errno to 0.
35539         (check_complex): Refer to errno tests in comment.
35540         (check_int): Call test_errno.  Set errno to 0.
35541         (check_long): Likewise.
35542         (check_bool): Likewise.
35543         (check_longlong): Likewise.
35544         (cos_test): Use ERRNO_* flags for errno tests instead of
35545         check_int.
35546         (expm1_test): Likewise.
35547         (fmod_test): Likewise.
35548         (ilogb_test): Likewise.
35549         (lgamma_test): Likewise.
35550         (pow_test): Likewise.
35551         (remainder_test): Likewise.
35552         (sin_test): Likewise.
35553         (tan_test): Likewise.
35554         (yn_test): Likewise.
35555         (initialize): Set errno to 0.
35556         (main): Print number of errno tests.
35557         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35559 2013-04-29  Andreas Jaeger  <aj@suse.de>
35561         [BZ #15084]
35562         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35563         and RES_USEVC.
35565         [BZ #15085]
35566         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35567         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35568         unimplemented.
35570         [BZ #15380]
35571         * stdlib/random.c (__initstate): Return NULL if
35572         __initstate fails.
35574         [BZ #15086]
35575         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35576         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35577         RES_SNGLKUPREOP.
35579 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35583 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35585         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35586         of individual tests.
35587         (casin_test): Likewise.
35588         (casinh_test): Likewise.
35590 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35592         [BZ #15409]
35593         * math/s_catan.c (__catan): Handle arguments with large real or
35594         imaginary part separately without squaring.
35595         * math/s_catanf.c (__catanf): Likewise.
35596         * math/s_catanh.c (__catanh): Likewise.
35597         * math/s_catanhf.c (__catanhf): Likewise.
35598         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35599         and redefine.
35600         (__catanhl): Handle arguments with large real or imaginary part
35601         separately without squaring.
35602         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35603         and redefine.
35604         (__catanl): Handle arguments with large real or imaginary part
35605         separately without squaring.
35606         * math/libm-test.inc (catan_test): Add more tests.
35607         (catanh_test): Likewise.
35608         * sysdeps/i386/fpu/libm-test-ulps: Update.
35609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35611 2013-04-27  Andreas Jaeger  <aj@suse.de>
35613         [BZ #15007]
35614         * stdlib/stdlib.h: Update guards for qecvt.
35615         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35616         <stdlib.h>.
35618 2013-04-27  Allan McRae  <allan@archlinux.org>
35620         * sysdeps/i386/fpu/libm-test-ulps: Update.
35622 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35624         [BZ #15406]
35625         * math/s_catan.c: Include <float.h>.
35626         (__catan): Ensure underflow exception occurs for underflowed
35627         result.
35628         * math/s_catanf.c: Include <float.h>.
35629         (__catanf): Ensure underflow exception occurs for underflowed
35630         result.
35631         * math/s_catanh.c: Include <float.h>.
35632         (__catanh): Ensure underflow exception occurs for underflowed
35633         result.
35634         * math/s_catanhf.c: Include <float.h>.
35635         (__catanhf): Ensure underflow exception occurs for underflowed
35636         result.
35637         * math/s_catanhl.c: Include <float.h>.
35638         (__catanhl): Ensure underflow exception occurs for underflowed
35639         result.
35640         * math/s_catanl.c: Include <float.h>.
35641         (__catanl): Ensure underflow exception occurs for underflowed
35642         result.
35643         * math/libm-test.inc (catan_test): Add more tests.
35644         (catanh_test): Likewise.
35646         [BZ #15405]
35647         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35648         underflowed result.
35649         * math/s_ccoshf.c (__ccoshf): Likewise.
35650         * math/s_ccoshl.c (__ccoshl): Likewise.
35651         * math/s_csin.c (__csin): Likewise.
35652         * math/s_csinf.c (__csinf): Likewise.
35653         * math/s_csinh.c (__csinh): Likewise.
35654         * math/s_csinhf.c (__csinhf): Likewise.
35655         * math/s_csinhl.c (__csinhl): Likewise.
35656         * math/s_csinl.c (__csinl): Likewise.
35657         * math/libm-test.inc (ccos_test): Add more tests.
35658         (ccosh_test): Likewise.
35659         (csin_test): Likewise.
35660         (csinh_test): Likewise.
35662 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35664         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35665         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35666         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35667         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35668         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35669         powerpc/power5+/fpu folders.
35670         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35673 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35677 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35679         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35680         additions to variable.
35681         [$(config-machine) = x86_64] (modules-names): Likewise.
35682         ($(objpfx)tst-audit3): Remove dependency.
35683         ($(objpfx)tst-audit3.out): Likewise.
35684         ($(objpfx)tst-audit4): Likewise.
35685         ($(objpfx)tst-audit4.out): Likewise.
35686         ($(objpfx)tst-audit5): Likewise.
35687         ($(objpfx)tst-audit5.out): Likewise.
35688         ($(objpfx)tst-audit6): Likewise.
35689         ($(objpfx)tst-audit6.out): Likewise.
35690         ($(objpfx)tst-audit7): Likewise.
35691         ($(objpfx)tst-audit7.out): Likewise.
35692         (tst-audit3-ENV): Remove variable.
35693         (tst-audit4-ENV): Likewise.
35694         (tst-audit5-ENV): Likewise.
35695         (tst-audit6-ENV): Likewise.
35696         (tst-audit7-ENV): Likewise.
35697         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35698         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35699         addition to variable.
35700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35705         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35706         tst-audit3, tst-audit4 and tst-audit5.
35707         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35708         tst-audit6 and tst-audit7.
35709         [$(subdir) = elf] (modules-names): Add audit modules for those
35710         tests.
35711         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35712         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35713         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35714         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35715         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35716         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35717         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35718         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35719         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35720         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35721         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35722         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35723         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35724         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35725         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35726         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35727         Likewise.
35728         [$(subdir) = elf && $(config-cflags-avx) = yes]
35729         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35730         [$(subdir) = elf && $(config-cflags-avx) = yes]
35731         (CFLAGS-tst-auditmod4a.c): Likewise.
35732         [$(subdir) = elf && $(config-cflags-avx) = yes]
35733         (CFLAGS-tst-auditmod4b.c): Likewise.
35734         [$(subdir) = elf && $(config-cflags-avx) = yes]
35735         (CFLAGS-tst-auditmod6b.c): Likewise.
35736         [$(subdir) = elf && $(config-cflags-avx) = yes]
35737         (CFLAGS-tst-auditmod6c.c): Likewise.
35738         [$(subdir) = elf && $(config-cflags-avx) = yes]
35739         (CFLAGS-tst-auditmod7b.c): Likewise.
35740         * elf/tst-audit3.c: Move to ...
35741         * sysdeps/x86_64/tst-audit3.c: ... here.
35742         * elf/tst-audit4.c: Move to ...
35743         * sysdeps/x86_64/tst-audit4.c: ... here.
35744         * elf/tst-audit5.c: Move to ...
35745         * sysdeps/x86_64/tst-audit5.c: ... here.
35746         * elf/tst-audit6.c: Move to ...
35747         * sysdeps/x86_64/tst-audit6.c: ... here.
35748         * elf/tst-audit7.c: Move to ...
35749         * sysdeps/x86_64/tst-audit7.c: ... here.
35750         * elf/tst-auditmod3a.c: Move to ...
35751         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35752         * elf/tst-auditmod3b.c: Move to ...
35753         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35754         * elf/tst-auditmod4a.c: Move to ...
35755         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35756         * elf/tst-auditmod4b.c: Move to ...
35757         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35758         * elf/tst-auditmod5a.c: Move to ...
35759         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35760         * elf/tst-auditmod5b.c: Move to ...
35761         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35762         * elf/tst-auditmod6a.c: Move to ...
35763         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35764         * elf/tst-auditmod6b.c: Move to ...
35765         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35766         * elf/tst-auditmod6c.c: Move to ...
35767         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35768         * elf/tst-auditmod7a.c: Move to ...
35769         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35770         * elf/tst-auditmod7b.c: Move to ...
35771         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35773 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35775         [BZ #15366]
35776         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35777         define unconditionally.
35778         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35779         define unconditionally.
35780         (INT8_C, INT16_C, etc.): Likewise.
35782 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35784         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35785         __ehdr_start with hidden visibility.
35787         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35789 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35791         * math/libm-test.inc (cos_test): Use accurate hex constants.
35792         (sincost_test): Likewise.
35794 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35796         * math/libm-test.inc (catan_test): Add more tests.
35797         (catanh_test): Likewise.
35799         * math/s_catanf.c (__catanf): Use suffixed floating-point
35800         constants.
35801         * math/s_catanhf.c (__catanhf): Likewise.
35802         * math/s_catanhl.c (__catanhl): Likewise.
35803         * math/s_catanl.c (__catanl): Likewise.
35805         [BZ #15394]
35806         * math/s_catan.c (__catan): Calculate imaginary part of result
35807         with log1p not log unless computing log of number close to 0.
35808         * math/s_catanf.c (__catanf): Likewise.
35809         * math/s_catanl.c (__catanl): Likewise.
35810         * math/s_catanh.c (__catanh): Calculate real part of result with
35811         log1p not log unless computing log of number close to 0.
35812         * math/s_catanhf.c (__catanhf): Likewise.
35813         * math/s_catanhl.c (__catanhl): Likewise.
35814         * math/libm-test.inc (catan_test): Add more tests.
35815         (catanh_test): Likewise.
35816         * sysdeps/i386/fpu/libm-test-ulps: Update.
35817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35819 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35821         * benchtests/Makefile: Mention files in which fast and slow
35822         paths of math functions are implemented.
35824 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35826         * sysdeps/posix/timespec_get.c: New file.
35828 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35830         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35831         POWER.
35832         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35833         for POWER.
35834         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35835         powerpc/power5/fpu folders.
35836         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35837         * benchtests/Makefile: Add modf testcase.
35838         * benchtests/bench-modf.c: New file: Benchmark test for mo
35840 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35842         [BZ #14888]
35843         * time/Makefile (tests): Add tst-strptime-whitespace.
35844         * time/strptime_l.c (get_number): Use ISSPACE.
35845         (__strptime_internal): Likewise.
35846         * time/tst-strptime-whitespace.c: New test case.
35848 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35850         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35851         member.
35852         (_nss_files_init): Set it here.
35854 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35856         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35857         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35858         unsigned.
35860 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35862         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35864 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35867         size just once.
35869 2013-04-21  David S. Miller  <davem@davemloft.net>
35871         * po/ru.po: Update Russion translation from translation project.
35873 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35875         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35876         and setfsgid.
35878 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35880         * configure.in: Remove i386 configure warning. Remove i386 case.
35881         * configure: Regenerate.
35882         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35883         Add example to error message.
35884         * sysdeps/i386/configure: Regenerate.
35886 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35888         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35889         slowtan.
35890         * benchtests/cos-inputs: New file.
35891         * benchtests/slowcos-inputs: New file.
35892         * benchtests/slowcos.c: New file.
35893         * benchtests/slowtan-inputs: New file.
35894         * benchtests/slowtan.c: New file.
35895         * benchtests/tan-inputs: New file.
35897 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35899         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35900         considered kosher.
35902 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35904         * benchtests/Makefile: Include cppflags-iterator.mk to add
35905         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35907         * Makefile.in (bench-clean): New target.
35908         * benchtests/Makefile (bench-clean): Likewise.
35910 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35912         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35914 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35916         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35918 2013-04-15  Andreas Schwab  <schwab@suse.de>
35920         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35921         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35922         * nscd/pwdcache.c (cache_addpw): Likewise.
35923         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35924         more than recsize.
35926 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35928         * benchtests/Makefile (bench): Write all output to
35929         bench-out.tmp together.
35931 2013-04-15  Andreas Schwab  <schwab@suse.de>
35933         * nscd/nscd.c (main): Don't fork again after closing files.
35935 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35937         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35939         * benchtests/Rules (bench-deps): Collect dependencies into a
35940         single variable.  Add Makefile to dependencies.
35941         ($(objpfx)bench-%.c): Depend on bench-deps.
35943 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35944             Xavier Roche  <roche+kml2@exalead.com>
35946         [BZ #15361]
35947         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35948         just that it's a file descriptor.
35949         * manual/llio.texi (Synchronizing AIO Operations): Update description
35950         for EBADF error from aio_fsync.
35952 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35954         * Rules (bench): Move target definition...
35955         * benchtests/Makefile: ... here.
35957 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35959         * math/libm-test.inc (cos_test): Fix PI/2 test.
35960         (sincos_test): Likewise.
35961         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35962         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35964 2013-04-11  Andreas Schwab  <schwab@suse.de>
35966         [BZ #13988]
35967         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35968         accept exponent character only when digits were seen.
35969         * stdio-common/Makefile (tests): Add bug26.
35970         * stdio-common/bug26.c: New file.
35972         [BZ #14293]
35973         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35974         non-freeable.
35976 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35978         * Makeconfig (rtld-prefix): Define built linker prefix.
35979         * Rules (run-bench): Use it.
35980         * math/Makefile (run-regen-ulps): Likewise.
35982         * Rules (bench): Remove eval.
35984 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35985             Roland McGrath  <roland@hack.frob.com>
35986             Ondrej Bilka  <neleai@seznam.cz>
35988         [BZ #15346]
35989         * time/getdate.c: Include ctype.h and alloca.h.
35990         (__getdate_r): Trim leading and trailing spaces of input.
35991         * time/tst-getdate.c (tests): Add tests with leading and
35992         trailing spaces.
35994 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35996         [BZ #14280]
35997         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35998         when computing value.
36000 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36002         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36003         Use testrun.sh to run libm tests.
36005         [BZ #15309]
36006         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36008 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36010         [BZ #15264]
36011         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36013 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36015         * Makefile.in (regen-ulps): New target.
36016         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36017         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36018         [ifneq (no,$(PERL)] (regen-ulps): New target.
36019         [ifeq (no,$(PERL)] (regen-ulps): New target.
36020         * math/libm-test.inc (ulps_file_name): Define.
36021         (output_dir): New variable.
36022         (options): Add "output-dir" option.
36023         (parse_opt): Handle 'o' case.
36024         (main): If output_dir is non-NULL use it as a prefix
36025         otherwise use "".
36026         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36028 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36030         [BZ #10060, #10062]
36031         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36032         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36033         fail configure if __sync_val_compare_and_swap is not inlined.
36034         * sysdeps/i386/configure: Regenerate.
36035         * configure.in: Build for i686 when configured for i386.
36036         * configure: Regenerate.
36037         * README: Remove i386 reference.
36039 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36041         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36042         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36044 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36046         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36047         (lmsnanval): New variables.
36048         (F): Add conversion tests.
36049         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36050         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36052         * stdio-common/tstdiomisc.c (F): Properly collect individual
36053         tests' results.
36055         [BZ #14686, #15336]
36056         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36057         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36058         Instead, use input NaN values or generate a qNaN by arithmetic
36059         operation.  Also fix bugs to comply with the standard.
36060         * math/libm-test.inc (remainder_test): Add more tests.
36062         [BZ #15335, #15342]
36063         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36065         input NaN values or generate a qNaN by arithmetic operation.
36067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36068         unreachable code.
36070         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36071         definitions.
36073 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36075         [BZ #14478]
36076         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36077         underflowed result.
36078         * math/s_cexpf.c (__cexpf): Likewise.
36079         * math/s_cexpl.c (__cexpl): Likewise.
36080         * math/libm-test.inc (cexp_test): Add more tests.
36082 2013-04-03  Andreas Schwab  <schwab@suse.de>
36084         [BZ #15330]
36085         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36086         order arrays from heap if bigger than alloca cutoff.
36088 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36090         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36091         (SNAN_TESTS_double): Refer to GCC PR56831.
36092         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36093         GCC PR56828.
36095 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36097         * Rules (bench): Move bench.out after the run is complete.
36099         * Rules (bench): Echo currently running benchmark.
36101         * benchtests/Makefile (bench): Add atan and slowatan.
36102         * benchtests/atan-inputs: New file.
36103         * benchtests/slowatan-inputs: New file.
36104         * benchtests/slowatan.c: New file.
36106         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36107         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36108         its value.
36110         [BZ #15305]
36111         * sysdeps/unix/sysv/linux/kernel-features.h
36112         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36113         __ASSUME_XFS_RESTRICTED_CHOWN.
36114         * sysdeps/unix/sysv/linux/pathconf.c
36115         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36116         Save and restore errno.
36118 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36120         [BZ #15327]
36121         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36122         arguments using __kernel_casinh.
36123         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36124         arguments using __kernel_casinhf.
36125         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36126         arguments using __kernel_casinhl.
36127         * math/libm-test.inc (cacosh_test): Add more tests.
36128         * sysdeps/i386/fpu/libm-test-ulps: Update.
36129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36131 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36133         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36136         * bench/Makefile (bench): Add sin and slowsin.
36137         * benchtests/sin-inputs: New file.
36138         * benchtests/slowsin-inputs: New file.
36139         * benchtests/slowsin.c: New file.
36141         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36142         (bench): Add slowexp and slowpow.
36143         (exp-ITER): Increase iterations.
36144         (pow-ITER): Likewise.
36145         * benchtests/exp-inputs: Change input.
36146         * benchtests/pow-inputs: Likewise.
36147         * benchtests/slowexp-inputs: New file.
36148         * benchtests/slowexp.c: New file.
36149         * benchtests/slowpow-inputs: New file.
36150         * benchtests/slowpow.c: New file.
36152 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36154         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36155         instructions.
36156         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36157         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36158         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36159         * benchtests/Makefile: Add rint benchtest.
36160         * benchtests/rint-inputs: Input for rint benchtest.
36162 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36164         * Versions.def (libm): Add GLIBC_2.18.
36165         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36166         hidden libm prototypes.
36167         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36168         * math/Makefile (libm-calls): Add s_issignaling.
36169         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36170         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36171         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36172         declaration.
36173         * math/math.h [__USE_GNU] (issignaling): New macro.
36174         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36175         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36176         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36177         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36178         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36179         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36180         * manual/arith.texi (issignaling): New section.
36181         * manual/libm-err-tab.pl (@all_functions): Update comment.
36182         * math/gen-libm-test.pl (parse_args): Apply special handling for
36183         issignaling.
36184         * math/libm-test.inc (print_float, issignaling_test): New
36185         functions.
36186         (check_float_internal): Add issignaling checks.
36187         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36188         default definition.
36189         * sysdeps/powerpc/math-tests.h: New file.
36190         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36191         tests.
36192         * math/test-snan.c (TEST_FUNC): Likewise.
36194 2013-03-30  David S. Miller  <davem@davemloft.net>
36196         * po/de.po: Update from translation team.
36198 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36200         [BZ #10357]
36201         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36202         imaginary part less than 1.0 and real part less than 0.5
36203         specially.
36204         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36205         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36206         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36207         (cacos_test): Add more tests.
36208         (casin_test): Likewise.
36209         (casinh_test): Likewise.
36210         * sysdeps/i386/fpu/libm-test-ulps: Update.
36211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36213 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36215         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36216         ONE with its value.
36218         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36219         (__pow_mp): Replace ONE and MONE with their values.
36220         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36222         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36223         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36224         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36225         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36227         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36229         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36230         (__pow_mp): Replace ZERO and MZERO with their values.
36231         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36232         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36233         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36235         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36236         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36237         (__sqr): Likewise.
36239         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36241         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36243 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36245         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36246         Declare with __attribute__ ((weak)).
36247         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36248         Call __call_tls_dtors only if it's not NULL.
36250 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36252         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36253         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36254         magic __ehdr_start linker symbol if it's defined.
36255         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36256         them up here if it was already done.
36258         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36259         (_dl_aux_init): Use const in cast when setting it.
36260         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36261         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36262         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36264         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36265         Declare them here.
36266         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36267         * csu/libc-tls.c: Nor here.
36268         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36270         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36271         (__libc_message): Never call vsyslog.
36273 2013-03-28  Alan Modra  <amodra@gmail.com>
36275         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36276         Define as empty.
36277         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36278         Likewise.
36280 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36282         [BZ #15214]
36283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36284         underflow.
36285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36287 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36289         [BZ #15304]
36290         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36291         Don't add gid passed as argument.
36293         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36295 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36297         [BZ #15307]
36298         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36299         imaginary part between 1.0 and 1.5 and real part less than 0.5
36300         specially.
36301         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36302         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36303         * math/libm-test.inc (cacos_test): Add more tests.
36304         (casin_test): Likewise.
36305         (casinh_test): Likewise.
36306         * sysdeps/i386/fpu/libm-test-ulps: Update.
36307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36311         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36312         constants.
36313         (norm): Likewise.
36314         (denorm): Likewise.
36315         (__dbl_mp): Likewise.
36316         (add_magnitudes): Likewise.
36317         (sub_magnitudes): Likewise.
36318         (__add): Likewise.
36319         (__sub): Likewise.
36320         (__mul): Likewise.
36321         (__sqr): Likewise.
36322         (__inv): Likewise.
36323         (__dvd): Likewise.
36325         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36326         commented code.
36327         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36328         (__dubcos): Likewise.
36329         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36330         (__ieee754_acos): Likewise.
36331         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36332         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36333         (__exp1): Likewise.
36334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36335         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36336         (log1): Likewise.
36337         (my_log2): Likewise.
36338         (checkint): Likewise.
36339         * sysdeps/ieee754/dbl-64/e_remainder.c
36340         (__ieee754_remainder): Likewise.
36341         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36343         (bsloww): Likewise.
36344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36346         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36347         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36348         MANTISSA_STORE_T to store computations on mantissa.  Use
36349         macros for rounding and division.
36350         (denorm): Likewise.
36351         (__dbl_mp): Likewise.
36352         (add_magnitudes): Likewise.
36353         (sub_magnitudes): Likewise.
36354         (__mul): Likewise.
36355         (__sqr): Likewise.
36356         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36357         powers of two in terms of TWOPOW macro.
36358         (mp_no): Make type of mantissa as MANTISSA_T.
36359         [!RADIXI]: Define RADIXI.
36360         [!TWO52]: Define TWO52.
36361         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36363 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36365         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36366         llroundl symbol when building for PPC32.
36368 2013-03-24  Mark H Weaver  <mhw@netris.org>
36370         * manual/arith.texi (Normalization Functions): Fix prototypes for
36371         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36373 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36375         [BZ #13889]
36376         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36377         high value to check if expl overflow.
36378         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36379         to check for underflow and overflow.
36380         * math/libm-test.inc: Add exp test.
36382 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36384         [BZ #11120]
36385         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36386         with NOT_IN_libc.
36388 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36390         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36391         symbol.
36393 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36395         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36396         wrap blocks consisting of several statements.
36398         * sysdeps/generic/math-tests.h: New file.
36399         * sysdeps/i386/fpu/math-tests.h: Likewise.
36400         * math/test-snan.c: Include it.
36401         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36403 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36405         [BZ #15285]
36406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36407         (__ieee754_j0l): Do not improve calculations using cos of twice
36408         input for inputs above LDBL_MAX / 2.0L.
36409         (__ieee754_y0l): Likewise.
36410         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36411         (__ieee754_j1l): Do not improve calculations using cos of twice
36412         input for inputs above LDBL_MAX / 2.0L.
36413         (__ieee754_y1l): Likewise.
36414         * math/libm-test.inc (j0_test): Add another test.
36415         (j1_test): Likewise.
36416         (y0_test): Likewise.
36417         (y1_test): Likewise.
36418         * sysdeps/i386/fpu/libm-test-ulps: Update.
36420 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36422         * Rules ($(objpfx)bench-%.c): Include code from a C source
36423         file.
36425 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36427         [BZ #15287]
36428         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36429         imaginary part 1.0 and real part less than 0.5 specially.
36430         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36431         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36432         * math/libm-test.inc (cacos_test): Add more tests.
36433         (casin_test): Likewise.
36434         (casinh_test): Likewise.
36435         * sysdeps/i386/fpu/libm-test-ulps: Update.
36436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36438 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36440         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36441         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36443 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36445         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36446         * config.make.in (config-cflags-sse4): Remove variable.
36447         (config-cflags-avx): Likewise.
36448         (config-cflags-sse2avx): Likewise.
36449         (config-cflags-novzeroupper): Likewise.
36450         (config-asflags-i686): Likewise.
36451         (have-mfma4): Likewise.
36452         (have-as-vis3): Likewise.
36453         (MIG): Likewise.
36454         * configure.in (MIG): Do not AC_SUBST.
36455         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36456         (libc_cv_cc_sse4): Do not AC_SUBST.
36457         (libc_cv_cc_avx): Likewise.
36458         (libc_cv_cc_sse2avx): Likewise.
36459         (libc_cv_cc_novzeroupper): Likewise.
36460         (libc_cv_cc_fma4): Likewise.
36461         (libc_cv_as_i686): Likewise.
36462         (libc_cv_sparc_as_vis3): Likewise.
36463         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36464         LIBC_CONFIG_VAR.
36465         (config-asflags-i686): Likewise.
36466         (config-cflags-avx): Likewise.
36467         (config-cflags-sse2avx): Likewise.
36468         (have-mfma4): Likewise.
36469         (config-cflags-novzeroupper): Likewise.
36470         * sysdeps/mach/configure.in (MIG): Likewise.
36471         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36472         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36473         LIBC_CONFIG_VAR.
36474         (config-cflags-avx): Likewise.
36475         (config-cflags-sse2avx): Likewise.
36476         (have-mfma4): Likewise.
36477         (config-cflags-novzeroupper): Likewise.
36478         * configure: Regenerated.
36479         * sysdeps/i386/configure: Likewise.
36480         * sysdeps/mach/configure: Likewise.
36481         * sysdeps/sparc/configure: Likewise.
36482         * sysdeps/x86_64/configure: Likewise.
36484 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36486         [BZ #14812]
36487         * locale/programs/localedef.c (options): Put N_ translation marker
36488         on argument names, not just descriptions.
36490 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36492         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36494 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36496         [BZ #14176]
36497         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36499 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36501         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36502         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36503         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36504         [!BEFORE_ABORT] (before_abort): New function.
36505         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36506         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36507         (writev_for_fatal): New function.
36508         (WRITEV_FOR_FATAL): New macro; call that.
36509         (backtrace_and_maps): New function.
36510         (BEFORE_ABORT): New macro; call that.
36511         (struct str_list): Type removed.
36512         (__libc_message, __libc_fatal): Functions removed.
36513         Include <sysdeps/posix/libc_fatal.c> instead.
36515 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36517         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36518         constants.
36519         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36520         double constants.
36522 2013-03-19  Andreas Schwab  <schwab@suse.de>
36524         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36525         * sysdeps/gnu/configure: Regenerate.
36527         * configure.in: Substitute libc_cv_rtlddir.
36528         * configure: Regenerate.
36529         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36530         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36531         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36532         * elf/Makefile (install-others, CFLAGS-interp.c)
36533         (ldso_install, common-ldd-rewrite): Likewise.
36534         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36535         $(inst_slibdir)/$(rtld-installed-name).
36536         * scripts/rellns-sh: Add -p option.
36537         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36538         for source.
36540 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36542         * manual/nptl.texi: Renamed to ...
36543         * manual/threads.texi: ... this.
36544         * manual/Makefile (chapters): Update.
36546 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36548         [BZ #14812]
36549         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36550         on argument names, not just descriptions.
36551         * malloc/memusagestat.c (options): Likewise.
36552         * nss/getent.c (options): Likewise.
36554 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36556         [BZ #14812]
36557         * iconv/iconv_prog.c (options): Put N_ translation marker
36558         on argument names, not just descriptions.
36559         * iconv/iconvconfig.c (options): Likewise.
36561 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36563         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36564         implementation which is faster on all x86_64 architectures.
36565         Tested on AMD, Intel Nehalem, SNB, IVB.
36566         * sysdeps/x86_64/strnlen.S: Likewise.
36568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36569         Remove all multiarch strlen and strnlen versions.
36570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36571         Remove strlen and strnlen related parts.
36573         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36574         Inline strlen part.
36575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36577         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36578         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36579         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36580         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36581         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36582         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36584 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36586         * manual/memory.texi (Malloc Tunable Parameters):
36587         Sort parameters alphabetically. Add comments for missing entries.
36589 2013-03-17  David S. Miller  <davem@davemloft.net>
36591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36593 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36595         [BZ #15283]
36596         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36597         for arguments at most half maximum finite value.
36598         * math/libm-test.inc (j0_test): Add more tests.
36599         (j1_test): Likewise.
36600         (y0_test): Likewise.
36601         (y1_test): Likewise.
36602         * sysdeps/i386/fpu/libm-test-ulps: Update.
36603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36605         [BZ #14155]
36606         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36607         1 / x and functions P and Q for arguments above 0x1p256L.
36608         (__ieee754_y0l): Likewise.
36609         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36610         (__ieee754_y1l): Likewise.
36611         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36612         (j1_test): Likewise.
36613         (y0_test): Likewise.
36614         (y1_test): Likewise.
36616 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36618         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36619         variable.
36621 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36623         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36624         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36625         zero since it's initialized to EXEC_PAGESIZE.
36627         * sysdeps/unix/sysv/linux/ldsodefs.h
36628         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36629         * sysdeps/generic/ldsodefs.h: ... here.
36631 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36633         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36635         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36636         math/test-snan.c.
36637         * math/test-snan.c: Renamed from
36638         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36639         * math/Makefile (tests): Add test-snan.
36640         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36641         test-powerpc-snan.
36643         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36644         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36645         functions.
36646         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36647         __builtin_nan family of functions.
36648         * math/libm-test.inc (initialize): Initialize qnan_value with
36649         __builtin_nan family of functions.
36650         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36651         Remove variables.
36652         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36653         Remove functions.
36654         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36655         storage class.  Initialize qNaN_var and sNaN_var with
36656         __builtin_nan and __builtin_nans families of functions,
36657         respectively.
36659         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36660         (sqrt_test): Remove duplicate test with qNaN input.
36661         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36662         (round_test, signbit_test, significand_test): Note missing +/-Inf
36663         as well as qNaN tests.
36665         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36666         qNaN_var.  Fix a few strings, too.
36667         * math/libm-test.inc (nan_value): Rename to qnan_value.
36668         * math/gen-libm-test.pl (%beautify): Adjust to that.
36669         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36670         * math/test-misc.c (main): Likewise.
36671         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36672         to __qnan_bytes, and __qnan_union, respectively.
36673         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36674         Likewise.
36675         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36676         and lqnanval, respectively.
36677         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36678         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36679         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36680         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36682         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36683         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36684         doubles.
36686         * math/test-misc.c (main): Fix copy'n'pastos.
36687         * misc/tst-efgcvt.c (special): Likewise.
36689         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36690         Remove declarations.
36692 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36694         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36695         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36696         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36697         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36699 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36702         macro to return vdso values correctly in IFUNC implementations.
36703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36704         Optimization by using IFUNC.
36706 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36707             Richard Henderson  <rth@redhat.com>
36708             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36710         * Makefile.in (bench): New target.
36711         * NEWS: Mention the benchmark framework.
36712         * Rules (bench): Likewise.
36713         (binaries-bench): Generate binaries for functions to
36714         benchmark.
36715         * benchtests/Makefile: New makefile for benchmark tests.
36716         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36717         programs.
36718         * benchtests/exp-inputs: New input file for EXP function.
36719         * benchtests/pow-inputs: New input file for POW function.
36720         * scripts/bench.pl: New script to generate source files for
36721         benchmark programs.
36723 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36725         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36727         computations on mantissa.  Use macros for rounding and
36728         division.
36729         (denorm): Likewise.
36730         (__dbl_mp): Likewise.
36731         (add_magnitudes): Likewise.
36732         (sub_magnitudes): Likewise.
36733         (__mul): Likewise.
36734         (__sqr): Likewise.
36735         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36736         powers of two in terms of TWOPOW macro.
36737         (mp_no): Make type of mantissa as MANTISSA_T.
36738         [!RADIXI]: Define RADIXI.
36739         [!TWO52]: Define TWO52.
36740         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36742         * manual/nptl.texi (cindex): Modify threads to pthreads.
36744 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36746         * sysdeps/x86_64/preconfigure: Regenerated.
36748 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36750         [BZ #14155]
36751         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36752         0x1p28 and above.
36753         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36754         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36755         0x1p28 and above.
36756         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36757         * math/libm-test.inc (j0_test): Do not allow one spurious
36758         underflow exception.
36759         (y1_test): Likewise.
36761 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36763         * manual/Makefile (chapters): Add nptl.
36764         * manual/debug.texi (Debugging Support): Add link to Threads
36765         chapter.
36766         * manual/nptl.texi: New file.
36768         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36770 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36772         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36773         for non-NULL pointer before the memory validity test. Pointed
36774         out by Holger Brunck <holger.brunck@keymile.com>.
36776 2013-03-13  Andreas Schwab  <schwab@suse.de>
36778         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36779         instead of .os.
36781 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36783         * timezone/zic.c: Update from tzcode 2013b.
36785 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36787         * manual/install.texi (Configuring and compiling):
36788         Mention i686 and i586.
36789         * INSTALL: Regenerate.
36791 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36793         * sysdeps/init_array/elf-init.c: New file.
36794         * csu/elf-init.c
36795         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36796         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36798         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36799         __gmon_start__ as global, but as static with a .preinit_array pointer.
36800         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36801         * sysdeps/init_array/crti.S: New file, empty except for comments.
36802         * sysdeps/init_array/crtn.S: Likewise.
36804 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36806         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36807         definining bcopy.
36808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36809         Remove Prefer_SSE_for_memop.
36810         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36811         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36812         HAS_PREFER_SSE_FOR_MEMOP.
36813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36814         memset-x86-64.
36815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36816         Remove bzero, memset ifunc support.
36817         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36818         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36819         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36820         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36822 2013-03-11  Andreas Schwab  <schwab@suse.de>
36824         [BZ #15234]
36825         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36826         by SHLIB_COMPAT.
36827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36828         (GLIBC_2.16): Remove pthread_atfork.
36830 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36832         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36833         (ptestcases.h): Likewise.
36835 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36837         * Makeconfig ($(common-objpfx)config.status): Depend on
36838         sysdeps/*/preconfigure{,.in} too.
36840 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36842         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36843         (__free_hook): Use void * instead of __malloc_ptr_t.
36844         (__malloc_hook): Likewise.
36845         (__realloc_hook): Likewise.
36846         (__memalign_hook): Likewise.
36847         (__after_morecore_hook): Likewise.
36848         * malloc/arena.c (save_malloc_hook): Likewise.
36849         (save_free_hook): Likewise.
36850         * malloc/hooks.c (malloc_hook_ini): Likewise.
36851         (realloc_hook_ini): Likewise.
36852         (memalign_hook_ini): Likewise.
36853         * malloc/malloc.c (malloc_hook_ini): Likewise.
36854         (realloc_hook_ini): Likewise.
36855         (memalign_hook_ini): Likewise.
36856         (__free_hook): Likewise.
36857         (__malloc_hook): Likewise.
36858         (__realloc_hook): Likewise.
36859         (__memalign_hook): Likewise.
36860         (__libc_malloc): Likewise.
36861         (__libc_free): Likewise.
36862         (__libc_realloc): Likewise.
36863         (__libc_memalign): Likewise.
36864         (__libc_valloc): Likewise.
36865         (__libc_pvalloc): Likewise.
36866         (__libc_calloc): Likewise.
36867         (__posix_memalign): Likewise.
36868         * malloc/morecore.c (__sbrk): Likewise.
36869         (__default_morecore): Likewise.
36871         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36873         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36874         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36875         __malloc_ptrdiff_t.
36877         * malloc/malloc.h (__malloc_size_t): Remove macro.
36878         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36879         __malloc_size_t.
36880         (old_memalign_hook): Likewise.
36881         (old_realloc_hook): Likewise.
36882         (struct hdr): Likewise.
36883         (flood): Likewise.
36884         (mallochook): Likewise.
36885         (memalignhook): Likewise.
36886         (reallochook): Likewise.
36887         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36888         (tr_old_realloc_hook): Likewise.
36889         (tr_old_memalign_hook): Likewise.
36890         (tr_mallochook): Likewise.
36891         (tr_reallochook): Likewise.
36892         (tr_memalignhook): Likewise.
36894 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36897         default_ldbl_pack and using as default implementation.
36898         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36899         implementation.
36900         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36901         redundant definition.
36902         (ldbl_insert_mantissa): Likewise.
36903         (ldbl_canonicalize): Likewise.
36904         (ldbl_nearbyint): Likewise.
36905         (ldbl_pack): Rename to ldbl_pack_ppc.
36906         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36907         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36908         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36910 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36913         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36914         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36915         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36917         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36918         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36919         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36921 2013-03-07  Andreas Jaeger  <aj@suse.de>
36923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36924         bits/mman-linux.h.
36926 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36928         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36929         Include mpa.h and declare __MPEXP.
36930         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36931         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36932         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36933         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36934         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36935         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36936         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36938         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36939         (__slowpow): Use long double EXPL and LOGL functions to
36940         compute POW.
36941         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36942         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36943         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36944         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36945         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36949         intermediate variable to calculate exponent.
36950         (__sqr): Likewise.
36951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36952         Likewise.
36953         (__sqr): Likewise.
36955         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36956         [!NO__SQR]: Define __sqr.
36957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36958         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36959         sysdeps/ieee754/dbl-64/mpa.c.
36960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36962         [BZ #12723]
36963         * posix/Makefile (tests): Add tst-pathconf.
36964         * posix/tst-pathconf.c: New test case.
36965         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36966         _PC_PIPE_BUF.
36967         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36969 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36971         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36973 2013-03-06  Andreas Jaeger  <aj@suse.de>
36975         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36976         definition via __MAP_ANONYMOUS.
36978         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36979         it's not part of Linux headers.
36981         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36982         (MAP_HUGE_MASK): Define.
36984         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36985         Define.
36986         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36987         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36988         Define.
36989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36990         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36991         Define.
36992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36993         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36994         Define.
36995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36997         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36998         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36999         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37000         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37001         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37002         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37004         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37005         Handle f2fs.
37007         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37008         Handle f2fs and efivarfs.
37010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37011         f2fs.
37013         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37014         (EFIVARFS_MAGIC): Add.
37015         (F2FS_LINK_MAX): Add.
37017 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37019         * stdio-common/vfprintf.c: Replace __builtin_expect with
37020         __glibc_unlikely.
37022 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37024         [BZ #13550]
37025         * sysdeps/generic/bp-sym.h: Remove file.
37026         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37027         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37028         <bp-sym.h> and <bp-asm.h>.
37029         (__longjmp): Don't use BP_SYM.
37030         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37031         and <bp-asm.h>.
37032         (memcpy): Don't use BP_SYM.
37033         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37034         <bp-sym.h> and <bp-asm.h>.
37035         (memcpy): Don't use BP_SYM.
37036         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37037         <bp-asm.h>.
37038         (memcpy): Don't use BP_SYM.
37039         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37040         <bp-asm.h>.
37041         (memset): Don't use BP_SYM.
37042         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37043         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37044         (__bzero): Don't use BP_SYM.
37045         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37046         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37047         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37048         <bp-sym.h> and <bp-asm.h>.
37049         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37050         pointers.
37051         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37052         <bp-sym.h> and <bp-asm.h>.
37053         (memcpy): Don't use BP_SYM.
37054         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37055         <bp-sym.h> and <bp-asm.h>.
37056         (memset): Don't use BP_SYM.
37057         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37058         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37059         (__bzero): Don't use BP_SYM.
37060         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37061         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37063         <bp-sym.h> and <bp-asm.h>.
37064         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37065         pointers.
37066         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37067         <bp-sym.h> and <bp-asm.h>.
37068         (memcpy): Don't use BP_SYM.
37069         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37070         <bp-sym.h> and <bp-asm.h>.
37071         (memset): Don't use BP_SYM.
37072         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37073         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37074         (__bzero): Don't use BP_SYM.
37075         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37076         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37077         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37078         <bp-sym.h> and <bp-asm.h>.
37079         (__memchr): Don't use BP_SYM.
37080         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37081         <bp-sym.h> and <bp-asm.h>.
37082         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37083         pointers.
37084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37085         <bp-sym.h> and <bp-asm.h>.
37086         (memcpy): Don't use BP_SYM.
37087         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37088         <bp-sym.h> and <bp-asm.h>.
37089         (__mempcpy): Don't use BP_SYM.
37090         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37091         <bp-sym.h> and <bp-asm.h>.
37092         (__memrchr): Don't use BP_SYM.
37093         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37094         <bp-sym.h> and <bp-asm.h>.
37095         (memset): Don't use BP_SYM.
37096         (__bzero): Likewise.
37097         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37098         <bp-sym.h> and <bp-asm.h>.
37099         (__rawmemchr): Don't use BP_SYM.
37100         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37101         <bp-sym.h> and <bp-asm.h>.
37102         (__STRCMP): Don't use BP_SYM.
37103         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37104         <bp-sym.h> and <bp-asm.h>.
37105         (strchr): Don't use BP_SYM.
37106         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37107         <bp-sym.h> and <bp-asm.h>.
37108         (__strchrnul): Don't use BP_SYM.
37109         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37110         <bp-sym.h> and <bp-asm.h>.
37111         (strlen): Don't use BP_SYM.
37112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37113         <bp-sym.h> and <bp-asm.h>.
37114         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37115         pointers.
37116         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37117         <bp-sym.h> and <bp-asm.h>.
37118         (__strnlen): Don't use BP_SYM.
37119         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37120         <bp-sym.h> and <bp-asm.h>.
37121         (__GI__setjmp): Don't use BP_SYM.
37122         (_setjmp): Likewise.
37123         (__sigsetjmp): Likewise.
37124         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37125         (L(start_addresses)): Don't use BP_SYM.
37126         (_start): Likewise.
37127         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37128         <bp-asm.h>.
37129         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37130         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37131         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37132         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37133         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37134         <bp-asm.h>.
37135         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37136         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37137         about bounded pointers.
37138         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37139         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37140         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37141         <bp-asm.h>.
37142         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37143         about bounded pointers.  Remove GKM FIXME comments.
37144         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37145         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37146         <bp-asm.h>.
37147         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37148         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37149         Remove GKM FIXME comments.
37150         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37151         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37152         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37153         <bp-asm.h>.
37154         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37155         about bounded pointers.  Remove GKM FIXME comment.
37156         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37157         and <bp-asm.h>.
37158         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37159         pointers.
37160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37161         <bp-sym.h> and <bp-asm.h>.
37162         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37164         <bp-sym.h> and <bp-asm.h>.
37165         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37166         comment.
37168 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37170         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37171         call free(NULL).
37173 2013-03-05  David S. Miller  <davem@davemloft.net>
37175         * po/es.po: Update from translation team.
37177 2013-03-05  Andreas Jaeger  <aj@suse.de>
37179         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37180         <bits/mman-linux.h>.
37181         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37182         is fine.
37183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37184         <bits/mman-linux.h> to end of file.
37185         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37186         is fine.
37187         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37188         <bits/mman-linux.h> to end of file.
37189         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37190         is fine.
37191         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37192         <bits/mman-linux.h> to end of file.
37194         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37195         (MCL_CURRENT, MCL_FUTURE): Define here.
37197 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37199         [BZ #15232]
37200         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37201         attribute_hidden.
37202         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37204 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37206         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37207         fourth parameter needed for rt_sigprocmask syscall.
37208         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37209         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37210         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37211         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37212         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37213         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37215 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37217         [BZ #13550]
37218         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37219         comment about bounded pointers.
37220         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37221         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37223 2013-03-04  Andreas Jaeger  <aj@suse.de>
37225         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37226         common definitions.
37228         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37229         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37230         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37231         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37232         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37233         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37235 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37237         [BZ #15055]
37238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37239         __ieee754_sqrl instead of __sqrl.
37241 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37243         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37244         * sysdeps/powerpc/fpu_control.h: ... here.
37245         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37246         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37247         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37248         * sysdeps/powerpc/bits/mathinline.h: ... here.
37250 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37252         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37253         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37254         to just [NEED_DL_SYSINFO_DSO].
37255         * elf/dl-support.c: Likewise.
37256         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37257         * elf/rtld.c (dl_main): Likewise.
37258         * elf/setup-vdso.h (setup_vdso): Likewise.
37259         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37260         * sysdeps/unix/sysv/linux/dl-sysdep.c
37261         (_dl_discover_osversion): Likewise.
37263 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37265         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37266         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37268 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37270         * NEWS: Mention libm performance improvements and non-x86 PI
37271         futex support.
37273         * csu/libc-start.c (__pthread_initialize_minimal): Change
37274         function arguments.
37275         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37277 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37279         [BZ #13550]
37280         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37281         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37282         <bp-sym.h> and <bp-asm.h>.
37283         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37284         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37285         and <bp-asm.h>.
37286         (memcpy): Don't use BP_SYM.
37287         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37288         <bp-asm.h>.
37289         (__mpn_add_n): Don't use BP_SYM.
37290         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37291         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37292         and <bp-asm.h>.
37293         (__mpn_addmul_1): Don't use BP_SYM.
37294         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37295         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37296         <bp-sym.h>.
37297         (_setjmp): Don't use BP_SYM.
37298         (__novmx_setjmp): Likewise.
37299         (__GI__setjmp): Likewise.
37300         (__vmx_setjmp): Likewise.
37301         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37302         <bp-sym.h>.
37303         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37304         (__bzero): Don't use BP_SYM.
37305         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37306         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37307         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37308         <bp-sym.h> and <bp-asm.h>.
37309         (memcpy): Don't use BP_SYM.
37310         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37311         <bp-sym.h> and <bp-asm.h>.
37312         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37313         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37314         <bp-sym.h> and <bp-asm.h>.
37315         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37316         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37317         <bp-asm.h>.
37318         (__mpn_lshift): Don't use BP_SYM.
37319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37320         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37321         <bp-asm.h>.
37322         (memset): Don't use BP_SYM.
37323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37325         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37326         <bp-asm.h>.
37327         (__mpn_mul_1): Don't use BP_SYM.
37328         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37330         <bp-sym.h> and <bp-asm.h>.
37331         (memcmp): Don't use BP_SYM.
37332         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37333         <bp-sym.h> and <bp-asm.h>.
37334         (memcpy): Don't use BP_SYM.
37335         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37336         <bp-sym.h> and <bp-asm.h>.
37337         (memset): Don't use BP_SYM.
37338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37339         <bp-sym.h> and <bp-asm.h>.
37340         (strncmp): Don't use BP_SYM.
37341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37342         <bp-sym.h> and <bp-asm.h>.
37343         (memcpy): Don't use BP_SYM.
37344         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37345         <bp-sym.h> and <bp-asm.h>.
37346         (memset): Don't use BP_SYM.
37347         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37348         <bp-sym.h> and <bp-asm.h>.
37349         (__memchr): Don't use BP_SYM.
37350         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37351         <bp-sym.h> and <bp-asm.h>.
37352         (memcmp): Don't use BP_SYM.
37353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37354         <bp-sym.h> and <bp-asm.h>.
37355         (memcpy): Don't use BP_SYM.
37356         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37357         <bp-sym.h> and <bp-asm.h>.
37358         (__mempcpy): Don't use BP_SYM.
37359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37360         <bp-sym.h> and <bp-asm.h>.
37361         (__memrchr): Don't use BP_SYM.
37362         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37363         <bp-sym.h> and <bp-asm.h>.
37364         (memset): Don't use BP_SYM.
37365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37366         <bp-sym.h> and <bp-asm.h>.
37367         (__rawmemchr): Don't use BP_SYM.
37368         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37369         <bp-sym.h> and <bp-asm.h>.
37370         (__STRCMP): Don't use BP_SYM.
37371         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37372         <bp-sym.h> and <bp-asm.h>.
37373         (strchr): Don't use BP_SYM.
37374         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37375         <bp-sym.h> and <bp-asm.h>.
37376         (__strchrnul): Don't use BP_SYM.
37377         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37378         <bp-sym.h> and <bp-asm.h>.
37379         (strlen): Don't use BP_SYM.
37380         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37381         <bp-sym.h> and <bp-asm.h>.
37382         (strncmp): Don't use BP_SYM.
37383         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37384         <bp-sym.h> and <bp-asm.h>.
37385         (__strnlen): Don't use BP_SYM.
37386         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37387         <bp-asm.h>.
37388         (__mpn_rshift): Don't use BP_SYM.
37389         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37390         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37391         <bp-sym.h> and <bp-asm.h>.
37392         (__sigsetjmp): Don't use BP_SYM.
37393         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37394         (L(start_addresses)): Don't use BP_SYM.
37395         (_start): Likewise.
37396         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37397         <bp-asm.h>.
37398         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37399         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37400         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37401         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37402         <bp-asm.h>.
37403         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37404         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37405         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37406         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37407         <bp-asm.h>.
37408         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37409         comments.
37410         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37411         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37412         <bp-asm.h>.
37413         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37414         FIXME comments.
37415         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37416         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37417         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37418         <bp-asm.h>.
37419         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37420         comment.
37421         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37422         and <bp-asm.h>.
37423         (strncmp): Don't use BP_SYM,
37424         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37425         <bp-asm.h>.
37426         (__mpn_sub_n): Don't use BP_SYM.
37427         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37428         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37429         and <bp-asm.h>.
37430         (__mpn_submul_1): Don't use BP_SYM.
37431         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37433         <bp-sym.h> and <bp-asm.h>.
37434         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37436         <bp-sym.h> and <bp-asm.h>.
37437         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37438         comment.
37440 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37443         Use ZK to minimize writes to Z.
37444         (sub_magnitudes): Simplify code a bit.
37445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37446         Use ZK to minimize writes to Z.
37447         (sub_magnitudes): Simplify code a bit.
37449 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37451         * csu/gmon-start.c: Add special exception to license text.
37453 2013-02-27  Richard Henderson  <rth@redhat.com>
37455         * scripts/config.guess: Update from config.git.
37456         * scripts/config.sub: Likewise.
37458 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37462         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37464         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37466         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37468         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37470 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37472         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37473         [$(build-shared = yes].
37475 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37477         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37478         (__mul): Reduce iterations for calculating mantissa.
37480         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37481         MPTWO.
37482         (__mpranred): Likewise.
37484         [BZ #15160]
37485         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37486         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37488 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37490         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37491         Define __attribute__.
37493 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37496         unused.
37497         * posix/regex_internal.h (__attribute): Remove.
37498         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37499         (re_string_context_at): Likewise.
37500         (bitset_not): Use __attribute__ and mark function as possibly
37501         unused.
37502         (bitset_merge): Likewise.
37503         (bitset_mask): Likewise.
37504         (re_string_char_size_at): Likewise.
37505         (re_string_wchar_at): Likewise.
37506         (re_string_elem_size_at): Likewise.
37508 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37510         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37511         code.
37512         (cc32): Likewise.
37514         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37515         (__acr): Likewise.
37516         (__cpy): Likewise.
37517         (norm): Likewise.
37518         (denorm): Likewise.
37519         (__dbl_mp): Likewise.
37520         (add_magnitudes): Likewise.
37521         (sub_magnitudes): Likewise.
37522         (__mul): Likewise.
37523         (__inv): Likewise.
37525         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37526         style.
37528         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37529         style.
37531         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37532         code.
37534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37535         up changes with default code.
37536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37537         Likewise.
37539 2013-02-24  Allan McRae  <allan@archlinux.org>
37541         * manual/socket.texi (The Internet Namespace): Order menu items
37542         to match that in the file.
37544         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37545         node listing of the info page menu.
37547 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37549         [BZ #13550]
37550         * sysdeps/i386/bp-asm.h: Remove file.
37551         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37552         (PARMS): Do not use macros from bp-asm.h.
37553         (S1): Likewise.
37554         (S2): Likewise.
37555         (SIZE): Likewise.
37556         (__mpn_add_n): Do not use BP_SYM
37557         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37558         "bp-asm.h".
37559         (PARMS): Do not use macros from bp-asm.h.
37560         (S1): Likewise.
37561         (SIZE): Likewise.
37562         (__mpn_addmul_1): Do not use BP_SYM
37563         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37564         "bp-asm.h".
37565         (PARMS): Do not use macros from bp-asm.h.
37566         (SIGMSK): Likewise.
37567         (_setjmp): Likewise.  Do not use BP_SYM.
37568         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37569         "bp-asm.h".
37570         (PARMS): Do not use macros from bp-asm.h.
37571         (SIGMSK): Likewise.
37572         (setjmp): Likewise.  Do not use BP_SYM.
37573         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37574         "bp-asm.h".
37575         (PARMS): Do not use macros from bp-asm.h.
37576         (__frexp): Do not use BP_SYM.
37577         (frexp): Likewise.
37578         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37579         "bp-asm.h".
37580         (PARMS): Do not use macros from bp-asm.h.
37581         (__frexpf): Do not use BP_SYM.
37582         (frexpf): Likewise.
37583         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37584         "bp-asm.h".
37585         (PARMS): Do not use macros from bp-asm.h.
37586         (__frexpl): Do not use BP_SYM.
37587         (frexpl): Likewise.
37588         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37589         "bp-asm.h".
37590         (PARMS): Do not use macros from bp-asm.h.
37591         (__remquo): Do not use BP_SYM.
37592         (remquo): Likewise.
37593         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37594         "bp-asm.h".
37595         (PARMS): Do not use macros from bp-asm.h.
37596         (__remquof): Do not use BP_SYM.
37597         (remquof): Likewise.
37598         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37599         "bp-asm.h".
37600         (PARMS): Do not use macros from bp-asm.h.
37601         (__remquol): Do not use BP_SYM.
37602         (remquol): Likewise.
37603         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37604         "bp-asm.h".
37605         (PARMS): Do not use macros from bp-asm.h.
37606         (DEST): Likewise.
37607         (SRC): Likewise.
37608         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37609         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37610         "bp-asm.h".
37611         (PARMS): Do not use macros from bp-asm.h.
37612         (strlen): Do not use BP_SYM.
37613         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37614         "bp-asm.h".
37615         (PARMS): Do not use macros from bp-asm.h.
37616         (S1): Likewise.
37617         (S2): Likewise.
37618         (SIZE): Likewise.
37619         (__mpn_add_n): Do not use BP_SYM.
37620         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37621         "bp-asm.h".
37622         (PARMS): Do not use macros from bp-asm.h.
37623         (S1): Likewise.
37624         (SIZE): Likewise.
37625         (__mpn_addmul_1): Do not use BP_SYM.
37626         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37627         weak_alias.
37628         (bzero): Likewise.
37629         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37630         "bp-asm.h".
37631         (PARMS): Do not use macros from bp-asm.h.
37632         (S): Likewise.
37633         (SIZE): Likewise.
37634         (__mpn_lshift): Do not use BP_SYM.
37635         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37636         "bp-asm.h".
37637         (PARMS): Do not use macros from bp-asm.h.
37638         (DEST): Likewise.
37639         (SRC): Likewise.
37640         (LEN): Likewise.
37641         (memcpy): Likewise.  Do not use BP_SYM.
37642         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37643         libc_hidden_def and weak_alias.
37644         (mempcpy): Do not use BP_SYM in weak_alias.
37645         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37646         "bp-asm.h".
37647         (PARMS): Do not use macros from bp-asm.h.
37648         (DEST): Likewise.
37649         (LEN): Likewise.
37650         [!BZERO_P] (CHR): Likewise.
37651         (memset): Likewise.  Do not use BP_SYM.
37652         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37653         "bp-asm.h".
37654         (PARMS): Do not use macros from bp-asm.h.
37655         (S1): Likewise.
37656         (SIZE): Likewise.
37657         (__mpn_mul_1): Do not use BP_SYM.
37658         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37659         "bp-asm.h".
37660         (PARMS): Do not use macros from bp-asm.h.
37661         (S): Likewise.
37662         (SIZE): Likewise.
37663         (__mpn_rshift): Do not use BP_SYM.
37664         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37665         "bp-asm.h".
37666         (PARMS): Do not use macros from bp-asm.h.
37667         (STR): Likewise.
37668         (CHR): Likewise.
37669         (strchr): Likewise.  Do not use BP_SYM.
37670         (index): Do not use BP_SYM in weak_alias.
37671         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37672         "bp-asm.h".
37673         (PARMS): Do not use macros from bp-asm.h.
37674         (DEST): Likewise.
37675         (SRC): Likewise.
37676         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37677         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37678         "bp-asm.h".
37679         (PARMS): Do not use macros from bp-asm.h.
37680         (strlen): Do not use BP_SYM.
37681         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37682         "bp-asm.h".
37683         (PARMS): Do not use macros from bp-asm.h.
37684         (S1): Likewise.
37685         (S2): Likewise.
37686         (SIZE): Likewise.
37687         (__mpn_sub_n): Do not use BP_SYM.
37688         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37689         "bp-asm.h".
37690         (PARMS): Do not use macros from bp-asm.h.
37691         (S1): Likewise.
37692         (SIZE): Likewise.
37693         (__mpn_submul_1): Do not use BP_SYM.
37694         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37695         "bp-asm.h".
37696         (PARMS): Do not use macros from bp-asm.h.
37697         (S1): Likewise.
37698         (S2): Likewise.
37699         (SIZE): Likewise.
37700         (__mpn_add_n): Do not use BP_SYM.
37701         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37702         weak_alias.
37703         (bzero): Likewise.
37704         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37705         "bp-asm.h".
37706         (PARMS): Do not use macros from bp-asm.h.
37707         (BLK2): Likewise.
37708         (LEN): Likewise.
37709         (memcmp): Do not use BP_SYM.
37710         (bcmp): Do not use BP_SYM in weak_alias.
37711         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37712         "bp-asm.h".
37713         (PARMS): Do not use macros from bp-asm.h.
37714         (DEST): Likewise.
37715         (SRC): Likewise.
37716         (LEN): Likewise.
37717         (memcpy): Likewise.  Do not use BP_SYM.
37718         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37719         "bp-asm.h".
37720         (PARMS): Do not use macros from bp-asm.h.
37721         (DEST): Likewise.
37722         (SRC): Likewise.
37723         (LEN): Likewise.
37724         (memmove): Likewise.  Do not use BP_SYM.
37725         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37726         "bp-asm.h".
37727         (PARMS): Do not use macros from bp-asm.h.
37728         (DEST): Likewise.
37729         (SRC): Likewise.
37730         (LEN): Likewise.
37731         (__mempcpy): Likewise.  Do not use BP_SYM.
37732         (mempcpy): Do not use BP_SYM in weak_alias.
37733         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37734         "bp-asm.h".
37735         (PARMS): Do not use macros from bp-asm.h.
37736         (DEST): Likewise.
37737         (LEN): Likewise.
37738         [!BZERO_P] (CHR): Likewise.
37739         (memset): Likewise.  Do not use BP_SYM.
37740         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37741         "bp-asm.h".
37742         (PARMS): Do not use macros from bp-asm.h.
37743         (STR2): Likewise.
37744         (strcmp): Do not use BP_SYM.
37745         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37746         "bp-asm.h".
37747         (PARMS): Do not use macros from bp-asm.h.
37748         (STR): Likewise.
37749         (DELIM): Likewise.
37750         [USE_AS_STRTOK_R] (SAVE): Likewise.
37751         (FUNCTION): Likewise.  Do not use BP_SYM.
37752         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37753         aliases.
37754         (strtok_r): Likewise.
37755         (__GI___strtok_r): Likewise.
37756         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37757         (PARMS): Do not use macros from bp-asm.h.
37758         (S): Likewise.
37759         (SIZE): Likewise.
37760         (__mpn_lshift): Do not use BP_SYM.
37761         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37762         (PARMS): Do not use macros from bp-asm.h.
37763         (STR): Likewise.
37764         (CHR): Likewise.
37765         (__memchr): Do not use BP_SYM.
37766         (memchr): Do not use BP_SYM in weak_alias.
37767         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37768         (PARMS): Do not use macros from bp-asm.h.
37769         (BLK2): Likewise.
37770         (LEN): Likewise.
37771         (memcmp): Do not use BP_SYM.
37772         (bcmp): Do not use BP_SYM in weak_alias.
37773         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37774         (PARMS): Do not use macros from bp-asm.h.
37775         (S1): Likewise.
37776         (SIZE): Likewise.
37777         (__mpn_mul_1): Do not use BP_SYM.
37778         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37779         "bp-asm.h".
37780         (PARMS): Do not use macros from bp-asm.h.
37781         (STR): Likewise.
37782         (CHR): Likewise.
37783         (__rawmemchr): Do not use BP_SYM.
37784         (rawmemchr): Do not use BP_SYM in weak_alias.
37785         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37786         (PARMS): Do not use macros from bp-asm.h.
37787         (S): Likewise.
37788         (SIZE): Likewise.
37789         (__mpn_rshift): Do not use BP_SYM.
37790         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37791         (PARMS): Do not use macros from bp-asm.h.
37792         (SIGMSK): Likewise.
37793         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37794         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37795         (_start): Do not use BP_SYM.
37796         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37797         (PARMS): Do not use macros from bp-asm.h.
37798         (DEST): Likewise.
37799         (SRC): Likewise.
37800         (__stpcpy): Likewise.  Do not use BP_SYM.
37801         (stpcpy): Do not use BP_SYM in weak_alias.
37802         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37803         "bp-asm.h".
37804         (PARMS): Do not use macros from bp-asm.h.
37805         (DEST): Likewise.
37806         (SRC): Likewise.
37807         (LEN): Likewise.
37808         (__stpncpy): Likewise.  Do not use BP_SYM.
37809         (stpncpy): Do not use BP_SYM in weak_alias.
37810         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37811         (PARMS): Do not use macros from bp-asm.h.
37812         (STR): Likewise.
37813         (CHR): Likewise.
37814         (strchr): Likewise.  Do not use BP_SYM.
37815         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37816         "bp-asm.h".
37817         (PARMS): Do not use macros from bp-asm.h.
37818         (STR): Likewise.
37819         (CHR): Likewise.
37820         (__strchrnul): Likewise.  Do not use BP_SYM.
37821         (strchrnul): Do not use BP_SYM in weak_alias.
37822         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37823         "bp-asm.h".
37824         (PARMS): Do not use macros from bp-asm.h.
37825         (STOP): Likewise.
37826         (strcspn): Do not use BP_SYM.
37827         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37828         "bp-asm.h".
37829         (PARMS): Do not use macros from bp-asm.h.
37830         (STR): Likewise.
37831         (STOP): Likewise.
37832         (strpbrk): Likewise.  Do not use BP_SYM.
37833         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37834         "bp-asm.h".
37835         (PARMS): Do not use macros from bp-asm.h.
37836         (STR): Likewise.
37837         (CHR): Likewise.
37838         (strrchr): Likewise.  Do not use BP_SYM.
37839         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37840         (PARMS): Do not use macros from bp-asm.h.
37841         (SKIP): Likewise.
37842         (strspn): Do not use BP_SYM.
37843         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37844         (PARMS): Do not use macros from bp-asm.h.
37845         (STR): Likewise.
37846         (DELIM): Likewise.
37847         (SAVE): Likewise.
37848         (FUNCTION): Likewise.  Do not use BP_SYM.
37849         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37850         aliases.
37851         (strtok_r): Likewise.
37852         (__GI___strtok_r): Likewise.
37853         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37854         (PARMS): Do not use macros from bp-asm.h.
37855         (S1): Likewise.
37856         (S2): Likewise.
37857         (SIZE): Likewise.
37858         (__mpn_sub_n): Do not use BP_SYM.
37859         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37860         "bp-asm.h".
37861         (PARMS): Do not use macros from bp-asm.h.
37862         (S1): Likewise.
37863         (SIZE): Likewise.
37864         (__mpn_submul_1): Do not use BP_SYM.
37865         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37866         <bp-sym.h>.
37867         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37868         and <bp-asm.h>.
37869         (PARMS): Do not use macros from bp-asm.h.
37870         (FLAGS): Likewise.
37871         (PTID): Likewise.
37872         (TLS): Likewise.
37873         (CTID): Likewise.
37874         (__clone): Do not use BP_SYM.
37875         (clone): Do not use BP_SYM in weak_alias.
37876         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37877         and <bp-asm.h>.
37878         (PARMS): Do not use macros from bp-asm.h.
37879         (LEN): Likewise.
37880         (__mmap64): Do not use BP_SYM.
37881         (mmap64): Do not use BP_SYM in weak_alias.
37882         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37883         <bp-sym.h> and <bp-asm.h>.
37884         (PARMS): Do not use macros from bp-asm.h.
37885         (__posix_fadvise64_l64): Do not use BP_SYM.
37886         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37887         (PARMS): Do not use macros from bp-asm.h.
37888         (NSOPS): Likewise.
37889         (semtimedop): Do not use BP_SYM.
37890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37891         and <bp-asm.h>.
37893 2013-02-21  Allan McRae  <allan@archlinux.org>
37895         * manual/message.texi (Charset conversion in gettext):
37896         Move @end statement to beginning of line.
37898 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37901         static.
37902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37903         Likewise.
37905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37906         (denorm): Likewise.
37907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37910 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37912         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37913         tail-call to the resolved function if pltexit isn't needed.
37915 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37918         or Y being zero as being unlikely.
37919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37920         Likewise.
37922 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37924         * manual/nss.texi (System Databases and Name Service Switch):
37925         Remove frobnicate @pxref.
37927 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37929         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37930         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37932 2013-02-20  Petr Machata  <pmachata@redhat.com>
37934         * elf/elf.h (R_ARM_TARGET1): New macro.
37935         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37936         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37937         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37938         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37939         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37940         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37941         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37942         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37943         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37944         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37945         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37946         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37947         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37948         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37949         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37950         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37951         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37952         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37953         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37954         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37955         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37956         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37957         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37958         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37959         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37960         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37961         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37962         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37963         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37964         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37965         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37966         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37967         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37968         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37969         (R_ARM_THM_GOT_BREL12): Likewise.
37970         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37971         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37972         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37973         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37974         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37975         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37976         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37977         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37978         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37980 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37982         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37983         __attribute_used__ to __attribute__ ((unused)).
37985 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37987         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37988         powerpc mpa.c.
37989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37990         comment formatting.
37991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37993 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37995         [BZ #13550]
37996         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37997         Remove macro.
37998         (ENTER): Remove both macro definitions.
37999         (LEAVE): Likewise.
38000         (CHECK_BOUNDS_LOW): Likewise.
38001         (CHECK_BOUNDS_HIGH): Likewise.
38002         (CHECK_BOUNDS_BOTH): Likewise.
38003         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38004         (RETURN_BOUNDED_POINTER): Likewise.
38005         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38006         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38007         (POP_ERRNO_LOCATION_RETURN): Likewise.
38008         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38009         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38010         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38011         macros.
38012         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38013         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38014         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38015         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38016         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38017         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38018         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38019         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38020         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38021         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38022         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38023         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38024         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38025         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38026         removed macros.
38027         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38028         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38029         macros.
38030         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38031         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38032         * sysdeps/i386/i586/memset.S (memset): Likewise.
38033         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38034         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38035         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38036         macros.
38037         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38038         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38039         Change uses of L(2) to L(out).
38040         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38041         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38042         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38043         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38044         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38045         removed macros.
38046         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38047         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38048         macros.
38049         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38050         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38051         (RETURN): Do not use macro LEAVE.
38052         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38053         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38054         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38055         * sysdeps/i386/i686/memset.S (memset): Likewise.
38056         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38057         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38058         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38059         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38060         Likewise.
38061         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38062         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38063         L(1_2) and L(1_3) into L(1).
38064         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38065         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38066         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38067         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38068         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38069         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38070         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38071         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38072         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38073         macros.
38074         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38075         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38076         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38077         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38078         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38079         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38080         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38081         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38082         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38083         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38084         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38085         * sysdeps/i386/strspn.S (strspn): Likewise.
38086         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38087         conditional code.
38088         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38089         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38090         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38091         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38092         L(1_3) into L(1_1).
38093         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38094         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38095         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38096         macros.
38097         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38099 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38101         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38102         macro.
38104 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38106         * math/atest-exp.c (exp_mpn): Remove ROUND.
38107         * math/atest-exp2.c (exp_mpn): Likewise.
38108         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38110         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38111         * stdlib/tst-tls-atexit-lib.c: Likewise.
38112         * stdlib/tst-tls-atexit.c: Likewise.
38114 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38116         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38117         and __attribute_alloc_size__.
38119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38121         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38122         __attribute_alloc_size__.
38123         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38124         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38126 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38128         * include/programs/xmalloc.h: New file.
38129         * catgets/gencat.c: Include it.
38130         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38131         * elf/pldd.c: Likewise.
38132         * iconv/iconv_charmap.c: Likewise.
38133         * iconv/iconvconfig.c: Likewise.
38134         * iconv/strtab.c: Likewise.
38135         * locale/programs/locale.c: Likewise.
38136         * locale/programs/localedef.h: Likewise.
38137         * locale/programs/simple-hash.c: Likewise.
38138         * nscd/nscd.h: Likewise.
38139         * nss/makedb.c: Likewise.
38140         * sysdeps/generic/ldconfig.h: Likewise.
38142 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38144         * Versions.def: Add GLIBC_2.18.
38145         * include/link.h (struct link_map): New member l_tls_dtor_count.
38146         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38147         (__call_tls_dtors): Likewise.
38148         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38149         __cxa_thread_atexit_impl.
38150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38151         Likewise.
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38153         Likewise.
38154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38155         Likewise.
38156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38157         Likewise.
38158         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38160         Likewise.
38161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38162         Likewise.
38163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38165         Likewise.
38166         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38167         (tests): Add test case tst-tls-atexit.
38168         (modules-names): Add shared library for tst-tls-atexit.
38169         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38170         (GLIBC_PRIVATE): Add __call_tls_dtors.
38171         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38172         for libstdc++.
38173         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38174         * stdlib/tst-tls-atexit.c: New test case.
38175         * stdlib/tst-tls-atexit-lib.c: New test case.
38177         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38179         * elf/Versions (ld): Add _dl_find_dso_for_object.
38180         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38181         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38182         (dl_open_worker): Use _dl_find_dso_for_object.
38183         * elf/dl-sym.c (do_sym): Likewise.
38184         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38186 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38188         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38189         Syntactic changes only.
38190         (_dl_runtime_profile): Do a tail-call to the resolved function.
38192 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38194         [BZ #13550]
38195         * sysdeps/x86_64/bp-asm.h: Remove file.
38196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38197         <bp-sym.h> and <bp-asm.h>.
38198         (__clone): Do not use BP_SYM.
38199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38200         <bp-sym.h> and <bp-asm.h>.
38201         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38202         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38203         "bp-asm.h".
38204         (_setjmp): Do not use BP_SYM.
38205         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38206         "bp-asm.h".
38207         (setjmp): Do not use BP_SYM.
38208         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38209         libc_hidden_def.
38210         (mempcpy): Do not use BP_SYM in weak_alias.
38211         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38212         "bp-asm.h".
38213         (strchr): Do not use BP_SYM.
38214         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38215         "bp-asm.h".
38216         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38217         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38218         (_start): Do not use BP_SYM.
38219         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38220         "bp-asm.h".
38221         (strcat): Do not use BP_SYM.
38222         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38223         "bp-asm.h".
38224         (STRCMP): Do not use BP_SYM.
38225         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38226         "bp-asm.h".
38227         (STRCPY): Do not use BP_SYM.
38228         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38229         "bp-asm.h".
38230         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38231         "bp-asm.h".
38232         (FUNCTION): Do not use BP_SYM.
38233         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38234         weak_alias.
38235         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38237 2013-02-17  Andreas Jaeger  <aj@suse.de>
38239         * time/Versions: Sort entries.
38240         * string/Versions: Likewise.
38241         * resolv/Versions: Likewise.
38242         * posix/Versions: Likewise.
38243         * iconv/Versions: Likewise.
38244         * elf/Versions: Likewise.
38245         * wcsmbs/Versions: Likewise.
38247 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38249         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38250         loop termination condition.
38252         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38253         variable to calculate EZ.
38254         (__sqr): Likewise.
38256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38257         the lower precision input.
38259 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38261         [BZ #13550]
38262         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38263         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38264         (run-via-rtld-prefix): Do not handle %-bp tests.
38265         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38266         (all-object-suffixes): Remove .ob.
38267         (bppfx): Remove variable.
38268         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38269         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38270         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38271         [$(build-bounded) = yes] (libtype.ob): Likewise.
38272         * Makerules (elide-routines.ob): Remove variable.
38273         (do-tests-clean): Do not handle *-bp.out.
38274         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38275         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38276         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38277         (tests): Do not include $(tests-bp.out).
38278         (xtests): Do not include $(xtests-bp.out).
38279         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38280         [$(build-bounded) = yes] ($(addprefix
38281         $(objpfx),$(binaries-bounded))): Remove rule.
38282         ($(objpfx)%-bp.out): Remove rule.
38283         * config.make.in (build-bounded): Remove variable.
38284         * crypt/Makefile [$(build-bounded) = yes]
38285         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38286         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38287         append to variable.
38288         [$(build-bounded) = yes] (install-lib): Likewise.
38289         [$(build-bounded) = yes] (generated): Likewise.
38290         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38291         Remove rule.
38292         * intl/Makefile [$(build-bounded) = yes]
38293         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38294         * math/Makefile [$(build-bounded) = yes]
38295         ($(tests:%=$(objpfx)%-bp): Likewise.
38296         * misc/Makefile [$(build-bounded) = yes]
38297         ($(objpfx)tst-tsearch-bp): Likewise.
38298         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38299         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38300         Remove dependency.
38301         * string/Makefile (o-objects.ob): Remove variable.
38302         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38303         (CFLAGS-.ob): Remove variable.
38304         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38305         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38306         both definitions of variable.
38307         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38308         (ASFLAGS-.ob): Remove variable.
38310 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38312         [BZ #13550]
38313         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38314         Remove __BOUNDED_POINTERS__ from condition.
38315         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38316         * string/bits/string2.h [!__NO_STRING_INLINES &&
38317         !__BOUNDED_POINTERS__]: Likewise.
38318         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38319         Likewise.
38320         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38321         Remove conditional code.
38322         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38323         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38324         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38325         condition.
38327         [BZ #13550]
38328         * csu/libc-start.c: Do not include <bp-sym.h>.
38329         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38330         * elf/dl-open.c: Do not include <bp-sym.h>.
38331         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38332         * math/fegetenv.c: Do not include <bp-sym.h>.
38333         (fegetenv): Do not use BP_SYM in versioned symbols.
38334         * nptl/sysdeps/pthread/bits/libc-lockP.h
38335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38336         <bp-sym.h>.
38337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38338         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38340         (__pthread_mutex_destroy): Likewise.
38341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38342         (__pthread_mutex_lock): Likewise.
38343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38344         (__pthread_mutex_trylock): Likewise.
38345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38346         (__pthread_mutex_unlock): Likewise.
38347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38348         (__pthread_mutexattr_init): Likewise.
38349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38350         (__pthread_mutexattr_destroy): Likewise.
38351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38352         (__pthread_mutexattr_settype): Likewise.
38353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38354         (__pthread_rwlock_init): Likewise.
38355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38356         (__pthread_rwlock_destroy): Likewise.
38357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38358         (__pthread_rwlock_rdlock): Likewise.
38359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38360         (__pthread_rwlock_tryrdlock): Likewise.
38361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38362         (__pthread_rwlock_wrlock): Likewise.
38363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38364         (__pthread_rwlock_trywrlock): Likewise.
38365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38366         (__pthread_rwlock_unlock): Likewise.
38367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38368         (__pthread_key_create): Likewise.
38369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38370         (__pthread_setspecific): Likewise.
38371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38372         (__pthread_getspecific): Likewise.
38373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38374         Likewise.
38375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38376         (_pthread_cleanup_push_defer): Likewise.
38377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38378         (_pthread_cleanup_pop_restore): Likewise.
38379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38380         (pthread_setcancelstate): Likewise.
38381         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38382         <bp-sym.h>.
38383         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38384         (memchr): Do not use BP_SYM in weak_alias.
38385         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38386         (fegetenv): Do not use BP_SYM in versioned symbols.
38387         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38388         (fesetenv): Do not use BP_SYM in versioned symbols.
38389         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38390         (feupdateenv): Do not use BP_SYM in versioned symbols.
38391         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38392         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38393         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38394         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38395         (open64): Do not use BP_SYM in weak_alias.
38396         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38397         (fegetenv): Do not use BP_SYM in versioned symbols.
38398         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38399         (fesetenv): Do not use BP_SYM in versioned symbols.
38400         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38401         (feupdateenv): Do not use BP_SYM in versioned symbols.
38402         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38403         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38404         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38405         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38406         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38407         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38408         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38409         <bp-sym.h>.
38410         (__libc_start_main): Do not use BP_SYM.
38412 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38415         redundant return line.
38416         (norm): Likewise.
38417         (denorm): Likewise.
38418         (dbl_mp): Likewise.
38419         (sub_magnitudes): Likewise.
38420         (__add): Likewise.
38421         (__sub): Likewise.
38422         (__mul): Likewise.
38423         (__inv): Likewise.
38424         (__dvd): Likewise.
38425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38426         (norm): Likewise.
38427         (denorm): Likewise.
38428         (dbl_mp): Likewise.
38429         (sub_magnitudes): Likewise.
38430         (__add): Likewise.
38431         (__sub): Likewise.
38432         (__mul): Likewise.
38433         (__inv): Likewise.
38434         (__dvd): Likewise.
38436         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38437         instead of __mul.
38438         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38439         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38440         (cc32): Likewise.
38442         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38443         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38445         of __mul for squares.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38447         function
38448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38449         Likewise.
38450         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38451         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38453 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38455         [BZ #13550]
38456         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38457         code.
38458         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38459         prototype or function definition.  Rename ubp_* variables and
38460         parameters.  Remove argv definitions conditional on
38461         [__BOUNDED_POINTERS__].
38462         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38463         * elf/dl-runtime.c (_dl_fixup): Likewise.
38464         * include/set-hooks.h (RUN_HOOK): Likewise.
38465         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38466         definition.
38467         * string/strcpy.c (strcpy): Do not use __unbounded.
38468         * sysdeps/generic/frame.h (struct layout): Likewise.
38469         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38470         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38471         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38472         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38473         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38474         (__backtrace): Likewise.
38475         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38476         use __ptrvalue.
38477         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38478         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38479         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38480         Likewise.
38481         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38482         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38484         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38485         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38486         Do not use __unbounded.
38487         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38488         Rename __unboundedrlimits parameter to rlimits in prototype.
38489         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38490         Do not use __unbounded.
38491         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38492         not use __ptrvalue.
38493         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38494         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38495         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38496         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38497         __ptrvalue or __unbounded.
38498         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38499         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38500         use __unbounded.
38501         (__new_msgctl): Do not use __ptrvalue.
38502         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38503         __unbounded.
38504         (__libc_msgrcv): Do not use __ptrvalue.
38505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38506         startup_info): Do not use __unbounded.
38507         (__libc_start_main): Likewise.  Rename ubp_* variables and
38508         parameters.  Remove argv definitions conditional on
38509         [__BOUNDED_POINTERS__].
38510         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38511         __ptrvalue.
38512         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38513         use __unbounded.
38514         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38515         or __ptrvalue.
38516         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38517         use __unbounded.
38518         (__new_shmctl): Do not use __ptrvalue.
38519         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38520         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38521         Likewise.
38522         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38523         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38524         (__libc_sigaction): Likewise.
38525         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38526         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38527         Likewise.
38528         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38530 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38532         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38534         * string/mempcpy.c: Implement by calling memcpy.
38536 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38541         evaluation.
38543         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38544         values in the mantissa.
38546         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38547         minimize writes to Z.
38548         (sub_magnitudes): Simplify code a bit.
38550 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38552         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38553         from the message.  The linker prefixes all warnings with that already.
38555 2013-02-12  Andreas Schwab  <schwab@suse.de>
38557         [BZ #15078]
38558         * posix/regexec.c (extend_buffers): Add parameter min_len.
38559         (check_matching): Pass minimum needed length.
38560         (clean_state_log_if_needed): Likewise.
38561         (get_subexp): Likewise.
38562         * posix/Makefile (tests): Add bug-regex34.
38563         (bug-regex34-ENV): Define.
38564         * posix/bug-regex34.c: New file.
38566         [BZ #11561]
38567         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38568         elements compare against the byte sequence of it, not its name.
38569         * posix/Makefile (tests): Add bug-regex35.
38570         (bug-regex35-ENV): Define.
38571         * posix/bug-regex35.c: New file.
38573 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38575         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38576         comment.
38577         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38578         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38579         (CHECK_EOL): Add undef.
38581 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38583         * bits/stdlib-bsearch.h: New file.
38584         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38585         * stdlib/stdlib.h: Likewise.
38587 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38589         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38590         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38591         declaration.
38592         * manual/search.texi (Array Search Function): Add missing const in
38593         lfind prototype.
38594         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38595         declaration to use rlim_t.
38596         (Basic Scheduling Functions): Remove erroneous const from
38597         sched_getparam prototype.  Remove erroneous * from
38598         sched_get_priority_max and sched_get_priority_min prototypes.
38599         (Resource Usage): Fix summary @comment on vtimes to refer to
38600         sys/vtimes.h rather than vtimes.h.
38601         Add missing *s in vtimes prototype.
38602         (Limits on Resources): Fix ulimit prototype to return long int.
38603         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38604         prototypes to use long int rather than double.
38605         (BSD Random): Fix initstate and setstate to use char *, not void *.
38606         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38607         prototype to make second argument 'struct aiocb64 *const[]'.
38608         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38609         (Status of AIO Operations): Remove erroneous const in aio_return and
38610         aio_return64 prototypes.
38611         (Synchronizing I/O): Fix sync prototype to return void.
38612         * manual/startup.texi (Suboptions): Remove an erroneous const in
38613         getsubopt prototype.
38614         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38615         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38616         use size_t rather than int.
38617         (Scanning All Users): Likewise for getpwent_r.
38618         (Setting Groups): Add missing const to setgroups prototype.
38619         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38620         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38621         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38622         'const void *' rather than 'const char *'.
38623         (Host Address Functions): Likewise for inet_ntop.
38624         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38625         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38626         ssize_t for return value.
38627         (Sending Data): Likewise for send, sendto, sendmsg.
38628         (Socket Option Functions): Add a missing const in setsockopt prototype.
38629         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38630         use wchar_t for the argument.
38631         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38632         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38633         take no arguments.
38634         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38635         double/float/long double for second argument.
38636         Fix return types of significand, significandf, significandl.
38637         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38638         argument in fchmod prototype.
38639         (File Owner): Use uid_t and gid_t in fchown prototype.
38640         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38641         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38642         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38643         use 'const struct dirent **' as argument types to CMP function pointer
38644         argument.
38645         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38646         (File Times): Fix summary magic @comment for struct utimbuf and utime
38647         to refer to utime.h, not time.h.
38648         * manual/string.texi (Argz Functions): Add missing const in
38649         argz_extract and argz_next prototypes.
38650         (Finding Tokens in a String): Likewise for basename.
38651         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38652         (Copying and Concatenation): Fix typo in wmemmove prototype.
38653         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38654         (Signal Stack): Remove erroneous const in sigstack prototype.
38655         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38656         prototype.
38657         (Simple Calendar Time): Likewise for stime.
38658         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38659         prototype.
38660         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38661         say sys/sysctl.h instead.
38662         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38663         and vsyslog prototypes.
38665 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38667         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38668         Remove.
38670 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38672         * misc/sys/mman.h: Fix typo in mremap comment.
38674 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38676         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38677         the '\0' terminator.
38679 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38681         [BZ #13550]
38682         * debug/segfault.c: Don't include <bp-checks.h>.
38683         * sysdeps/generic/bp-checks.h: Remove file.
38684         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38685         (__GETDENTS): Don't use CHECK_N.
38686         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38687         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38688         (__getgroups): Don't use CHECK_N.
38689         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38690         (setgroups): Don't use CHECK_N.
38691         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38692         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38693         (__libc_msgrcv): Don't use CHECK_N.
38694         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38695         (__libc_msgsnd): Don't use CHECK_N.
38696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38697         <bp-checks.h>.
38698         (__libc_pread): Don't use CHECK_N.
38699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38700         include <bp-checks.h>.
38701         (__libc_pread64): Don't use CHECK_N.
38702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38703         include <bp-checks.h>.
38704         (__libc_pwrite): Don't use CHECK_N.
38705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38706         include <bp-checks.h>.
38707         (__libc_pwrite64): Don't use CHECK_N.
38708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38709         <bp-checks.h>.
38710         (__libc_pread): Don't use CHECK_N.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38712         include <bp-checks.h>.
38713         (__libc_pread64): Don't use CHECK_N.
38714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38715         include <bp-checks.h>.
38716         (__libc_pwrite): Don't use CHECK_N.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38718         include <bp-checks.h>.
38719         (__libc_pwrite64): Don't use CHECK_N.
38720         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38721         (do_pread): Don't use CHECK_N.
38722         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38723         (do_pread64): Don't use CHECK_N.
38724         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38725         (do_pwrite): Don't use CHECK_N.
38726         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38727         (do_pwrite64): Don't use CHECK_N.
38728         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38729         (__libc_readv): Don't use CHECK_N.
38730         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38731         (semop): Don't use CHECK_N.
38732         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38733         <bp-checks.h>.
38734         (semtimedop): Don't use CHECK_N.
38735         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38736         (__libc_pread): Don't use CHECK_N.
38737         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38738         <bp-checks.h>.
38739         (__libc_pread64): Don't use CHECK_N.
38740         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38741         <bp-checks.h>.
38742         (__libc_pwrite): Don't use CHECK_N.
38743         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38744         <bp-checks.h>.
38745         (__libc_pwrite64): Don't use CHECK_N.
38746         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38747         <bp-checks.h>.
38748         (__libc_msgrcv): Don't use CHECK_N.
38749         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38750         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38751         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38752         (__libc_writev): Don't use CHECK_N.
38754 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38756         * string/strcpy.c: Removed unused variable.
38758         * Makeconfig (+sysdep-includes): Define with := rather than =.
38759         Use an existing include/ subdir of each sysdeps dir before it.
38761 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38763         * nscd/connection.c (register_traced_file): Comment function.
38764         [HAVE_INOTIFY] (union __inev): Define.
38765         [HAVE_INOTIFY] (inotify_check_files): New function.
38766         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38767         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38768         clear_db_cache.
38769         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38771 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38773         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38774         loaded if not already and that a failure is permanent.
38776 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38778         [BZ #15006]
38779         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38780         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38782 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38784         [BZ #13550]
38785         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38786         (CHECK_1_NULL_OK): Likewise.
38787         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38788         (__fxstat): Do not use CHECK_1.
38789         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38790         <bp-checks.h>.
38791         (___fxstat64): Do not use CHECK_1.
38792         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38793         <bp-checks.h>.
38794         (__fxstatat): Do not use CHECK_1.
38795         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38796         <bp-checks.h>.
38797         (__fxstatat64): Do not use CHECK_1.
38798         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38799         <bp-checks.h>.
38800         (__fxstat): Do not use CHECK_1.
38801         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38802         <bp-checks.h>.
38803         (__fxstatat): Do not use CHECK_1.
38804         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38805         <bp-checks.h>.
38806         (__getresgid): Do not use CHECK_1.
38807         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38808         <bp-checks.h>.
38809         (__getresuid): Do not use CHECK_1.
38810         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38811         <bp-checks.h>.
38812         (__lxstat): Do not use CHECK_1.
38813         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38814         <bp-checks.h>.
38815         (__old_msgctl): Do not use CHECK_1.
38816         (__new_msgctl): Likewise.
38817         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38818         <bp-checks.h>.
38819         (__new_setrlimit): Do not use CHECK_1.
38820         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38821         <bp-checks.h>.
38822         (__old_shmctl): Do not use CHECK_1.
38823         (__new_shmctl): Likewise.
38824         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38825         <bp-checks.h>.
38826         (__xstat): Do not use CHECK_1.
38827         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38828         (__lxstat): Do not use CHECK_1.
38829         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38830         <bp-checks.h>.
38831         (___lxstat64): Do not use CHECK_1.
38832         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38833         (__old_msgctl): Do not use CHECK_1.
38834         (__new_msgctl): Likewise.
38835         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38836         <bp-checks.h>.
38837         (__gettimeofday): Do not use CHECK_1.
38838         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38839         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38840         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38841         <bp-checks.h>.
38842         (__gettimeofday): Do not use CHECK_1.
38843         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38844         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38845         (__new_shmctl): Do not use CHECK_1.
38846         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38847         <bp-checks.h>.
38848         (do_sigtimedwait): Do not use CHECK_1.
38849         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38850         <bp-checks.h>.
38851         (do_sigwaitinfo): Do not use CHECK_1.
38852         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38853         <bp-checks.h>.
38854         (msgctl): Do not use CHECK_1.
38855         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38856         <bp-checks.h>.
38857         (shmctl): Do not use CHECK_1.
38858         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38859         (ustat): Do not use CHECK_1.
38860         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38861         <bp-checks.h>.
38862         (__fxstat): Do not use CHECK_1.
38863         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38864         <bp-checks.h>.
38865         (__fxstatat): Do not use CHECK_1.
38866         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38867         <bp-checks.h>.
38868         (__lxstat): Do not use CHECK_1.
38869         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38870         <bp-checks.h>.
38871         (__xstat): Do not use CHECK_1.
38872         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38873         (__xstat): Do not use CHECK_1.
38874         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38875         (___xstat64): Do not use CHECK_1.
38877         [BZ #13550]
38878         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38879         definitions.
38880         (CHECK_BOUNDS_HIGH): Likewise.
38881         * string/strcpy.c: Do not include <bp-checks.h>.
38882         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38884 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38886         * nscd/nscd-client.h (__nscd_drop_map_ref):
38887         Add __attribute__ ((unused)).
38888         * nis/nss-nisplus.h (niserr2nss): Likewise.
38890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38891         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38893         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38894         Remove inline keyword.
38895         * include/rounding-mode.h (round_away): Likewise.
38896         * libio/wfileops.c (adjust_wide_data): Likewise.
38897         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38898         (__m128i_strloadu_tolower): Likewise.
38899         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38900         (__m128i_strloadu_tolower): Likewise.
38901         * time/mktime.c (ydhms_diff): Likewise.
38902         * locale/elem-hash.h (elem_hash): Likewise.
38903         * locale/setlocale.c (setdata): Likewise.
38904         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38905         (re_string_wchar_at): Likewise.
38906         (bitset_not, bitset_merge, bitset_mask): Likewise.
38907         [!(__GNUC__ > 3)] (inline): Remove macro.
38908         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38909         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38910         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38911         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38912         * string/memcmp.c (memcmp_bytes): Likewise.
38913         * locale/programs/locarchive.c (compute_hashval): Likewise.
38914         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38915         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38916         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38917         * nss/getent.c (print_rpc, print_protocols): Likewise.
38918         (print_passwd, print_group, print_aliases): Likewise.
38919         * nis/nss-nisplus.h (niserr2nss): Likewise.
38920         * nscd/connections.c (restart_p): Likewise.
38921         Change return type to bool.
38923 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38925         * Makeconfig (all-Depend-files): Add existing
38926         $(sorted-subdirs:=/Depend) files.
38927         (all-subdirs): Remove nss.
38928         * sysdeps/unix/inet/Subdirs: Add it here instead.
38929         * hesiod/Depend: New file.
38931         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38932         instead of calling alloca.
38934         * io/lseek.c (__lseek): Rename to __libc_lseek.
38935         Define __lseek as an alias.
38937         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38939 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38941         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38942         else clause and remove check for non-standard endianness.
38944 2013-02-04  David S. Miller  <davem@davemloft.net>
38946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38948 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #13550]
38951         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38952         (__ubp_memchr): Remove prototype.
38953         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38954         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38955         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38956         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38957         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38958         Remove alias.
38959         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38960         (__ubp_memchr): Likewise.
38961         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38962         (__ubp_memchr): Likewise.
38963         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38964         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38965         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38966         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38967         CHECK_STRING.
38968         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38969         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38970         (__getcwd): Do not use CHECK_STRING.
38971         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38972         <bp-checks.h>.
38973         (__real_chown): Do not use CHECK_STRING.
38974         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38975         <bp-checks.h>.
38976         (fchownat): Do not use CHECK_STRING.
38977         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38978         CHECK_STRING.
38979         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38980         <bp-checks.h>.
38981         (__lchown): Do not use CHECK_STRING.
38982         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38984         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38985         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38987         include <bp-checks.h>.
38988         (truncate64): Do not use CHECK_STRING.
38989         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38990         <bp-checks.h>.
38991         (__real_chown): Do not use CHECK_STRING.
38992         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38993         <bp-checks.h>.
38994         (__lchown): Do not use CHECK_STRING.
38995         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38996         <bp-checks.h>.
38997         (__chown): Do not use CHECK_STRING.
38998         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38999         <bp-checks.h>.
39000         (truncate64): Do not use CHECK_STRING.
39001         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39002         Likewise.
39003         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39004         (__xmknod): Do not use CHECK_STRING.
39005         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39006         <bp-checks.h>.
39007         (__xmknodat): Do not use CHECK_STRING.
39008         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39009         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39011 2013-02-04  Andreas Schwab  <schwab@suse.de>
39013         [BZ #14142]
39014         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39015         * include/netdb.h: Likewise for h_errno.
39016         * elf/tst-stackguard1.c: Include <tls.h>.
39018 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39020         * elf/link.h (struct link_map): Extend the l_addr comment.
39021         * include/link.h (struct link_map): Likewise.
39023 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39025         [BZ #13550]
39026         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39027         (BOUNDED_1): Remove macro.
39028         * debug/backtrace.c: Don't include <bp-checks.h>.
39029         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39030         (__backtrace): Likewise.
39031         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39032         <bp-checks.h>.
39033         (__backtrace): Don't use BOUNDED_1.
39034         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39035         <bp-checks.h>.
39036         (__backtrace): Don't use BOUNDED_1.
39037         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39038         (__backtrace): Don't use BOUNDED_1.
39039         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39040         (shmat): Don't use BOUNDED_N.
39042 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39044         [BZ #13550]
39045         * sysdeps/generic/bp-start.h: Remove file.
39046         * csu/libc-start.c: Don't include <bp-start.h>.
39047         (LIBC_START_MAIN): Set up __environ directly instead of using
39048         INIT_ARGV_and_ENVIRON.
39049         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39050         <bp-start.h>.
39052         [BZ #13550]
39053         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39054         definitions.
39055         (CHECK_FCNTL): Likewise.
39056         (CHECK_N_PAGES): Likewise.
39058         [BZ #13550]
39059         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39060         definitions.
39061         (CHECK_SIGSET_NULL_OK): Likewise.
39062         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39063         <bp-checks.h>.
39064         (sigpending): Don't use CHECK_SIGSET.
39065         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39066         <bp-checks.h>.
39067         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39068         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39069         <bp-checks.h>.
39070         (do_sigsuspend): Don't use CHECK_SIGSET.
39071         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39072         use CHECK_SIGSET.
39073         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39074         (do_sigwait): Don't use CHECK_SIGSET.
39075         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39076         use CHECK_SIGSET.
39077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39078         include <bp-checks.h>.
39079         (sigpending): Don't use CHECK_SIGSET.
39080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39081         include <bp-checks.h>.
39082         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39083         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39084         <bp-checks.h>.
39085         (sigpending): Don't use CHECK_SIGSET.
39086         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39087         <bp-checks.h>.
39088         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39090         [BZ #13550]
39091         * sysdeps/generic/bp-semctl.h: Remove file.
39092         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39093         <bp-checks.h> and <bp-semctl.h>.
39094         (__old_semctl): Don't use CHECK_SEMCTL.
39095         (__new_semctl): Likewise.
39096         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39097         and <bp-semctl.h>.
39098         (__old_semctl): Don't use CHECK_SEMCTL.
39099         (__new_semctl): Likewise.
39100         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39101         <bp-checks.h> and <bp-semctl.h>.
39102         (__old_semctl): Don't use CHECK_SEMCTL.
39103         (__new_semctl): Likewise.
39104         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39105         <bp-checks.h> and <bp-semctl.h>.
39106         (semctl): Don't use CHECK_SEMCTL.
39108         [BZ #13550]
39109         * Makerules (elide-bp-thunks): Remove variable.
39110         (elide-routines.oS): Don't use $(elide-bp-thunks).
39111         (elide-routines.os): Likewise.
39112         (elide-routines.o): Likewise.
39113         (elide-routines.op): Likewise.
39114         (elide-routines.og): Likewise.
39115         (objects): Don't use $(bp-thunks).
39116         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39117         include.
39118         (common-generated): Do not add s-proto-bp.d.
39119         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39120         (int): Likewise.
39121         (typ): Likewise.
39122         Do not generate makefile rules for bounded-pointer thunks.
39123         * sysdeps/generic/bp-thunks.h: Remove file.
39124         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39125         * sysdeps/unix/s-proto-bp.S: Likewise.
39127         [BZ #15062]
39128         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39129         parts of result separately when argument is not close to line from
39130         -i to i and one part of argument is small.
39131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39133         * math/libm-test.inc (cacos_test): Add more tests.
39134         (casin_test): Likewise.
39135         (casinh_test): Likewise.
39136         * sysdeps/i386/fpu/libm-test-ulps: Update.
39137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39139 2013-01-31  David S. Miller  <davem@davemloft.net>
39141         * po/de.po: Update from translation team.
39143 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39145         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39147 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39149         * configure.in (_AC_PROG_CC_C89): New definition.
39150         * configure: Regenerate.
39152         * configure.in (AC_PROG_CPP): New definition.
39153         * configure: Regenerate.
39155 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39157         * debug/tst-backtrace.h: New file.
39158         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39159         (ret): Remove variable.
39160         (x): Likewise.
39161         (FAIL): Remove macro.
39162         (NO_INLINE): Likewise.
39163         (fn1): Use match function instead of strstr.
39164         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39165         (ret): Remove variable.
39166         (x): Likewise.
39167         (FAIL): Remove macro.
39168         (NO_INLINE): Likewise.
39169         (fn): Use match function instead of strstr.
39170         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39171         (ret): Remove variable.
39172         (x): Likewise.
39173         (FAIL): Remove macro.
39174         (NO_INLINE): Likewise.
39175         (handle_signal): Use match function instead of strstr.
39176         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39177         (ret): Remove variable.
39178         (x): Likewise.
39179         (FAIL): Remove macro.
39180         (NO_INLINE): Likewise.
39181         (handle_signal): Use match function instead of strstr.
39183 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39185         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39187 2013-01-23  David S. Miller  <davem@davemloft.net>
39189         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39190         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39191         argument of CAS if possible.
39192         * sysdeps/sparc/sparc64/bits/atomic.h
39193         (__arch_compare_and_exchange_val_32_acq): Likewise.
39194         (__arch_compare_and_exchange_val_64_acq): Likewise.
39196 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39198         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39199         * sysdeps/posix/ulimit.c: ... this.
39200         Include <limits.h>.
39201         * sysdeps/unix/bsd/ulimit.c: Remove file.
39203 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39205         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39206         (LDFLAGS-tst-array5): Likewise.
39208 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39210         [BZ #15036]
39211         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39212         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39213         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39214         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39216 2013-01-21  David S. Miller  <davem@davemloft.net>
39218         * sysdeps/sparc/backtrace.c: New file.
39219         * sysdeps/sparc/sparc32/backtrace.h: New file.
39220         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39221         * sysdeps/sparc/sparc64/backtrace.h: New file.
39222         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39223         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39224         -funwind-tables.
39226 2013-01-21  Andreas Schwab  <schwab@suse.de>
39228         [BZ #15020]
39229         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39230         closed its stdout.
39232 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39235         "mpa2.h".
39236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39238 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39239             Mark Mitchell  <mark@codesourcery.com>
39240             Tom de Vries  <tom@codesourcery.com>
39241             Paul Pluzhnikov  <ppluzhnikov@google.com>
39243         * debug/tst-backtrace2.c: New file.
39244         * debug/tst-backtrace3.c: Likewise.
39245         * debug/tst-backtrace4.c: Likewise.
39246         * debug/tst-backtrace5.c: Likewise.
39247         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39248         (CFLAGS-tst-backtrace3.c): Likewise.
39249         (CFLAGS-tst-backtrace4.c): Likewise.
39250         (CFLAGS-tst-backtrace5.c): Likewise.
39251         (LDFLAGS-tst-backtrace2): Likewise.
39252         (LDFLAGS-tst-backtrace3): Likewise.
39253         (LDFLAGS-tst-backtrace4): Likewise.
39254         (LDFLAGS-tst-backtrace5): Likewise.
39255         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39256         tst-backtrace4 and tst-backtrace5.
39258 2013-01-18  Anton Blanchard  <anton@samba.org>
39259             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39261         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39262         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39263         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39264         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39266         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39267         "+r" and remove output regs list as redundant.  Add explicit inline
39268         asm to specify register of return val to work around compiler codegen
39269         bug.  Remove (int) cast on return value.  Add return type parameter to
39270         use in macro so that this macro does not truncate return value for
39271         64-bit values.
39272         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39273         pass to INTERNAL_VSYSCALL_NCS.
39274         (INLINE_VSYSCALL): Add 'long int' as return type to
39275         INTERNAL_VSYSCALL_NCS macro invocation.
39276         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39277         INTERNAL_VSYSCALL_NCS macro invocation.
39278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39280 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39282         [BZ #14496]
39283         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39284         Fix application of SIMD FP exception mask.
39286         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39287         mp_no from a power of two.
39288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39289         __mpexp_twomm1.  Use __pow_mp.
39291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39292         multiplication.
39294 2013-01-17  David S. Miller  <davem@davemloft.net>
39296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39298 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39300         [BZ #15023]
39301         * include/complex.h: Condition contents on [!_COMPLEX_H].
39302         (__kernel_casinhf): New prototype.
39303         (__kernel_casinh): Likewise.
39304         (__kernel_casinhl): Likewise.
39305         * math/Makefile (libm_calls): Add k_casinh.
39306         * math/k_casinh.c: New file.
39307         * math/k_casinhf.c: Likewise.
39308         * math/k_casinhl.c: Likewise.
39309         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39310         finite nonzero arguments.
39311         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39312         finite nonzero arguments.
39313         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39314         finite nonzero arguments.
39315         * math/s_casinh.c: Do not include <float.h>.
39316         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39317         * math/s_casinhf.c: Do not include <float.h>.
39318         (__casinhf): Move code for finite nonzero arguments to
39319         k_casinhf.c.
39320         * math/s_casinhl.c: Do not include <float.h>.
39321         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39322         redefine.
39323         (__casinhl): Move code for finite nonzero arguments to
39324         k_casinhl.c.
39325         * math/libm-test.inc (cacos_test): Add more tests.
39326         * sysdeps/i386/fpu/libm-test-ulps: Update.
39327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39329 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39331         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39332         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39333         [!HAVE_MREMAP]: Remove [defined linux] case.
39334         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39336 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39338         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39340 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39342         * elf/elf.h (R_386_SIZE32): New relocation.
39343         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39344         R_386_SIZE32.
39345         (elf_machine_rela): Likewise.
39346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39347         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39349 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39351         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39352         (FP_FAST_FMA): Do not define.
39353         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39354         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39355         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39356         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39357         !_SOFT_FLOAT]: Likewise.
39358         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39359         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39360         value.
39361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39362         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39365         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39366         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39367         file.
39369 2013-01-16  Andreas Schwab  <schwab@suse.de>
39371         [BZ #14327]
39372         * include/stdlib.h (__mktemp): Add declaration.
39373         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39374         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39376 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39378         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39379         definitions.
39380         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39381         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39382         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39383         definitions here.
39384         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39385         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39386         definitions.
39387         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39388         and ONE.
39389         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39390         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39391         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39392         definitions.
39393         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39394         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39395         definitions.
39396         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39398         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39400 2013-01-15  David S. Miller  <davem@davemloft.net>
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39403         trunc{,f} to libm-sysdep_routes.
39404         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39406         file.
39407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39409         file.
39410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39411         file.
39412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39414         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39415         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39416         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39417         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39418         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39419         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39422         nearbyint{,f} to libm-sysdep_routes.
39423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39425         New file.
39426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39427         file.
39428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39429         New file.
39430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39431         file.
39432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39434         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39435         file.
39436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39438         file.
39439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39440         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39441         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39443         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39444         libc_feholdexcept and libc_fesetenv.
39446 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39448         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39450 2013-01-14  David S. Miller  <davem@davemloft.net>
39452         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39453         (SPARC_ASM_VIS2_IFUNC): Likewise.
39454         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39456         use of 'siam' instruction.
39457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39458         Likewise.
39459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39460         Likewise.
39461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39462         Likewise.
39463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39468         file.
39469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39470         file.
39471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39472         file.
39473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39474         file.
39475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39480         new VIS2 routines.
39481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39484         Likewise.
39485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39490         routines to libm-sysdep_routines.
39491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39494         fdim/fdimf to libm-sysdep_routines.
39495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39496         file.
39497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39499         file.
39500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39503         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39504         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39505         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39506         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39508 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39510         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39511         to optimize copies.
39513         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39518         local variable MPTWO.
39519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39520         Likewise.
39522 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39524         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39525         GLOB_NOESCAPE.
39527 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39529         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39531 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39533         * manual/pattern.texi (glob_t): Document gl_flags.
39534         (glob64_t): Likewise.
39536 2013-01-11  David S. Miller  <davem@davemloft.net>
39538         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39539         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39540         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39541         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39542         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39543         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39544         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39545         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39546         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39547         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39548         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39549         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39550         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39552         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39553         sparc V9 rather than using V8 code.
39554         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39555         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39557         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39558         Move to...
39559         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39560         Here.
39562 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39564         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39565         not in the main loop.
39566         * configure: Regenerated.
39568 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39570         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39571         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39572         to just #else.
39573         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39574         [!__GLIBC_HAVE_LONG_LONG] case.
39575         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39576         condition to just #else.
39577         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39578         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39579         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39580         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39581         unconditional.
39582         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39583         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39584         #elif condition to just #else.
39585         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39586         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39587         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39588         #elif condition to just #else.
39590 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39592         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39593         (EF_MIPS_ARCH_64): Fix value.
39594         (EF_MIPS_ARCH_32R2): New.
39595         (EF_MIPS_ARCH_64R2): New.
39597 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39599         * Makeconfig (+link-pie-before-libc): New.
39600         (+link-pie-after-libc): Likewise.
39601         (+link-pie-tests): Likewise.
39602         (+link-pie): Rewritten.
39603         (link-before-libc): Remove $(config-LDFLAGS).
39604         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39605         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39606         (config-LDFLAGS): Renamed to ...
39607         (rtld-LDFLAGS): This.
39608         (rtld-tests-LDFLAGS): New macro.
39609         (link-libc-rpath-link): Likewise.
39610         (link-libc-tests-rpath-link): Likewise.
39611         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39612         (link-libc): Prepand $(link-libc-rpath-link).
39613         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39614         (test-program-prefix): New macro.
39615         (test-via-rtld-prefix): Likewise.
39616         (test-program-cmd): Likewise.
39617         (host-test-program-cmd): Likewise.
39618         * Makefile ($(common-objpfx)testrun.sh): Replace
39619         $(run-program-prefix) with $(test-program-prefix).
39620         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39621         $(rtld-LDFLAGS).
39622         ($(common-objpfx)shlib.lds): Likewise.
39623         (build-module-helper): Likewise.
39624         ($(common-objpfx)format.lds): Likewise.
39625         * Rules (binaries-pie-tests): New.
39626         (binaries-pie-notests): Likewise.
39627         (binaries-pie): Rewritten.
39628         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39629         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39630         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39631         (make-test-out): Replace $(host-built-program-cmd) with
39632         $(host-test-program-cmd).
39633         * config.make.in (build-hardcoded-path-in-tests): New variable.
39634         * configure.in (--enable-hardcoded-path-in-tests): New configure
39635         option.
39636         (hardcoded_path_in_tests): New AC_SUBST.
39637         * configure: Regenerated.
39638         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39639         $(built-program-cmd) with $(test-program-cmd).
39640         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39641         (test_program_cmd): This.
39642         * elf/Makefile ($(objpfx)order.out): Run test with
39643         $(test-program-prefix).
39644         ($(objpfx)order2.out): Likewise.
39645         ($(objpfx)tst-initorder.out): Likewise.
39646         ($(objpfx)tst-initorder2.out): Likewise.
39647         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39648         $(test-program-cmd).
39649         ($(objpfx)tst-array1-static.out): Likewise.
39650         ($(objpfx)tst-array2.out): Likewise.
39651         ($(objpfx)tst-array3.out): Likewise.
39652         ($(objpfx)tst-array4.out): Likewise.
39653         ($(objpfx)tst-array5.out): Likewise.
39654         ($(objpfx)tst-array5-static.out): Likewise.
39655         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39656         $(test-program-cmd).
39657         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39658         $(run-program-prefix) with $(test-program-prefix).
39659         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39660         (test_program_prefix): This.
39661         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39662         $(run-program-prefix) with $(test-program-prefix).
39663         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39664         (test_program_prefix): This.
39665         * iconvdata/tst-tables.sh: Likewise.
39666         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39667         $(run-program-prefix) with $(test-program-prefix).
39668         ($(objpfx)tst-translit.out): Likewise.
39669         ($(objpfx)tst-gettext2.out): Likewise.
39670         ($(objpfx)tst-gettext4.out): Likewise.
39671         ($(objpfx)tst-gettext6.out): Likewise.
39672         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39673         (test_program_prefix): This.
39674         * intl/tst-gettext2.sh: Likewise.
39675         * intl/tst-gettext4.sh  Likewise.
39676         * intl/tst-gettext6.sh: Likewise.
39677         * intl/tst-translit.sh: Likewise.
39678         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39679         with $(test-program-cmd).
39680         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39681         $(run-program-prefix) with $(test-program-prefix).
39682         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39683         (test_program_prefix): This.
39684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39685         $(run-program-prefix) with $(test-program-prefix).
39686         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39687         (test_program_prefix): This.
39688         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39689         * posix/Makefile ($(objpfx)globtest.out): Replace
39690         $(run-via-rtld-prefix) and $(test-wrapper) with
39691         $(test-program-prefix) and $(test-via-rtld-prefix).
39692         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39693         $(test-program-prefix).
39694         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39695         $(host-test-program-cmd).
39696         (tst-spawn-ARGS): Likewise.
39697         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39698         $(test-program-prefix).
39699         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39700         (test_via_rtld_prefix): This.
39701         (test_wrapper): Renamed to ...
39702         (test_program_prefix): This.
39703         (run_program_prefix): Replaced by test_program_prefix.
39704         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39705         (test_program_prefix): This.
39706         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39707         with $(host-test-program-cmd).
39708         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39709         $(run-program-prefix) with $(test-program-prefix).
39710         ($(objpfx)tst-printf.out): Likewise.
39711         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39712         $(test-program-cmd).
39713         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39714         (test_program_prefix): This.
39715         * stdio-common/tst-unbputc.sh: Likewise.
39716         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39717         $(run-program-prefix) with $(test-program-prefix).
39718         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39719         (test_program_prefix): This.
39720         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39721         $(built-program-cmd) with $(test-program-cmd).
39723 2013-01-11  Andreas Jaeger  <aj@suse.de>
39725         [BZ #15003]
39726         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39727         value. Sync with Linux 3.7.
39729 2013-01-10  David S. Miller  <davem@davemloft.net>
39731         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39732         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39733         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39735 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39737         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39738         never set.
39739         * configure: Regenerated.
39741 2013-01-10  David S. Miller  <davem@davemloft.net>
39743         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39744         sparc V9 rather than using V8 code.
39745         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39746         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39748 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39750         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39751         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39752         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39753         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39754         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39755         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39756         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39757         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39758         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39759         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39760         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39761         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39762         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39763         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39764         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39765         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39766         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39767         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39768         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39769         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39770         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39771         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39772         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39773         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39774         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39775         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39776         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39778 2013-01-10  David S. Miller  <davem@davemloft.net>
39780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39782 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39784         * posix/Makefile (tests-static): New variable.
39785         (tests): Add $(tests-static).
39786         (tst-exec-static-ARGS): New variable.
39787         (tst-spawn-static-ARGS): Likewise.
39788         * posix/tst-exec-static.c: New file.
39789         * posix/tst-spawn-static.c: Likewise.
39790         * posix/tst-exec.c: Support run directly.
39791         * posix/tst-spawn.c: Likewise.
39793 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39795         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39796         long.
39797         * math/bits/mathcalls.h (llrint): Likewise.
39798         (llround): Likewise.
39799         * stdlib/stdlib.h (struct drand48_data): Likewise.
39800         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39801         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39802         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39803         Likewise.
39804         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39805         Likewise.
39806         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39807         (elf_greg_t): Likewise.
39808         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39809         (__jmp_buf): Likewise.
39810         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39811         definitions.
39812         (llrint): Likewise, for all definitions.
39813         (llrintl): Likewise.
39815         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39816         Remove [__GNUC__] condition.
39817         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39818         condition to just [__USE_ISOC99].
39819         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39821 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39823         [BZ #14200]
39824         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39825         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39826         defined.
39827         (_POSIX_V6_ILP32_OFF32): Likewise.
39828         (_XBS5_ILP32_OFF32): Likewise.
39829         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39830         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39832 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39834         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39837         doubles __mpexp_twomm1.  Adjust usage.
39838         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39839         Remove.
39841 2013-01-10  Andreas Schwab  <schwab@suse.de>
39843         [BZ #14964]
39844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39845         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39847 2013-01-09  David S. Miller  <davem@davemloft.net>
39849         [BZ #15003]
39850         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39851         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39852         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39853         (TCP_FASTOPEN): Define.
39854         (tcp_repair_opt): New structure.
39855         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39856         enum values.
39857         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39858         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39859         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39860         (tcp_cookie_transactions): New structure.
39862 2013-01-09  Anton Blanchard  <anton@samba.org>
39864         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39865         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39866         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39867         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39869 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39871         * include/features.h (__USE_ANSI): Remove.
39873 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39875         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39877         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39879 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39881         * sysdeps/s390/fpu/libm-test-ulps: Update.
39883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39885         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39886         (__acr): Likewise.
39887         (__cpy): Likewise.
39888         (norm): Likewise.
39889         (denorm): Likewise.
39890         (__mp_dbl): Likewise.
39891         (__dbl_mp): Likewise.
39892         (add_magnitudes): Likewise.
39893         (sub_magnitudes): Likewise.
39894         (__add): Likewise.
39895         (__sub): Likewise.
39896         (__mul): Likewise.
39897         (__inv): Likewise.
39898         (__dvd): Likewise.
39899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39900         (__acr): Likewise.
39901         (__cpy): Likewise.
39902         (norm): Likewise.
39903         (denorm): Likewise.
39904         (__mp_dbl): Likewise.
39905         (__dbl_mp): Likewise.
39906         (add_magnitudes): Likewise.
39907         (sub_magnitudes): Likewise.
39908         (__add): Likewise.
39909         (__sub): Likewise.
39910         (__mul): Likewise.
39911         (__inv): Likewise.
39912         (__dvd): Likewise.
39913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39914         (__acr): Likewise.
39915         (__cpy): Likewise.
39916         (norm): Likewise.
39917         (denorm): Likewise.
39918         (__mp_dbl): Likewise.
39919         (__dbl_mp): Likewise.
39920         (add_magnitudes): Likewise.
39921         (sub_magnitudes): Likewise.
39922         (__add): Likewise.
39923         (__sub): Likewise.
39924         (__mul): Likewise.
39925         (__inv): Likewise.
39926         (__dvd): Likewise.
39928 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39930         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39931         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39932         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39933         2 && __USE_EXTERN_INLINES]: Likewise.
39935 2013-01-08  Andreas Jaeger  <aj@suse.de>
39937         [BZ# 14985]
39938         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39939         Remove.
39940         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39941         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39943 2013-01-07  Anton Blanchard  <anton@samba.org>
39945         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39946         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39947         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39948         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39949         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39950         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39951         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39952         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39954         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39957         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39959         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39961         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39963         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39964         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39965         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39966         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39968         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39969         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39970         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39971         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39972         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39974         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39975         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39977         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39978         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39979         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39980         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39981         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39982         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39983         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39984         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39985         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39986         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39987         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39989 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39991         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39992         (__MALLOC_PMT): Likewise.
39993         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39994         [__GNUC__], only on [_LIBC].
39995         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39996         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39997         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39998         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39999         forward declaration.
40000         (realloc_hook_ini): Likewise.
40001         (memalign_hook_ini): Likewise.
40002         (__libc_memalign): Do not use __MALLOC_PMT in variable
40003         declaration.
40004         (__libc_valloc): Likewise.
40005         (__libc_pvalloc): Likewise.
40006         (__libc_calloc): Likewise.
40007         (__posix_memalign): Likewise.
40009         [BZ #14996]
40010         * math/s_casinh.c: Include <float.h>.
40011         (__casinh): Do not do computation with squaring and square root
40012         for large arguments.
40013         * math/s_casinhf.c: Include <float.h>.
40014         (__casinhf): Do not do computation with squaring and square root
40015         for large arguments.
40016         * math/s_casinhl.c: Include <float.h>.
40017         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40018         (__casinhl): Do not do computation with squaring and square root
40019         for large arguments.
40020         * math/libm-test.inc (casin_test): Add more tests.
40021         (casinh_test): Likewise.
40022         * sysdeps/i386/fpu/libm-test-ulps: Update.
40023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40025 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40027         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40028         (__x86_64_raw_data_cache_size): Likewise.
40029         (__x86_64_data_cache_size_half): Likewise.
40030         (__x86_64_raw_data_cache_size_half): Likewise.
40031         (__x86_64_shared_cache_size): Likewise.
40032         (__x86_64_raw_shared_cache_size): Likewise.
40033         (__x86_64_shared_cache_size_half): Likewise.
40034         (__x86_64_raw_shared_cache_size_half): Likewise.
40035         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40036         to ...
40037         (__x86_data_cache_size): This.
40038         (__x86_64_raw_data_cache_size): Renamed to ...
40039         (__x86_raw_data_cache_size): This.
40040         (__x86_64_data_cache_size_half): Renamed to ...
40041         (__x86_data_cache_size_half): This.
40042         (__x86_64_raw_data_cache_size_half): Renamed to ...
40043         (__x86_raw_data_cache_size_half): This.
40044         (__x86_64_shared_cache_size): Renamed to ...
40045         (__x86_shared_cache_size): This.
40046         (__x86_64_raw_shared_cache_size): Renamed to ...
40047         (__x86_raw_shared_cache_size): This.
40048         (__x86_64_shared_cache_size_half): Renamed to ...
40049         (__x86_shared_cache_size_half): This.
40050         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40051         (__x86_raw_shared_cache_size_half): This.
40052         * sysdeps/x86_64/memcpy.S: Updated.
40053         * sysdeps/x86_64/memset.S: Likewise.
40054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40058 2013-01-04  David S. Miller  <davem@davemloft.net>
40060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40062 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40064         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40065         1 to avoid redefinition warning.
40066         (__USE_GNU): Don't define.
40067         (init_signaling_nan): Protoize.
40069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40071 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40073         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40075         (__cpymn): Likewise.
40076         (norm): Remove commented code.
40077         (denorm): Likewise.
40078         (__mp_dbl): Likewise.
40079         (__inv): Likewise.
40080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40081         (__cpymn): Likewise.
40082         (norm): Remove commented code.
40083         (denorm): Likewise.
40084         (__mp_dbl): Likewise.
40085         (__inv): Likewise.
40087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40088         mp_no value for 1.0 and 2.0.
40089         (norm): Use RADIXI instead of radixi.d.
40090         (denorm): Likewise.
40091         (__mul): Use 0.0 instead of zero.d.
40092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40093         mp_no value for 1.0 and 2.0.
40094         (norm): Use RADIXI instead of radixi.d.
40095         (denorm): Likewise.
40096         (__mul): Use 0.0 instead of zero.d.
40098 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40100         [BZ #14994]
40101         * math/s_casinh.c (__casinh): Reduce finite argument to first
40102         quadrant then set signs of results at the end.
40103         * math/s_casinhf.c (__casinhf): Likewise.
40104         * math/s_casinhl.c (__casinhl): Likewise.
40105         * math/libm-test.inc (casin_test): Add more tests.
40106         (casinh_test): Likewise.
40107         * sysdeps/i386/fpu/libm-test-ulps: Update.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40110 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40112         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40114         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40116         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40117         declarations.
40118         (denorm): Likewise.
40119         (__mp_dbl): Likewise.
40120         (__inv): Likewise.
40122         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40123         and adjust the header comment.
40125         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40126         variable name from declaration.
40128 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40131         Initialize COMMON_CPUID_INDEX_7 element.
40132         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40133         (CPUID_RTM): Likewise.
40134         (HAS_RTM): Likewise.
40135         (COMMON_CPUID_INDEX_7): New enum.
40137 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40139         [BZ #14981]
40140         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40141         size is zero, record memory as freed.
40143 2013-01-03  Andreas Jaeger  <aj@suse.de>
40145         * po/ia.po: Add new Interlingua translation.
40147 2012-01-03  Allan McRae  <allan@archlinux.org>
40149         * locale/programs/localedef.c: Fix description of '--posix' flag.
40151 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40153         * NEWS: Update dates in second copyright notice.
40154         * README: Update copyright dates in example.
40155         * manual/libc.texinfo: Update copyright dates.
40156         * scripts/test-installation.pl: Update copyright date in --version
40157         output.
40159         * hurd/ctty-input.c: Fix copyright notice formatting.
40160         * hurd/ctty-output.c: Likewise.
40161         * hurd/dtable.c: Likewise.
40162         * hurd/hurd-raise.c: Likewise.
40163         * hurd/hurdprio.c: Likewise.
40164         * hurd/msgportdemux.c: Likewise.
40165         * misc/sys/file.h: Likewise.
40166         * misc/sys/ioctl.h: Likewise.
40167         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40168         * sysdeps/mach/hurd/chdir.c: Likewise.
40169         * sysdeps/mach/hurd/fchdir.c: Likewise.
40170         * sysdeps/mach/hurd/rename.c: Likewise.
40171         * sysdeps/mach/hurd/rmdir.c: Likewise.
40172         * sysdeps/mach/hurd/seekdir.c: Likewise.
40173         * sysdeps/mach/hurd/setsid.c: Likewise.
40174         * sysdeps/posix/wait3.c: Likewise.
40176         * All files with FSF copyright notices: Update copyright dates
40177         using scripts/update-copyrights.
40178         * intl/plural.c: Regenerated.
40179         * locale/programs/charmap-kw.h: Likewise.
40180         * locale/programs/locfile-kw.h: Likewise.
40182 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40185         four values.
40187         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40188         calculation loop and add branch prediction.
40190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40191         check access beyond bounds of m1np.
40193         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40194         MPTWO.
40195         (__inv): Remove local variable MPTWO to use the global
40196         constant.
40197         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40199         variable MPTWO.
40200         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40201         MP3HALFS static const.
40203 2013-01-01  David S. Miller  <davem@davemloft.net>
40205         * po/ca.po: Update from translation team.
40207 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40209         * scripts/update-copyrights: New file.
40210         * Makeconfig: Reformat copyright notice.
40211         * ctype/ctype.h: Likewise.
40212         * debug/swprintf_chk.c: Likewise.
40213         * elf/dl-cache.c: Likewise.
40214         * elf/dl-debug.c: Likewise.
40215         * elf/dl-object.c: Likewise.
40216         * grp/initgroups.c: Likewise.
40217         * hurd/Makefile: Likewise.
40218         * hurd/hurd/signal.h: Likewise.
40219         * hurd/hurdfault.c: Likewise.
40220         * hurd/hurdioctl.c: Likewise.
40221         * hurd/hurdlookup.c: Likewise.
40222         * hurd/intr-msg.c: Likewise.
40223         * iconv/gconv_open.c: Likewise.
40224         * libio/swprintf.c: Likewise.
40225         * locale/lc-ctype.c: Likewise.
40226         * locale/nl_langinfo.c: Likewise.
40227         * mach/Machrules: Likewise.
40228         * mach/Makefile: Likewise.
40229         * malloc/obstack.h: Likewise.
40230         * manual/Makefile: Likewise.
40231         * manual/tsort.awk: Likewise.
40232         * misc/bits/stab.def: Likewise.
40233         * nis/nis_print_group_entry.c: Likewise.
40234         * nis/nis_table.c: Likewise.
40235         * nis/nss_compat/compat-pwd.c: Likewise.
40236         * nis/nss_compat/compat-spwd.c: Likewise.
40237         * po/Makefile: Likewise.
40238         * posix/fnmatch.c: Likewise.
40239         * posix/regex.h: Likewise.
40240         * resolv/Makefile: Likewise.
40241         * resolv/nss_dns/dns-network.c: Likewise.
40242         * resolv/res_hconf.c: Likewise.
40243         * scripts/gen-sorted.awk: Likewise.
40244         * soft-fp/soft-fp.h: Likewise.
40245         * stdio-common/printf.h: Likewise.
40246         * stdlib/monetary.h: Likewise.
40247         * stdlib/random.c: Likewise.
40248         * stdlib/random_r.c: Likewise.
40249         * sysdeps/generic/Makefile: Likewise.
40250         * sysdeps/gnu/Makefile: Likewise.
40251         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40258         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40259         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40261         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40262         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40263         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40264         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40265         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40266         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40267         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40268         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40269         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40271         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40272         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40273         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40279         * sysdeps/mach/hurd/errnos.awk: Likewise.
40280         * sysdeps/mach/hurd/fork.c: Likewise.
40281         * sysdeps/mach/hurd/getcwd.c: Likewise.
40282         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40283         * sysdeps/mach/hurd/mmap.c: Likewise.
40284         * sysdeps/mach/hurd/utimes.c: Likewise.
40285         * sysdeps/mach/hurd/xmknod.c: Likewise.
40286         * sysdeps/posix/profil.c: Likewise.
40287         * sysdeps/posix/readdir_r.c: Likewise.
40288         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40289         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40290         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40291         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40293         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40294         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40295         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40297         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40298         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40299         * sysdeps/pthread/lio_listio.c: Likewise.
40300         * sysdeps/sparc/dl-procinfo.h: Likewise.
40301         * sysdeps/unix/i386/sysdep.S: Likewise.
40302         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40303         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40304         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40305         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40307         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40308         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40309         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40310         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40311         * sysdeps/wordsize-32/divdi3.c: Likewise.
40312         * time/sys/time.h: Likewise.
40313         * wcsmbs/Makefile: Likewise.
40315 2013-01-01  David S. Miller  <davem@davemloft.net>
40317         * po/fr.po: Update from translation team.
40319         * catgets/gencat.c: Update copyright year.
40320         * csu/version.c: Likewise.
40321         * debug/catchsegv.sh: Likewise.
40322         * debug/pcprofiledump.c: Likewise.
40323         * debug/xtrace.sh: Likewise.
40324         * elf/ldconfig.c: Likewise.
40325         * elf/ldd.bash.in: Likewise.
40326         * elf/pldd.c: Likewise.
40327         * elf/sotruss.ksh: Likewise.
40328         * elf/sprof.c: Likewise.
40329         * iconv/iconv_prog.c: Likewise.
40330         * iconv/iconvconfig.c: Likewise.
40331         * locale/programs/locale.c: Likewise.
40332         * locale/programs/localedef.c: Likewise.
40333         * login/programs/pt_chown.c: Likewise.
40334         * malloc/memusage.sh: Likewise.
40335         * malloc/memusagestat.c: Likewise.
40336         * malloc/mtrace.pl: Likewise.
40337         * nscd/nscd.c: Likewise.
40338         * nss/getent.c: Likewise.
40339         * nss/makedb.c: Likewise.
40340         * posix/getconf.c: Likewise.
40342 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40344         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40345         numbers.
40347 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40349         * math/bits/mathcalls.h (modf): Use __nonnull.
40351 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40353         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40354         (split): Use macro CN instead of the bare value.
40355         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40356         could be used.
40357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40358         instead of the bare value.
40359         (power1): Likewise.
40361 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40364         __ATAN_TWOM.
40365         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40367         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40368         their values.
40369         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40370         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40371         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40372         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40374 2012-12-28  Andreas Jaeger  <aj@suse.de>
40376         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40377         values are from Linux 3.7.
40379         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40380         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40382 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40384         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40385         TRUE case.
40387         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40388         (norm): Likewise.
40389         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40390         variables with preprocessor constants.
40391         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40392         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40393         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40395 2012-12-27  Bruno Haible  <bruno@clisp.org>
40397         [BZ #14317]
40398         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40399         only if needed.
40401 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40404         and use variable directly.
40405         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40407         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40408         MPONE.
40409         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40411         variable MPONE.
40412         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40414         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40415         include directive.  Remove local variable MPONE.
40416         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40417         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40420 2012-12-25  David S. Miller  <davem@davemloft.net>
40422         * version.h (RELEASE): Set to "development".
40423         (VERSION): Set to "2.17.90".
40424         * NEWS: Add 2.18 section.
40426 2012-12-21  David S. Miller  <davem@davemloft.net>
40428         * po/hr.po: Update from translation team.
40430 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40432         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40434 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40436         * NEWS:  Mention new memcpy for MIPS.
40438 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40440         * manual/contrib.texi (Contributors): Spelling correction.
40442 2012-12-15  David S. Miller  <davem@davemloft.net>
40444         * po/ru.po: Update from translation team.
40446 2012-12-13  David S. Miller  <davem@davemloft.net>
40448         * NEWS: Mention IFUNC testsuite enhancements.
40450         * po/pl.po: Update from translation team.
40451         * po/bg.po: Likewise.
40453         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40454         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40456 2012-12-11  David S. Miller  <davem@davemloft.net>
40458         * po/sv.po: Update from translation team.
40460         * po/vi.po: Update from translation team.
40462         * po/cs.po: Update from translation team.
40464         * po/de.po: Update from translation team.
40465         * po/eo.po: Likewise.
40466         * po/nl.po: Likewise.
40468 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40470         [BZ #14246]
40471         * manual/argp.texi (Argp Helper Functions): Move node to follow
40472         Argp Parsing State.
40474         [BZ #14872]
40475         * manual/conf.texi (Limits on File System Capacity): Mention if
40476         terminating null is included in the max size.
40478 2012-12-10  Andreas Jaeger  <aj@suse.de>
40480         * po/cs.po: Update from translation team.
40482 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40484         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40485         void pointer and cast to uintptr_t.
40486         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40487         path.
40488         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40489         * sysdeps/s390/s390-64/memset.S: Likewise.
40491 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40493         [BZ #14833]
40494         * menual/message.texi (Message Translation): Fix typos.
40495         (Helper programs for gettext): Likewise.
40497 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40499         [BZ #14898]
40500         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40501         Change to -1.
40503 2012-12-07  David S. Miller  <davem@davemloft.net>
40505         * po/libc.pot: Update.
40507 2012-12-07  Richard Henderson  <rth@redhat.com>
40509         [BZ #10114]
40510         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40511         normal/normal case to before the switch.
40512         (_FP_DIV): Likewise.
40514 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40515             Mike Frysinger  <vapier@gentoo.org>
40517         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40518         check for __NR_fadvise64_64.
40520 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40522         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40523         0, not just to plain "0" as a statement.
40524         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40525         with cw.
40527 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40529         * NEWS: Use sourceware.org in Bugzilla URL.
40531 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40534         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40536         * stdio-common/tst-put-error.c (do_test): Add newline to the
40537         padded test to ensure flush.
40539 2012-12-05  Jeff Law  <law@redhat.com>
40541         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40543 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40545         * README: Don't refer to ports add-on as distributed separately.
40546         Mention AArch64 in list of systems supported in the ports add-on.
40548         * LICENSES: Add more non-FSF copyright and license notices.
40550         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40551         ((unused)).
40553         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40555         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40556         10000 as width of padded output.
40558 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40560         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40563         variable LX with __attribute__ ((unused)).
40564         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40565         Likewise.
40566         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40569         with __attribute__ ((unused)).
40571 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40573         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40575 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40577         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40578         (CFLAGS-nldbl-acos.c): New variable.
40579         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40580         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40581         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40582         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40583         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40584         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40585         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40586         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40587         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40588         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40589         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40590         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40591         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40592         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40593         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40594         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40595         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40596         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40597         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40598         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40599         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40600         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40601         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40602         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40603         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40604         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40605         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40606         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40607         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40608         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40609         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40610         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40611         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40612         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40613         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40614         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40615         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40616         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40617         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40618         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40619         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40620         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40621         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40622         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40623         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40624         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40625         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40626         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40627         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40628         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40629         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40630         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40631         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40632         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40633         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40634         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40635         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40636         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40637         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40638         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40639         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40640         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40641         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40642         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40643         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40644         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40645         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40646         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40647         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40648         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40649         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40650         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40651         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40652         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40653         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40654         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40655         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40656         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40657         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40658         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40659         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40660         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40661         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40662         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40663         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40664         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40665         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40666         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40667         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40668         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40669         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40670         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40671         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40672         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40673         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40674         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40675         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40678         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40680         [BZ #14914]
40681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40682         whole low double instead of just low 47 bits when splitting values
40683         into two parts.
40685 2012-12-03  Allan McRae  <allan@archlinux.org>
40687         * manual/stdio.texi (Predefined Printf Handlers): Remove
40688         @hsep and @vsep usage.
40690 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40692         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40693         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40695 2012-12-03  Jeff Law  <law@redhat.com>
40697         * time/sys/time.h (settimeofday): Do not mark TV argument
40698         as __nonnull.
40700 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40702         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40703         when currently writing and seek to current position when not.
40704         * libio/Makefile (tests): Remove bug-fclose1.
40705         * libio/bug-fclose1.c: Delete.
40707 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40709         * manual/arith.texi (feenableexcept): Fix typo.
40710         (fedisableexcept): Likewise.
40712 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40714         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40715         second, differently-typed declaration, rather than a cast.
40717 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40719         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40720         * include/rpc/svc.h: ... here.
40722 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40724         [BZ #13013]
40725         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40726         depending n and resplen2 to catch cases where answer
40727         equals answerp2.
40729 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40731         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40732         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40734 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40736         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40738 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40740         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40742 2012-11-28  Jeff Law  <law@redhat.com>
40744         [BZ #13761]
40745         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40746         dataset_temporary.  Track alloca usage into alloca_used.
40747         If dataset is large allocate and release it via malloc/free.
40749 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40751         [BZ #14197]
40752         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40754 2012-11-28  David S. Miller  <davem@davemloft.net>
40756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40758 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40760         [BZ #14803]
40761         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40762         of pi/2 rounded to nearest to 64 bits.
40763         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40764         nearest to 64 bits.
40765         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40766         bits.
40768 2012-11-28  Jeff Law <law@redhat.com>
40769             Martin Osvald <mosvald@redhat.com>
40771         [BZ #14889]
40772         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40773         * sunrpc/svc.c: Include time.h.
40774         (__svc_accept_failed): New function.
40775         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40776         any reason other than EINTR, call __svc_accept_failed.
40777         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40778         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40780 2012-11-28  Andreas Schwab  <schwab@suse.de>
40782         * scripts/abilist.awk: Also handle indirect functions in .opd
40783         section.
40785 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40787         [BZ #13881]
40788         * sysdeps/x86/fpu/powl_helper.c: New file.
40789         * sysdeps/x86/fpu/Makefile: Likewise.
40790         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40791         (p3): New object.
40792         (__ieee754_powl): Use __powl_helper for finite arguments except
40793         integer exponents below 8.
40794         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40795         (p3): New object.
40796         (__ieee754_powl): Use __powl_helper for finite arguments except
40797         integer exponents below 8.
40798         * math/libm-test.inc (pow_test): Add more tests and enable some
40799         previously disabled tests.
40800         * sysdeps/i386/fpu/libm-test-ulps: Update.
40801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40803 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40804             Carlos O'Donell  <carlos_odonell@mentor.com>
40806         * nss/makedb.c (is_prime): Assert that input is odd and greater
40807         than 4.  Note that fact in a comment too.
40808         (next_prime): Add 4 to input.
40810 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40812         [BZ #11741]
40813         * libio/Makefile (tests): Add test case tst-fwrite-error.
40814         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40815         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40816         * libio/tst-fwrite-error.c: New test case.
40818 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40820         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40821         before casting to void *.
40822         * include/libc-internal.h (__pointer_type): New macro.
40823         (__integer_if_pointer_type_sub): Likewise.
40824         (__integer_if_pointer_type): Likewise.
40825         (cast_to_integer): Likewise.
40826         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40827         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40828         before casting to atomic64_t.
40829         (atomic_exchange_acq): Likewise.
40830         (__arch_exchange_and_add_body): Likewise.
40831         (__arch_add_body): Likewise.
40832         (atomic_add_negative): Likewise.
40833         (atomic_add_zero): Likewise.
40835 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40837         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40838         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40839         (add_fdes): Likewise.
40840         (linear_search_fdes): Likewise.
40841         (binary_search_unencoded_fdes): Likewise.
40843 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40845         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40847 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40849         * configure.in: Autodetect C++ header directories.
40850         * configure: Regenerated.
40852 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40854         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40856 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40860 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40862         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40863         LDBL_MANT_DIG == 106]: Disable some tests.
40864         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40865         Likewise.
40866         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40867         Likewise.
40869         [BZ #14871]
40870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40871         input for small inputs.  Return +/- pi/2 for large inputs.
40872         * math/libm-test.inc (atan_test): Add more tests.
40874         * sysdeps/generic/unwind-dw2-fde-glibc.c
40875         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40876         __attribute__ ((unused)).
40878         [BZ #14645]
40879         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40880         x * y if x and y are nonzero and z is zero.
40882         [BZ #14811]
40883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40884         nonzero exponents with absolute value below 0x1p-117 to +/-
40885         0x1p-117.
40887         [BZ #14869]
40888         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40889         up arguments below 2**-450, not just those below 2**-500.
40890         * math/libm-test.inc (hypot_test): Add another test.
40892         [BZ #14868]
40893         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40894         Return a+b for ratio over 2**120, not 2**60.
40895         * math/libm-test.inc (hypot_test): Add another test.
40897         * math/libm-test.inc (clog_test): Use
40898         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40899         (clog10_test): Likewise.
40901         [BZ #6778]
40902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40904 2012-11-22  Andreas Schwab  <schwab@suse.de>
40906         * sysdeps/i386/fpu/libm-test-ulps: Update.
40908 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40910         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40911         printf output with newline.
40913 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40915         [BZ #14865]
40916         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40917         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40918         -z nodlopen, -z initfirst and -z execstack support.
40919         * configure: Regenerated.
40921         * elf/elf.h (DF_1_NODIRECT): New macro.
40922         (DF_1_IGNMULDEF): Likewise.
40923         (DF_1_NOKSYMS): Likewise.
40924         (DF_1_NOHDR): Likewise.
40925         (DF_1_EDITED): Likewise.
40926         (DF_1_NORELOC): Likewise.
40927         (DF_1_SYMINTPOSE): Likewise.
40928         (DF_1_GLOBAUDIT): Likewise.
40929         (DF_1_SINGLETON): Likewise.
40930         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40931         DT_1_SUPPORTED_MASK bits.
40932         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40934 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40936         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40938 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40940         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40941         macro.
40943         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40944         (sendmmsg): Move declarations...
40945         * socket/sys/socket.h: ... here.
40946         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40947         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40948         include it from...
40949         * socket/recvmmsg.c: ... this new file.
40950         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40951         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40952         definition of __sendmmsg hidden.
40953         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40954         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40955         Move ENOSYS stub into and include it from...
40956         * socket/sendmmsg.c: ... this new file.
40957         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40958         (sysdep_routines): Move recvmmsg and sendmmsg...
40959         * socket/Makefile (routines): ... here.
40960         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40961         (GLIBC_PRIVATE): Add __sendmmsg.
40962         * include/sys/socket.h (__sendmmsg): Add declarations.
40963         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40964         sendmmsg.
40966 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40969         variable I1 with __attribute__ ((unused)).
40970         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40972 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40974         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40975         DUMMY variables with __attribute__ ((unused)).
40977         * bits/byteswap.h: Include <bits/types.h>.
40978         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40980 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40982         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40983         string_t.  Do not manually set errno.
40984         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40985         length with __strnlen.  Make sure to both set errno and return it on
40986         failure.
40988 2012-11-19  David S. Miller  <davem@davemloft.net>
40990         With help from Joseph Myers.
40991         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40992         very large arguments properly.
40993         * math/libm-test.inc (atan_test): New tests.
40994         (atan2_test): New tests.
40995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40998 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41000         [BZ #14856]
41001         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41002         Define to 3.
41004         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41005         [POSIX] (EADDRNOTAVAIL): Likewise.
41006         [POSIX] (EAFNOSUPPORT): Likewise.
41007         [POSIX] (EALREADY): Likewise.
41008         [POSIX] (ECONNABORTED): Likewise.
41009         [POSIX] (ECONNREFUSED): Likewise.
41010         [POSIX] (ECONNRESET): Likewise.
41011         [POSIX] (EDESTADDRREQ): Likewise.
41012         [POSIX] (EDQUOT): Likewise.
41013         [POSIX] (EHOSTUNREACH): Likewise.
41014         [POSIX] (EIDRM): Likewise.
41015         [POSIX] (EISCONN): Likewise.
41016         [POSIX] (ELOOP): Likewise.
41017         [POSIX] (EMULTIHOP): Likewise.
41018         [POSIX] (ENETDOWN): Likewise.
41019         [POSIX] (ENETUNREACH): Likewise.
41020         [POSIX] (ENOBUFS): Likewise.
41021         [POSIX] (ENODATA): Likewise.
41022         [POSIX] (ENOLINK): Likewise.
41023         [POSIX] (ENOMSG): Likewise.
41024         [POSIX] (ENOPROTOOPT): Likewise.
41025         [POSIX] (ENOSR): Likewise.
41026         [POSIX] (ENOSTR): Likewise.
41027         [POSIX] (ENOTCONN): Likewise.
41028         [POSIX] (ENOTSOCK): Likewise.
41029         [POSIX] (EOPNOTSUPP): Likewise.
41030         [POSIX] (EOVERFLOW): Likewise.
41031         [POSIX] (EPROTO): Likewise.
41032         [POSIX] (EPROTONOSUPPORT): Likewise.
41033         [POSIX] (EPROTOTYPE): Likewise.
41034         [POSIX] (ESTALE): Likewise.
41035         [POSIX] (ETIME): Likewise.
41036         [POSIX] (ETXTBSY): Likewise.
41037         [POSIX] (EWOULDBLOCK): Likewise.
41038         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41039         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41040         [POSIX] (SEEK_CUR): Likewise.
41041         [POSIX] (SEEK_END): Likewise.
41042         [POSIX || UNIX98] (mode_t): Do not require.
41043         [POSIX] (off_t): Likewise.
41044         [POSIX] (pid_t): Likewise.
41045         [POSIX] (sys/stat.h): Do not allow header.
41046         [POSIX] (unistd.h): Likewise.
41047         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41048         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41049         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41050         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41051         require.
41052         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41053         sigevent): Specify elements.
41054         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41055         entry.
41056         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41057         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41059         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41060         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41061         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41062         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41063         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41064         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41065         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41066         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41067         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41068         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41069         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41070         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41071         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41072         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41073         Likewise.
41074         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41075         Likewise.
41076         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41077         Likewise.
41078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41079         Likewise.
41080         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41081         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41083         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41084         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41085         Specify lower bound on value.
41086         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41087         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41088         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41089         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41090         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41091         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41092         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41093         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41094         value.
41095         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41096         as optional.
41097         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41098         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41099         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41100         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41101         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41102         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41103         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41104         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41105         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41106         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41107         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41108         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41109         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41110         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41111         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41112         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41113         entry.
41114         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41115         optional.
41116         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41117         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41118         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41119         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41120         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41121         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41122         Likewise.
41123         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41125         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41126         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41127         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41128         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41129         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41130         as optional.
41131         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41134         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41135         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41136         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41137         specify as optional.
41138         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41139         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41140         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41141         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41142         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41143         [XPG3] (NL_LANGMAX): Likewise.
41144         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41145         [POSIX || XPG3] (NL_NMAX): Likewise.
41146         [POSIX || XPG3] (NL_SETMAX): Likewise.
41147         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41148         [XPG3] (NZERO): Likewise.
41149         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41150         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41151         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41152         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41153         (REG_ERANGE): Expect.
41154         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41155         optional-constant.
41156         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41157         Use (void) in prototype.
41158         [POSIX] (*_t): Allow.
41159         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41160         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41161         (WRDE_BADVAL): Expect.
41163         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41164         expect.
41165         [XPG3 || XPG4] (O_RSYNC): Likewise.
41166         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41167         Likewise.
41168         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41169         [XPG3 || XPG4] (sigqueue): Likewise.
41170         [XPG3 || XPG4] (sigtimedwait): Likewise.
41171         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41172         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41173         [XPG3 || XPG4] (vsnprintf): Likewise.
41174         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41175         Likewise.
41176         [XPG3 || XPG4] (blksize_t): Likewise.
41177         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41178         Likewise.
41179         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41180         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41181         [XPG3 || XPG4] (struct itimerspec): Likewise.
41182         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41183         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41184         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41185         [XPG3 || XPG4] (clockid_t): Likewise.
41186         [XPG3 || XPG4] (timer_t): Likewise.
41187         [XPG3 || XPG4] (clock_getres): Likewise.
41188         [XPG3 || XPG4] (clock_gettime): Likewise.
41189         [XPG3 || XPG4] (clock_settime): Likewise.
41190         [XPG3 || XPG4] (nanosleep): Likewise.
41191         [XPG3 || XPG4] (timer_create): Likewise.
41192         [XPG3 || XPG4] (timer_delete): Likewise.
41193         [XPG3 || XPG4] (timer_gettime): Likewise.
41194         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41195         [XPG3 || XPG4] (timer_settime): Likewise.
41196         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41197         [XPG3 || XPG4] (getlogin_r): Likewise.
41198         [XPG3 || XPG4] (pread): Likewise.
41199         [XPG3 || XPG4] (pthread_atfork): Likewise.
41200         [XPG3 || XPG4] (pwrite): Likewise.
41202         [BZ #14835]
41203         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41204         <bits/siginfo.h>.
41206 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41208         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41209         finalizing MALLSTREAM.
41211         * sysdeps/mach/hurd/syncfs.c: New file.
41213 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41215         [BZ #14719]
41216         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41217         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41218         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41219         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41220         (_nss_dns_gethostbyname4_r): Likewise.
41221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41222         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41224 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41226         [BZ #13763]
41227         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41229 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41231         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41232         * elf/cache.c (print_entry): Print ",AArch64" for
41233         FLAG_AARCH64_LIB64
41235         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41236         * elf/cache.c (print_entry): Print ",hard-float" for
41237         FLAG_ARM_LIBHF.
41239 2012-11-18  David S. Miller  <davem@davemloft.net>
41241         With help from Joseph Myers.
41242         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41243         cutoff to 2**-13.
41244         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41245         cutoff to 2**-25.
41246         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41247         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41248         small.
41249         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41250         * math/libm-test.inc (y0_test): New tests.
41251         (y1_test): New tests.
41252         * sysdeps/i386/fpu/libm-test-ulps: Update.
41253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41256 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41258         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41259         64-bit targets.
41260         * configure: Regenerated.
41262 2012-11-17  David S. Miller  <davem@davemloft.net>
41264         [BZ #14811]
41265         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41266         nonzero exponents with absolute value below 0x1p-128 to +/-
41267         0x1p-128.
41269 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41271         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41273         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41275         * posix/getconf-speclist.c: New file.
41276         * posix/posix-envs.def: Likewise.
41277         * posix/confstr.c (START_ENV_GROUP): New macro.
41278         (END_ENV_GROUP): Likewise.
41279         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41280         (KNOWN_PRESENT_ENV_STRING): Likewise.
41281         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41282         (UNKNOWN_ENVIRONMENT): Likewise.
41283         (confstr): Include posix-envs.def instead of handling
41284         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41285         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41286         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41287         (END_ENV_GROUP): Likewise.
41288         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41289         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41290         (UNKNOWN_ENVIRONMENT): Likewise.
41291         (__sysconf): Include posix-envs.def instead of handling associated
41292         cases directly here.
41293         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41294         preprocessing getconf-speclist.c rather than running getconf or
41295         generating empty file.
41297 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41299         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41301 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41303         [BZ #14672]
41304         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41306 2012-11-16  David S. Miller  <davem@davemloft.net>
41308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41309         smaller than LDBL_EPSILON/2.0L, just return xm1.
41311 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41313         * elf/tst-array1.c (init): Set constructor priority to 1000.
41314         (fini): Set destructor priority to 1000.
41315         * elf/tst-array2dep.c: Likewise.
41317 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41319         [BZ #11741]
41320         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41321         (_IO_new_file_xsputn): Also return EOF if none of the input
41322         data was written when overflow failed.
41323         * libio/iopadn.c (_IO_padn): Likewise.
41324         * libio/iowpadn.c (_IO_wpadn): Likewise.
41325         * stdio-common/tst-put-error.c: Add copyright notice.
41326         (do_test): Add case for printing padded string.
41327         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41328         _IO_padn returned error.
41329         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41330         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41331         return EOF.
41333 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41335         * libio/libioP.h: Add comment note that the references to C++
41336         bits are now obsolete.
41338 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41340         * math/libm-test.inc (check_complex): Use asprintf.
41342 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41344         * debug/pcprofiledump.c (print_version): Update copyright year.
41345         * malloc/memusagestat.c (print_version): Likewise.
41347 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41349         [BZ #14831]
41350         * elf/Makefile (tests): Add tst-audit8.
41351         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41352         ($(objpfx)tst-audit8.out): New target.
41353         (tst-audit8-ENV): New variable.
41354         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41355         audit if l_reloc_result is NULL.
41356         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41357         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41358         * elf/tst-audit8.c: New file.
41360 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41362         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41363         * misc/Makefile (CFLAGS-select.c): Define.
41364         * posix/Makefile (CFLAGS-pause.c): Define.
41366 2012-11-13  David S. Miller  <davem@davemloft.net>
41368         * crypt/Makefile: Move test targets after toplevel Rules
41369         inclusion.  Grab any necessary sysdep routines when linking.
41370         * crypt/md5.c (md5_process_block): Remove define, we will always
41371         name it __md5_process_block.
41372         (md5_finish_ctx): Update md5_process_block call.
41373         (md5_stream): Likewise.
41374         (md5_process_bytes): Likewise.
41375         (md5_process_block): Rename to __md5_process_block and move to ...
41376         * crypt/md5-block.c: ... here.
41377         * crypt/sha256.c (sha256_process_block): Move to ...
41378         * crypt/sha256-block.c: ... here.
41379         * crypt/sha512.c (sha512_process_block): Move to ...
41380         * crypt/sha512-block.c: ... here.
41381         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41382         path.
41383         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41384         * sysdeps/sparc/sparc64/multiarch/Makefile
41385         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41386         crypt subdir.
41387         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41389         multiarch changes.
41390         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41391         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41392         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41393         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41394         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41395         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41396         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41397         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41398         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41399         file.
41400         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41402         file.
41403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41405 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41407         * timezone/tzselect.ksh: Update from tzcode git revision
41408         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41409         * timezone/zdump.c: Likewise.
41410         * timezone/zic.c: Likewise.
41411         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41412         in TZVERSION setting, not $(PKGVERSION).
41413         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41414         REPORT_BUGS_TO settings.
41416         [BZ #14838]
41417         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41418         macro.
41420 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41422         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41423         detection to immediately after _FP_ROUND().
41424         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41425         bits are 0.
41427 2012-11-11  David S. Miller  <davem@davemloft.net>
41429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41430         inttypes.h
41431         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41432         __close rather than their public counterparts.
41434 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41436         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41437         file.
41438         [UNIX98] (sem_timedwait): Do not expect.
41439         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41440         [XPG4 || UNIX98] (sockatmark): Do not expect.
41441         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41442         (clock_getcpuclockid): Do not expect.
41443         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41444         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41445         Do not expect.
41446         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41447         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41448         [UNIX98] (vwscanf): Likewise.
41449         [UNIX98] (vswscanf): Likewise.
41451 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41453         * timezone/version.h: Remove file.
41454         * timezone/README: Do not refer to version.h.
41455         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41456         $(objpfx)version.h.
41457         ($(objpfx)zdump.o): Likewise.
41458         ($(objpfx)version.h): New target.
41460         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41461         2012i.
41462         * timezone/README: Don't mention modification to tzselect.ksh.
41463         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41464         work on unmodified tzselect.ksh.  Substitute version numbers in
41465         tzselect.ksh.
41467         * Makefile (format-me): Remove.
41468         (INSTALL): Adjust indentation.  Use commands directly instead of
41469         using $(format-me).
41471         * aclocal.m4 (ACX_PKGVERSION): New macro.
41472         (ACX_BUGURL): Likewise.
41473         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41474         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41475         (REPORT_BUGS_TO): Likewise.
41476         * configure: Regenerated.
41477         * config.h.in (PKGVERSION): New macro.
41478         (REPORT_BUGS_TO): Likewise.
41479         * config.make.in (PKGVERSION): New variable.
41480         (PKGVERSION_TEXI): Likewise.
41481         (REPORT_BUGS_TO): Likewise.
41482         (REPORT_BUGS_TEXI): Likewise.
41483         * Makefile (format-me): Use -I$(common-objpfx)manual.
41484         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41485         ($(common-objpfx)manual/%): New target.
41486         (manual/%): Remove target.
41487         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41488         (print_version): Use PKGVERSION.
41489         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41490         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41491         and REPORT_BUGS_TO.
41492         ($(objpfx)xtrace): Likewise.
41493         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41494         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41495         (print_version): Use PKGVERSION.
41496         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41497         (do_version): Use PKGVERSION.
41498         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41499         REPORT_BUGS_TO.
41500         (common-ldd-rewrite): Likewise.
41501         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41502         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41503         (print_version): Use PKGVERSION.
41504         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41505         * elf/pldd.c (argp_program_bug_address): Remove variable.
41506         (more_help): New function.
41507         (argp): Use more_help.
41508         (print_version): Use PKGVERSION.
41509         * elf/sln.c (main): Use PKGVERSION.
41510         (usage): Use REPORT_BUGS_TO.
41511         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41512         (top level): Use PKGVERSION.
41513         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41514         (print_version): Use PKGVERSION.
41515         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41516         (print_version): Use PKGVERSION.
41517         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41518         (print_version): Use PKGVERSION.
41519         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41520         (print_version): Use PKGVERSION.
41521         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41522         (print_version): Use PKGVERSION.
41523         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41524         (print_version): Use PKGVERSION.
41525         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41526         and BUGURL.
41527         ($(objpfx)memusage): Likewise.
41528         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41529         (do_version): Use PKGVERSION.
41530         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41531         (print_version): Use PKGVERSION.
41532         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41533         ($PKGVERSION): New variable.
41534         ($REPORT_BUGS_TO): Likewise.
41535         (usage): Use $REPORT_BUGS_TO.
41536         (top level): Use $PKGVERSION.
41537         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41538         ($(objpfx)pkgvers.texi): New rule.
41539         ($(objpfx)stamp-pkgvers): Likewise.
41540         * manual/install.texi: Include pkgvers.texi.
41541         (--with-pkgversion): Document new configure option.
41542         (--with-bugurl): Likewise.
41543         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41544         than necessarily for this particular distribution.  Use
41545         REPORT_BUGS_TO for where to report bugs.
41546         * INSTALL: Regenerated.
41547         * manual/libc.texinfo: Include pkgvers.texi.
41548         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41549         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41550         (print_version): Use PKGVERSION.
41551         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41552         (print_version): Use PKGVERSION.
41553         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41554         (print_version): Use PKGVERSION.
41555         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41556         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41557         macro.
41558         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41559         (print_version): Use PKGVERSION.
41560         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41561         (print_version): Use PKGVERSION.
41562         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41563         and PKGVERSION.
41565         * timezone/checktab.awk: Update from tzcode 2012i.
41566         * timezone/ialloc.c: Likewise.
41567         * timezone/private.h: Likewise.
41568         * timezone/scheck.c: Likewise.
41569         * timezone/tzfile.h: Likewise.
41570         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41571         (TZVERSION): Hardcode tzcode version number.
41572         * timezone/zdump.c: Update from tzcode 2012i.
41573         * timezone/zic.c: Likewise.
41574         * timezone/version.h: New file.
41575         * timezone/README: Describe version.h.  Update upstream location.
41577         [BZ #14824]
41578         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41579         (mktemp): Enable declaration.
41580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41584         Likewise.
41585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41586         Likewise.
41587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41588         Likewise.
41589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41590         Likewise.
41591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41592         Likewise.
41593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41594         Likewise.
41596         [BZ #14821]
41597         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41598         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41599         for copies of such integer values.
41600         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41601         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41603 2012-11-09  Andreas Jaeger  <aj@suse.de>
41605         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41606         definitions and declarations that are provided by
41607         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41609 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41611         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41612         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41613         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41614         definition.
41616 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41618         * elf/elf.h: Update comment before AArch64 relocations.
41620 2012-11-07  David S. Miller  <davem@davemloft.net>
41622         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41623         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41624         (__start_context): Declare.
41625         (__makecontext_ret): Delete.
41626         (__makecontext): Hook up __start_context instead of
41627         __makecontext_ret.
41628         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41629         (sysdep_routines): Add __start_context when in stdlib.
41631 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41633         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41634         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41635         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41636         hardcoded "nm".
41637         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41638         (READELF): New variable.  Use it instead of hardcoded "readelf".
41640 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41642         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41643         * sysdeps/x86/Makefile: Here.
41644         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41645         * sysdeps/x86/tst-xmmymm.sh: This.
41647 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41649         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41650         expectations.
41651         [UNIX98] (pthread_barrier_t): Do not expect.
41652         [UNIX98] (pthread_barrierattr_t): Likewise.
41653         [UNIX98] (pthread_spinlock_t): Likewise.
41654         [UNIX98] (pthread_barrier_destroy): Likewise.
41655         [UNIX98] (pthread_barrier_init): Likewise.
41656         [UNIX98] (pthread_barrier_wait): Likewise.
41657         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41658         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41659         [UNIX98] (pthread_barrierattr_init): Likewise.
41660         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41661         [UNIX98] (pthread_getcpuclockid): Likewise.
41662         [UNIX98] (pthread_mutex_timedlock): Likewise.
41663         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41664         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41665         [UNIX98] (pthread_sigmask): Likewise.
41666         [UNIX98] (pthread_spin_destroy): Likewise.
41667         [UNIX98] (pthread_spin_init): Likewise.
41668         [UNIX98] (pthread_spin_lock): Likewise.
41669         [UNIX98] (pthread_spin_trylock): Likewise.
41670         [UNIX98] (pthread_spin_unlock): Likewise.
41671         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41672         Do not expect.
41673         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41674         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41675         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41676         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41677         [XPG3 || XPG4] (pthread_key_t): Likewise.
41678         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41679         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41680         [XPG3 || XPG4] (pthread_once_t): Likewise.
41681         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41682         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41683         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41684         [XPG3 || XPG4] (pthread_t): Likewise.
41686         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41687         not expect.
41688         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41690         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41691         Change function return type to int.
41693         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41694         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41695         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41696         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41697         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41698         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41699         [!POSIX] (posix_madvise): Likewise.
41700         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41701         && !UNIX98].
41702         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41703         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41704         (mode_t): Likewise.
41705         (posix_mem_offset): Likewise.
41706         (posix_typed_mem_get_info): Likewise.
41707         (posix_typed_mem_open): Likewise.
41709         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41710         Change condition to [XOPEN2K8].
41712         * conform/conformtest.pl: Preprocess allow-header data with -x c
41713         instead of from stdin.
41714         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41715         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41716         [C99-based standards] (cerfc): Likewise.
41717         [C99-based standards] (cexp2): Likewise.
41718         [C99-based standards] (cexpm1): Likewise.
41719         [C99-based standards] (clog10): Likewise.
41720         [C99-based standards] (clog1p): Likewise.
41721         [C99-based standards] (clog2): Likewise.
41722         [C99-based standards] (clgamma): Likewise.
41723         [C99-based standards] (ctgamma): Likewise.
41724         [C99-based standards] (cerff): Likewise.
41725         [C99-based standards] (cerfcf): Likewise.
41726         [C99-based standards] (cexp2f): Likewise.
41727         [C99-based standards] (cexpm1f): Likewise.
41728         [C99-based standards] (clog10f): Likewise.
41729         [C99-based standards] (clog1pf): Likewise.
41730         [C99-based standards] (clog2f): Likewise.
41731         [C99-based standards] (clgammaf): Likewise.
41732         [C99-based standards] (ctgammaf): Likewise.
41733         [C99-based standards] (cerfl): Likewise.
41734         [C99-based standards] (cerfcl): Likewise.
41735         [C99-based standards] (cexp2l): Likewise.
41736         [C99-based standards] (cexpm1l): Likewise.
41737         [C99-based standards] (clog10l): Likewise.
41738         [C99-based standards] (clog1pl): Likewise.
41739         [C99-based standards] (clog2l): Likewise.
41740         [C99-based standards] (clgammal): Likewise.
41741         [C99-based standards] (ctgammal): Likewise.
41742         * conform/data/inttypes.h-data [C99-based standards]: Include
41743         stdint.h-data.  Remove all expectations for stdint.h contents.
41744         [C99-based standards] (PRI*): Do not allow.
41745         [C99-based standards] (SCN*): Likewise.
41746         [C99-based standards] (*_t): Likewise.
41747         [C99-based-standards] (PRId8): Expect macro.
41748         [C99-based-standards] (PRIi8): Likewise.
41749         [C99-based-standards] (PRIo8): Likewise.
41750         [C99-based-standards] (PRIu8): Likewise.
41751         [C99-based-standards] (PRIx8): Likewise.
41752         [C99-based-standards] (PRIX8): Likewise.
41753         [C99-based-standards] (SCNd8): Likewise.
41754         [C99-based-standards] (SCNi8): Likewise.
41755         [C99-based-standards] (SCNo8): Likewise.
41756         [C99-based-standards] (SCNu8): Likewise.
41757         [C99-based-standards] (SCNx8): Likewise.
41758         [C99-based-standards] (PRIdLEAST8): Likewise.
41759         [C99-based-standards] (PRIiLEAST8): Likewise.
41760         [C99-based-standards] (PRIoLEAST8): Likewise.
41761         [C99-based-standards] (PRIuLEAST8): Likewise.
41762         [C99-based-standards] (PRIxLEAST8): Likewise.
41763         [C99-based-standards] (PRIXLEAST8): Likewise.
41764         [C99-based-standards] (SCNdLEAST8): Likewise.
41765         [C99-based-standards] (SCNiLEAST8): Likewise.
41766         [C99-based-standards] (SCNoLEAST8): Likewise.
41767         [C99-based-standards] (SCNuLEAST8): Likewise.
41768         [C99-based-standards] (SCNxLEAST8): Likewise.
41769         [C99-based-standards] (PRIdFAST8): Likewise.
41770         [C99-based-standards] (PRIiFAST8): Likewise.
41771         [C99-based-standards] (PRIoFAST8): Likewise.
41772         [C99-based-standards] (PRIuFAST8): Likewise.
41773         [C99-based-standards] (PRIxFAST8): Likewise.
41774         [C99-based-standards] (PRIXFAST8): Likewise.
41775         [C99-based-standards] (SCNdFAST8): Likewise.
41776         [C99-based-standards] (SCNiFAST8): Likewise.
41777         [C99-based-standards] (SCNoFAST8): Likewise.
41778         [C99-based-standards] (SCNuFAST8): Likewise.
41779         [C99-based-standards] (SCNxFAST8): Likewise.
41780         [C99-based-standards] (PRId16): Likewise.
41781         [C99-based-standards] (PRIi16): Likewise.
41782         [C99-based-standards] (PRIo16): Likewise.
41783         [C99-based-standards] (PRIu16): Likewise.
41784         [C99-based-standards] (PRIx16): Likewise.
41785         [C99-based-standards] (PRIX16): Likewise.
41786         [C99-based-standards] (SCNd16): Likewise.
41787         [C99-based-standards] (SCNi16): Likewise.
41788         [C99-based-standards] (SCNo16): Likewise.
41789         [C99-based-standards] (SCNu16): Likewise.
41790         [C99-based-standards] (SCNx16): Likewise.
41791         [C99-based-standards] (PRIdLEAST16): Likewise.
41792         [C99-based-standards] (PRIiLEAST16): Likewise.
41793         [C99-based-standards] (PRIoLEAST16): Likewise.
41794         [C99-based-standards] (PRIuLEAST16): Likewise.
41795         [C99-based-standards] (PRIxLEAST16): Likewise.
41796         [C99-based-standards] (PRIXLEAST16): Likewise.
41797         [C99-based-standards] (SCNdLEAST16): Likewise.
41798         [C99-based-standards] (SCNiLEAST16): Likewise.
41799         [C99-based-standards] (SCNoLEAST16): Likewise.
41800         [C99-based-standards] (SCNuLEAST16): Likewise.
41801         [C99-based-standards] (SCNxLEAST16): Likewise.
41802         [C99-based-standards] (PRIdFAST16): Likewise.
41803         [C99-based-standards] (PRIiFAST16): Likewise.
41804         [C99-based-standards] (PRIoFAST16): Likewise.
41805         [C99-based-standards] (PRIuFAST16): Likewise.
41806         [C99-based-standards] (PRIxFAST16): Likewise.
41807         [C99-based-standards] (PRIXFAST16): Likewise.
41808         [C99-based-standards] (SCNdFAST16): Likewise.
41809         [C99-based-standards] (SCNiFAST16): Likewise.
41810         [C99-based-standards] (SCNoFAST16): Likewise.
41811         [C99-based-standards] (SCNuFAST16): Likewise.
41812         [C99-based-standards] (SCNxFAST16): Likewise.
41813         [C99-based-standards] (PRId32): Likewise.
41814         [C99-based-standards] (PRIi32): Likewise.
41815         [C99-based-standards] (PRIo32): Likewise.
41816         [C99-based-standards] (PRIu32): Likewise.
41817         [C99-based-standards] (PRIx32): Likewise.
41818         [C99-based-standards] (PRIX32): Likewise.
41819         [C99-based-standards] (SCNd32): Likewise.
41820         [C99-based-standards] (SCNi32): Likewise.
41821         [C99-based-standards] (SCNo32): Likewise.
41822         [C99-based-standards] (SCNu32): Likewise.
41823         [C99-based-standards] (SCNx32): Likewise.
41824         [C99-based-standards] (PRIdLEAST32): Likewise.
41825         [C99-based-standards] (PRIiLEAST32): Likewise.
41826         [C99-based-standards] (PRIoLEAST32): Likewise.
41827         [C99-based-standards] (PRIuLEAST32): Likewise.
41828         [C99-based-standards] (PRIxLEAST32): Likewise.
41829         [C99-based-standards] (PRIXLEAST32): Likewise.
41830         [C99-based-standards] (SCNdLEAST32): Likewise.
41831         [C99-based-standards] (SCNiLEAST32): Likewise.
41832         [C99-based-standards] (SCNoLEAST32): Likewise.
41833         [C99-based-standards] (SCNuLEAST32): Likewise.
41834         [C99-based-standards] (SCNxLEAST32): Likewise.
41835         [C99-based-standards] (PRIdFAST32): Likewise.
41836         [C99-based-standards] (PRIiFAST32): Likewise.
41837         [C99-based-standards] (PRIoFAST32): Likewise.
41838         [C99-based-standards] (PRIuFAST32): Likewise.
41839         [C99-based-standards] (PRIxFAST32): Likewise.
41840         [C99-based-standards] (PRIXFAST32): Likewise.
41841         [C99-based-standards] (SCNdFAST32): Likewise.
41842         [C99-based-standards] (SCNiFAST32): Likewise.
41843         [C99-based-standards] (SCNoFAST32): Likewise.
41844         [C99-based-standards] (SCNuFAST32): Likewise.
41845         [C99-based-standards] (SCNxFAST32): Likewise.
41846         [C99-based-standards] (PRId64): Likewise.
41847         [C99-based-standards] (PRIi64): Likewise.
41848         [C99-based-standards] (PRIo64): Likewise.
41849         [C99-based-standards] (PRIu64): Likewise.
41850         [C99-based-standards] (PRIx64): Likewise.
41851         [C99-based-standards] (PRIX64): Likewise.
41852         [C99-based-standards] (SCNd64): Likewise.
41853         [C99-based-standards] (SCNi64): Likewise.
41854         [C99-based-standards] (SCNo64): Likewise.
41855         [C99-based-standards] (SCNu64): Likewise.
41856         [C99-based-standards] (SCNx64): Likewise.
41857         [C99-based-standards] (PRIdLEAST64): Likewise.
41858         [C99-based-standards] (PRIiLEAST64): Likewise.
41859         [C99-based-standards] (PRIoLEAST64): Likewise.
41860         [C99-based-standards] (PRIuLEAST64): Likewise.
41861         [C99-based-standards] (PRIxLEAST64): Likewise.
41862         [C99-based-standards] (PRIXLEAST64): Likewise.
41863         [C99-based-standards] (SCNdLEAST64): Likewise.
41864         [C99-based-standards] (SCNiLEAST64): Likewise.
41865         [C99-based-standards] (SCNoLEAST64): Likewise.
41866         [C99-based-standards] (SCNuLEAST64): Likewise.
41867         [C99-based-standards] (SCNxLEAST64): Likewise.
41868         [C99-based-standards] (PRIdFAST64): Likewise.
41869         [C99-based-standards] (PRIiFAST64): Likewise.
41870         [C99-based-standards] (PRIoFAST64): Likewise.
41871         [C99-based-standards] (PRIuFAST64): Likewise.
41872         [C99-based-standards] (PRIxFAST64): Likewise.
41873         [C99-based-standards] (PRIXFAST64): Likewise.
41874         [C99-based-standards] (SCNdFAST64): Likewise.
41875         [C99-based-standards] (SCNiFAST64): Likewise.
41876         [C99-based-standards] (SCNoFAST64): Likewise.
41877         [C99-based-standards] (SCNuFAST64): Likewise.
41878         [C99-based-standards] (SCNxFAST64): Likewise.
41879         [C99-based-standards] (PRIdMAX): Likewise.
41880         [C99-based-standards] (PRIiMAX): Likewise.
41881         [C99-based-standards] (PRIoMAX): Likewise.
41882         [C99-based-standards] (PRIuMAX): Likewise.
41883         [C99-based-standards] (PRIxMAX): Likewise.
41884         [C99-based-standards] (PRIXMAX): Likewise.
41885         [C99-based-standards] (SCNdMAX): Likewise.
41886         [C99-based-standards] (SCNiMAX): Likewise.
41887         [C99-based-standards] (SCNoMAX): Likewise.
41888         [C99-based-standards] (SCNuMAX): Likewise.
41889         [C99-based-standards] (SCNxMAX): Likewise.
41890         [C99-based-standards] (PRIdPTR): Likewise.
41891         [C99-based-standards] (PRIiPTR): Likewise.
41892         [C99-based-standards] (PRIoPTR): Likewise.
41893         [C99-based-standards] (PRIuPTR): Likewise.
41894         [C99-based-standards] (PRIxPTR): Likewise.
41895         [C99-based-standards] (PRIXPTR): Likewise.
41896         [C99-based-standards] (SCNdPTR): Likewise.
41897         [C99-based-standards] (SCNiPTR): Likewise.
41898         [C99-based-standards] (SCNoPTR): Likewise.
41899         [C99-based-standards] (SCNuPTR): Likewise.
41900         [C99-based-standards] (SCNxPTR): Likewise.
41901         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41902         allow.
41903         * conform/data/stdint.h-data: Update comments to clarify
41904         requirements.
41905         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41906         type.
41907         [C99-based standards] (INT8_MAX): Likewise.
41908         [C99-based standards] (INT16_MIN): Likewise.
41909         [C99-based standards] (INT16_MAX): Likewise.
41910         [C99-based standards] (INT32_MIN): Likewise.
41911         [C99-based standards] (INT32_MAX): Likewise.
41912         [C99-based standards] (INT64_MIN): Likewise.
41913         [C99-based standards] (INT64_MAX): Likewise.
41914         [C99-based standards] (UINT8_MAX): Likewise.
41915         [C99-based standards] (UINT16_MAX): Likewise.
41916         [C99-based standards] (UINT32_MAX): Likewise.
41917         [C99-based standards] (UINT64_MAX): Likewise.
41918         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41919         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41920         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41921         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41922         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41923         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41924         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41925         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41926         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41927         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41928         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41929         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41930         [C99-based standards] (INT_FAST8_MIN): Likewise.
41931         [C99-based standards] (INT_FAST8_MAX): Likewise.
41932         [C99-based standards] (INT_FAST16_MIN): Likewise.
41933         [C99-based standards] (INT_FAST16_MAX): Likewise.
41934         [C99-based standards] (INT_FAST32_MIN): Likewise.
41935         [C99-based standards] (INT_FAST32_MAX): Likewise.
41936         [C99-based standards] (INT_FAST64_MIN): Likewise.
41937         [C99-based standards] (INT_FAST64_MAX): Likewise.
41938         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41939         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41940         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41941         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41942         [C99-based standards] (INTPTR_MIN): Likewise.
41943         [C99-based standards] (INTPTR_MAX): Likewise.
41944         [C99-based standards] (UINTPTR_MAX): Likewise.
41945         [C99-based standards] (INTMAX_MIN): Likewise.
41946         [C99-based standards] (INTMAX_MAX): Likewise.
41947         [C99-based standards] (UINTMAX_MAX): Likewise.
41948         [C99-based standards] (PTRDIFF_MIN): Likewise.
41949         [C99-based standards] (PTRDIFF_MAX): Likewise.
41950         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41951         [C99-based standards] (SIZE_MAX): Likewise.
41952         [C99-based standards] (WCHAR_MAX): Likewise.
41953         [C99-based standards] (WINT_MAX): Likewise.
41954         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41955         constraint on value.
41956         [C99-based standards] (WCHAR_MIN): Likewise.
41957         [C99-based standards] (WINT_MIN): Likewise.
41958         [C99-based standards] (*_t): Allow.
41959         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41960         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41961         Include math.h-data and complex.h-data.  Remove all expectations
41962         of math.h and complex.h contents.
41963         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41964         at end of line.
41965         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41966         (struct tm): Expect tag.
41967         [C99-based-standards] (wcstof): Expect function.
41968         [C99-based-standards] (wcstold): Likewise.
41969         [C99-based-standards] (wcstoll): Likewise.
41970         [C99-based-standards] (wcstoull): Likewise.
41971         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41972         macro-int-constant.  Specify type.
41973         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41974         constraint on value.
41975         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41976         Specify type.
41977         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41978         Specify value.
41979         [ISO C standards]: Do not allow headers.
41980         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41981         wcs[abcdefghijklmnopqrstuvwxyz]*.
41982         [ISO C standards] (*_t): Do not allow.
41983         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41984         Expect function.
41985         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41986         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41987         Specify type.
41988         [ISO C standards]: Do not allow headers.
41989         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41990         is[abcdefghijklmnopqrstuvwxyz]*.
41991         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41992         to[abcdefghijklmnopqrstuvwxyz]*.
41993         [ISO C standards] (*_t): Do not allow.
41994         * conform/data/stdalign.h-data: New file.
41995         * conform/data/stdbool.h-data: Likewise.
41996         * conform/data/stdnoreturn.h-data: Likewise.
41998 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42000         [BZ #14815]
42001         * manual/filesys.texi (Directory Entries): Typo fix.
42002         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42004 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42006         * elf/elf.h (EM_AARCH64): New macro.
42007         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42008         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42009         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42010         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42011         (R_AARCH64_TLSDESC): Likewise.
42012         (NT_ARM_TLS): Likewise.
42013         (NT_ARM_HW_BREAK): Likewise.
42014         (NT_ARM_HW_WATCH): Likewise.
42016 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42018         [BZ #14811]
42019         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42020         (__ieee754_powl): Saturate nonzero exponents with absolute value
42021         below 0x1p-79 to +/- 0x1p-79.
42022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42023         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42024         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42025         nonzero exponents with absolute value below 0x1p-32 to +/-
42026         0x1p-32.
42027         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42028         (__ieee754_powl): Saturate nonzero exponents with absolute value
42029         below 0x1p-79 to +/- 0x1p-79.
42030         * math/libm-test.inc (pow_test): Add more tests.
42032 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42034         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42035         _dl_s390_cap_flags with kernel. Increase string length.
42036         (_dl_s390_platforms): Add z196 and zEC12.
42038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42040         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42041         Change XOPEN21K to XOPEN2K.
42043 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42045         * string/memmove.c: Use memcpy when possible.
42047 2012-11-06  Andreas Jaeger  <aj@suse.de>
42049         * po/eo.po: Update from translation team.
42051 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42053         [BZ #14793]
42054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42055         exponent and small x and y exponents, scale x or y up.  Increase
42056         by 2 the exponent used in scaling up.
42057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42059         * math/libm-test.inc (fma_test): Add more tests.
42060         (fma_test_towardzero): Likewise.
42061         (fma_test_downward): Likewise.
42062         (fma_test_upward): Likewise.
42064 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42066         [BZ #14805]
42067         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42068         fenv_t *.
42070         [BZ #14801]
42071         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42072         namespace for names of struct fields.
42073         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42074         fenv_t fields.
42075         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42076         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42078 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42080         [BZ #3665]
42081         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42083 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42085         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42086         PTR_DEMANGLE.
42088         [BZ #5246]
42089         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42090         PTR_DEMANGLE.
42092 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42094         [BZ #14797]
42095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42096         definitely overflow as x * y not x * y + z.
42097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42099         * math/libm-test.inc (fma_test): Add more tests.
42100         (fma_test_towardzero): Likewise.
42101         (fma_test_downward): Likewise.
42102         (fma_test_upward): Likewise.
42104 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42106         [BZ #157]
42108         * include/stub-tag.h: Remove file.
42109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42110         '#include' of it.
42111         * manual/maint.texi (Porting): Don't reference it.
42112         * Makerules ($(objpfx)stubs): Likewise.
42113         * dirent/closedir.c: Don't include <stub-tag.h>.
42114         * dirent/dirfd.c: Likewise.
42115         * dirent/fdopendir.c: Likewise.
42116         * dirent/getdents.c: Likewise.
42117         * dirent/getdents64.c: Likewise.
42118         * dirent/opendir.c: Likewise.
42119         * dirent/readdir.c: Likewise.
42120         * dirent/readdir64.c: Likewise.
42121         * dirent/readdir64_r.c: Likewise.
42122         * dirent/readdir_r.c: Likewise.
42123         * dirent/rewinddir.c: Likewise.
42124         * dirent/seekdir.c: Likewise.
42125         * dirent/telldir.c: Likewise.
42126         * gmon/profil.c: Likewise.
42127         * grp/setgroups.c: Likewise.
42128         * inet/if_index.c: Likewise.
42129         * io/access.c: Likewise.
42130         * io/chdir.c: Likewise.
42131         * io/chmod.c: Likewise.
42132         * io/chown.c: Likewise.
42133         * io/close.c: Likewise.
42134         * io/dup.c: Likewise.
42135         * io/dup2.c: Likewise.
42136         * io/dup3.c: Likewise.
42137         * io/euidaccess.c: Likewise.
42138         * io/faccessat.c: Likewise.
42139         * io/fchdir.c: Likewise.
42140         * io/fchmod.c: Likewise.
42141         * io/fchmodat.c: Likewise.
42142         * io/fchown.c: Likewise.
42143         * io/fchownat.c: Likewise.
42144         * io/fcntl.c: Likewise.
42145         * io/flock.c: Likewise.
42146         * io/fstatfs.c: Likewise.
42147         * io/fstatfs64.c: Likewise.
42148         * io/fstatvfs.c: Likewise.
42149         * io/fstatvfs64.c: Likewise.
42150         * io/futimens.c: Likewise.
42151         * io/fxstat.c: Likewise.
42152         * io/fxstat64.c: Likewise.
42153         * io/fxstatat.c: Likewise.
42154         * io/fxstatat64.c: Likewise.
42155         * io/getcwd.c: Likewise.
42156         * io/isatty.c: Likewise.
42157         * io/lchmod.c: Likewise.
42158         * io/lchown.c: Likewise.
42159         * io/link.c: Likewise.
42160         * io/linkat.c: Likewise.
42161         * io/lseek.c: Likewise.
42162         * io/lseek64.c: Likewise.
42163         * io/lxstat64.c: Likewise.
42164         * io/mkdir.c: Likewise.
42165         * io/mkdirat.c: Likewise.
42166         * io/mkfifo.c: Likewise.
42167         * io/mkfifoat.c: Likewise.
42168         * io/open.c: Likewise.
42169         * io/open64.c: Likewise.
42170         * io/openat.c: Likewise.
42171         * io/openat64.c: Likewise.
42172         * io/pipe.c: Likewise.
42173         * io/pipe2.c: Likewise.
42174         * io/poll.c: Likewise.
42175         * io/posix_fadvise.c: Likewise.
42176         * io/posix_fadvise64.c: Likewise.
42177         * io/posix_fallocate.c: Likewise.
42178         * io/posix_fallocate64.c: Likewise.
42179         * io/read.c: Likewise.
42180         * io/readlink.c: Likewise.
42181         * io/readlinkat.c: Likewise.
42182         * io/rmdir.c: Likewise.
42183         * io/sendfile.c: Likewise.
42184         * io/sendfile64.c: Likewise.
42185         * io/statfs.c: Likewise.
42186         * io/statfs64.c: Likewise.
42187         * io/statvfs.c: Likewise.
42188         * io/statvfs64.c: Likewise.
42189         * io/symlink.c: Likewise.
42190         * io/symlinkat.c: Likewise.
42191         * io/ttyname.c: Likewise.
42192         * io/ttyname_r.c: Likewise.
42193         * io/umask.c: Likewise.
42194         * io/unlink.c: Likewise.
42195         * io/unlinkat.c: Likewise.
42196         * io/utime.c: Likewise.
42197         * io/utimensat.c: Likewise.
42198         * io/write.c: Likewise.
42199         * io/xmknod.c: Likewise.
42200         * io/xmknodat.c: Likewise.
42201         * io/xstat.c: Likewise.
42202         * io/xstat64.c: Likewise.
42203         * login/getpt.c: Likewise.
42204         * login/grantpt.c: Likewise.
42205         * login/unlockpt.c: Likewise.
42206         * math/e_acoshl.c: Likewise.
42207         * math/e_acosl.c: Likewise.
42208         * math/e_asinl.c: Likewise.
42209         * math/e_atan2l.c: Likewise.
42210         * math/e_atanhl.c: Likewise.
42211         * math/e_coshl.c: Likewise.
42212         * math/e_expl.c: Likewise.
42213         * math/e_fmodl.c: Likewise.
42214         * math/e_gammal_r.c: Likewise.
42215         * math/e_hypotl.c: Likewise.
42216         * math/e_j0l.c: Likewise.
42217         * math/e_j1l.c: Likewise.
42218         * math/e_jnl.c: Likewise.
42219         * math/e_lgammal_r.c: Likewise.
42220         * math/e_log10l.c: Likewise.
42221         * math/e_log2l.c: Likewise.
42222         * math/e_logl.c: Likewise.
42223         * math/e_powl.c: Likewise.
42224         * math/e_rem_pio2l.c: Likewise.
42225         * math/e_sinhl.c: Likewise.
42226         * math/e_sqrtl.c: Likewise.
42227         * math/fclrexcpt.c: Likewise.
42228         * math/fedisblxcpt.c: Likewise.
42229         * math/feenablxcpt.c: Likewise.
42230         * math/fegetenv.c: Likewise.
42231         * math/fegetexcept.c: Likewise.
42232         * math/fegetround.c: Likewise.
42233         * math/feholdexcpt.c: Likewise.
42234         * math/fesetenv.c: Likewise.
42235         * math/fesetround.c: Likewise.
42236         * math/feupdateenv.c: Likewise.
42237         * math/fgetexcptflg.c: Likewise.
42238         * math/fraiseexcpt.c: Likewise.
42239         * math/fsetexcptflg.c: Likewise.
42240         * math/ftestexcept.c: Likewise.
42241         * math/k_cosl.c: Likewise.
42242         * math/k_rem_pio2l.c: Likewise.
42243         * math/k_sinl.c: Likewise.
42244         * math/k_tanl.c: Likewise.
42245         * math/s_asinhl.c: Likewise.
42246         * math/s_atanl.c: Likewise.
42247         * math/s_cbrtl.c: Likewise.
42248         * math/s_erfl.c: Likewise.
42249         * math/s_expm1l.c: Likewise.
42250         * math/s_log1pl.c: Likewise.
42251         * math/s_tanhl.c: Likewise.
42252         * misc/acct.c: Likewise.
42253         * misc/brk.c: Likewise.
42254         * misc/chflags.c: Likewise.
42255         * misc/chroot.c: Likewise.
42256         * misc/fchflags.c: Likewise.
42257         * misc/fgetxattr.c: Likewise.
42258         * misc/flistxattr.c: Likewise.
42259         * misc/fremovexattr.c: Likewise.
42260         * misc/fsetxattr.c: Likewise.
42261         * misc/fsync.c: Likewise.
42262         * misc/ftruncate.c: Likewise.
42263         * misc/futimes.c: Likewise.
42264         * misc/futimesat.c: Likewise.
42265         * misc/getdomain.c: Likewise.
42266         * misc/getdtsz.c: Likewise.
42267         * misc/gethostid.c: Likewise.
42268         * misc/gethostname.c: Likewise.
42269         * misc/getloadavg.c: Likewise.
42270         * misc/getpagesize.c: Likewise.
42271         * misc/getsysstats.c: Likewise.
42272         * misc/getxattr.c: Likewise.
42273         * misc/gtty.c: Likewise.
42274         * misc/ioctl.c: Likewise.
42275         * misc/lgetxattr.c: Likewise.
42276         * misc/listxattr.c: Likewise.
42277         * misc/llistxattr.c: Likewise.
42278         * misc/lremovexattr.c: Likewise.
42279         * misc/lsetxattr.c: Likewise.
42280         * misc/lutimes.c: Likewise.
42281         * misc/madvise.c: Likewise.
42282         * misc/mincore.c: Likewise.
42283         * misc/mlock.c: Likewise.
42284         * misc/mlockall.c: Likewise.
42285         * misc/mmap.c: Likewise.
42286         * misc/mprotect.c: Likewise.
42287         * misc/msync.c: Likewise.
42288         * misc/munlock.c: Likewise.
42289         * misc/munlockall.c: Likewise.
42290         * misc/munmap.c: Likewise.
42291         * misc/preadv.c: Likewise.
42292         * misc/preadv64.c: Likewise.
42293         * misc/ptrace.c: Likewise.
42294         * misc/pwritev.c: Likewise.
42295         * misc/pwritev64.c: Likewise.
42296         * misc/readv.c: Likewise.
42297         * misc/reboot.c: Likewise.
42298         * misc/remap_file_pages.c: Likewise.
42299         * misc/removexattr.c: Likewise.
42300         * misc/revoke.c: Likewise.
42301         * misc/select.c: Likewise.
42302         * misc/setdomain.c: Likewise.
42303         * misc/setegid.c: Likewise.
42304         * misc/seteuid.c: Likewise.
42305         * misc/sethostid.c: Likewise.
42306         * misc/sethostname.c: Likewise.
42307         * misc/setregid.c: Likewise.
42308         * misc/setreuid.c: Likewise.
42309         * misc/setxattr.c: Likewise.
42310         * misc/sstk.c: Likewise.
42311         * misc/stty.c: Likewise.
42312         * misc/swapoff.c: Likewise.
42313         * misc/swapon.c: Likewise.
42314         * misc/sync.c: Likewise.
42315         * misc/syncfs.c: Likewise.
42316         * misc/syscall.c: Likewise.
42317         * misc/truncate.c: Likewise.
42318         * misc/ualarm.c: Likewise.
42319         * misc/usleep.c: Likewise.
42320         * misc/ustat.c: Likewise.
42321         * misc/utimes.c: Likewise.
42322         * misc/vhangup.c: Likewise.
42323         * misc/writev.c: Likewise.
42324         * posix/_exit.c: Likewise.
42325         * posix/alarm.c: Likewise.
42326         * posix/execve.c: Likewise.
42327         * posix/fexecve.c: Likewise.
42328         * posix/fork.c: Likewise.
42329         * posix/fpathconf.c: Likewise.
42330         * posix/getaddrinfo.c: Likewise.
42331         * posix/getegid.c: Likewise.
42332         * posix/geteuid.c: Likewise.
42333         * posix/getgid.c: Likewise.
42334         * posix/getgroups.c: Likewise.
42335         * posix/getlogin.c: Likewise.
42336         * posix/getlogin_r.c: Likewise.
42337         * posix/getpgid.c: Likewise.
42338         * posix/getpid.c: Likewise.
42339         * posix/getppid.c: Likewise.
42340         * posix/getresgid.c: Likewise.
42341         * posix/getresuid.c: Likewise.
42342         * posix/getsid.c: Likewise.
42343         * posix/getuid.c: Likewise.
42344         * posix/glob64.c: Likewise.
42345         * posix/nanosleep.c: Likewise.
42346         * posix/pathconf.c: Likewise.
42347         * posix/pause.c: Likewise.
42348         * posix/posix_madvise.c: Likewise.
42349         * posix/pread.c: Likewise.
42350         * posix/pread64.c: Likewise.
42351         * posix/pwrite.c: Likewise.
42352         * posix/pwrite64.c: Likewise.
42353         * posix/sched_getaffinity.c: Likewise.
42354         * posix/sched_getp.c: Likewise.
42355         * posix/sched_gets.c: Likewise.
42356         * posix/sched_primax.c: Likewise.
42357         * posix/sched_primin.c: Likewise.
42358         * posix/sched_rr_gi.c: Likewise.
42359         * posix/sched_setaffinity.c: Likewise.
42360         * posix/sched_setp.c: Likewise.
42361         * posix/sched_sets.c: Likewise.
42362         * posix/sched_yield.c: Likewise.
42363         * posix/setgid.c: Likewise.
42364         * posix/setlogin.c: Likewise.
42365         * posix/setpgid.c: Likewise.
42366         * posix/setresgid.c: Likewise.
42367         * posix/setresuid.c: Likewise.
42368         * posix/setsid.c: Likewise.
42369         * posix/setuid.c: Likewise.
42370         * posix/sleep.c: Likewise.
42371         * posix/spawni.c: Likewise.
42372         * posix/sysconf.c: Likewise.
42373         * posix/times.c: Likewise.
42374         * posix/wait.c: Likewise.
42375         * posix/wait3.c: Likewise.
42376         * posix/wait4.c: Likewise.
42377         * posix/waitpid.c: Likewise.
42378         * resolv/gai_sigqueue.c: Likewise.
42379         * resource/getpriority.c: Likewise.
42380         * resource/getrlimit.c: Likewise.
42381         * resource/getrusage.c: Likewise.
42382         * resource/nice.c: Likewise.
42383         * resource/setpriority.c: Likewise.
42384         * resource/setrlimit.c: Likewise.
42385         * resource/ulimit.c: Likewise.
42386         * rt/aio_cancel.c: Likewise.
42387         * rt/aio_fsync.c: Likewise.
42388         * rt/aio_read.c: Likewise.
42389         * rt/aio_sigqueue.c: Likewise.
42390         * rt/aio_suspend.c: Likewise.
42391         * rt/aio_write.c: Likewise.
42392         * rt/clock_getres.c: Likewise.
42393         * rt/clock_gettime.c: Likewise.
42394         * rt/clock_nanosleep.c: Likewise.
42395         * rt/clock_settime.c: Likewise.
42396         * rt/lio_listio.c: Likewise.
42397         * rt/mq_close.c: Likewise.
42398         * rt/mq_getattr.c: Likewise.
42399         * rt/mq_notify.c: Likewise.
42400         * rt/mq_open.c: Likewise.
42401         * rt/mq_receive.c: Likewise.
42402         * rt/mq_send.c: Likewise.
42403         * rt/mq_setattr.c: Likewise.
42404         * rt/mq_timedreceive.c: Likewise.
42405         * rt/mq_timedsend.c: Likewise.
42406         * rt/mq_unlink.c: Likewise.
42407         * rt/shm_open.c: Likewise.
42408         * rt/shm_unlink.c: Likewise.
42409         * rt/timer_create.c: Likewise.
42410         * rt/timer_delete.c: Likewise.
42411         * rt/timer_getoverr.c: Likewise.
42412         * rt/timer_gettime.c: Likewise.
42413         * rt/timer_settime.c: Likewise.
42414         * setjmp/__longjmp.c: Likewise.
42415         * setjmp/setjmp.c: Likewise.
42416         * signal/kill.c: Likewise.
42417         * signal/killpg.c: Likewise.
42418         * signal/raise.c: Likewise.
42419         * signal/sigaction.c: Likewise.
42420         * signal/sigaltstack.c: Likewise.
42421         * signal/sigblock.c: Likewise.
42422         * signal/sigignore.c: Likewise.
42423         * signal/sigintr.c: Likewise.
42424         * signal/signal.c: Likewise.
42425         * signal/sigpause.c: Likewise.
42426         * signal/sigpending.c: Likewise.
42427         * signal/sigqueue.c: Likewise.
42428         * signal/sigreturn.c: Likewise.
42429         * signal/sigset.c: Likewise.
42430         * signal/sigsetmask.c: Likewise.
42431         * signal/sigstack.c: Likewise.
42432         * signal/sigsuspend.c: Likewise.
42433         * signal/sigtimedwait.c: Likewise.
42434         * signal/sigvec.c: Likewise.
42435         * signal/sigwait.c: Likewise.
42436         * signal/sigwaitinfo.c: Likewise.
42437         * signal/sysv_signal.c: Likewise.
42438         * socket/accept.c: Likewise.
42439         * socket/accept4.c: Likewise.
42440         * socket/bind.c: Likewise.
42441         * socket/connect.c: Likewise.
42442         * socket/getpeername.c: Likewise.
42443         * socket/getsockname.c: Likewise.
42444         * socket/getsockopt.c: Likewise.
42445         * socket/isfdtype.c: Likewise.
42446         * socket/listen.c: Likewise.
42447         * socket/recv.c: Likewise.
42448         * socket/recvfrom.c: Likewise.
42449         * socket/recvmsg.c: Likewise.
42450         * socket/send.c: Likewise.
42451         * socket/sendmsg.c: Likewise.
42452         * socket/sendto.c: Likewise.
42453         * socket/setsockopt.c: Likewise.
42454         * socket/shutdown.c: Likewise.
42455         * socket/sockatmark.c: Likewise.
42456         * socket/socket.c: Likewise.
42457         * socket/socketpair.c: Likewise.
42458         * stdio-common/ctermid.c: Likewise.
42459         * stdio-common/cuserid.c: Likewise.
42460         * stdio-common/remove.c: Likewise.
42461         * stdio-common/rename.c: Likewise.
42462         * stdio-common/renameat.c: Likewise.
42463         * stdio-common/tempname.c: Likewise.
42464         * stdlib/getcontext.c: Likewise.
42465         * stdlib/makecontext.c: Likewise.
42466         * stdlib/setcontext.c: Likewise.
42467         * stdlib/swapcontext.c: Likewise.
42468         * stdlib/system.c: Likewise.
42469         * streams/fattach.c: Likewise.
42470         * streams/fdetach.c: Likewise.
42471         * streams/getmsg.c: Likewise.
42472         * streams/getpmsg.c: Likewise.
42473         * streams/putmsg.c: Likewise.
42474         * streams/putpmsg.c: Likewise.
42475         * sysdeps/unix/bsd/getpt.c: Likewise.
42476         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42477         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42478         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42480         Likewise.
42481         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42482         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42483         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42484         * sysvipc/msgctl.c: Likewise.
42485         * sysvipc/msgget.c: Likewise.
42486         * sysvipc/msgrcv.c: Likewise.
42487         * sysvipc/msgsnd.c: Likewise.
42488         * sysvipc/semctl.c: Likewise.
42489         * sysvipc/semget.c: Likewise.
42490         * sysvipc/semop.c: Likewise.
42491         * sysvipc/semtimedop.c: Likewise.
42492         * sysvipc/shmat.c: Likewise.
42493         * sysvipc/shmctl.c: Likewise.
42494         * sysvipc/shmdt.c: Likewise.
42495         * sysvipc/shmget.c: Likewise.
42496         * termios/tcdrain.c: Likewise.
42497         * termios/tcflow.c: Likewise.
42498         * termios/tcflush.c: Likewise.
42499         * termios/tcgetattr.c: Likewise.
42500         * termios/tcgetpgrp.c: Likewise.
42501         * termios/tcsendbrk.c: Likewise.
42502         * termios/tcsetattr.c: Likewise.
42503         * termios/tcsetpgrp.c: Likewise.
42504         * time/adjtime.c: Likewise.
42505         * time/clock.c: Likewise.
42506         * time/getitimer.c: Likewise.
42507         * time/gettimeofday.c: Likewise.
42508         * time/setitimer.c: Likewise.
42509         * time/settimeofday.c: Likewise.
42510         * time/stime.c: Likewise.
42511         * time/time.c: Likewise.
42513 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42515         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42516         /usr/old/bin.
42518         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42519         instead of spaces.
42520         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42522 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42524         [BZ #14796]
42525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42526         FE_TONEAREST before applying Dekker multiplication and Knuth
42527         addition.  Clear inexact exceptions and check for exact zero
42528         results afterwards.
42529         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42530         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42532         * math/libm-test.inc (fma_test): Add more tests.
42533         (fma_test_towardzero): Likewise.
42534         (fma_test_downward): Likewise.
42535         (fma_test_upward): Likewise.
42536         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42537         function.
42538         (libc_fesetround): New macro.
42539         (libc_fesetroundf): Likewise.
42540         (libc_fesetroundl): Likewise.
42541         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42542         function.
42543         (libc_fesetround_387): Likewise.
42544         (libc_fesetroundf): New macro.
42545         (libc_fesetround): Likewise.
42546         (libc_fesetroundl): Likewise.
42547         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42548         function.
42549         (libc_fesetroundf): New macro.
42550         (libc_fesetround): Likewise.
42551         (libc_fesetroundl): Likewise.
42552         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42553         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42554         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42555         libm_hidden_ver.
42556         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42557         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42558         libm_hidden_def.
42559         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42560         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42561         libm_hidden_ver.
42562         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42563         libm_hidden_def.
42565         [BZ #3439]
42566         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42567         integer constant usable in #if and use that to give value to enum
42568         constant.
42569         (FE_DIVBYZERO): Likewise.
42570         (FE_UNDERFLOW): Likewise.
42571         (FE_OVERFLOW): Likewise.
42572         (FE_INVALID): Likewise.
42573         (FE_INVALID_SNAN): Likewise.
42574         (FE_INVALID_ISI): Likewise.
42575         (FE_INVALID_IDI): Likewise.
42576         (FE_INVALID_ZDZ): Likewise.
42577         (FE_INVALID_IMZ): Likewise.
42578         (FE_INVALID_COMPARE): Likewise.
42579         (FE_INVALID_SOFTWARE): Likewise.
42580         (FE_INVALID_SQRT): Likewise.
42581         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42582         (FE_TONEAREST): Likewise.
42583         (FE_TOWARDZERO): Likewise.
42584         (FE_UPWARD): Likewise.
42585         (FE_DOWNWARD): Likewise.
42586         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42587         (FE_DIVBYZERO): Likewise.
42588         (FE_OVERFLOW): Likewise.
42589         (FE_UNDERFLOW): Likewise.
42590         (FE_INEXACT): Likewise.
42591         (FE_TONEAREST): Likewise.
42592         (FE_DOWNWARD): Likewise.
42593         (FE_UPWARD): Likewise.
42594         (FE_TOWARDZERO): Likewise.
42595         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42596         (FE_UNDERFLOW): Likewise.
42597         (FE_OVERFLOW): Likewise.
42598         (FE_DIVBYZERO): Likewise.
42599         (FE_INVALID): Likewise.
42600         (FE_TONEAREST): Likewise.
42601         (FE_TOWARDZERO): Likewise.
42602         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42603         (FE_OVERFLOW): Likewise.
42604         (FE_UNDERFLOW): Likewise.
42605         (FE_DIVBYZERO): Likewise.
42606         (FE_INEXACT): Likewise.
42607         (FE_TONEAREST): Likewise.
42608         (FE_TOWARDZERO): Likewise.
42609         (FE_UPWARD): Likewise.
42610         (FE_DOWNWARD): Likewise.
42611         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42612         (FE_DIVBYZERO): Likewise.
42613         (FE_OVERFLOW): Likewise.
42614         (FE_UNDERFLOW): Likewise.
42615         (FE_INEXACT): Likewise.
42616         (FE_TONEAREST): Likewise.
42617         (FE_DOWNWARD): Likewise.
42618         (FE_UPWARD): Likewise.
42619         (FE_TOWARDZERO): Likewise.
42621 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42623         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42625 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42627         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42628         commands.  Quote $PWD.
42629         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42630         -x" by "export".
42631         (remove_newlines): Remove.
42633 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42635         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42636         * stdlib/stdlib.h (atof): Moved to ...
42637         * include/bits/stdlib-float.h: Here.  New file.
42638         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42639         * stdlib/bits/stdlib-float.h: New file.
42640         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42641         -mno-sse -mno-mmx.
42642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42643         <xmmintrin.h>.
42645 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42647         * conform/conformtest.pl (@headers): Add fenv.h.
42648         * conform/data/fenv.h-data: New file.
42649         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42650         include of <math/fenv.h>.
42652         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42653         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42654         && !UNIX98].  Enables tests for XOPEN2K8.
42655         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42656         POSIX2008]: Likewise.
42658         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42659         (struct rusage): Do not expect type or its members.
42661         [BZ #3439]
42662         * math/math.h (FP_NAN): Define macro to integer constant usable in
42663         #if and use that to give value to enum constant.
42664         (FP_INFINITE): Likewise.
42665         (FP_ZERO): Likewise.
42666         (FP_SUBNORMAL): Likewise.
42667         (FP_NORMAL): Likewise.
42669 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42671         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42672         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42673         arguments.
42675 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42677         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42678         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42679         autoconf-time if not.
42680         * configure.in: Remove AC_PREREQ.
42682 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42684         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42685         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42686         of the internal implementation.
42688 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42690         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42691         except include of <misc/sys/syslog.h>.
42693 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42696         function returns with a NULL context exit with zero.
42698 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42700         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42702 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42704         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42705         (run_program_cmd): This.
42706         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42707         (tst_langinfo): New variable.  Use it.
42709 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42711         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42712         floating point opcodes.
42714 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42716         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42717         variable.
42719         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42721         * sysdeps/mach/hurd/powerpc: Remove directory.
42722         * sysdeps/mach/powerpc: Likewise.
42724 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42726         * scripts/check-local-headers.sh: Ignore c++ headers.
42728 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42730         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42731         __libc_cleanup_region_start argument.
42733 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42735         [BZ #14784]
42736         [BZ #14785]
42737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42738         x * y using scaling, not as x * y + z.
42739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42740         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42741         * math/libm-test.inc (fma_test): Add more tests.
42742         (fma_test_towardzero): Likewise.
42743         (fma_test_downward): Likewise.
42744         (fma_test_upward): Likewise.
42746 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42748         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42750 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42752         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42753         New variable.
42755 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42757         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42759 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42762         Fix sort order.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42764         Likewise.
42766 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42769         Fix the order of the list for glibc 2.17.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42771         Likewise.
42773 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42777 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42779         [BZ #14610]
42780         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42781         for low part of x being zero before using __atanl (y).
42782         * math/libm-test.inc (atan2_test): Add another test.
42784         * manual/install.texi (Configuring and compiling): Document
42785         general use of test-wrapper and test-wrapper-env.
42786         * INSTALL: Regenerated.
42788         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42789         (__fma): Do not extract and scale down low bits on after-rounding
42790         systems when result rounded to normal precision would have normal
42791         exponent.
42792         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42793         (__fmal): Do not extract and scale down low bits on after-rounding
42794         systems when result rounded to normal precision would have normal
42795         exponent.
42796         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42797         (__fmal): Do not extract and scale down low bits on after-rounding
42798         systems when result rounded to normal precision would have normal
42799         exponent.
42800         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42801         macro.
42802         (fma_test): Add more tests.
42803         (fma_test_towardzero): Likewise.
42804         (fma_test_downward): Likewise.
42805         (fma_test_upward): Likewise.
42807 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42809         * sysdeps/i386/tininess.h: Renamed to ...
42810         * sysdeps/x86/tininess.h: This.
42811         * sysdeps/x86_64/tininess.h: Removed.
42813 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42815         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42816         input.  Use $(build-program-cmd).
42817         ($(objpfx)tst-array1-static.out): Likewise.
42818         ($(objpfx)tst-array2.out): Likewise.
42819         ($(objpfx)tst-array3.out): Likewise.
42820         ($(objpfx)tst-array4.out): Likewise.
42821         ($(objpfx)tst-array5.out): Likewise.
42822         ($(objpfx)tst-array5-static.out): Likewise.
42824 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42826         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42827         if defined.
42829         * nss/nsswitch.h (nss_interface_function): Provide new
42830         macro for use with NSS functions.
42831         * grp/initgroups.c: Use new macro.
42832         * nss/getXXbyYY.c: Likewise.
42833         * nss/getXXbyYY_r.c: Likewise.
42834         * nss/getXXent.c: Likewise.
42835         * nss/getXXent_r.c: Likewise.
42836         * sysdeps/posix/getaddrinfo.c: Likewise.
42838 2012-10-30  Andreas Jaeger  <aj@suse.de>
42840         * po/ru.po: Update Russion translation from translation project.
42842 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #14152]
42845         [BZ #14783]
42846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42847         result and shift together with sticky bit instead of replicating
42848         round-to-nearest rounding.
42849         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42851         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42852         missing underflow exceptions.
42853         (fma_test_towardzero): Add more tests.
42854         (fma_test_downward): Likewise.
42855         (fma_test_upward): Likewise.
42857         [BZ #14047]
42858         * sysdeps/generic/tininess.h: New file.
42859         * sysdeps/i386/tininess.h: Likewise.
42860         * sysdeps/sh/tininess.h: Likewise.
42861         * sysdeps/x86_64/tininess.h: Likewise.
42862         * stdlib/tst-strtod-underflow.c: Likewise.
42863         * stdlib/tst-tininess.c: Likewise.
42864         * stdlib/strtod_l.c: Include <tininess.h>.
42865         (round_and_return): Do not set errno for exact underflow cases.
42866         Force an underflow exception when setting errno for underflow.
42867         Determine underflow based on rounding to normal precision if
42868         TININESS_AFTER_ROUNDING.
42869         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42870         ERANGE for exact underflow cases.
42871         * stdlib/Makefile (tests): Add tst-tininess and
42872         tst-strtod-underflow.
42873         ($(objpfx)tst-tininess): Use $(link-libm).
42874         ($(objpfx)tst-strtod-underflow): Likewise.
42876 2012-10-30  Andreas Jaeger  <aj@suse.de>
42878         [BZ#14767]
42879         * elf/Makefile (tests): Remove conditional for have-initfini-array
42880         since this is now always required and the variable does not exist
42881         anymore.
42882         (tests-static): Likewise.
42883         (modules-names): Likewise.
42885         * po/eo.po: Add Esperanto translation from translation project.
42887         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42888         merged with constructor/destructor.
42889         (init_array): Likewise.
42890         * elf/tst-array2dep.c (fini_array): Likewise.
42891         (init_array): Likewise.
42893 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42895         * manual/message.texi: Delete @cartouche tags.
42897 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42899         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42900         EOPNOTSUPP.
42901         * sysdeps/mach/hurd/fsync.c: Likewise.
42903         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42904         [_POSIX_REALTIME_SIGNALS]: Change condition to
42905         [_POSIX_REALTIME_SIGNALS > 0].
42907 2012-10-27  Andreas Jaeger  <aj@suse.de>
42909         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42910         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42912         [__WORDSIZE != 64]: Likewise.
42914 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42916         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42917         *  iconvdata/tst-tables.sh: Likewise.
42919 2012-10-25  David S. Miller  <davem@davemloft.net>
42921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42922         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42923         of strtoull.
42925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42926         ifunc-impl-list.c
42927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42928         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42929         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42930         file.
42932 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42934         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42935         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42936         __getdirentries.
42938 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42939             Jim Blandy  <jimb@codesourcery.com>
42941         * scripts/cross-test-ssh.sh: New file.
42942         * manual/install.texi (Configuring and compiling): Document use of
42943         cross-test-ssh.sh.
42944         * INSTALL: Regenerated.
42946 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42948         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42949         EOPNOTSUPP.
42951 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42953         * Makeconfig (run-program-prefix): Fix comment.
42955 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42956             Jim Blandy  <jimb@codesourcery.com>
42958         * Makeconfig (test-wrapper): New variable,
42959         (test-wrapper-env): Likewise.
42960         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42961         (run-built-tests): Define to yes.
42962         (run-program-prefix): Use $(test-wrapper).
42963         (built-program-cmd): Likewise.
42964         * Rules (make-test-out): Use $(test-wrapper-env) and
42965         $(host-built-program-cmd).
42966         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42967         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42968         tst-pathopt.sh.
42969         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42970         $(test-wrapper-env) to tst-rtld-load-self.sh.
42971         ($(objpfx)order2.out): Use $(test-wrapper).
42972         ($(objpfx)tst-initorder.out): Likewise.
42973         ($(objpfx)tst-initorder2.out): Likewise.
42974         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42975         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42976         (test_wrapper_env): New variable.  Use it to run ld.so.
42977         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42978         Use it to run ld.so.
42979         (test_wrapper_env): Likewise.
42980         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42981         $(test-wrapper) to run-iconv-test.sh.
42982         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42983         (ICONV): Use $test_wrapper.
42984         * posix/Makefile ($(objpfx)globtest.out): Pass
42985         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42986         globtest.sh, not $(run-program-prefix).
42987         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42988         (test_wrapper): Likewise.
42989         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42990         set together with run_via_rtld_prefix.
42991         (run_program_prefix): Define in terms of test_wrapper and
42992         run_via_rtld_prefix.
42994 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42996         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42997         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42998         Targets removed.
43000         [BZ #14743]
43001         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43002         Declare __clock_getres, __clock_gettime, __clock_settime,
43003         __clock_nanosleep, and __clock_getcpuclockid.
43004         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43005         Remove librt_hidden_def (clock_gettime).
43006         * sysdeps/unix/clock_gettime.c: Likewise.
43007         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43008         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43009         * rt/clock_getres.c: Define __clock_getres as an alias.
43010         * sysdeps/posix/clock_getres.c: Likewise.
43011         * rt/clock_settime.c: Define __clock_settime as an alias.
43012         * sysdeps/unix/clock_settime.c: Likewise.
43013         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43014         * sysdeps/unix/clock_nanosleep.c: Likewise.
43015         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43016         * rt/clock-compat.c: New file.
43017         * rt/Makefile (librt-routines): Add clock-compat and move
43018         $(clock-routines) to ...
43019         (routines): ... here, new variable.
43020         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43021         Don't add get_clockfreq here.
43022         * rt/Versions (libc: GLIBC_2.17): New version set.
43023         Add clock_* symbols here.
43024         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43025         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43026         (GLIBC_2.17): Add clock_* symbols.
43027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43029         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43031         Likewise.
43032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43033         Likewise.
43034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43038         * NEWS: Mention the move.
43040         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43041         Use __open, __read, __close rather than their public counterparts.
43042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43043         (__get_clockfreq_via_cpuinfo): Likewise.
43044         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43045         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43047         * config.h.in (HAVE_IFUNC): New #undef.
43048         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43049         was successful.
43050         * configure: Regenerated.
43052 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43054         * configure.in: Move READELF check to start of file.
43055         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43056         libc_cv_asm_gnu_indirect_function in the process.
43057         * configure: Regenerated.
43059 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43061         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43062         send the output to /dev/null.
43063         (libc_cv_cc_with_libunwind): Likewise.
43064         (libc_cv_as_noexecstack): Likewise.
43065         * configure: Regenerate.
43067 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43069         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43071         * posix/globtest.sh (TMPDIR): Do not set.
43072         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43073         (testout): Likewise.
43075 2012-10-24  Andreas Jaeger  <aj@suse.de>
43077         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43078         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43079         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43080         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43081         posix_fadvise64, posix_fallocate64.
43083         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43084         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43085         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43086         Likewise.
43087         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43088         Likewise.
43089         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43092         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43093         <bits/fcntl-linux.h>.
43094         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43096         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43097         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43098         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43099         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43100         [__WORDSIZE != 64]: Likewise.
43102 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43104         * Makeconfig (run-built-tests): New variable.
43105         * Rules [$(cross-compiling) = yes]: Change condition to
43106         [$(run-built-tests) = no].
43107         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43108         to [$(run-built-tests) = yes].
43109         * elf/Makefile [$(cross-compiling) = no]: Likewise
43110         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43111         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43112         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43113         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43114         * io/Makefile [$(cross-compiling) = no]: Likewise.
43115         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43116         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43117         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43118         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43119         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43120         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43121         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43122         * string/Makefile [$(cross-compiling) = no]: Likewise.
43124         * posix/Makefile ($(objpfx)globtest.out): Pass
43125         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43126         $(rtld-installed-name).
43127         * posix/globtest.sh (elf_objpfx): Remove variable.
43128         (rtld_installed_name): Likewise.
43129         (library_path): Likewise.
43130         (run_program_prefix): New variable.  Use for running globtest
43131         binary.
43133 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43134             Joseph Myers  <joseph@codesourcery.com>
43136         * Makeconfig (host-built-program-cmd): New variable.
43137         * elf/Makefile (tst-stackguard1-ARGS): Use
43138         $(host-built-program-cmd).
43139         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43140         (tst-spawn-ARGS): Likewise.
43141         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43143 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43144             Jim Blandy  <jimb@codesourcery.com>
43146         * Makeconfig (run-via-rtld-prefix): New variable.
43147         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43148         (built-program-cmd): Likewise.
43150 2012-10-22  Andreas Jaeger  <aj@suse.de>
43152         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43153         __O_RSYNC if it exists, otherwise to O_SYNC.
43155 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43156             Joseph Myers  <joseph@codesourcery.com>
43158         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43159         /dev/null.
43160         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43161         from /dev/null
43162         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43163         /dev/null.
43165 2012-10-22  Andreas Jaeger  <aj@suse.de>
43167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43168         Define always.
43169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43172         bits/fcntl-linux.h.
43174         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43175         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43178         to __O_LARGEFILE.
43179         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43180         to __O_LARGEFILE.
43182 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43183             Joseph Myers  <joseph@codesourcery.com>
43185         * config.make.in (NM): New variable.
43187 2012-10-21  Andreas Jaeger  <aj@suse.de>
43189         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43190         definitions and declarations that are provided by
43191         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43193 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43195         [BZ #14683]
43196         * elf/Makefile (tests-static): Add tst-leaks1-static.
43197         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43198         ($(objpfx)tst-leaks1-static): New rule.
43199         ($(objpfx)tst-leaks1-static-mem): Likewise.
43200         (tst-leaks1-static-ENV): New macro.
43201         * elf/dl-open.c (dl_open_worker): Check the main application
43202         only if SHARED is defined.
43203         * elf/tst-leaks1-static.c: New file.
43205 2012-10-20  Andreas Jaeger  <aj@suse.de>
43207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43208         generic values for Linux.
43209         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43210         and declarations that are provided by <bits/fcntl-linux.h> and
43211         include <bits/fcntl-linux.h>.
43212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43215 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43217         * io/fcntl.h: Move include of <bits/types.h> to the top and
43218         include it unconditionally.
43220 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43222         * wcsmbs/Makefile (tests-ifunc): New variable.
43223         (tests): Add $(tests-ifunc).
43224         * wcsmbs/test-wcschr-ifunc.c: New file.
43225         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43226         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43227         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43228         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43229         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43231         * string/Makefile (tests-ifunc): New variable.
43232         (tests): Add $(tests-ifunc).
43233         * string/test-memccpy.c (TEST_NAME): New macro.
43234         * string/test-memchr.c (TEST_NAME): Likewise.
43235         * string/test-memcmp.c (TEST_NAME): Likewise.
43236         * string/test-memcpy.c (TEST_NAME): Likewise.
43237         * string/test-memmem.c (TEST_NAME): Likewise.
43238         * string/test-memmove.c (TEST_NAME): Likewise.
43239         * string/test-memset.c (TEST_NAME): Likewise.
43240         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43241         * string/test-stpcpy.c (TEST_NAME): Likewise.
43242         * string/test-stpncpy.c (TEST_NAME): Likewise.
43243         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43244         * string/test-strcasestr.c (TEST_NAME): Likewise.
43245         * string/test-strcat.c (TEST_NAME): Likewise.
43246         * string/test-strchr.c (TEST_NAME): Likewise.
43247         * string/test-strcmp.c(TEST_NAME): Likewise.
43248         * string/test-strcpy.c (TEST_NAME): Likewise.
43249         * string/test-strcspn.c (TEST_NAME): Likewise.
43250         * string/test-strlen.c (TEST_NAME): Likewise.
43251         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43252         * string/test-strncmp.c (TEST_NAME): Likewise.
43253         * string/test-strncpy.c (TEST_NAME): Likewise.
43254         * string/test-strnlen.c (TEST_NAME): Likewise.
43255         * string/test-strpbrk.c (TEST_NAME): Likewise.
43256         * string/test-strrchr.c (TEST_NAME): Likewise.
43257         * string/test-strspn.c (TEST_NAME): Likewise.
43258         * string/test-strstr.c (TEST_NAME): Likewise.
43259         * string/test-bcopy-ifunc.c: New file.
43260         * string/test-bzero-ifunc.c: Likewise.
43261         * string/test-memccpy-ifunc.c: Likewise.
43262         * string/test-memchr-ifunc.c: Likewise.
43263         * string/test-memcmp-ifunc.c: Likewise.
43264         * string/test-memcpy-ifunc.c: Likewise.
43265         * string/test-memmem-ifunc.c: Likewise.
43266         * string/test-memmove-ifunc.c: Likewise.
43267         * string/test-mempcpy-ifunc.c: Likewise.
43268         * string/test-memset-ifunc.c: Likewise.
43269         * string/test-rawmemchr-ifunc.c: Likewise.
43270         * string/test-stpcpy-ifunc.c: Likewise.
43271         * string/test-stpncpy-ifunc.c: Likewise.
43272         * string/test-strcasecmp-ifunc.c: Likewise.
43273         * string/test-strcasestr-ifunc.c: Likewise.
43274         * string/test-strcat-ifunc.c: Likewise.
43275         * string/test-strchr-ifunc.c: Likewise.
43276         * string/test-strchrnul-ifunc.c: Likewise.
43277         * string/test-strcmp-ifunc.c: Likewise.
43278         * string/test-strcpy-ifunc.c: Likewise.
43279         * string/test-strcspn-ifunc.c: Likewise.
43280         * string/test-strlen-ifunc.c: Likewise.
43281         * string/test-strncasecmp-ifunc.c: Likewise.
43282         * string/test-strncat-ifunc.c: Likewise.
43283         * string/test-strncmp-ifunc.c: Likewise.
43284         * string/test-strncpy-ifunc.c: Likewise.
43285         * string/test-strnlen-ifunc.c: Likewise.
43286         * string/test-strpbrk-ifunc.c: Likewise.
43287         * string/test-strrchr-ifunc.c: Likewise.
43288         * string/test-strspn-ifunc.c: Likewise.
43289         * string/test-strstr-ifunc.c: Likewise.
43291         * debug/Makefile (tests-ifunc): New variable.
43292         (tests): Add $(tests-ifunc).
43293         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43294         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43295         * debug/test-stpcpy_chk-ifunc.c: New file.
43296         * debug/test-strcpy_chk-ifunc.c: Likewise.
43298 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43300         [BZ #13601]
43301         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43302         header is not read in.
43304 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43306         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43307         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43308         directly.  Pass built executable to script as
43309         $(built-program-cmd).
43310         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43311         $testprogram without using LD_LIBRARY_PATH and $ldso.
43313         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43314         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43315         $(rtld-installed-name).
43316         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43317         (rtld_installed_name): Likewise.
43318         (library_path): Likewise.
43319         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43320         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43321         $(run-program-prefix) to tst-tables.sh.
43322         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43323         it to run tst-table-from and tst-table-to.
43324         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43325         Pass it to tst-table.sh.
43326         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43327         $(run-program-prefix) to tst-gettext.sh.
43328         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43329         tst-translit.sh.
43330         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43331         tst-gettext2.sh.
43332         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43333         to run tst-gettext.
43334         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43335         to run tst-gettext2.
43336         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43337         to run tst-translit.
43338         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43339         $(run-program-prefix) to tst-mtrace.sh.
43340         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43341         to run tst-mtrace.
43342         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43343         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43344         $(rtld-installed-name).
43345         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43346         (rtld_installed_name): Likewise.
43347         (run_program_prefix): New variable.  Use it to run wordexp-test.
43349         * Makeconfig (ARCH): Remove all definitions.
43350         (machine): Likewise.
43351         [ARCH]: Remove conditional code.
43352         [!objdir]: Give error.
43353         [!objdir] (objpfx): Remove.
43354         [!objdir] (common-objpfx): Likewise.
43355         [!objdir] (common-objdir): Likewise.
43356         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43357         AC_CONFIG_FILES call.
43358         * configure: Regenerated.
43360         [BZ #13888]
43361         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43362         or TMPDIR.
43363         (testout): Likewise.
43365         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43366         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43367         $(rtld-installed-name).
43368         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43369         (rtld_installed_name): Likwise.
43370         (runit): Remove function.
43371         (run_getconf): New variable,  Use it for running getconf binary.
43373 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43375         [BZ #14716]
43376         * string/test-memmem.c (check_result): New function.
43377         (do_one_test): Use it.
43378         (check1): New function.
43379         (test_main): Use it.
43381 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43383         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43385 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43387         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43388         (_G_LSEEK64): Likewise.
43389         (_G_MMAP64): Likewise.
43390         (_G_FSTAT64): Likewise.
43391         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43392         (_G_LSEEK64): Likewise.
43393         (_G_MMAP64): Likewise.
43394         (_G_FSTAT64): Likewise.
43395         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43396         unconditional.  Call __mmap64 directly.
43397         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43398         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43399         __lseek64 directly.
43400         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43401         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43402         __mmap64 directly.
43403         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43404         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43405         __lseek64 directly.
43406         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43407         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43408         __lseek64 directly.
43409         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43410         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43411         __lseek64 directly.
43412         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43413         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43414         __fxstat64 directly.
43415         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43416         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43417         unconditional.
43418         (freopen64) [!_G_OPEN64]: Remove conditional code.
43419         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43420         unconditional.
43421         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43422         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43423         unconditional.
43424         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43425         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43426         unconditional.
43427         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43428         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43429         unconditional.
43430         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43431         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43432         unconditional.
43433         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43434         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43435         unconditional.
43436         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43437         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43438         unconditional.
43439         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43441 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43443         [BZ #12140]
43444         * manual/memory.texi (Malloc Tunable Parameters): Add note
43445         about free list pointers overwriting some perturb bytes.
43446         Wording suggested by Roland McGrath.
43448 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43450         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43451         (lgamma_test): Likewise.
43452         (tgamma_test): Likewise.
43454 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43456         [BZ #14700]
43457         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43458         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43460 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43462         * NEWS: Mention BZ #14716.
43463         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43464         when removing AVAILABLE1_USES_J macro.
43466 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43468         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43469         (__bswap_64): __uint64_t for unsigned 64-bit int.
43471 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43473         * include/string.h (memmem): Declare libc hidden alias.
43474         * string/memmem.c (memmem): Define libc hidden alias.
43475         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43476         __read, __close instead of open, read, close.
43478 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43481         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43482         global and hidden.
43483         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43484         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43485         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43486         Likewise.
43487         (__rawmemchr_sse2): Likewise.
43488         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43489         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43490         (__strchr_sse2): Likewise.
43491         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43492         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43493         (__strcasecmp_sse2): Likewise.
43494         (__strncasecmp_sse2): Likewise.
43495         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43496         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43497         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43498         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43499         (__strrchr_sse2): Likewise.
43500         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43501         ifunc-impl-list.c.
43502         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43503         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43504         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43505         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43506         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43507         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43508         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43509         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43510         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43511         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43512         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43513         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43514         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43515         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43516         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43517         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43518         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43519         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43520         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43521         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43522         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43523         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43524         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43525         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43526         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43527         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43528         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43529         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43530         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43531         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43533         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43534         global and hidden.
43535         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43536         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43537         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43538         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43539         Likewise.
43540         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43541         Likewise.
43542         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43543         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43544         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43545         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43546         ifunc-impl-list.c.
43547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43549         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43550         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43551         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43552         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43553         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43554         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43555         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43556         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43557         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43558         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43559         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43560         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43561         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43562         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43563         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43564         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43565         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43566         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43567         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43568         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43569         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43570         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43571         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43572         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43573         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43574         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43575         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43576         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43577         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43580         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43581         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43582         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43583         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43584         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43585         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43586         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43587         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43589         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43590         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43591         * include/ifunc-impl-list.h: New file.
43592         * misc/ifunc-impl-list.c: Likewise.
43593         * misc/Makefile (routines): Add ifunc-impl-list.
43594         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43595         * string/test-string.h: Include <ifunc-impl-list.h>.
43596         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43597         TEST_NAME]: New variables.
43598         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43599         are defined.
43600         (test_init): Call __libc_ifunc_impl_list to initialize
43601         func_list if TEST_IFUNC and TEST_NAME are defined.
43603         * string/Makefile (strop-tests): Add bcopy and bzero.
43604         * string/test-bcopy.c: New file.
43605         * string/test-bzero.c: Likewise.
43606         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43607         defined.
43608         * string/test-memset.c: Support bzero test if TEST_BZERO is
43609         defined.
43610         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43611         __libc_memmove.
43612         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43613         __libc_memset.
43614         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43615         of memset.
43617 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43619         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43620         * configure: Regenerated.
43622         * Makeconfig (+link-static-before-libc): Don't include
43623         $(link-static-libc).
43625         * libio/libio.h (_IO_pos_t): Remove.
43627 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43629         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43630         McGrath.
43632 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43634         * crypt/crypt-entry.c: Include fips-private.h.
43635         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43636         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43637         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43638         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43640 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43642         * crypt/crypt-private.h: Include stdbool.h.
43643         (_ufc_setup_salt_r): Return bool.
43644         * crypt/crypt-entry.c: Include errno.h.
43645         (__crypt_r): Return NULL with EINVAL for bad salt.
43646         * crypt/crypt_util.c (bad_for_salt): New.
43647         (_ufc_setup_salt_r): Check that salt is long enough and within
43648         the specified alphabet.
43649         * crypt/badsalttest.c: New file.
43650         * crypt/Makefile (tests): Add it.
43651         ($(objpfx)badsalttest): New.
43653 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43655         * NEWS: Add entry for BZ #14602.
43657 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43659         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43660         type-generic.
43661         * math/libm-test.inc: Update comment listing what functions and
43662         macros are tested.
43663         (isgreater_test): New function.
43664         (isgreaterequal_test): Likewise.
43665         (isless_test): Likewise.
43666         (islessequal_test): Likewise.
43667         (islessgreater_test): Likewise.
43668         (isunordered_test): Likewise.
43669         (main): Call the new functions.
43671 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43673         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43674         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43675         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43676         * sysdeps/i386/configure: Regenerated.
43677         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43678         * sysdeps/mach/configure: Regenerated.
43679         * sysdeps/mach/hurd/configure: Regenerated.
43680         * sysdeps/powerpc/configure: Regenerated.
43681         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43682         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43683         * sysdeps/s390/s390-32/configure: Regenerated.
43684         * sysdeps/s390/s390-64/configure: Regenerated.
43685         * sysdeps/sh/configure: Regenerated.
43686         * sysdeps/sparc/configure: Regenerated.
43687         * sysdeps/unix/sysv/linux/configure: Regenerated.
43688         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43689         * sysdeps/x86_64/configure: Regenerated.
43691         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43692         defined.  Don't check if MAP is NULL.
43694 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43696         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43697         (_G_stat64): Likewise.
43698         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43699         (_G_stat64): Likewise.
43700         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43701         instead of struct _G_stat64.
43702         * libio/fileops.c (mmap_remap_check): Likewise.
43703         (decide_maybe_mmap): Likewise.
43704         (_IO_new_file_seekoff): Likewise.
43705         (_IO_file_stat): Likewise.
43706         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43707         _G_off64_t.
43708         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43709         instead of struct _G_stat64.
43710         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43712 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43714         [BZ #14602]
43715         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43716         Replace with ...
43717         (CHECK_EOL): New macro.
43718         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43719         CHECK_EOL.
43720         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43721         Replace with CHECK_EOL.
43722         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43723         Replace with CHECK_EOL.
43725 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43727         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43728         type-generic.
43729         * math/libm-test.inc: Update comment listing what functions and
43730         macros are tested.
43731         (finite_test): New function.
43732         (isinf_test): Likewise.
43733         (isnan_test): Likewise.
43734         (fpclassify_test): Test subnormal input.
43735         (isfinite_test): Likewise.
43736         (isnormal_test): Likewise.
43737         (main): Call the new functions.
43739 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43741         [BZ #14660]
43742         * Makerules (%.dynsym): Force C locale when running
43743         $(OBJDUMP) --dynamic-syms.
43745 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43747         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43748         <stdint.h>.
43750 2012-10-06  David S. Miller  <davem@davemloft.net>
43752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43753         upper 32-bits of the length value in %o2 since we use branch-on-register
43754         tests which consider the entire 64-bit register.
43756 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43758         * string/test-strstr.c (check2): Add a test for page boundary.
43760 2012-10-05  David S. Miller  <davem@davemloft.net>
43762         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43763         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43764         file.
43765         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43766         sysdep_routines.
43767         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43768         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43769         and bzero when HWCAP_SPARC_CRYPTO is present.
43771 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43773         [BZ #14602]
43774         * string/test-strstr.c (check2): New function.
43775         (test_main): Call check2.
43777         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43778         and bug-strchr1.
43779         * string/bug-strcasestr1.c (do_test): Moved to ...
43780         * string/test-strcasestr.c (check1): Here.  New function.
43781         (do_one_test): Break out result checking code into ...
43782         (check_result): This.  New function.
43783         (do_one_test): Call check_result.
43784         (test_main): Call check1.
43785         * string/bug-strchr1.c (do_test): Moved to ...
43786         * string/test-strchr.c (check1): Here.  New function.
43787         (do_one_test): Break out result checking code into ...
43788         (check_result): This.  New function.
43789         (do_one_test): Call check_result.
43790         (test_main): Call check1.
43791         * string/bug-strstr1.c (main): Moved to ...
43792         * string/test-strstr.c (check1): Here.  New function.
43793         (do_one_test): Break out result checking code into ...
43794         (check_result): This.  New function.
43795         (do_one_test): Call check_result.
43796         (test_main): Call check1.
43797         * string/bug-strcasestr1.c: Removed.
43798         * string/bug-strchr1.c: Likewise.
43799         * string/bug-strstr1.c: Likewise.
43801         * elf/Makefile (dl-routines): Add hwcaps.
43802         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43803         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43804         (_dl_important_hwcaps): Moved to ...
43805         * elf/dl-hwcaps.c: Here.  New file.
43806         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43808         [BZ #14557]
43809         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43810         if IS_IN_rtld isn't defined.
43812         * elf/dl-support.c (_dl_sysinfo_map): New.
43813         Include "get-dynamic-info.h" and "setup-vdso.h".
43814         (_dl_non_dynamic_init): Call setup_vdso.
43815         * elf/dynamic-link.h: Don't include <assert.h>.
43816         (elf_get_dynamic_info): Moved to ...
43817         * elf/get-dynamic-info.h: Here.  New file.
43818         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43819         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43820         * elf/setup-vdso.h: Here.  New file.
43821         * elf/rtld.c: Include "setup-vdso.h".
43822         (dl_main): Call setup_vdso.
43824 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43826         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43827         creal in comment listing functions tested.  List finite, isinf,
43828         isnan, isless, islessequal, isgreater, isgreaterequal,
43829         islessgreater, isunordered, lgamma_r and pow10 as functions and
43830         macros not tested.  Mention which functions not tested are aliases
43831         for other functions.  Fix typo.  Note that signs of NaNs are not
43832         tested.
43834         * scripts/config.guess: Update from config.git.
43835         * scripts/config.sub: Likewise.
43837 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43839         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43840         * misc/madvise.c (madvise): Renamed to __madvise.
43841         Make madvise a weak alias.
43842         * include/sys/mman.h: Declare __madvise.
43843         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43844         * sysdeps/unix/syscalls.list
43845         (madvise): Make __madvise the strong name, and madvise a weak alias.
43846         * sysdeps/unix/sysv/linux/syscalls.list
43847         (madvise, mmap): Remove redundant entries.
43848         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43849         * malloc/malloc.c (mtrim): Likewise.
43850         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43852 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43854         * sysdeps/mach/hurd/dl-cache.c: File removed.
43855         * config.h.in (USE_LDCONFIG): New #undef.
43856         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43857         * configure: Regenerated.
43858         * elf/Makefile (dl-routines): Add dl-cache only under
43859         [$(use-ldconfig) = yes].
43860         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43861         cache on [USE_LDCONFIG].
43862         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43863         [USE_LDCONFIG].
43864         * elf/rtld.c (dl_main): Likewise.
43866 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43868         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43869         _SC_LEVEL4_CACHE_LINESIZE.
43871 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43873         * sysdeps/unix/bsd/confstr.h: File removed.
43875 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43877         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43878         sys/sdt-config.h.
43880 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43882         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43883         Make 'mapoff' field ElfW(Off) rather than off_t.
43885 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43887         * nscd/Makefile: Remove nscd-cflags and all its users.
43888         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43889         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43891         [BZ #10631]
43892         * malloc.c (malloc_printerr): Clarify error message.
43894 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43896         [BZ #14648]
43897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43898         Set bit_FMA_Usable if FMA is supported.
43899         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43900         macro.
43901         (bit_FMA4_Usable): Updated.
43902         (index_FMA_Usable): New macro.
43903         (CPUID_FMA): Likewise
43904         (HAS_FMA): Defined with bit_FMA_Usable.
43906 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43908         * bits/types.h (__swblk_t): Type removed.
43909         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43910         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43912         (__SWBLK_T_TYPE): Likewise.
43913         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43914         (__SWBLK_T_TYPE): Likewise.
43915         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43916         (__SWBLK_T_TYPE): Likewise.
43917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43918         (__SWBLK_T_TYPE): Likewise.
43920 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43921             Honza Horak <hhorak@redhat.com>
43923         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43924         (xdr_mapname): Use YPMAXMAP as maxsize.
43925         (xdr_peername): Use YPMAXPEER as maxsize.
43926         (xdr_keydat): Use YPAXRECORD as maxsize.
43927         (xdr_valdat): Use YPMAXRECORD as maxsize.
43929 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43931         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43933         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43934         * csu/init-first.c: ... here.
43935         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43936         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43937         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43938         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43939         * sysdeps/i386/init-first.c: File removed.
43940         * sysdeps/sh/init-first.c: File removed.
43942 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43944         [BZ #14645]
43945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43946         if x * y might underflow to zero and z is zero.
43947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43949         * math/libm-test.inc (min_subnorm_value): New variable.
43950         (fma_test): Add more tests.
43951         (fma_test_towardzero): Likewise.
43952         (fma_test_downward): Likewise
43953         (fma_test_upward): Likewise.
43954         (initialize): Set min_subnorm_value.
43956 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43958         [BZ #14638]
43959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43960         0 + 0.
43961         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43962         mode for addition resulting in exact zero.
43963         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43965         exact 0 + 0.
43966         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43968         * math/libm-test.inc (fma_test): Add more tests.
43969         (fma_test_towardzero): New function.
43970         (fma_test_downward): Likewise.
43971         (fma_test_upward): Likewise.
43972         (main): Call the new functions.
43974 2012-09-28  David S. Miller  <davem@davemloft.net>
43976         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43978 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43980         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43981         instead of SIGALRM.
43983         * sysdeps/gnu/_G_config.h: Moved to ...
43984         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43985         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43986         * sysdeps/generic/_G_config.h: ... here.
43988         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43990         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43992         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43993         Conditionalize target on [libnss_test1.so-version].
43995         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43997         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43998         (elfobjdir): Move out of conditionals.
44000         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44001         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44002         (__nss_lookup_function): Conditionalize label remove_from_tree on
44003         [!DO_STATIC_NSS || SHARED], matching its only use.
44005 2012-09-28  David S. Miller  <davem@davemloft.net>
44007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44008         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44009         file.
44010         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44011         sysdep_routines.
44012         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44014         when HWCAP_SPARC_CRYPTO is present.
44016 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44018         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44020 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44022         [BZ #6530]
44023         * stdio-common/vfprintf.c (process_string_arg): Revert
44024         2000-07-22 change.
44026 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44028         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44029         for testcase.
44030         * stdio-common/tst-sprintf.c: Include <locale.h>
44031         (main): Test sprintf's handling of incomplete multibyte
44032         characters.
44034 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44036         * elf/dl-runtime.c (VERSYMIDX): Removed.
44037         * elf/dl-version.c (VERSYMIDX): Likewise.
44038         * elf/do-rel.h (VERSYMIDX): Likewise.
44039         (VALIDX): Likewise.
44040         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44041         * elf/rtld.c (VALIDX): Likewise.
44042         (ADDRIDX): Likewise.
44043         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44044         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44045         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44046         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44047         (VALIDX): Likewise.
44048         (ADDRIDX): Likewise.
44050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44052         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44054 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44056         [BZ #11438]
44057         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44058         to global scope.
44059         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44060         addresses are in the same scope as 192.0.2/24.
44061         * posix/gai.conf: Document new scope table defaults.
44063 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44065         [BZ #5298]
44066         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44067         for ftell.  Compute offsets from write pointers instead.
44068         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44070 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44072         [BZ #14543]
44073         * libio/Makefile (tests): New test case tst-fseek.
44074         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44075         combination works in wide mode.
44076         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44077         state when the external buffer state changes.
44079 2012-09-27  David S. Miller  <davem@davemloft.net>
44081         [BZ #14376]
44082         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44083         pass reloc->r_addend in as the 'high' argument to
44084         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44088 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44090         * rt/tst-aio2.c: Include <pthread.h>.
44091         * rt/tst-aio3.c: Likewise.
44093 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44095         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44097 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44099         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44100         contents on [SHARED].
44102 2012-09-26  Marek Polacek  <polacek@redhat.com>
44104         [BZ #14530]
44105         [BZ #13741]
44106         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44107         for C++ and GCC <4.3 as well as for non GCC compilers.
44109 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44113 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44115         * Makefile.in (all, install): Declare with .PHONY.
44116         Reported by Michael Hope <michael.hope@linaro.org>.
44118 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44120         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44121         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44122         system header.
44123         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44124         Likewise.
44125         (sydep_routines): Add the new and the internal functions.
44126         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44127         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44129         (GLIBC_2.17): Add the new function.
44130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44131         (GLIBC_2.17): Likewise.
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44133         (GLIBC_2.17): Likewise.
44134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44135         (GLIBC_2.17): Likewise.
44136         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44138 2012-09-25  Alan Modra  <amodra@gmail.com>
44140         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44141         Add release barrier before setting once_control to say
44142         initialisation is done.  Add hints on lwarx.  Use macro in
44143         place of isync.
44144         (clear_once_control): Add release barrier.
44146 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44148         [BZ #13629]
44149         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44150         specially.
44151         * math/s_clog10.c (__clog10): Likewise.
44152         * math/s_clog10f.c (__clog10f): Likewise.
44153         * math/s_clog10l.c (__clog10l): Likewise.
44154         * math/s_clogf.c (__clogf): Likewise.
44155         * math/s_clogl.c (__clogl): Likewise.
44156         * math/Makefile (libm-calls): Add x2y2m1.
44157         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44158         (__x2y2m1): Likewise.
44159         (__x2y2m1l): Likewise.
44160         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44161         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44162         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44163         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44164         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44165         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44166         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44167         * sysdeps/i386/fpu/libm-test-ulps: Update.
44168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44170         [BZ #14621]
44171         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44172         int as type of variable DEPTH.
44173         (glob): Use size_t instead of int as type of variables NEWCOUNT
44174         and OLD_PATHC.
44176 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44178         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44179         Add s_sincosf-sse2.
44180         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44181         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44182         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44183         macros for using routine as __sincosf_ia32.
44184         Use macro for function declaration and weak_alias.
44185         * sysdeps/i386/fpu/libm-test-ulps: Update.
44187         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44190         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44191         subnormal argument.
44192         * math/s_cexpf.c (__cexpf): Likewise.
44193         * math/s_csinf.c (__csinf): Likewise.
44194         * math/s_csinhf.c (__csinhf): Likewise.
44195         * math/s_ctanf.c (__ctanf): Likewise.
44196         * math/s_ctanhf.c (__ctanhf): Likewise.
44197         * math/s_ccosh.c (__ccoshf): Likewise.
44198         * math/s_cexp.c (__cexpl): Likewise.
44199         * math/s_csin.c (__csin): Likewise.
44200         * math/s_csinh.c (__csinh): Likewise.
44201         * math/s_ctan.c (__ctan): Likewise.
44202         * math/s_ctanh.c (ctanh): Likewise.
44203         * math/s_ccoshl.c (__ccoshl): Likewise.
44204         * math/s_cexpl.c (__cexpl): Likewise.
44205         * math/s_csinl.c (__csinl): Likewise.
44206         * math/s_csinhl.c (__csinhl): Likewise.
44207         * math/s_ctanl.c (__ctanl): Likewise.
44208         * math/s_ctanhl.c (__ctanhl): Likewise.
44210 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44212         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44213         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44214         (_IO_off_t): Define to __off_t, not _G_off_t.
44215         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44216         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44217         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44218         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44219         type of __dummy and __dummy2 fields.
44220         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44221         (_G_ssize_t): Likewise.
44222         (_G_off_t): Likewise.
44223         (_G_pid_t): Likewise.
44224         (_G_uid_t): Likewise.
44225         (_G_wchar_t): Likewise.
44226         (_G_wint_t): Likewise.
44227         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44228         (_G_ssize_t): Likewise.
44229         (_G_off_t): Likewise.
44230         (_G_pid_t): Likewise.
44231         (_G_uid_t): Likewise.
44232         (_G_wchar_t): Likewise.
44233         (_G_wint_t): Likewise.
44234         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44235         (_G_ssize_t): Likewise.
44236         (_G_off_t): Likewise.
44237         (_G_pid_t): Likewise.
44238         (_G_uid_t): Likewise.
44239         (_G_wchar_t): Likewise.
44240         (_G_wint_t): Likewise.
44242 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44244         * malloc/arena.c: Include malloc-sysdep.h.
44245         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44246         is sufficient to shrink the heap or an unmap is needed.
44247         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44248         new function check_may_shrink_heap.
44249         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44250         new function check_may_shrink_heap.
44252 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44254         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44255         comments.
44257 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44259         * catgets/test-gencat.sh: Add "set -e".
44260         * elf/tst-pathopt.sh: Likewise.
44261         * grp/tst_fgetgrent.sh: Likewise.
44262         * iconvdata/run-iconv-test.sh: Likewise.
44263         * intl/tst-gettext.sh: Likewise.
44264         * intl/tst-gettext2.sh: Likewise.
44265         * intl/tst-gettext4.sh: Likewise.
44266         * intl/tst-gettext6.sh: Likewise.
44267         * intl/tst-translit.sh: Likewise.
44268         * io/ftwtest-sh: Likewise.
44269         * libio/test-freopen.sh: Likewise.
44270         * malloc/tst-mtrace.sh: Likewise.
44271         * posix/globtest.sh: Likewise.
44272         * posix/tst-getconf.sh: Likewise.
44273         * posix/wordexp-tst.sh: Likewise.
44274         * stdio-common/tst-printf.sh: Likewise.
44275         * stdio-common/tst-unbputc.sh: Likewise.
44276         * stdlib/tst-fmtmsg.sh: Likewise.
44277         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44278         * catgets/Makefile: Do not specify -e option when running
44279         testsuite shell scripts.
44280         * elf/Makefile: Likewise.
44281         * grp/Makefile: Likewise.
44282         * iconvdata/Makefile: Likewise.
44283         * intl/Makefile: Likewise.
44284         * io/Makefile: Likewise.
44285         * libio/Makefile: Likewise.
44286         * malloc/Makefile: Likewise.
44287         * posix/Makefile: Likewise.
44288         * stdio-common/Makefile: Likewise.
44289         * stdlib/Makefile: Likewise.
44290         * sysdeps/x86_64/Makefile: Likewise.
44292         * io/ftwtest-sh: Add copyright header.
44293         * posix/globtest.sh: Likewise.
44294         * posix/tst-getconf.sh: Likewise.
44295         * posix/wordexp-tst.sh: Likewise.
44296         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44298 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44300         [BZ #13679]
44301         * Makeconfig (+link): Defined as $(+link-static) if
44302         $(build-shared) isn't yes.
44303         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44304         isn't yes.
44305         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44307         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44309         [BZ #14562]
44310         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44311         new chunk size with MALLOC_ALIGN_MASK.
44313 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44315         [BZ #5044]
44316         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44317         <rounding-mode.h>.
44318         (__printf_fphex): Determine rounding using get_rounding_mode and
44319         round_away.
44320         * stdio-common/tst-printf-round.c (struct hex_test): New
44321         structure.
44322         (hex_tests): New variable.
44323         (test_hex_in_one_mode): New function.
44324         (do_test): Also run tests for hex float output.
44326 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44328         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44329         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44330         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44331         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44332         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44333         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44334         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44335         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44337 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44339         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44340         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44341         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44342         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44344 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44346         [BZ #14579]
44347         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44348         mode only.
44349         * elf/tst-rtld-load-self.sh: New test.
44350         * elf/Makefile: Run it.
44352 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44354         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44355         (tst-writev-ENV): Remove.
44356         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44358 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44360         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44362 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44364         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44365         unconditional.
44366         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44367         Likewise.
44368         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44369         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44370         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44371         Likewise.
44373 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44375         [BZ #14587]
44376         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44377         * config.make.in (have-cpp-asm-debuginfo): Removed.
44378         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44379         * configure: Regenerated.
44381 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44383         [BZ #5044]
44384         * stdio-common/printf_fp.c: Include <stdbool.h> and
44385         <rounding-mode.h>.
44386         (___printf_fp): Determine rounding using get_rounding_mode and
44387         round_away.
44388         * stdio-common/tst-printf-round.c: New file.
44389         * stdio-common/Makefile (tests): Add tst-printf-round.
44390         (link-libm): New variable.
44391         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44393 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44395         [BZ #14576]
44396         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44397         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44398         Likewise.
44399         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44400         Likewise.
44402 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44404         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44405         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44406         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44407         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44409 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44411         [BZ #14518]
44412         * include/rounding-mode.h: New file.
44413         * sysdeps/generic/get-rounding-mode.h: Likewise.
44414         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44415         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44416         (MAX_VALUE): New macro.
44417         (MIN_VALUE): Likewise.
44418         (overflow_value): New function.
44419         (underflow_value): Likewise.
44420         (round_and_return): Use overflow_value and underflow_value to
44421         determine return values in overflow and underflow cases.  Use
44422         round_away to determine rounding depending on rounding mode.
44423         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44424         determine return values in overflow and underflow cases.
44425         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44426         (struct test_results): New structure.
44427         (struct test): Use struct test_results to store expected results
44428         for all rounding modes.
44429         (TEST): Include expected results for all rounding modes.
44430         (test_in_one_mode): New function.
44431         (do_test): Use test_in_one_mode to compute and check results.
44432         Check results for all rounding modes.
44433         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44434         $(link-libm).
44436 2012-12-09  Allan McRae  <allan@archlinux.org>
44438         * sysdeps/i386/fpu/libm-test-ulps: Update
44440 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44442         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44443         (_G_int32_t): Likewise.
44444         (_G_uint16_t): Likewise.
44445         (_G_uint32_t): Likewise.
44446         (_G_HAVE_BOOL): Likewise.
44447         (_G_HAVE_ATEXIT): Likewise.
44448         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44449         (_G_HAVE_IO_FILE_OPEN): Likewise.
44450         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44451         (_G_int32_t): Likewise.
44452         (_G_uint16_t): Likewise.
44453         (_G_uint32_t): Likewise.
44454         (_G_HAVE_BOOL): Likewise.
44455         (_G_HAVE_ATEXIT): Likewise.
44456         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44457         (_G_HAVE_IO_FILE_OPEN): Likewise.
44458         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44459         (_G_int32_t): Likewise.
44460         (_G_uint16_t): Likewise.
44461         (_G_uint32_t): Likewise.
44462         (_G_HAVE_BOOL): Likewise.
44463         (_G_HAVE_ATEXIT): Likewise.
44464         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44465         (_G_HAVE_IO_FILE_OPEN): Likewise.
44467 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44469         * csu/libc-tls.c: Update copyright years.
44471 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44473         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44474         [!_G_USING_THUNKS]: Remove conditional code.
44475         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44476         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44478         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44479         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44480         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44481         (_G_VTABLE_LABEL_PREFIX): Likewise.
44482         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44483         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44484         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44485         (_G_VTABLE_LABEL_PREFIX): Likewise.
44486         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44487         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44489         (_G_VTABLE_LABEL_PREFIX): Likewise.
44490         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44492 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44494         * libio/Makefile: Include ../Makeconfig before tests.
44495         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44496         only if $(build-shared) is yes.
44498         * iconv/gconv_db.c: Update copyright years.
44500 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44502         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44503         unwind info if defined PIC. Fix special cases description.
44504         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44506         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44507         DP_HI_MASK entry.
44508         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44510 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44512         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44514         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44515         is NULL.
44517         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44518         (LDLIBS-tst-chk4): This.
44519         (LDFLAGS-tst-chk5): Renamed to ...
44520         (LDLIBS-tst-chk5): This.
44521         (LDFLAGS-tst-chk6): Renamed to ...
44522         (LDLIBS-tst-chk6): This.
44523         (LDFLAGS-tst-lfschk4): Renamed to ...
44524         (LDLIBS-tst-lfschk4): This.
44525         (LDFLAGS-tst-lfschk5): Renamed to ...
44526         (LDLIBS-tst-lfschk5): This.
44527         (LDFLAGS-tst-lfschk6): Renamed to ...
44528         (LDLIBS-tst-lfschk6): This.
44530         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44531         on $(common-objpfx)soversions.mk.
44533 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #10014]
44536         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44537         example host name.
44539 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44541         * malloc/arena.c (arena_get_retry): New function that gets
44542         another arena for the caller to try its request on.
44543         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44544         current arena cannot fulfill the request.
44545         (__libc_memalign): Likewise.
44546         (__libc_memalign): Likewise.
44547         (__libc_pvalloc): Likewise.
44548         (__libc_calloc): Likewise.
44550 2012-09-05  John Tobey  <john.tobey@gmail.com>
44552         [BZ #13542]
44553         * manual/arith.texi (Operations on Complex): Fix description
44554         of carg branch cut.
44556 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44558         [BZ #10014]
44559         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44560         host name.
44562         [BZ #10038]
44563         * manual/memory.texi (Memory): Make order of menu items match
44564         order of sections.
44566 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44568         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44569         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44570         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44574         * csu/libc-tls.c (static_dtv): Renamed to ...
44575         (_dl_static_dtv): This.  Make it global.
44576         (_dl_initial_dtv): Removed.
44577         (__libc_setup_tls): Updated.
44578         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44579         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44580         DL_INITIAL_DTV.
44582 2012-09-06  Petr Machata  <pmachata@redhat.com>
44584         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44585         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44586         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44587         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44589 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44591         [BZ #14545]
44592         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44593         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44594         freeing dtv[-1].
44596 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44598         [BZ #14544]
44599         * Makeconfig (link-static-before-libc): Replace $(+prector)
44600         with $(+prectorT).
44601         (link-static-after-libc): Replace $(+postctor) with
44602         $(+postctorT).
44603         (link-bounded): Replace $(+prector)/$(+postctor) with
44604         $(+prectorT)/$(+postctorT).
44605         (+prectorT): New macro.
44606         (+postctorT): Likewise.
44608 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44610         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44611         (round_str): Handle values above the maximum for IBM long double
44612         as inexact.
44613         * stdlib/tst-strtod-round.c (tests): Regenerated.
44615 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44617         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44618         assembler flag.
44619         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44620         zarch_nohighgprs around the zarch optimized routines.
44621         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44622         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44624         for zarch.
44626 2012-09-05  David S. Miller  <davem@davemloft.net>
44628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44630         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44631         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44632         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44633         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44634         entries.
44636 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44638         * malloc/arena.c: Fold copyright years.
44639         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44641 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44643         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44647         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44649 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44651         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44652         change internal state upon failure.
44654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44656         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44657         * malloc/memusage.c (mmap): Likewise.
44658         (mmap64, mremap): Likewise.  Adjust name in comment.
44660 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44662         * libio/fileops.c: Fix typos in comments.
44663         * libio/oldfileops.c: Likewise.
44664         * libio/wfileops.c: Likewise.
44666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44668         [BZ #1349]
44669         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44670         (tst-malloc-usable-ENV): Set environment for test case.
44671         * malloc/hooks.c (malloc_check_get_size): New function to get
44672         requested size.
44673         * malloc/malloc.c (musable): Use malloc_check_get_size.
44674         * malloc/tst-malloc-usable.c: New test case.
44676 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44678         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44680 2012-09-05  Allan McRae  <allan@archlinux.org>
44682         [BZ #13966]
44683         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44684         determine header location.
44685         * configure: Regenerated.
44687 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44689         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44690         float format.
44691         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44692         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44693         format.
44694         (test): Regenerate.
44696 2012-09-04  David S. Miller  <davem@davemloft.net>
44698         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44699         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44700         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44702 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44704         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44705         failures.
44707         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44709 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44711         [BZ #9914]
44712         * libio/iogetdelim.c: Include <limits.h>.
44713         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44714         + len + 1 would overflow.
44716 2012-09-03  Andreas Jaeger  <aj@suse.de>
44718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44719         * sysdeps/i386/fpu/libm-test-ulps: Update.
44721 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44723         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44724         Add s_sinf-sse2, s_conf-sse2.
44726         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44727         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44728         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44729         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44731         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44732         for using routine as __sinf_ia32.
44733         Use macro for function declaration and weak_alias.
44734         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44735         for using routine as __cosf_ia32.
44736         Use macro for function declaration and weak_alias.
44738         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44739         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44741         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44742         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44745         * math/libm-test.inc (cos_test): Add more test cases.
44746         (sin_test): Likewise.
44747         (sincos_test): Likewise.
44749 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44751         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44752         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44753         hidden.
44754         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44756 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44758         [BZ #14538]
44759         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44760         first element of the GOT.
44761         (elf_machine_load_address): Return the difference between
44762         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44764 2012-09-01  Allan McRae  <allan@archlinux.org>
44766         [BZ #13412]
44767         * configure.in (AWK): Require gawk version 3.0 or later.
44768         * configure: Regenerated.
44770 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44772         * sysdeps/unix/sysv/linux/kernel-features.h
44773         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44774         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44775         [__NR_clock_getres]: Make code unconditional.
44776         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44777         (clock_getcpuclockid): Remove code left unreachable by removal of
44778         conditionals.
44779         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44780         code unconditional.
44781         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44782         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44783         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44784         Make code unconditional.
44785         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44786         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44787         * sysdeps/unix/sysv/linux/clock_settime.c
44788         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44789         conditional code.
44790         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44791         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44793 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44795         [BZ #14476]
44796         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44797         scripts/test-installation.pl.
44799         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44800         and $ld_so_version if it is set.
44802 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44804         [BZ #14516]
44805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44806         failure if reading from procfs failed.
44807         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44809 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44811         * sysdeps/unix/sysv/linux/kernel-features.h
44812         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44813         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44814         Remove conditional code.
44815         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44816         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44817         Remove conditional code.
44818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44819         * sysdeps/unix/sysv/linux/i386/fxstat.c
44820         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44822         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44823         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44825         * sysdeps/unix/sysv/linux/i386/lxstat.c
44826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44828         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44829         Remove conditional code.
44830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44831         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44832         Remove conditional code.
44833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44834         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44835         <kernel-features.h>.
44836         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44837         Remove.
44838         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44839         Remove conditional code.
44840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44841         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44842         Remove conditional.
44844 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44846         [BZ #5400]
44847         * NEWS: Add fixed bug number.
44849 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44851         [BZ #14519]
44852         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44853         underflowing exponent in case of negative sign.
44854         * stdlib/tst-strtod-round-data: Add more tests.
44855         * stdlib/tst-strtod-round.c (tests): Regenerated.
44857         [BZ #3479]
44858         * stdlib/strtod_l.c (NDIG): Remove.
44859         (HEXNDIG): Likewise.
44860         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44861         smallest representable value.
44862         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44863         lie within an exact representation of 1/2 ulp of the result.
44864         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44865         unconditionally.
44866         (TENS_P9_IDX): Define unconditionally.
44867         (TENS_P9_SIZE): Likewise.
44868         (TENS_P10_IDX): Likewise.
44869         (TENS_P10_SIZE): Likewise.
44870         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44871         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44872         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44873         entries for 10^2^13 and 10^2^14.
44874         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44875         (TENS_P13_IDX): Define.
44876         (TENS_P13_SIZE): Likewise.
44877         (TENS_P14_IDX): Likewise.
44878         (TENS_P14_SIZE): Likewise.
44879         (_fpioconst_pow10): Change array size to
44880         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44881         unconditional.
44882         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44883         1024]: Add entries for 10^2^13 and 10^2^14.
44884         [LAST_POW10 > _LAST_POW10]: Remove #error.
44885         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44886         (_fpioconst_pow10): Change array size to
44887         FPIOCONST_POW10_ARRAY_SIZE.
44888         * stdlib/gen-fpioconst.c: New file.
44889         * stdlib/gen-tst-strtod-round.c: Likewise.
44890         * stdlib/tst-strtod-round-data: Likewise.
44891         * stdlib/tst-strtod-round.c: Likewise.
44892         * stdlib/Makefile (tests): Add tst-strtod-round.
44894         [BZ #14459]
44895         * stdlib/strtod_l.c: Include <stdint.h>.
44896         (NDEBUG): Do not define.
44897         (round_and_return): Change EXPONENT parameter to type intmax_t.
44898         Rearrange calculations to avoid internal overflow possibilities.
44899         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44900         Rearrange calculations to avoid internal overflow possibilities.
44901         Assert that number fits inside MPNSIZE limbs.
44902         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44903         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44904         calculations and add assertions to avoid internal overflow
44905         possibilities.  Add casts to avoid signed/unsigned operations.
44906         * stdlib/tst-strtod-overflow.c: New file.
44907         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44909 2012-08-25  Marek Polacek  <polacek@redhat.com>
44911         * time/time.h: Fix some typos in comments.
44913 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44915         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44916         * posix/tst-rfc3484-2.c: Likewise.
44917         * posix/tst-rfc3484-3.c: Likewise.
44919 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44921         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44922         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44924 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44926         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44927         #include of fxstatat64.c.
44929 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44931         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44932         * shadow/getspent_r.c: Likewise.
44933         * shadow/getspnam.c: Likewise.
44934         * shadow/getspnam_r.c: Likewise.
44935         * gshadow/getsgent.c: Likewise.
44936         * gshadow/getsgent_r.c: Likewise.
44937         * gshadow/getsgnam.c: Likewise.
44938         * gshadow/getsgnam_r.c: Likewise.
44939         * inet/getnetbyad.c: Likewise.
44940         * inet/getnetbyad_r.c: Likewise.
44941         * inet/getnetbynm.c: Likewise.
44942         * inet/getnetbynm_r.c: Likewise.
44943         * inet/getnetent.c: Likewise.
44944         * inet/getnetent_r.c: Likewise.
44945         * inet/getproto.c: Likewise.
44946         * inet/getproto_r.c: Likewise.
44947         * inet/getprtent.c: Likewise.
44948         * inet/getprtent_r.c: Likewise.
44949         * inet/getprtname.c: Likewise.
44950         * inet/getprtname_r.c: Likewise.
44951         * inet/getrpcbyname.c: Likewise.
44952         * inet/getrpcbyname_r.c: Likewise.
44953         * inet/getrpcbynumber.c: Likewise.
44954         * inet/getrpcbynumber_r.c: Likewise.
44955         * inet/getrpcent.c: Likewise.
44956         * inet/getrpcent_r.c: Likewise.
44957         * inet/getaliasent.c: Likewise.
44958         * inet/getaliasent_r.c: Likewise.
44959         * inet/getaliasname.c: Likewise.
44960         * inet/getaliasname_r.c: Likewise.
44961         * nscd/getgrgid_r.c: Likewise.
44962         * nscd/getgrnam_r.c: Likewise.
44963         * nscd/gethstbyad_r.c: Likewise.
44964         * nscd/gethstbynm3_r.c: Likewise.
44965         * nscd/getpwnam_r.c: Likewise.
44966         * nscd/getpwuid_r.c: Likewise.
44967         * nscd/getsrvbynm_r.c: Likewise.
44968         * nscd/getsrvbypt_r.c: Likewise.
44969         * nscd/gai.c: Likewise.
44971         * configure.in (build_nscd): New substituted variable, set
44972         by --disable-build-nscd and defaults to $use_nscd.
44973         * configure: Regenerated.
44974         * config.make.in (build-nscd): New substituted variable.
44975         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44976         Change conditional to require [$(build-nscd) = yes] as well.
44977         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44979         [BZ# 13696]
44980         * configure.in (use_nscd): New substituted variable, set by
44981         --disable-nscd.  If enabled, define USE_NSCD.
44982         * configure: Regenerated.
44983         * config.h.in: Add USE_NSCD.
44984         * config.make.in (use-nscd): New substituted variable.
44985         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44986         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44987         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44988         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44989         (CFLAGS-getgrnam_r.c): Likewise.
44990         (CFLAGS-initgroups.c): Likewise.
44991         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44992         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44993         Variables removed.
44994         * inet/getnetgrent_r.c
44995         (nscd_setnetgrent): New function, broken out of ...
44996         (setnetgrent): ... here.  Call it.
44997         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44998         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44999         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45000         * nscd/Makefile (routines, aux): Move definitions after include of
45001         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45002         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45003         Conditionalize on [USE_NSCD].
45004         (is_nscd, nscd_init_cb): Likewise.
45005         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45006         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45007         * nss/nss_db/db-init.c: Likewise.
45008         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45009         [USE_NSCD].
45010         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45011         (make_request): Use it.
45012         (cache_valid_p): New function.
45013         (__check_pf): Use it.
45014         * NEWS: Add item for --disable-nscd.
45016 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45018         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45019         to support sed >= 4.2.1-20-ga9bf076.
45020         * configure: Regenerated.
45022 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45024         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45025         Conditionalize whole body on [IREL].
45027 2012-08-22  Jeff Law <law@redhat.com>
45029         [BZ #14505]
45030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45031         if the family is PF_UNSPEC.
45033 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45035         * Makerules (lib-version): Rename from V.
45036         (install-lib-nosubdir): Change V to lib-version.
45038 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45040         [BZ #14252]
45041         * powerpc32/power6/wcschr.c: New file.
45042         * powerpc32/power6/wcscpy.c: New file.
45043         * powerpc32/power6/wcsrchr.c: New file.
45044         * powerpc64/power6/wcschr.c: New file.
45045         * powerpc64/power6/wcscpy.c: New file.
45046         * powerpc64/power6/wcsrchr.c: New file.
45048 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45050         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45051         (two_way_short_needle): Use it.
45052         * string/strstr.c (AVAILABLE1_USES_J): Define.
45053         * string/strcasestr.c: Likewise.
45055         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45056         array references.
45057         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45059         [BZ #11607]
45060         * NEWS: Add an entry.
45061         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45062         define their defaults.
45063         (two_way_short_needle): Detect end-of-string on-the-fly.
45064         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45065         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45066         * string/bug-strcasestr1.c: New test.
45067         * string/Makefile: Run it.
45069 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45071         [BZ #11607]
45072         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45073         the first character.
45075 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45077         * csu/elf-init.c (__libc_csu_irel): Function removed.
45078         * csu/libc-start.c (apply_irel): New function.
45079         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45081 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45083         * sysdeps/unix/sysv/linux/kernel-features.h
45084         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45085         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45086         <kernel-features.h>.
45087         [__NR_fadvise64_64]: Make code unconditional.
45088         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45089         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45090         !__NR_fadvise64_64)]: Likewise.
45091         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45092         !__NR_fadvise64_64))]: Likewise.
45093         [__NR_fadvise64]: Make code unconditional.
45094         [!__NR_fadvise64]: Remove conditional code.
45095         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45096         <kernel-features.h>.
45097         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45098         unconditional.
45099         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45100         conditional code.
45101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45102         not include <kernel-features.h>.
45103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45104         unconditional.
45105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45106         conditional code.
45107         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45108         include <kernel-features.h>.
45109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45110         unconditional.
45111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45112         conditional code.
45114 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45116         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45117         slight instruction rearrangements per scrollpipe analysis.
45118         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45120 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45122         * manual/syslog.texi (syslog; vsyslog, closelog):
45123         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45124         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45126         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45127         DSOCAPS to match condition on defining it.
45129 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45131         * sysdeps/unix/sysv/linux/kernel-features.h
45132         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45134         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45135         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45137         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45138         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45143         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45144         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45146         * sysdeps/unix/sysv/linux/kernel-features.h
45147         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45148         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45149         unconditional.
45150         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45151         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45152         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45153         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45154         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45155         Make code unconditional.
45156         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45157         (__mmap64) [!__NR_mmap2]: Likewise.
45158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45159         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45160         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45161         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45162         [__NR_mmap2]: Make code unconditional.
45163         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45164         (__mmap64) [!__NR_mmap2]: Likewise.
45166 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45168         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45170 2012-08-18  Andreas Jaeger  <aj@suse.de>
45172         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45174 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45176         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45177         * include/unistd.h (__have_sock_cloexec): Likewise.
45178         (__have_pipe2): Likewise.
45179         (__have_dup3): Likewise.
45181 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45183         [BZ #9685]
45184         * include/unistd.h (__have_pipe2): Change define into an extern int.
45185         (__have_dup3): Likewise.
45186         * socket/have_sock_cloexec.c: Include fcntl.h.
45187         (__have_pipe2): New variable.
45188         (__have_dup3): Likewise.
45190 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45192         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45194 2012-08-17  Marek Polacek  <polacek@redhat.com>
45196         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45197         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45199 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45201         * configure.in: Add AC_SUBST for sysheaders.
45202         * configure: Regenerated.
45203         * config.make.in (sysheaders): New substituted variable.
45205         * sysdeps/unix/mkfifo.c: Moved ...
45206         * sysdeps/posix/mkfifo.c: ... here.
45207         * sysdeps/unix/mkfifoat.c: Moved ...
45208         * sysdeps/posix/mkfifoat.c: ... here.
45210         * sysdeps/unix/utime.c: Moved ...
45211         * sysdeps/posix/utime.c: ... here.
45213         * sysdeps/unix/time.c: Moved ...
45214         * sysdeps/posix/time.c: ... here.
45215         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45216         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45218         * sysdeps/unix/nice.c: Moved ...
45219         * sysdeps/posix/nice.c: ... here.
45221         * sysdeps/unix/alarm.c: Moved ...
45222         * sysdeps/posix/alarm.c: ... here.
45224         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45226 2012-08-17  Jeff Law <law@redhat.com>
45228         * intl/Makefile (codeset_mo): New variable.
45229         ($(codeset_mo)): New target.
45230         (tst-codeset.out): Depend on that.  Remove explicit rule.
45231         (tst-gettext3.out, tst-gettext5.out): Likewise.
45232         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45233         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45234         * intl/tst-codeset.sh: Remove.
45235         * intl/tst-gettext3.sh: Likewise.
45236         * intl/tst-gettext5.sh: Likewise.
45238 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45240         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45241         * sysdeps/unix/syscalls.list: ... here.
45243         * sysdeps/posix/getaddrinfo.c
45244         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45245         (gaiconf_init, gaiconf_reload): Use them.
45246         [!_STATBUF_ST_NSEC]
45247         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45248         Define using time_t rather than struct timespec.
45250         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45251         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45252         Macros removed.
45253         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45254         [!NO_THREADS].
45255         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45256         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45257         Likewise.
45259         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45260         __libc_cleanup_push argument.
45262         * bits/param.h: New file.
45263         * misc/sys/param.h: New file.
45264         * include/sys/param.h: New file.
45265         * misc/Makefile (headers): Add bits/param.h.
45266         * sysdeps/generic/sys/param.h: File removed.
45267         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45268         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45269         * sysdeps/mach/hurd/bits/param.h: New file.
45270         * sysdeps/mach/hurd/sys/param.h: File removed.
45272         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45273         last change.
45275         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45276         [_IO_MTSAFE_IO].
45277         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45278         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45279         New macros.
45281         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45282         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45283         rather than -D_IO_MTSAFE_IO conditionally.
45284         * stdio-common/Makefile (CPPFLAGS): Likewise.
45285         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45286         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45287         Use $(libio-mtsafe).
45288         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45289         of -D_IO_MTSAFE_IO.
45290         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45291         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45292         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45293         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45294         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45295         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45296         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45297         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45298         (CFLAGS-fread_u_chk.c): Likewise.
45299         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45300         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45301         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45302         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45303         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45304         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45305         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45306         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45307         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45309         * libio/Makefile: Test [$(libc-reentrant) = yes]
45310         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45312         * Makeconfig
45313         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45314         * sysdeps/pthread/configure: File removed.
45315         * sysdeps/pthread/Makeconfig: New file.
45316         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45317         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45319 2012-08-16  Gary Benson  <gbenson@redhat.com>
45321         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45322         unmapping the first object in a namespace.
45324 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45326         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45327         (__internal_setnetgrent): ... this.  Add internal_function to
45328         definition.  Add libc_hidden_def.
45329         (setnetgrent): Update caller.
45330         (internal_endnetgrent): Renamed to ...
45331         (__internal_endnetgrent): ... this.  Add internal_function to
45332         definition.  Add libc_hidden_def.
45333         (endnetgrent): Update caller.
45334         (internal_getnetgrent_r): Renamed to ...
45335         (__internal_getnetgrent_r): ... this.  Add internal_function to
45336         definition.  Add libc_hidden_def.
45337         (__getnetgrent_r): Update caller.
45338         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45340 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45342         * stdlib/longlong.h: Update from GCC.
45344 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45346         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45347         on _QL, which is set by umul_ppmm but never used.
45348         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45349         variables, which are set by GMP macros but never used.
45350         * stdio-common/_itowa.c (_itowa): Likewise.
45351         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45352         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45354 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45356         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45357         struct La_sh_regs is not constant.
45358         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45359         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45360         and struct La_sparc64_regs are not constant.
45362 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45364         * sysdeps/unix/sysv/linux/kernel-features.h
45365         (__ASSUME_POSIX_TIMERS): Remove.
45366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45367         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45368         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45369         Make code unconditional.
45370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45371         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45372         Make code unconditional.
45373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45374         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45375         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45377         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45378         Make code unconditional.
45379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45380         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45381         (__libc_missing_posix_timers): Remove.
45383 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45385         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45386         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45388         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45390         * elf/dl-sym.c: Include <stdlib.h>.
45392         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45393         constants, which avoids warnings in 32-bit builds.
45395         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45396         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45398         * misc/lseek.c: File moved to ...
45399         * io/lseek.c: ... here.
45401         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45403         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45404         shifting LEN more than 31 bits at once.
45406 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45408         [BZ #14195]
45409         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45410         segmentation fault for a case of two empty input strings.
45411         * string/test-strncasecmp.c (check1): Renamed to...
45412         (bz12205): ...this.
45413         (bz14195): Add new testcase for two empty input strings and N > 0.
45414         (test_main): Call new testcase, adapt for renamed function.
45416 2012-08-15  Andreas Jaeger  <aj@suse.de>
45418         [BZ #14090]
45419         * crypt/md5test2.c: New test, based on test supplied by Serge
45420         Belyshev <belyshev@depni.sinp.msu.ru>.
45421         * crypt/Makefile (xtests): Add md5test-giant..
45422         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45424 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45426         [BZ #14090]
45427         * crypt/md5.c (md5_process_block): Don't assume the buffer
45428         length is less than 2**32.
45429         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45430         length is less than 2**64.
45432 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45434         * string/str-two-way.h: Include <sys/param.h>.
45435         (MAX): Macro removed.
45437         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45438         Move #define and #undef of memmove to just before and after
45439         including <string.h>.
45441         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45442         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45443         and after including <string.h>.  Move declarations of
45444         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45445         to before #include "string/memmove.c".
45447         * include/dirent.h: Declare __getdirentries.
45449         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45450         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45452 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45454         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45455         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45456         * sysdeps/i386/configure: Regenerated.
45457         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45458         STABS_CURRENT_FILE, and STABS_FUN.
45459         (END): Remove call to STABS_FUN_END.
45460         (STABS_CURRENT_FILE1): Delete.
45461         (STABS_CURRENT_FILE): Likewise.
45462         (STABS_FUN): Likewise.
45463         (STABS_FUN_END): Likewise.
45464         (STABS_FUN2): Likewise.
45465         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45466         * sysdeps/x86_64/configure: Regenerated.
45468 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45470         * elf/dl-open.c: Include <atomic.h>.
45471         * elf/dl-lookup.c: Likewise.
45473 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45475         * sysdeps/unix/sysv/linux/kernel-features.h
45476         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45477         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45478         unconditionally.
45479         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45480         unconditionally.
45481         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45482         condition on __ASSUME_CLONE_THREAD_FLAGS.
45484 2012-08-14  Andreas Jaeger  <aj@suse.de>
45486         * sysdeps/i386/fpu/libm-test-ulps: Update.
45488 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45490         * include/atomic.h (atomic_exchange_and_add): Split into ...
45491         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45492         New atomic macros.
45494 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45498 2012-08-13  Jeff Law <law@redhat.com>
45500         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45501         null byte in the output string.
45503 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45505         * sysdeps/unix/sysv/linux/kernel-features.h
45506         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45507         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45508         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45509         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45510         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45511         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45512         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45514 2012-08-09  Jeff Law <law@redhat.com>
45516         [BZ #13939]
45517         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45518         When avoid_arena is set, don't retry in the that arena.  Pick the
45519         next one, whatever it might be.
45520         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45521         (arena_lock): Pass in new parameter to arena_get2.
45522         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45523         arena_get2.
45524         (__libc_malloc): Unify retrying after main arena failure with
45525         __libc_memalign version.
45526         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45528 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45530         [BZ #14166]
45531         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45532         to __redirect_strstr.
45533         (__strstr_sse42): Use typeof __redirect_strstr.
45534         (__strstr_ia32): Likewise.
45535         (__libc_strstr): New prototype.
45536         (strstr): Renamed to ...
45537         (__libc_strstr): This.
45538         (strstr): New strong alias of __libc_strstr.
45539         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45540         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45541         __redirect_time.
45542         Include <time.h>.
45543         (__libc_time): New prototype.
45544         (time_ifunc): Replace time with __libc_time.
45545         (time): New strong alias and hidden definition of __libc_time.
45546         (__GI_time): Remove strong alias.
45547         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45548         Include <stddef.h>.
45549         (memmove): Redefined to __redirect_memmove.
45550         (__memmove_sse2): Use typeof __redirect_memmove.
45551         (__memmove_ssse3): Likewise.
45552         (__memmove_ssse3_back): Likewise.
45553         (__libc_memmove): New prototype.
45554         (memmove): Renamed to ...
45555         (__libc_memmove): This.
45556         (memmove): New strong alias of __libc_memmove.
45558 2012-08-08  Mark Salter  <msalter@redhat.com>
45560         * elf/elf.h
45561         (R_MN10300_TLS_GD): Define.
45562         (R_MN10300_TLS_LD): Likewise.
45563         (R_MN10300_TLS_LDO): Likewise.
45564         (R_MN10300_TLS_GOTIE): Likewise.
45565         (R_MN10300_TLS_IE): Likewise.
45566         (R_MN10300_TLS_LE): Likewise.
45567         (R_MN10300_TLS_DTPMOD): Likewise.
45568         (R_MN10300_TLS_DTPOFF): Likewise.
45569         (R_MN10300_TLS_TPOFF): Likewise.
45570         (R_MN10300_SYM_DIFF): Likewise.
45571         (R_MN10300_ALIGN): Likewise.
45572         (R_MN10300_NUM): Update.
45574 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45577         Remove.
45579 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45581         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45583         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45584         sysdeps/unix -> sysdeps/posix move.
45585         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45587 2012-08-07      Allan McRae     <allan@archlinux.org>
45589         [BZ #14303]
45590         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45591         (SUNOS_CPP): Likewise.
45592         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45593         not found.
45594         (open_input): Call CPP using execvp.
45596 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45598         * sysdeps/unix/sysv/linux/kernel-features.h
45599         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45600         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45601         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45602         (__ASSUME_WAITID_SYSCALL): Likewise.
45603         * sysdeps/unix/sysv/linux/dl-execstack.c
45604         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45605         code unconditional.
45606         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45607         conditional code.
45608         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45609         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45610         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45611         code.
45612         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45613         unconditional.
45614         [__ASSUME_WAITID_SYSCALL]: Likewise.
45615         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45617 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45619         * sysdeps/unix/closedir.c: Renamed to ...
45620         * sysdeps/posix/closedir.c: ... here.
45621         * sysdeps/unix/dirfd.c: Renamed to ...
45622         * sysdeps/posix/dirfd.c: ... here.
45623         * sysdeps/unix/dirstream.h: Renamed to ...
45624         * sysdeps/posix/dirstream.h: ... here.
45625         * sysdeps/unix/fdopendir.c: Renamed to ...
45626         * sysdeps/posix/fdopendir.c: ... here.
45627         * sysdeps/unix/opendir.c: Renamed to ...
45628         * sysdeps/posix/opendir.c: ... here.
45629         * sysdeps/unix/readdir.c: Renamed to ...
45630         * sysdeps/posix/readdir.c: ... here.
45631         * sysdeps/unix/readdir_r.c: Renamed to ...
45632         * sysdeps/posix/readdir_r.c: ... here.
45633         * sysdeps/unix/rewinddir.c: Renamed to ...
45634         * sysdeps/posix/rewinddir.c: ... here.
45635         * sysdeps/unix/seekdir.c: Renamed to ...
45636         * sysdeps/posix/seekdir.c: ... here.
45637         * sysdeps/unix/telldir.c: Renamed to ...
45638         * sysdeps/posix/telldir.c: ... here.
45639         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45640         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45641         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45642         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45644         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45645         * bits/fcntl.h: ... here.
45647         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45648         not 0.
45649         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45650         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45651         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45652         (struct flock): Move l_start, l_len to the beginning.
45653         Use __pid_t for l_pid.
45654         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45655         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45656         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45657         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45658         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45659         [__USE_LARGEFILE64] (struct flock64): New type.
45660         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45662         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45663         * bits/dirent.h: ... here.
45665         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45666         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45668 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45671         Change from 2.6.0 to 2.6.16.
45672         * sysdeps/unix/sysv/linux/configure: Regenerated.
45673         * sysdeps/unix/sysv/linux/kernel-features.h
45674         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45675         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45676         version.
45677         (__ASSUME_UTIMES): Likewise.
45678         (__ASSUME_CLONE_STOPPED): Remove.
45679         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45680         architectures, not kernel version.
45681         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45682         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45683         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45684         (__ASSUME_WAITID_SYSCALL): Likewise.
45685         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45686         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45687         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45688         refer to older versions.
45690 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45692         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45693         Define alphasort64 as an alias.
45694         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45695         Define versionsort64 as an alias.
45696         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45697         Define scandir64 as an alias.
45698         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45699         Define scandirat64 as an alias.
45700         * dirent/alphasort64.c (alphasort64):
45701         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45702         * dirent/versionsort64.c: Likewise.
45703         * dirent/scandir64.c: Likewise.
45704         * dirent/scandirat64.c: Likewise.
45705         * sysdeps/wordsize-64/alphasort.c: File removed.
45706         * sysdeps/wordsize-64/alphasort64.c: File removed.
45707         * sysdeps/wordsize-64/scandir.c: File removed.
45708         * sysdeps/wordsize-64/scandir64.c: File removed.
45709         * sysdeps/wordsize-64/scandirat.c: File removed.
45710         * sysdeps/wordsize-64/scandirat64.c: File removed.
45711         * sysdeps/wordsize-64/versionsort.c: File removed.
45712         * sysdeps/wordsize-64/versionsort64.c: File removed.
45713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45715         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45717         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45720         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45722         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45724         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45726         [defined __arch64__ || defined __sparcv9]
45727         (__INO_T_MATCHES_INO64_T): New macro.
45728         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45729         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45730         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45731         * sysdeps/unix/sysv/linux/bits/dirent.h
45732         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45733         (_DIRENT_MATCHES_DIRENT64): New macro.
45735         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45736         Define lockf64 as an alias.
45737         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45738         Define fseeko64 as an alias.
45739         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45740         Define ftello64 as an alias.
45741         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45742         Define _IO_fgetpos64 and fgetpos64 as aliases.
45743         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45744         Define _IO_fsetpos64 and fsetpos64 as aliases.
45745         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45746         Conditionalize body on this.
45747         * libio/fseeko64.c: Likewise.
45748         * libio/ftello64.c: Likewise.
45749         * libio/iofgetpos64.c: Likewise.
45750         * libio/iofsetpos64.c: Likewise.
45751         * sysdeps/wordsize-64/lockf.c: File removed.
45752         * sysdeps/wordsize-64/lockf64.c: File removed.
45753         * sysdeps/wordsize-64/fseeko.c: File removed.
45754         * sysdeps/wordsize-64/fseeko64.c: File removed.
45755         * sysdeps/wordsize-64/ftello.c: File removed.
45756         * sysdeps/wordsize-64/ftello64.c: File removed.
45757         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45758         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45759         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45760         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45762         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45764         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45766         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45769         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45772         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45774         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45776         [defined __arch64__ || defined __sparcv9]
45777         (__OFF_T_MATCHES_OFF64_T): New macro.
45778         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45779         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45781         (__OFF_T_MATCHES_OFF64_T): New macro.
45783 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45785         * stdlib/secure-getenv.c (__secure_getenv): Replace
45786         GLIBC_2_16 with GLIBC_2_17.
45788 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45790         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45791         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45793 2012-08-03  David S. Miller  <davem@davemloft.net>
45795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45797 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45799         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45800         Remove.
45801         (__ASSUME_CORRECT_SI_PID): Likewise.
45802         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45803         (__ASSUME_TMPFS_NAME): Likewise.
45804         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45805         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45806         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45807         (HAVE_AUX_SECURE): Make definition unconditional.
45808         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45809         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45811 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45813         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45814         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45815         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45816         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45817         __eloop_threshold instead of SYMLOOP_MAX.
45819         * sysdeps/generic/eloop-threshold.h: New file.
45820         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45821         of MAXSYMLINKS.
45822         * elf/chroot_canon.c (chroot_canon): Likewise.
45824 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45826         [BZ #13717]
45827         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45828         Change to 2.6.0 everywhere.
45829         * sysdeps/unix/sysv/linux/configure: Regenerated.
45830         * sysdeps/unix/sysv/linux/kernel-features.h
45831         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45832         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45833         kernel versions.
45834         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45835         (__ASSUME_FUTEX_REQUEUE): Remove.
45836         (__ASSUME_STATFS64): Define unconditionally.
45837         (__ASSUME_AT_SECURE): Likewise.
45838         (__ASSUME_CORRECT_SI_PID): Likewise.
45839         (__ASSUME_TGKILL): Define without depending on kernel version for
45840         i386.
45841         (__ASSUME_UTIMES): Likewise.
45842         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45843         kernel version.
45844         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45845         (__ASSUME_TMPFS_NAME): Likewise.
45846         * README: Update reference to Linux kernel versions.
45848 2012-08-02  Marek Polacek  <polacek@redhat.com>
45850         [BZ# 14150]
45851         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45852         libc_cv_asm_type_prefix with %.
45853         * configure: Regenerated.
45854         * include/libc-symbols.h: Remove comment about
45855         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45856         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45857         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45858         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45859         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45860         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45861         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45862         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45863         * elf/tst-unique2mod1.c: Likewise.
45864         * elf/tst-unique1mod2.c: Likewise.
45865         * elf/tst-unique1mod1.c: Likewise.
45866         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45867         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45868         Replace ASM_TYPE_DIRECTIVE with .type.
45869         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45870         * sysdeps/i386/sysdep.h: Likewise.
45871         * sysdeps/x86_64/sysdep.h: Likewise.
45872         * sysdeps/sh/sysdep.h: Likewise.
45873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45874         Do not define ASM_TYPE_DIRECTIVE.
45875         * sysdeps/powerpc/sysdep.h: Likewise.
45876         * sysdeps/powerpc/powerpc32/sysdep.h:
45877         Replace ASM_TYPE_DIRECTIVE with .type.
45878         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45879         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45880         * sysdeps/i386/fpu/e_powf.S: Likewise.
45881         * sysdeps/i386/fpu/e_expl.S: Likewise.
45882         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45883         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45884         * sysdeps/i386/fpu/e_pow.S: Likewise.
45885         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45886         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45887         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45888         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45889         * sysdeps/i386/fpu/e_log2.S: Likewise.
45890         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45891         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45892         * sysdeps/i386/fpu/e_powl.S: Likewise.
45893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45894         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45895         * sysdeps/i386/fpu/e_logl.S: Likewise.
45896         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45897         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45898         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45899         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45900         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45901         * sysdeps/i386/fpu/e_log.S: Likewise.
45902         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45903         * sysdeps/i386/fpu/e_logf.S: Likewise.
45904         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45905         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45906         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45907         * sysdeps/i386/fpu/e_log10.S: Likewise.
45908         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45909         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45910         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45911         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45912         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45913         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45914         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45915         * sysdeps/i386/i686/strtok.S: Likewise.
45916         * sysdeps/i386/i386-mcount.S: Likewise.
45917         * sysdeps/i386/strtok.S: Likewise.
45918         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45919         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45920         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45921         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45922         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45923         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45924         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45925         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45926         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45927         * sysdeps/x86_64/_mcount.S: Likewise.
45928         * sysdeps/x86_64/strtok.S: Likewise.
45929         * sysdeps/sh/_mcount.S: Likewise.
45931 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45933         * libio/iofopen.c: Include <fcntl.h>.
45934         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45935         (_IO_fopen64, fopen64): Define as aliases.
45936         * libio/iofopen64.c: Include <fcntl.h>.
45937         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45938         Conditionalize body on this.
45939         * sysdeps/wordsize-64/iofopen.c: File removed.
45940         * sysdeps/wordsize-64/iofopen64.c: File removed.
45942 2012-08-01  Marek Polacek  <polacek@redhat.com>
45944         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45945         Use dlfcn directly instead of a variable.
45946         (binfmt-subdir): Do not define.
45947         (dlfcn): Likewise.
45949 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45952         Remove all definitions.
45953         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45954         <kernel-features.h>.
45955         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45956         (miss_F_GETOWN_EX): Remove all definitions.
45957         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45958         macro definition.
45959         [!__ASSUME_FCNTL64]: Remove conditional code.
45960         [__ASSUME_FCNTL64]: Make code unconditional.
45961         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45962         <kernel-features.h>.
45963         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45964         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45965         (lockf64) [__NR_fcntl64]: Make code unconditional.
45966         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45968         * sysdeps/unix/sysv/linux/kernel-features.h
45969         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45970         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45971         Make code unconditional.
45972         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45973         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45975         [__NR_vfork]: Make code unconditional.
45976         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45977         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45979         [__NR_vfork]: Make code unconditional.
45980         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45981         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45983 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45985         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45986         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45988         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45989         Define mkstemp64 as an alias.
45990         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45991         Define mkstemps64 as an alias.
45992         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45993         Define mkostemp64 as an alias.
45994         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45995         Define mkostemps64 as an alias.
45996         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45997         Conditionalize body on this.
45998         * misc/mkostemp64.c: Likewise.
45999         * misc/mkostemps64.c: Likewise.
46000         * misc/mkstemps64.c: Likewise.
46001         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46002         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46003         * sysdeps/wordsize-64/mkostemp.c: File removed.
46004         * sysdeps/wordsize-64/mkstemp.c: File removed.
46005         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46007         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46010         [BZ #14138]
46011         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46012         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46013         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46014         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46016         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46017         compat_symbol macros from <shlib-compat.h> rather than the underlying
46018         default_symbol_version and symbol_version macros, so that DEFAULT
46019         lines in shlib-versions are respected.
46020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46022 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46024         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46025         Declare with warn_unused_result.
46026         (setgid, setregid, setegid, setresgid): Likewise.
46027         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46028         Likewise.
46029         * WUR-REPORT: Remove set*id functions.
46031 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46033         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46035 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46037         [BZ #10191]
46038         * include/sys/socket.h (__libc_accept, __libc_accept4):
46039         Add attribute_hidden.
46040         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46042         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46043         use of PTR_MANGLE.
46044         * inet/getnetgrent_r.c (setup): Likewise.
46046         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46048 2012-07-31  David S. Miller  <davem@davemloft.net>
46050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46052 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #13629]
46055         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46056         value between 1.0 and 2.0 and smaller part has absolute value less
46057         than 1.0.
46058         * math/s_clog10.c (__clog10): Likewise.
46059         * math/s_clog10f.c (__clog10f): Likewise.
46060         * math/s_clog10l.c (__clog10l): Likewise.
46061         * math/s_clogf.c (__clogf): Likewise.
46062         * math/s_clogl.c (__clogl): Likewise.
46063         * math/libm-test.inc (clog_test): Add more tests.
46064         (clog10_test): Likewise.
46065         * sysdeps/i386/fpu/libm-test-ulps: Update.
46066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46068 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46070         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46071         Exit with zero in case no suitable GID is found, and write a
46072         message to standard error.
46074 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46076         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46077         rather than to 1.
46078         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46079         (MAXPATHLEN): Removed.
46080         (NOGROUP, NODEV): New macros.
46081         (setbit, clrbit, isset, isclr): New macros.
46082         (howmany, roundup, powerof2): New macros.
46083         (DEV_BSIZE): New macro.
46085         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46086         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46088         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46089         definition on [!__NO_LONG_DOUBLE_MATH].
46091         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46092         PTR_MANGLE and PTR_DEMANGLE.
46094         * socket/accept4.c (accept4): Rename to __libc_accept4.
46095         Define accept4 as a weak alias.
46097         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46098         on [_DIRENT_HAVE_D_TYPE].
46099         * io/ftw.c (ftw_dir): Likewise.
46101         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46103         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46105         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46106         Use the BSD numbers rather than the arbitrary ones we had.
46107         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46108         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46109         (SIGXCPU, SIGXFSZ): New macros.
46110         (_NSIG): Now 32.
46112         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46113         initializer on [_LIBC_REENTRANT].
46115         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46116         definitions inside [_POSIX_MAPPED_FILES].
46118         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46120         * dirent/opendir.c: Include <fcntl.h>.
46122         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46123         (__libc_getspecific): Likewise.
46124         (__libc_key_create): Likewise.
46126         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46127         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46128         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46129         (tmpfile64): Define as alias.
46130         * sysdeps/wordsize-64/tmpfile.c: File removed.
46131         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46132         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46133         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46135         * stdio-common/vfscanf.c: Include <stdbool.h>.
46136         * nss/makedb.c: Likewise.
46137         * stdio-common/_i18n_number.h: Likewise.
46138         * argp/argp-help.c: Likewise.
46139         * posix/wordexp.c: Likewise.
46140         * sysdeps/posix/spawni.c: Likewise.
46141         * nss/nss_files/files-initgroups.c: Likewise.
46142         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46143         * nss/nss_files/files-initgroups.c: Likewise.
46144         * nss/nss_db/db-netgrp.c: Likewise.
46145         * nss/nss_db/db-initgroups.c: Likewise.
46146         * io/fchmodat.c: Include <sys/stat.h>.
46148         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46149         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46151         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46152         [HAVE_MMAP].
46154         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46155         Add multiple inclusion protection.
46157 2012-07-27  David S. Miller  <davem@davemloft.net>
46159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46161 2012-07-27  Gary Benson  <gbenson@redhat.com>
46163         [BZ #14298]
46164         * elf/rtld.c: Include <stap-probe.h>.
46165         (dl_main): Added static probes "init_start" and "init_complete".
46166         * elf/dl-load.c: Include <stap-probe.h>.
46167         (lose): Take new parameter "nsid".
46168         Added static probe "map_failed".
46169         (_dl_map_object_from_fd): Pass namespace id to lose.
46170         Added static probe "map_start".
46171         (open_verify): Pass namespace id to lose.
46172         * elf/dl-open.c: Include <stap-probe.h>.
46173         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46174         and "reloc_complete".
46175         * elf/dl-close.c: Include <stap-probe.h>.
46176         (_dl_close_worker): Added static probes "unmap_start" and
46177         "unmap_complete".
46178         * elf/rtld-debugger-interface.txt: New file documenting the above.
46180 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46182         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46183         rather than a string variable.
46184         * sunrpc/rpc_main.c (h_output): Likewise.
46185         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46187 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46189         * inet/check_native.c: New file.
46191 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46193         [BZ #13629]
46194         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46195         if larger part has absolute value 1.0.
46196         * math/s_clog10.c (__clog10): Likewise.
46197         * math/s_clog10f.c (__clog10f): Likewise.
46198         * math/s_clog10l.c (__clog10l): Likewise.
46199         * math/s_clogf.c (__clogf): Likewise.
46200         * math/s_clogl.c (__clogl): Likewise.
46201         * math/libm-test.inc (clog_test): Add more tests.
46202         (clog10_test): Likewise.
46203         * sysdeps/i386/fpu/libm-test-ulps: Update.
46204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46206         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46207         (pltexit): Likewise.
46208         (La_regs): Likewise.
46209         (La_retval): Likewise.
46210         (int_retval): Likewise.
46211         Update #error for removed macros to refer only to definitions in
46212         tst-audit.h.
46213         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46214         macro.
46215         (pltexit): Likewise.
46216         (La_regs): Likewise.
46217         (La_retval): Likewise.
46218         (int_retval): Likewise.
46219         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46220         macro.
46221         (pltexit): Likewise.
46222         (La_regs): Likewise.
46223         (La_retval): Likewise.
46224         (int_retval): Likewise.
46225         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46226         macro.
46227         (pltexit): Likewise.
46228         (La_regs): Likewise.
46229         (La_retval): Likewise.
46230         (int_retval): Likewise.
46231         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46232         macro.
46233         (pltexit): Likewise.
46234         (La_regs): Likewise.
46235         (La_retval): Likewise.
46236         (int_retval): Likewise.
46237         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46238         macro.
46239         (pltexit): Likewise.
46240         (La_regs): Likewise.
46241         (La_retval): Likewise.
46242         (int_retval): Likewise.
46243         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46244         macro.
46245         (pltexit): Likewise.
46246         (La_regs): Likewise.
46247         (La_retval): Likewise.
46248         (int_retval): Likewise.
46249         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46250         macro definitions in tst-audit.h.
46251         * sysdeps/i386/tst-audit.h: New file.
46252         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46253         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46254         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46255         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46256         * sysdeps/sh/tst-audit.h: Likewise.
46257         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46258         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46259         * sysdeps/x86_64/tst-audit.h: Likewise.
46261 2012-07-26  Andreas Jaeger  <aj@suse.de>
46263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46264         ptrace.
46266         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46267         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46268         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46269         PTRACE_O_MASK.
46270         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46271         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46272         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46274         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46275         value.
46277         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46278         _sigsys.
46279         (si_call_addr, si_syscall, si_arch): Define new macro.
46280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46281         _sigsys.
46282         (si_call_addr, si_syscall, si_arch): Define new marcro.
46283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46284         _sigsys.
46285         (si_call_addr, si_syscall, si_arch): Define new macro.
46286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46287         _sigsys.
46288         (si_call_addr, si_syscall, si_arch): Define new macro.
46290 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46292         [BZ #13717]
46293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46294         Change to 2.4.21 where previously 2.4.1.
46295         * sysdeps/unix/sysv/linux/configure: Regenerated.
46296         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46297         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46298         Linux kernel version.
46299         (__ASSUME_STD_AUXV): Remove.
46300         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46301         kernel version.
46302         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46303         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46304         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46305         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46306         (__ASSUME_NETLINK_SUPPORT): Likewise.
46307         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46308         (__no_netlink_support): Remove conditional definition.
46309         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46310         Remove.
46311         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46312         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46313         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46314         (if_nameindex_ioctl): Remove.
46315         (if_nameindex_netlink): Do not handle __no_netlink_support.
46316         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46317         code.
46318         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46319         Remove conditional code.
46320         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46321         code.
46322         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46323         unconditional.
46324         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46325         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46326         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46327         Remove.
46328         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46329         [!__ASSUME_STD_AUXV]: Remove conditional code.
46330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46331         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46332         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46334         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46335         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46336         code.
46337         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46339         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46340         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46341         conditional code.
46342         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46344         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46345         code.
46346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46347         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46348         conditional code.
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46350         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46351         code unconditional.
46352         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46353         conditional code.
46354         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46355         unconditional.
46356         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46357         conditional code.
46358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46359         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46360         unconditional.
46361         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46362         conditional code.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46364         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46365         code unconditional.
46366         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46367         conditional code.
46368         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46369         unconditional.
46370         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46371         conditional code.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46373         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46374         code unconditional.
46375         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46376         conditional code.
46377         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46378         unconditional.
46379         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46380         conditional code.
46382 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46384         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46385         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46386         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46387         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46388         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46389         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46390         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46391         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46392         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46393         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46394         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46395         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46396         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46397         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46399         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46400         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46401         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46402         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46404         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46405         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46408 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46410         * Versions.def: Add GLIBC_2.17.
46411         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46412         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46413         Introduce __libc_secure_getenv.
46414         * stdlib/Versions (2.17): Add secure_getenv
46415         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46416         * stdlib/secure-getenv.c: Rename __secure_getenv to
46417         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46418         symbol __secure_getenv for GLIBC_2.0.
46419         * stdlib/tst-secure-getenv.c: New.
46420         * stdlib/Makefile (tests): Add testcase.
46421         * manual/startup.texi (Environment Access): Document
46422         secure_getenv.
46423         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46424         __libc_secure_getenv.
46425         * inet/ruserpass.c (ruserpass): Likewise.
46426         * malloc/mtrace.c (mtrace): Likewise.
46427         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46428         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46429         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46430         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46431         HAVE_SECURE_GETENV.
46432         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46433         __secure_getenv to __libc_secure_getenv.
46434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46436         Likewise.
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46438         Likewise.
46439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46447 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46449         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46450         (struct La_i86_retval): Likewise.
46451         (struct La_x86_64_regs): Likewise.
46452         (struct La_x86_64_retval): Likewise.
46453         (struct La_x32_regs): Likewise.
46454         (struct La_x32_retval): Likewise.
46455         (struct La_ppc32_regs): Likewise.
46456         (struct La_ppc32_retval): Likewise.
46457         (struct La_ppc64_regs): Likewise.
46458         (struct La_ppc64_retval): Likewise.
46459         (struct La_sh_regs): Likewise.
46460         (struct La_sh_retval): Likewise.
46461         (struct La_s390_32_regs): Likewise.
46462         (struct La_s390_32_retval): Likewise.
46463         (struct La_s390_64_regs): Likewise.
46464         (struct La_s390_64_retval): Likewise.
46465         (struct La_sparc32_regs): Likewise.
46466         (struct La_sparc32_retval): Likewise.
46467         (struct La_sparc64_regs): Likewise.
46468         (struct La_sparc64_retval): Likewise.
46469         (struct audit_ifaces): Remove architecture-specific pltenter and
46470         pltexit members.
46471         * sysdeps/i386/ldsodefs.h: New file.
46472         * sysdeps/powerpc/ldsodefs.h: Likewise.
46473         * sysdeps/s390/ldsodefs.h: Likewise.
46474         * sysdeps/sh/ldsodefs.h: Likewise.
46475         * sysdeps/sparc/ldsodefs.h: Likewise.
46476         * sysdeps/x86_64/ldsodefs.h: Likewise.
46478 2012-07-25  Marek Polacek  <polacek@redhat.com>
46480         [BZ #6808]
46481         * math/libm-test.inc (yn_test): Add another test.
46482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46483         to ERANGE when the result is +-Inf.
46484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46485         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46486         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46487         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46489 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46491         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46492         equal to 0.
46493         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46494         clock_t.
46495         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46497 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46499         * configure.in <sysdeps resolving>: Correct printing
46500         Implies_before.
46501         * configure: Regenerate.
46503 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46505         * math/w_ilogb.c: Include <limits.h>.
46506         * math/w_ilogbl.c: Likewise.
46508 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46510         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46511         va_copy.  Document allowing for unavailable va_copy only as
46512         pre-C99 compatibility.
46513         * manual/string.texi (Copying and Concatenation): Use va_copy
46514         instead of __va_copy in concat example.
46516 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46518         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46519         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46520         it if not null.
46522         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46523         with O_NOLINK passed to __file_name_lookup.
46525         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46526         with O_NOLINK passed to __file_name_lookup.
46528         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46529         negative N or less than NGIDS.
46531         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46532         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46533         enough.  Use memcpy instead of strncpy.
46535 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46537         * elf/Makefile (check-data): Remove.
46538         (localplt.data): New vpath directive.
46539         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46540         instead of $(check-data).
46541         * scripts/data/localplt-generic.data: Move to ...
46542         * sysdeps/generic/localplt.data: ... here.
46543         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46544         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46545         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46547         ... here.
46548         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46550         ... here.
46551         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46553         ... here.
46554         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46556         ... here.
46557         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46559         ... here.
46560         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46562         ... here.
46564 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46566         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46567         PPC32 and PPC64 files.
46568         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46569         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46571 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46573         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46574         __makecontext_ret to ...
46575         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46576         ... here and call exit if uc_link is NULL.  New file.
46577         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46578         __makecontext_ret.S.
46579         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46580         __makecontext_ret to ...
46581         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46582         ... here and call exit if uc_link is NULL.  New file.
46583         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46584         __makecontext_ret.S.
46586 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46588         * elf/elf.h (R_390_IRELATIVE): New definition.
46589         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46590         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46591         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46592         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46593         (elf_machine_lazy_rel): Likewise.
46594         * sysdeps/s390/dl-irel.h: New file.
46595         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46596         * sysdeps/s390/s390-64/memset.S: New asm code.
46597         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46598         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46599         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46600         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46601         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46602         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46604         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46605         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46606         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46607         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46608         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46609         * sysdeps/s390/s390-32/memset.S: New asm code.
46610         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46612 2012-07-17  Marek Polacek  <polacek@redhat.com>
46614         [BZ #14349]
46615         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46616         * sysdeps/s390/s390-64/configure.in: Likewise.
46617         * sysdeps/sparc/configure.in: Likewise.
46618         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46619         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46620         * sysdeps/i386/configure.in: Likewise.
46621         * sysdeps/x86_64/configure.in: Likewise.
46622         * sysdeps/sh/configure.in: Likewise.
46623         * sysdeps/s390/s390-32/configure: Regenerated.
46624         * sysdeps/s390/s390-64/configure: Likewise.
46625         * sysdeps/x86_64/configure: Likewise.
46626         * sysdeps/sh/configure: Likewise.
46627         * sysdeps/powerpc/powerpc64/configure: Likewise.
46628         * sysdeps/powerpc/powerpc32/configure: Likewise.
46629         * sysdeps/sparc/configure: Likwise.
46630         * sysdeps/i386/configure: Likewise.
46632         * elf/dl-open.c: Comment fixes.
46634 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46636         * Makefile [CXX] (check-data): Remove.
46637         [CXX] (c++-types.data): New vpath directive.
46638         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46639         vpath.  Do not allow for C++ type data being missing.
46640         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46641         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46642         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46643         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46644         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46645         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46646         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46648         ... here.
46649         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46651         ... here.
46652         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46654         ... here.
46655         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46657         ... here.
46658         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46660         ... here.
46661         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46663         ... here.
46664         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46666         ... here.
46667         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46670         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46671         definitions to architecture-specific files.
46672         (TLS_IE): Likewise.
46673         (TLS_LD): Likewise.
46674         (TLS_GD): Likewise.
46675         * sysdeps/i386/tls-macros.h: New file.
46676         * sysdeps/powerpc/tls-macros.h: Likewise.
46677         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46678         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46679         * sysdeps/sh/tls-macros.h: Likewise.
46680         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46681         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46682         * sysdeps/x86_64/tls-macros.h: Likewise.
46684 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46686         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46687         zero value for regular exit case.
46689         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46690         (__start_context): Preserve zero value for regular exit case.
46692 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46693             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46695         * manual/setjmp.texi (setcontext): Clarify normal process
46696         termination when uc_link is the null pointer.
46697         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46698         exit call.
46700 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46702         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46703         preprocessor.  Test for each exception mask separately.
46705 2012-07-16  Andreas Jaeger  <aj@suse.de>
46707         * po/ru.po: Update from translation team.
46709 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46711         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46712         equal to 0.
46713         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46714         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46715         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46716         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46719 2012-07-13  Andreas Jaeger  <aj@suse.de>
46721         * po/fr.po: Update from translation team.
46723 2012-07-12  Marek Polacek  <polacek@redhat.com>
46725         [BZ #14173]
46726         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46727         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46728         loop condition.
46730 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46732         [BZ #13717]
46733         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46734         Change to 2.4.1 where previously 2.4.0.
46735         * sysdeps/unix/sysv/linux/configure: Regenerated.
46736         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46737         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46738         version.
46739         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46740         (__ASSUME_AT_CLKTCK): Remove.
46741         (__ASSUME_AT_PAGESIZE): Likewise.
46742         (__ASSUME_AT_XID): Likewise.
46743         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46744         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46745         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46746         unconditionally.
46747         (HAVE_AUX_PAGESIZE): Likewise.
46748         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46749         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46750         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46752 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46754         [BZ #14307]
46755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46756         the temporary buffer used to invoke __gethostbyname2_r,
46757         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46758         host_data / struct gaih_addrtuple.
46759         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46760         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46761         header file nss/nsswitch.h.
46762         * nss/nsswitch.h (global scope): Add definition of implementation
46763         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46764         resolv/nss_dns/dns-host.c).
46766 2012-07-11  Andreas Jaeger  <aj@suse.de>
46768         * po/fr.po: Update from translation team.
46770         * po/sv.po: Update from translation team
46771         * po/fr.po: Another update from translation team.
46773 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46775         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46776         for subnormals or multiply small sinh result by itself.
46777         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46780 2012-07-11  David S. Miller  <davem@davemloft.net>
46782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46784 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46786         [BZ #14347]
46787         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46788         (INTERNAL_MARK): Shift it here.
46790 2012-07-10  Marek Polacek  <polacek@redhat.com>
46792         [BZ #14151]
46793         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46794         libc_cv_asm_global_directive with .globl.
46795         * configure: Regenerated.
46796         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46797         with .globl.
46798         * sysdeps/i386/configure: Regenerated.
46799         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46800         with .globl.
46801         * sysdeps/x86_64/configure: Regenerated.
46802         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46803         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46804         * elf/tst-unique2mod2.c: Likewise.
46805         * elf/tst-unique2mod1.c: Likewise.
46806         * elf/tst-unique1mod2.c: Likewise.
46807         * elf/tst-unique1mod1.c: Likewise.
46808         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46809         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46810         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46811         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46812         * sysdeps/mach/sysdep.h: Likewise.
46813         * sysdeps/i386/sysdep.h: Likewise.
46814         * sysdeps/i386/i386-mcount.S: Likewise.
46815         * sysdeps/x86_64/_mcount.S: Likewise.
46816         * sysdeps/x86_64/sysdep.h: Likewise.
46817         * sysdeps/sh/_mcount.S: Likewise.
46818         * sysdeps/sh/sysdep.h: Likewise.
46819         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46820         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46821         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46822         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46823         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46824         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46825         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46826         * locale/localeinfo.h: Likewise.
46827         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46828         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46830 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46832         [BZ #14336]
46833         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46834         system".
46835         * manual/message.texi (The Uniforum approach): Likewise.
46836         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46837         (glibc iconv Implementation): Likewise.
46839 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46841         [BZ #14337]
46842         * math/s_clog.c (__clog): Avoid scaling a value down where that
46843         could result in underflow.
46844         * math/s_clog10.c (__clog10): Likewise.
46845         * math/s_clog10f.c (__clog10f): Likewise.
46846         * math/s_clog10l.c (__clog10l): Likewise.
46847         * math/s_clogf.c (__clogf): Likewise.
46848         * math/s_clogl.c (__clogl): Likewise.
46849         * math/libm-test.inc (clog_test): Add more tests.
46850         (clog10_test): Likewise.
46851         * sysdeps/i386/fpu/libm-test-ulps: Update.
46852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46854 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46856         [BZ #14283]
46857         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46858         by 7 not 8 to examine high bit of fractional part.
46860         [BZ #14042]
46861         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46862         for call to __mcount_internal.
46863         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46864         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46865         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46867 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46869         [BZ #14154]
46870         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46871         approximation for values within 0x1p-13f of an odd multiple of
46872         pi/4.
46873         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46874         exception.  Add more tests.
46875         * sysdeps/i386/fpu/libm-test-ulps: Update.
46877         [BZ #6778]
46878         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46879         inputs and return -1 for them.  Do not check for +Inf in case not
46880         reachable for +Inf.
46881         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46882         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46883         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46884         and return -1 for them.  Do not check for +Inf in case not
46885         reachable for +Inf.
46886         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46887         define.
46888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46889         and return -1 for them.  Do not check for +Inf in case not
46890         reachable for +Inf.
46891         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46892         spurious underflow.
46893         * sysdeps/i386/fpu/libm-test-ulps: Update.
46894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46896 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46898         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46900 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46902         [BZ #14157]
46903         [BZ #14331]
46904         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46905         could result in spurious underflow.  Scale down values above
46906         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46907         * math/s_csqrtf.c (__csqrtf): Likewise.
46908         * math/s_csqrtl.c (__csqrtl): Likewise.
46909         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46910         spurious underflow.
46911         * sysdeps/i386/fpu/libm-test-ulps: Update.
46912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46914 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46916         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46917         xopen-msg.sed.
46918         * catgets/xopen-msg.awk: New file.
46919         * catgets/xopen-msg.sed: Removed.
46921         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46922         po2text.sed.
46923         * intl/po2test.awk: New file.
46924         * intl/po2test.sed: Removed.
46926 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #14328]
46929         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46930         or multiply small sinh result by itself.
46931         * math/s_ctanf.c (__ctanf): Likewise.
46932         * math/s_ctanh.c (__ctanh): Likewise.
46933         * math/s_ctanhf.c (__ctanhf): Likewise.
46934         * math/s_ctanhl.c (__ctanhl): Likewise.
46935         * math/s_ctanl.c (__ctanl): Likewise.
46936         * math/libm-test.inc (ctan_test_tonearest): New function.
46937         (ctan_test_towardzero): Likewise.
46938         (ctan_test_downward): Likewise.
46939         (ctan_test_upward): Likewise.
46940         (ctanh_test_tonearest): Likewise.
46941         (ctanh_test_towardzero): Likewise.
46942         (ctanh_test_downward): Likewise.
46943         (ctanh_test_upward): Likewise.
46944         (main): Call these new functions.
46945         * sysdeps/i386/fpu/libm-test-ulps: Update.
46946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46948 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46950         * .gitignore: Delete /ports entry.
46952 2012-07-03  Andreas Jaeger  <aj@suse.de>
46954         * po/bg.po: Update from translation team.
46955         * po/cs.po: Likewise.
46956         * po/de.po: Likewise.
46957         * po/hr.po: Likewise.
46958         * po/nl.pl: Likewise.
46959         * po/pl.po: Likewise.
46960         * po/vi.po: Likewise.
46962 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46964         * Makeconfig [!+link] (+link-before-libc): New variable.
46965         [!+link] (+link-after-libc): Likewise.
46966         [!+link] (+link-tests): Likewise.
46967         [!+link] (+link): Define in terms of $(+link-before-libc) and
46968         $(+link-after-libc).
46969         [!+link-static] (+link-static-before-libc): New variable.
46970         [!+link-static] (+link-static-after-libc): Likewise.
46971         [!+link-static] (+link-static-tests): Likewise.
46972         [!+link-static] (+link-static): Define in terms of
46973         $(+link-static-before-libc) and $(+link-static-after-libc).
46974         [build-shared] (link-libc-before-gnulib): New variable.
46975         [build-shared] (link-libc-tests): Likewise.
46976         [build-shared] (link-libc): Define in terms of
46977         $(link-libc-before-gnulib).
46978         [!build-shared] (link-libc-tests): New variable.
46979         (link-libc-static-tests): New variable.
46980         [!gnulib] (gnulib-arch): New variable.
46981         [!gnulib] (gnulib-tests): Likewise.
46982         [!gnulib] (static-gnulib-arch): Likewise.
46983         [!gnulib] (static-gnulib-tests): Likewise.
46984         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46985         Define with "=" instead of ":=".
46986         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46987         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46988         * Rules (binaries-all-notests): New variable.
46989         (binaries-all-tests): Likewise.
46990         (binaries-static-notests): Likewise.
46991         (binaries-static-tests): Likewise.
46992         (binaries-all): Define using $(binaries-all-notests) and
46993         $(binaries-all-tests).
46994         (binaries-static): Define using $(binaries-static-notests) and
46995         $(binaries-static-tests).
46996         (binaries-shared-tests): New variable.
46997         (binaries-shared-notests): Likewise.
46998         (binaries-shared): Remove variable.
46999         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47000         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47001         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47002         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47003         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47004         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47005         * elf/Makefile (sln-modules): New variable.
47006         (extra-objs): Add $(sln-modules:=.o).
47007         (ldconfig-modules): Add static-stubs.
47008         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47009         * elf/static-stubs.c: New file.
47011         [BZ #14283]
47012         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47013         by 7 not 8 to examine high bit of fractional part.  Use volatile
47014         variables when splitting into final array of floats if
47015         __FLT_EVAL_METHOD__ != 0.
47016         * math/libm-test.inc (cos_test): Add another test.
47017         (sin_test): Likewise.
47018         * sysdeps/i386/fpu/libm-test-ulps: Update.
47020         [BZ #14273]
47021         * math/libm-test.inc (cosh_test): Add more tests.
47023         * version.h (RELEASE): Set to "development".
47024         (VERSION): Set to "2.16.90".
47026 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47028         * NEWS: Update copyright. Remove last-updated date.
47029         Mention math library bug fixes and timezone data changes.
47030         * README: Mention GNU/Hurd, x32, and HPPA support status.
47032 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47034         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47036 2012-06-27  Andreas Jaeger  <aj@suse.de>
47038         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47040 2012-06-25  Andreas Jaeger  <aj@suse.de>
47042         * sysdeps/s390/fpu/libm-test-ulps: Update.
47044 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47045             Thomas Schwinge  <thomas@codesourcery.com>
47047         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47048         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47050         fanotify_mark.
47052 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47054         * sysdeps/mach/start.c: Remove file.
47055         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47056         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47057         * sysdeps/sh/init-first.c: Likewise.
47059         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47060         registers for frame unwinding purposes, add CFI directives.
47061         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47062         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47063         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47064         Likewise.
47066         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47067         __fortify_fail returning.
47068         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47070         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47071         sysdeps/sh/____longjmp_chk.S.
47072         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47073         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47074         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47075         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47077         * sysdeps/sh/abort-instr.h: New file.
47078         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47079         process in case exit returns.
47081         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47082         initialize the GOT register before use.
47084         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47085         calculation of ARGC > 4.
47087         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47088         meaningful names to some local labels.
47090 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47091             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47093         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47094         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47095         (__arch_compare_and_exchange_val_16_acq): Likewise.
47096         (__arch_compare_and_exchange_val_32_acq): Likewise.
47097         (atomic_exchange_and_add): Fix gUSA sequence.
47098         (atomic_add): Likewise.
47099         (atomic_add_negative): Likewise.
47100         (atomic_add_zero): Likewise.
47101         (atomic_bit_test_set): Likewise.
47103 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47105         [BZ #13579]
47106         * include/link.h (struct link_map): Add l_free_initfini.
47107         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47108         l_initfini.
47109         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47110         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47111         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47112         set.
47114 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47116         * configure.in: Use AC_LANG_SOURCE.
47117         * configure: Regenerate.
47119 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47121         * configure.in (libc_cv_localstatedir): New substituted variable.
47122         * configure: Regenerated.
47123         * config.make.in (localstatedir): New variable, substituted from
47124         libc_cv_localstatedir.
47125         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47126         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47127         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47128         * sysdeps/gnu/configure: Regenerated.
47130 2012-06-21  Jeff Law  <law@redhat.com>
47132         [BZ #14277]
47133         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47134         free.  Simplify list management for _LIBC case.
47136 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47138         [BZ #14273]
47139         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47140         Clear sign bit of 64-bit integer value before comparing against
47141         overflow value.
47143         * sysdeps/mach/configure: Regenerated.
47145 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47147         [BZ #14278]
47148         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47150 2012-06-21  Jeff Law  <law@redhat.com>
47152         [BZ #13882]
47153         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47154         uint16_t for elements in the "seen" array to avoid char overflows.
47155         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47156         * elf/dl-open.c (dl_open_worker): Likewise.
47158 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47160         * scripts/list-sources.sh: Scan PORTS for translations.
47161         * po/libc.pot: Regenerated.
47163 2012-06-21  Andreas Jaeger  <aj@suse.de>
47165         [BZ #12194]
47166         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47167         warning.
47168         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47169         * bits/byteswap-16.h (__bswap_16): Likewise.
47170         * bits/byteswap.h (__bswap_constant_16): Likewise.
47172 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47174         [BZ #14117]
47175         * sysdeps/i386/fpu_control.h: Removed.
47176         * sysdeps/x86_64/fpu_control.h: Moved to ...
47177         * sysdeps/x86/fpu_control.h: Here.
47179         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47180         (_FPU_SETCW): Likewise.
47182 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47184         [BZ #14117]
47185         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47186         * sysdeps/x86/fpu/bits/mathinline.h: This.
47187         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47189         [BZ #14050]
47190         [BZ #14117]
47191         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47192         functions if __x86_64__ is defined.
47194 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47196         * string/endian.h: Add !__ASSEMBLER__ condition for including
47197         conversion interfaces.
47199 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47201         [BZ #14241]
47202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47203         of ABS(x) in calculating zero to negative powers other than odd
47204         integers.
47205         * math/libm-test.inc (pow_test): Add more tests.
47207 2012-06-15  Andreas Jaeger  <aj@suse.de>
47209         * manual/contrib.texi (Contributors): Update entry of Liubov
47210         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47211         Machado Filho.
47213 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47215         * string/string.h: Add __wur to GNU version of strerror_r.
47217 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47219         [BZ #14229]
47220         * string/Makefile (tests): Add tst-strtok_r.
47221         * string/tst-strtok_r.c: New file.
47222         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47223         RAX_LP/RDX_LP on SAVE_PTR.
47225 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47227         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47229 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47231         * libm_test.inc (csqrt_test): Allow more spurious underflow
47232         exceptions.
47233         (j0_test): Likewise.
47234         (j1_test): Likewise.
47235         (y0_test): Likewise.
47236         (y1_test): Likewise.
47238 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47240         * po/Makefile (libc.pot): Use UTF-8 charset.
47242 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47244         [BZ #14210]
47245         Suppress sign-conversion warning from FD_SET.
47246         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47247         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47248         not unsigned long int.
47249         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47251 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47253         [BZ #14050]
47254         [BZ #14117]
47255         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47256         __extern_always_inline instead of __extern_inline.
47257         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47258         (__signbit): Likewise.
47259         (__signbitl): Support C++ namespace.
47260         (lrintf): New inline function.
47261         (lrint): Likewise.
47262         (llrintf): Likewise.
47263         (llrint): Likewise.
47264         (fmaxf): Likewise.
47265         (fmax): Likewise.
47266         (fminf): Likewise.
47267         (fmin): Likewise.
47268         (rint): Likewise.
47269         (rintf): Likewise.
47270         (ceil): Likewise.
47271         (ceilf): Likewise.
47272         (floor): Likewise.
47273         (floorf): Likewise.
47274         (nearbyint): Likewise.
47275         (nearbyintf): Likewise.
47277 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47279         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47280         non-default versions.
47282 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47284         [BZ #14218]
47285         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47287 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47289         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47290         (FE_UPWARD, FE_DOWNWARD): Don't define.
47291         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47292         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47294         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47295         reading it.
47296         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47297         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47299 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47301         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47303         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47304         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47306 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47308         [BZ #14117]
47309         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47310         * sysdeps/i386/fpu/Implies: New file.
47311         * sysdeps/x86_64/fpu/Implies: Likewise.
47312         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47313         * sysdeps/x86/fpu/bits/fenv.h: This.
47315         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47316         __SSE_MATH__.
47318 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47320         [BZ #14134]
47321         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47322         character 0xffff that matches the last element of the
47323         conversion table.
47325 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47327         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47328         fmodl commit.
47330 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47333         values higher than 25.6283.
47335 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47338         subnormal exponent extraction and add some __builtin_expect.
47339         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47340         Fix for subnormal mantissa calculation.
47342 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47344         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47345         cpu2 is -1 and errno is not ENOSYS.
47347 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47349         [BZ #14117]
47350         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47351         * sysdeps/x86/bits/string.h: This.
47352         * sysdeps/x86_64/bits/string.h: Removed.
47354         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47355         if not compiling for x86-64, but compiling for >= i486.
47357         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47358         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47360         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47361         New macro from Linux kernel 3.4.0.
47362         (FP_XSTATE_MAGIC2): Likewise.
47363         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47364         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47365         (struct _fpx_sw_bytes): New struct.
47366         (struct _xsave_hdr): Likewise.
47367         (struct _ymmh_state): Likewise.
47368         (struct _xstate): Likewise.
47370         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47371         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47372         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47373         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47374         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47375         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47377         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47378         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47379         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47380         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47381         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47382         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47384 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47386         [BZ #13743]
47387         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47388         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47389         (sysdep_headers): Include sys/platform/ppc.h.
47390         * sysdeps/powerpc/test-gettimebase.c: Test for
47391         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47392         * manual/Makefile (appendices): Include platform.texi.
47393         * manual/contrib.texi (Contributors): Update @node pointers.
47394         * manual/maint.texi (Maintenance): Likewise.
47395         (Platform): New node.
47396         * manual/platform.texi: New file.  Document the new features.
47398 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47399             Jakub Jelinek  <jakub@redhat.com>
47401         [BZ #14188]
47402         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47403         where __builtin_expect is unavailable.
47405 2012-06-03  David S. Miller  <davem@davemloft.net>
47407         * stdlib/longlong.h: Updated from GCC.
47409 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47411         [BZ #14042]
47412         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47413         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47414         __mcount_internal.
47415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47416         (GLIBC_2.16): Likewise.
47418 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47420         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47422 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47425         (default-abi): New variable.
47426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47427         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47428         variable.
47429         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47430         Likewise.
47431         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47432         Likewise.
47433         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47434         Likewise.
47436         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47437         definition.  Document in comment.
47439 2012-06-01  David S. Miller  <davem@davemloft.net>
47441         * stdlib/longlong.h: Updated from GCC.
47443 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47445         [BZ #14117]
47446         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47447         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47448         sys/debugreg.h sys/io.h here.
47449         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47450         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47451         sys/io.h.
47452         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47453         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47454         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47455         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47456         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47457         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47459         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47460         Define only if __x86_64__ is defined.
47462 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47464         [BZ #14048]
47465         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47466         Use int64_t for variable i.
47467         * math/libm-test.inc (fmod_test): Add more tests.
47469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47470         z computation is not scheduled after fetestexcept.
47471         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47472         Use math_force_eval instead of asm to ensure calculation scheduled
47473         before exception test.
47474         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47475         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47477 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47480         computation is not scheduled after fetestexcept.
47482 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47484         [BZ #14117]
47485         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47486         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47488 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47490         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47491         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47493 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47495         [BZ #14117]
47496         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47497         <bits/wordsize.h>.
47498         (__WCHAR_MIN): Support __WORDSIZE == 64.
47499         (__WCHAR_MAX): Likewise.
47501         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47502         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47504         [BZ #14183]
47505         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47506         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47508         [BZ #14117]
47509         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47510         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47512         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47513         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47515         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47516         Defined to 1 if __x86_64__ isn't defined.
47517         (_STAT_VER_LINUX_OLD): New.
47518         (st_atime): Remove duplicate.
47519         (st_mtime): Likewise.
47520         (st_ctime): Likewise.
47522 2012-05-31  David S. Miller  <davem@davemloft.net>
47524         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47525         entries.
47527 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47529         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47530         gen-libm-test.pl.
47532         [BZ #14132]
47533         * elf/dl-reloc.c: Include <_itoa.h>.
47534         (_dl_reloc_bad_type): Remove use of INTUSE.
47535         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47536         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47537         * stdio-common/psiginfo.c (psiginfo): Likewise.
47538         * stdio-common/psignal.c (psignal): Likewise.
47539         * string/strsignal.c (strsignal): Likewise.
47540         * include/signal.h (_sys_siglist): Declare hidden proto.
47541         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47542         INTVARDEF with libc_hidden_data_def.
47543         * stdio-common/itoa-udigits.c: Likewise.
47544         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47545         (_itoa_lower_digits_internal): Remove declaration.
47546         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47547         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47548         (_sys_sigabbrev_internal): Remove aliases.
47549         (_sys_siglist): Define hidden alias.
47551 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47554         bits/sysctl.h.
47556 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47558         [BZ #14117]
47559         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47560         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47562         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47563         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47564         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47565         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47567         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47569         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47570         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47571         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47573         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47574         with __addr.
47575         (insw): Likewise.
47576         (insl): Likewise.
47577         (outsb): Likewise.
47578         (outsw): Likewise.
47579         (outsl): Likewise.
47581         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47582         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47583         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47585         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47586         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47587         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47588         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47589         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47590         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47592         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47593         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47595         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47596         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47598         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47600         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47602         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47603         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47604         to ...
47605         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47607         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47608         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47609         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47611         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47612         for x86-64.
47613         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47615 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47617         * math/math.h (M_El): Use two more decimal places.
47618         (M_LOG2El): Likewise.
47619         (M_LOG10El): Likewise.
47620         (M_LN2l): Likewise.
47621         (M_LN10l): Likewise.
47622         (M_PIl): Likewise.
47623         (M_PI_2l): Likewise.
47624         (M_PI_4l): Likewise.
47625         (M_1_PIl): Likewise.
47626         (M_2_PIl): Likewise.
47627         (M_2_SQRTPIl): Likewise.
47628         (M_SQRT2l): Likewise.
47629         (M_SQRT1_2l): Likewise.
47631 2012-05-31  David S. Miller  <davem@davemloft.net>
47633         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47634         values between float registers.
47635         * sysdeps/sparc/sparc64/memset.S: Likewise.
47636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47638 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47640         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47641         -D_FORTIFY_SOURCE=1.
47642         (CPPFLAGS-tst-longjmp_chk.c): Define.
47643         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47644         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47645         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47646         CFLAGS-tst-wchar-h.c.
47648 2012-05-31  Marek Polacek  <polacek@redhat.com>
47650         [BZ #14132]
47651         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47652         __endmntent_internal): Remove declaration.
47653         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47654         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47655         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47657 2012-05-30  David S. Miller  <davem@davemloft.net>
47659         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47660         (___Q_simulate_exceptions): Use real FP ops rather than writing
47661         into the %fsr.
47662         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47663         Likewise.
47665 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47667         [BZ #14117]
47668         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47669         * sysdeps/x86/bits/xtitypes.h: This.
47671         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47672         * sysdeps/x86/bits/wordsize.h: This.
47674         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47675         * sysdeps/x86/bits/huge_vall.h: This.
47677         * sysdeps/i386/bits/select.h: Removed.
47678         * sysdeps/x86_64/bits/select.h: Renamed to ...
47679         * sysdeps/x86/bits/select.h: This.
47681         * sysdeps/i386/bits/setjmp.h: Removed.
47682         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47683         * sysdeps/x86/bits/setjmp.h: This.
47685         * sysdeps/i386/bits/mathdef.h: Removed.
47686         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47687         * sysdeps/x86/bits/mathdef.h: This.
47689 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47691         [BZ #14132]
47692         * include/sys/socket.h (__connect_internal)
47693         (__libc_sa_len_internal): Remove declaration.
47694         (__connect, __libc_sa_len): Declare hidden_proto.
47695         (SA_LEN): Remove use of INTUSE.
47696         * socket/connect.c: Add libc_hidden_def.
47697         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47698         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47699         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47700         alias.
47701         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47702         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47703         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47704         of adding _internal alias.
47706 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47708         [BZ #14117]
47709         * sysdeps/i386/bits/link.h: Removed.
47710         * sysdeps/i386/bits/linkmap.h: Likewise.
47711         * sysdeps/x86_64/bits/link.h: Renamed to ...
47712         * sysdeps/x86/bits/link.h: This.
47713         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47714         * sysdeps/x86/bits/linkmap.h: This.
47716         * sysdeps/i386/bits/endian.h: Removed.
47717         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47718         * sysdeps/x86/bits/endian.h: This.
47720         * sysdeps/i386/bits/byteswap.h: Removed.
47721         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47722         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47723         * sysdeps/x86/bits/byteswap.h: This.
47724         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47725         * sysdeps/x86/bits/byteswap-16.h: This.
47726         * sysdeps/i386/Implies: Add x86.
47727         * sysdeps/x86_64/Implies: Likewise.
47729 2012-05-30  David S. Miller  <davem@davemloft.net>
47731         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47732         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47733         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47734         (FP_TRAPPING_EXCEPTIONS): Define.
47735         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47736         (FP_TRAPPING_EXCEPTIONS): Define.
47737         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47738         subnormals only when inexact has been signalled or underflow
47739         exceptions are enabled.
47740         (_FP_PACK_CANONICAL): Likewise.
47742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47744         [BZ #14183]
47745         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47746         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47748 2012-05-30  Richard Henderson  <rth@twiddle.net>
47750         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47751         with #ifndef NOT_IN_libc.
47753         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47754         marked to avoid plt entry.
47756 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47758         [BZ #14112]
47759         * Makeconfig (default-abi): New macro.
47760         (abi-includes): Likewise.
47761         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47762         $(abi-$(default-abi)-lib-soname) for soname if defined.
47763         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47764         abi-variants.
47765         * Makefile (installed-stubs): Likewise.
47766         * include/stubs-biarch.h: Removed.
47767         * scripts/lib-names.awk: Only handle one library at a time.
47768         * scripts/soversions.awk: Remove WORDSIZE support.
47769         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47770         entries.
47771         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47772         Removed.
47773         (syscall-list-default-condition): Likewise.
47774         (syscall-list-default-condition): Likewise.
47775         (syscall-list-includes): Likewise.
47776         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47777         syscall-list-* with abi-*.  Handle undefined abi-variants.
47778         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47779         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47780         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47781         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47782         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47783         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47784         Removed.
47785         (syscall-list-32-options): Likewise.
47786         (syscall-list-32-condition): Likewise.
47787         (syscall-list-64-options): Likewise.
47788         (syscall-list-64-condition): Likewise.
47789         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47790         macro.
47791         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47792         Renamed to ...
47793         (abi-*): This.
47794         (abi-64-ld-soname): New macro.
47795         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47796         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47797         Renamed to ...
47798         (abi-*): This.
47799         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47800         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47802 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47804         * sysdeps/unix/sysv/linux/kernel-features.h
47805         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47806         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47807         include <kernel-features.h>.
47808         [!__NR_ftruncate64]: Remove conditional code.
47809         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47810         [__NR_ftruncate64]: Make code unconditional.
47811         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47812         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47813         include <kernel-features.h>.
47814         [!__NR_ftruncate64]: Remove conditional code.
47815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47816         [__NR_ftruncate64]: Make code unconditional.
47817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47819         include <kernel-features.h>.
47820         [!__NR_ftruncate64]: Remove conditional code.
47821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47822         [__NR_ftruncate64]: Make code unconditional.
47823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47825         include <kernel-features.h>.
47826         [!__NR_ftruncate64]: Remove conditional code.
47827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47828         [__NR_ftruncate64]: Make code unconditional.
47829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47831         * configure.in (libc_cv_fpie): Weaken to a compile test using
47832         LIBC_TRY_CC_OPTION.
47833         * configure: Regenerated.
47835 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47841         Refreshed.
47842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47848         Refreshed.
47850 2012-05-27  David S. Miller  <davem@davemloft.net>
47852         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47853         (___Q_zero): New.
47854         (__Q_simulate_exceptions): Return void.  Change to simulate
47855         exceptions by writing into the %fsr.
47856         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47857         (__Qp_handle_exceptions): Likewise.
47858         (numbers): Delete.
47859         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47860         __Qp_handle_exceptions.
47861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47862         __Qp_handle_exceptions.
47863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47864         as unused and give dummy FP_RND_NEAREST initializer.
47865         (FP_INHIBIT_RESULTS): Define.
47866         (___Q_simulate_exceptions): Update declaration.
47867         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47868         formatting.
47869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47870         as unused and give dummy FP_RND_NEAREST initializer.
47871         (__Qp_handle_exceptions): Update declaration.
47872         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47873         formatting.
47875 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47877         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47878         the temporary FPU control word.
47879         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47880         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47881         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47882         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47884         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47885         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47886         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47887         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47888         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47891 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47893         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47894         fields.
47896 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47898         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47899         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47900         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47901         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47902         Likewise.
47903         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47904         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47905         Likewise.
47907 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47909         * po/h.po: Update from translation team.
47911 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47913         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47915         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47916         handling of denormals.
47917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47918         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47919         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47920         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47924         Likewise.
47926 2012-05-26  Marek Polacek  <polacek@redhat.com>
47928         [BZ #14152]
47929         * math/libm-test.inc (fma_test): Don't always expect underflow
47930         exception.
47932 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47934         [BZ #12416]
47935         * elf/tst-execstack.c: Include stackinfo.h.
47936         (do_test): Adjust test case to ensure that pthread_getattr_np
47937         behaviour remains the same after marking stack executable.
47939 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47941         * sysdeps/unix/sysv/linux/kernel-features.h
47942         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47943         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47944         kernel-features.h.
47945         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47946         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47947         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47948         kernel-features.h.
47949         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47950         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47952 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47954         * configure.in: Define the default includes to being none.
47955         * configure: Regenerated.
47957 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47959         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47960         * sysdeps/x86_64/setjmp.S: Likewise.
47961         * sysdeps/i386/bsd-setjmp.S: Likewise.
47962         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47963         * sysdeps/i386/setjmp.S: Likewise.
47964         * sysdeps/i386/__longjmp.S: Likewise.
47965         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47966         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47968         * include/stap-probe.h: New file.
47969         * configure.in: Handle --enable-systemtap.
47970         * configure: Regenerated.
47971         * config.h.in (USE_STAP_PROBE): New #undef.
47972         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47973         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47974         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47976 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47978         [BZ #13717]
47979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47980         to 2.4.0 where earlier.
47981         * sysdeps/unix/sysv/linux/configure: Regenerated.
47982         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47983         <kernel-features.h>.
47984         [__ASSUME_32BITUIDS]: Make code unconditional.
47985         [!__ASSUME_32BITUIDS]: Remove conditional code.
47986         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47987         <kernel-features.h>.
47988         [__ASSUME_32BITUIDS]: Make code unconditional.
47989         [!__ASSUME_32BITUIDS]: Remove conditional code.
47990         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47991         [__ASSUME_32BITUIDS]: Make code unconditional.
47992         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47993         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47994         <kernel-features.h>.
47995         [__ASSUME_32BITUIDS]: Make code unconditional.
47996         [!__ASSUME_32BITUIDS]: Remove conditional code.
47997         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47998         <kernel-features.h>.
47999         [__ASSUME_32BITUIDS]: Make code unconditional.
48000         [!__ASSUME_32BITUIDS]: Remove conditional code.
48001         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48002         <kernel-features.h>.
48003         [__ASSUME_32BITUIDS]: Make code unconditional.
48004         [!__ASSUME_32BITUIDS]: Remove conditional code.
48005         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48006         <kernel-features.h>.
48007         [__ASSUME_32BITUIDS]: Make code unconditional.
48008         [!__ASSUME_32BITUIDS]: Remove conditional code.
48009         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48010         <kernel-features.h>.
48011         [__ASSUME_32BITUIDS]: Make code unconditional.
48012         [!__ASSUME_32BITUIDS]: Remove conditional code.
48013         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48014         <kernel-features.h>.
48015         [__ASSUME_32BITUIDS]: Make code unconditional.
48016         [!__ASSUME_32BITUIDS]: Remove conditional code.
48017         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48018         <kernel-features.h>.
48019         [__ASSUME_32BITUIDS]: Make code unconditional.
48020         [!__ASSUME_32BITUIDS]: Remove conditional code.
48021         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48022         <kernel-features.h>.
48023         [__ASSUME_32BITUIDS]: Make code unconditional.
48024         [!__ASSUME_32BITUIDS]: Remove conditional code.
48025         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48026         <kernel-features.h>.
48027         [__ASSUME_32BITUIDS]: Make code unconditional.
48028         [!__ASSUME_32BITUIDS]: Remove conditional code.
48029         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48030         <kernel-features.h>.
48031         [__ASSUME_32BITUIDS]: Make code unconditional.
48032         [!__ASSUME_32BITUIDS]: Remove conditional code.
48033         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48034         <kernel-features.h>.
48035         [__NR_setresgid] (__setresgid): Do not declare.
48036         [__ASSUME_32BITUIDS]: Make code unconditional.
48037         [!__ASSUME_32BITUIDS]: Remove conditional code.
48038         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48039         <kernel-features.h>.
48040         [__NR_setresuid] (__setresuid): Do not declare.
48041         [__ASSUME_32BITUIDS]: Make code unconditional.
48042         [!__ASSUME_32BITUIDS]: Remove conditional code.
48043         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48044         <kernel-features.h>.
48045         [__ASSUME_32BITUIDS]: Make code unconditional.
48046         [!__ASSUME_32BITUIDS]: Remove conditional code.
48047         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48048         <kernel-features.h>.
48049         [__ASSUME_32BITUIDS]: Make code unconditional.
48050         [!__ASSUME_32BITUIDS]: Remove conditional code.
48051         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48052         <kernel-features.h>.
48053         [__ASSUME_32BITUIDS]: Make code unconditional.
48054         [!__ASSUME_32BITUIDS]: Remove conditional code.
48055         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48056         <kernel-features.h>.
48057         [__ASSUME_32BITUIDS]: Make code unconditional.
48058         [!__ASSUME_32BITUIDS]: Remove conditional code.
48059         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48060         <kernel-features.h>.
48061         [__ASSUME_32BITUIDS]: Make code unconditional.
48062         [!__ASSUME_32BITUIDS]: Remove conditional code.
48063         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48064         <kernel-features.h>.
48065         [__ASSUME_32BITUIDS]: Make code unconditional.
48066         [!__ASSUME_32BITUIDS]: Remove conditional code.
48067         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48068         <kernel-features.h>.
48069         [__ASSUME_32BITUIDS]: Make code unconditional.
48070         [!__ASSUME_32BITUIDS]: Remove conditional code.
48071         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48072         <kernel-features.h>.
48073         [__ASSUME_32BITUIDS]: Make code unconditional.
48074         [!__ASSUME_32BITUIDS]: Remove conditional code.
48075         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48076         <kernel-features.h>.
48077         [__ASSUME_32BITUIDS]: Make code unconditional.
48078         [!__ASSUME_32BITUIDS]: Remove conditional code.
48079         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48080         <kernel-features.h>.
48081         [__ASSUME_32BITUIDS]: Make code unconditional.
48082         [!__ASSUME_32BITUIDS]: Remove conditional code.
48083         * sysdeps/unix/sysv/linux/kernel-features.h
48084         (__ASSUME_SETRESUID_SYSCALL): Remove.
48085         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48086         (__ASSUME_32BITUIDS): Likewise.
48087         (__ASSUME_LDT_WORKS): Likewise.
48088         (__ASSUME_O_DIRECTORY): Likewise.
48089         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48090         architecture but not kernel version.
48091         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48092         (__ASSUME_MMAP2_SYSCALL): Likewise.
48093         (__ASSUME_STAT64_SYSCALL): Likewise.
48094         (__ASSUME_IPC64): Likewise.
48095         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48096         <kernel-features.h>.
48097         [__ASSUME_32BITUIDS]: Make code unconditional.
48098         [!__ASSUME_32BITUIDS]: Remove conditional code.
48099         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48100         <kernel-features.h>.
48101         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48102         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48103         132096]: Remove conditional code.
48104         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48105         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48106         <kernel-features.h>.
48107         [__ASSUME_32BITUIDS]: Make code unconditional.
48108         [!__ASSUME_32BITUIDS]: Remove conditional code.
48109         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48110         <kernel-features.h>.
48111         [__ASSUME_32BITUIDS]: Make code unconditional.
48112         [!__ASSUME_32BITUIDS]: Remove conditional code.
48113         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48114         <kernel-features.h>.
48115         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48116         unconditional.
48117         (__setresgid): Do not declare.
48118         [__ASSUME_32BITUIDS]: Make code unconditional.
48119         [!__ASSUME_32BITUIDS]: Remove conditional code.
48120         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48121         <kernel-features.h>.
48122         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48123         unconditional.
48124         (__setresuid): Do not declare.
48125         [__ASSUME_32BITUIDS]: Make code unconditional.
48126         [!__ASSUME_32BITUIDS]: Remove conditional code.
48127         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48128         <kernel-features.h>.
48129         [__ASSUME_32BITUIDS]: Make code unconditional.
48130         [!__ASSUME_32BITUIDS]: Remove conditional code.
48131         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48132         <kernel-features.h>.
48133         [__ASSUME_32BITUIDS]: Make code unconditional.
48134         [!__ASSUME_32BITUIDS]: Remove conditional code.
48136 2012-05-25  Richard Henderson  <rth@twiddle.net>
48138         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48139         dl_hwcap to ifunc resolver.
48140         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48141         elf_ifunc_invoke.
48142         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48143         dl_hwcap to ifunc resolver.
48144         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48146 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48148         [BZ #14153]
48149         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48150         for |x| <= 2**-26, not 2**-57.
48151         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48152         exception.
48154 2012-05-24  Jeff Law  <law@redhat.com>
48156         * stdio-common/Makefile (tests): Add bug25.
48157         * stdio-common/bug25.c: New test.
48159 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48161         [BZ #13576]
48162         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48163         multiple of MALLOC_ALIGNMENT in size.
48164         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48166 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48168         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48169         Require >= 256.
48170         (FILENAME_MAX): Use macro-int-constant.
48171         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48172         (_IOFBF): Use macro-int-constant.
48173         (_IOLBF): Likewise.
48174         (_IONBF): Likewise.
48175         (SEEK_CUR): Likewise.
48176         (SEEK_END): Likewise.
48177         (SEEK_SET): Likewise.
48178         (TMP_MAX): Likewise.
48179         (EOF): Use macro-int-constant.  Require < 0.
48180         (NULL): Use macro-constant.  Require == 0.
48181         (stdin): Require type to be FILE *.
48182         (stdout): Likewise.
48183         (stderr): Likewise.
48184         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48185         macro-int-constant.
48186         (EXIT_SUCCESS): Likewise.
48187         (NULL): Use macro-constant.  Require == 0.
48188         (RAND_MAX): Use macro-int-constant.
48189         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48190         [C99-based standards] (strtof): Require function.
48191         [C99-based standards] (strtold): Likewise.
48192         [C99-based standards] (strtoll): Likewise.
48193         [C99-based standards] (strtoull): Likewise.
48194         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48195         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48196         [ISO || ISO99 || ISO11] (math.h): Likewise.
48197         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48198         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48201 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48203         [BZ #14132]
48204         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48205         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48206         * intl/dgettext.c (DCGETTEXT): Likewise.
48207         * intl/gettext.c (DCGETTEXT): Likewise.
48208         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48209         * posix/regex_internal.h (gettext): Likewise.
48210         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48211         Remove declaration.
48212         * include/argz.h (__argz_count_internal)
48213         (__argz_stringify_internal): Remove declaration.
48214         (__argz_count, __argz_stringify): Declare hidden proto.
48215         * intl/dcgettext.c: Remove use of INTDEF.
48216         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48217         * string/argz-stringify.c: Likewise.
48218         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48219         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48220         Declare hidden proto.
48221         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48222         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48223         Declare hidden proto.
48224         * include/stdio.h (__asprintf_internal): Don't declare.
48225         (__asprintf): Don't define as macro.  Declare hidden proto.
48226         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48227         (__fsetlocking): Declare hidden proto.
48228         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48229         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48230         hidden proto.
48231         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48232         (_IO_setlinebuf): Remove use of INTUSE.
48233         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48234         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48235         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48236         Remove declaration.
48237         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48238         (_IO_do_flush): Remove use of INTUSE.
48239         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48240         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48241         (_IO_adjust_column, _IO_least_wmarker)
48242         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48243         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48244         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48245         (_IO_default_doallocate, _IO_wdefault_doallocate)
48246         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48247         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48248         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48249         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48250         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48251         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48252         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48253         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48254         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48255         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48256         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48257         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48258         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48259         proto.
48260         (_IO_flush_all_internal, _IO_adjust_column_internal)
48261         (_IO_default_uflow_internal, _IO_default_finish_internal)
48262         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48263         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48264         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48265         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48266         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48267         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48268         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48269         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48270         (_IO_file_close_internal, _IO_file_close_it_internal)
48271         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48272         (_IO_file_init_internal, _IO_file_attach_internal)
48273         (_IO_file_fopen_internal, _IO_file_read_internal)
48274         (_IO_file_sync_internal, _IO_file_seek_internal)
48275         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48276         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48277         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48278         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48279         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48280         (_IO_list_all_internal, _IO_link_in_internal)
48281         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48282         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48283         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48284         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48285         (_IO_do_write_internal, _IO_padn_internal)
48286         (_IO_getline_info_internal, _IO_getline_internal)
48287         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48288         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48289         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48290         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48291         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48292         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48293         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48294         with libc_hidden_ver, remove use of INTUSE.
48295         * libio/genops.c: Likewise.
48296         * libio/freopen.c: Likewise.
48297         * libio/freopen64.c: Likewise.
48298         * libio/iofclose.c: Likewise.
48299         * libio/iofdopen.c: Likewise.
48300         * libio/iofflush.c: Likewise.
48301         * libio/iofflush_u.c: Likewise.
48302         * libio/iofgets.c: Likewise.
48303         * libio/iofgets_u.c: Likewise.
48304         * libio/iofopen.c: Likewise.
48305         * libio/iofopncook.c: Likewise.
48306         * libio/iofread.c: Likewise.
48307         * libio/iofread_u.c: Likewise.
48308         * libio/ioftell.c: Likewise.
48309         * libio/iofwrite.c: Likewise.
48310         * libio/iogetline.c: Likewise.
48311         * libio/iogets.c: Likewise.
48312         * libio/iogetwline.c: Likewise.
48313         * libio/iopadn.c: Likewise.
48314         * libio/iopopen.c: Likewise.
48315         * libio/ioseekoff.c: Likewise.
48316         * libio/ioseekpos.c: Likewise.
48317         * libio/iosetbuffer.c: Likewise.
48318         * libio/iosetvbuf.c: Likewise.
48319         * libio/ioungetc.c: Likewise.
48320         * libio/ioungetwc.c: Likewise.
48321         * libio/iovdprintf.c: Likewise.
48322         * libio/iovsprintf.c: Likewise.
48323         * libio/iovsscanf.c: Likewise.
48324         * libio/memstream.c: Likewise.
48325         * libio/obprintf.c: Likewise.
48326         * libio/oldfileops.c: Likewise.
48327         * libio/oldiofclose.c: Likewise.
48328         * libio/oldiofdopen.c: Likewise.
48329         * libio/oldiofopen.c: Likewise.
48330         * libio/oldiopopen.c: Likewise.
48331         * libio/oldstdfiles.c: Likewise.
48332         * libio/putc.c: Likewise.
48333         * libio/setbuf.c: Likewise.
48334         * libio/setlinebuf.c: Likewise.
48335         * libio/stdfiles.c: Likewise.
48336         * libio/strops.c: Likewise.
48337         * libio/vasprintf.c: Likewise.
48338         * libio/vscanf.c: Likewise.
48339         * libio/vsnprintf.c: Likewise.
48340         * libio/vswprintf.c: Likewise.
48341         * libio/wfiledoalloc.c: Likewise.
48342         * libio/wfileops.c: Likewise.
48343         * libio/wgenops.c: Likewise.
48344         * libio/wmemstream.c: Likewise.
48345         * libio/wstrops.c: Likewise.
48346         * libio/__fpurge.c: Likewise.
48347         * libio/__fsetlocking.c: Likewise.
48348         * assert/assert.c: Likewise.
48349         * debug/fgets_chk.c: Likewise.
48350         * debug/fgets_u_chk.c: Likewise.
48351         * debug/fread_chk.c: Likewise.
48352         * debug/fread_u_chk.c: Likewise.
48353         * debug/gets_chk.c: Likewise.
48354         * debug/obprintf_chk.c: Likewise.
48355         * debug/vasprintf_chk.c: Likewise.
48356         * debug/vdprintf_chk.c: Likewise.
48357         * debug/vsnprintf_chk.c: Likewise.
48358         * debug/vsprintf_chk.c: Likewise.
48359         * malloc/mtrace.c: Likewise.
48360         * misc/error.c: Likewise.
48361         * misc/syslog.c: Likewise.
48362         * stdio-common/asprintf.c: Likewise.
48363         * stdio-common/fxprintf.c: Likewise.
48364         * stdio-common/getw.c: Likewise.
48365         * stdio-common/isoc99_fscanf.c: Likewise.
48366         * stdio-common/isoc99_scanf.c: Likewise.
48367         * stdio-common/isoc99_vfscanf.c: Likewise.
48368         * stdio-common/isoc99_vscanf.c: Likewise.
48369         * stdio-common/isoc99_vsscanf.c: Likewise.
48370         * stdio-common/printf-prs.c: Likewise.
48371         * stdio-common/printf_fp.c: Likewise.
48372         * stdio-common/printf_fphex.c: Likewise.
48373         * stdio-common/printf_size.c: Likewise.
48374         * stdio-common/putw.c: Likewise.
48375         * stdio-common/scanf.c: Likewise.
48376         * stdio-common/sprintf.c: Likewise.
48377         * stdio-common/tmpfile.c: Likewise.
48378         * stdio-common/vfprintf.c: Likewise.
48379         * stdio-common/vfscanf.c: Likewise.
48380         * stdlib/strfmon_l.c: Likewise.
48381         * sunrpc/openchild.c: Likewise.
48382         * sunrpc/xdr_stdio.c: Likewise.
48383         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48384         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48386 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48388         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48390         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48391         in the third column, to generate for the shared library an IFUNC
48392         that uses _dl_vdso_vsym.
48393         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48394         * Makeconfig (object-suffixes-noshared): New variable.
48396         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48397         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48398         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48399         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48401         [BZ #14132]
48402         * include/sys/time.h (__gettimeofday): Remove macro.
48403         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48404         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48405         Remove INTDEF.
48406         (__gettimeofday): Add libc_hidden_def.
48407         (gettimeofday): Add libc_hidden_weak.
48408         * sysdeps/mach/gettimeofday.c: Likewise.
48409         * sysdeps/posix/gettimeofday.c: Likewise.
48410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48411         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48413         (__gettimeofday_internal): Remove strong_alias.
48414         (__gettimeofday): Add libc_hidden_def.
48415         (gettimeofday): Add libc_hidden_weak.
48416         * sysdeps/unix/syscalls.list (gettimeofday):
48417         Remove __gettimeofday_internal alias.
48419 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48420             H.J. Lu  <hongjiu.lu@intel.com>
48422         [BZ #12495]
48423         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48424         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48425         (largebin_index_32_big): New.
48426         (largebin_index): Use it for 16-byte alignment.
48427         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48428         correction with front_misalign.
48430 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48434         Likewise.
48435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48436         Likewise.
48437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48438         Likewise.
48439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48440         Likewise.
48441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48442         Likewise.
48443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48444         Likewise.
48445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48446         Likewise.
48447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48448         Likewise.
48449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48450         Likewise.
48451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48452         Likewise.
48453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48454         Likewise.
48455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48456         Likewise.
48458         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48459         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48461 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48463         [BZ #10846]
48464         [BZ #14036]
48465         * math/libm-test.inc (exp_test): Add test from bug 14036.
48466         (pow_test): Add test from bug 10846.
48468         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48469         and other flags.
48470         (special_function): Do not include flags in test name.
48471         (parse_args): Likewise.
48472         * sysdeps/i386/fpu/libm-test-ulps: Update.
48473         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48474         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48475         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48478         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48479         exceptions.
48480         * math/libm-test.inc ("Philosophy"): Update comment about
48481         exception testing.
48482         (UNDERFLOW_EXCEPTION): New macro.
48483         (UNDERFLOW_EXCEPTION_OK): Likewise.
48484         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48485         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48486         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48487         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48488         (INVALID_EXCEPTION_OK): Update value.
48489         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48490         (OVERFLOW_EXCEPTION_OK): Likewise.
48491         (IGNORE_ZERO_INF_SIGN): Likewise.
48492         (test_exceptions): Handle underflow exceptions.
48493         (acos_test): Update for underflow exception expectations.
48494         (cexp_test): Likewise.
48495         (clog_test): Likewise.
48496         (clog10_test): Likewise.
48497         (csqrt_test): Likewise.
48498         (ctan_test): Likewise.
48499         (ctanh_test): Likewise.
48500         (exp_test): Likewise.
48501         (exp10_test): Likewise.
48502         (exp2_test): Likewise.
48503         (expm1_test): Likewise.
48504         (fma_test): Likewise.
48505         (j0_test): Likewise.
48506         (jn_test): Likewise.
48507         (nexttoward_test): Likewise.
48508         (pow_test): Likewise.
48509         (scalbn_test): Likewise.
48510         (scalbln_test): Likewise.
48511         (tan_test): Likewise.
48512         (y1_test): Likewise.
48513         * sysdeps/i386/fpu/libm-test-ulps: Update.
48514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48516 2012-05-23  David S. Miller  <davem@davemloft.net>
48518         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48519         (__libc_sigaction): Remove unused local variables.
48521 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48523         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48525 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48527         mktime: avoid signed integer overflow
48528         * time/mktime.c (__mktime_internal): Do not mishandle the case
48529         where diff == INT_MIN.
48531         mktime: simplify computation of average
48532         * time/mktime.c (ranged_convert): Use new time_t_avg function
48533         instead of rolling our own (probably-slower) code.
48535         mktime: do not assume signed right shift propagates sign bit
48536         * time/mktime.c (isdst_differ): New static function.
48537         (__mktime_internal): No need to normalize tm_isdst now.
48538         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48539         tm_isdst values.
48541         mktime: merge another wrapv change from gnulib
48542         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48543         from some compilers.
48545         mktime: remove incorrect attempt at unusual arithmetics
48546         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48547         The code didn't really work on such machines anyway.
48548         (TYPE_MINIMUM): Assume two's complement.
48549         (twos_complement_arithmetic): Verify that long_int and time_t
48550         are two's complement (or unsigned, in the latter case).
48552         mktime: check signed shifts on long_int and time_t, too
48553         * time/mktime.c (SHR): Check that shifts work as desired
48554         on the types long_int and time_t too, as SHR is used on
48555         such types.
48557         mktime: do not assume 'long' is wide enough
48558         * time/mktime.c (verify): Move decl up.
48559         (long_int): New type.
48560         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48561         to remove assumption in the code that 'long' is wide enough to
48562         store year values.  This assumption is not true on x32 and on
48563         some non-glibc platforms.
48565         mktime: merge wrapv change from gnulib
48566         * time/mktime.c (WRAPV): New macro.
48567         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48568         (guess_time_tm, __mktime_internal): Do not assume that signed
48569         integer overflow wraps around; modern compilers generate code
48570         where this assumption is no longer valid.
48572 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48574         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48575         Replace "jmp L(pseudo_end)" with "ret".
48576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48577         Likewise.
48579 2012-05-23  Andreas Jaeger  <aj@suse.de>
48581         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48582         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48584 2012-05-23  Andreas Jaeger  <aj@suse.de>
48585             Maximilian Attems  <max@stro.at>
48587         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48588         New macros.
48590 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48592         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48593         code so that pseudo_end is just ret and the stack pointer is
48594         correct also for static library in error case.
48596 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48598         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48599         move to syscalls.list.
48600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48605         * manual/install.texi (Running make install): Do not mention Linux
48606         kernel version for which pt_chown is not needed.
48607         (Linux): Do not mention problems with nscd with 2.0 kernels.
48608         * INSTALL: Regenerated.
48610 2012-05-23  Andreas Jaeger  <aj@suse.de>
48612         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48613         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48614         macro.
48615         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48616         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48617         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48618         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48619         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48620         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48623         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48625         * sysdeps/unix/sysv/linux/bits/in.h
48626         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48628 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48630         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48631         (PREPARE_VERSION): Just use assert instead, it will be elided
48632         under [NDEBUG] anyway.
48634 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48636         * sysdeps/unix/sysv/linux/Makefile: Include
48637         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48638         (sysdep_routines): Remove sysctl.
48639         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48640         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48641         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48642         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48643         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48645 2012-05-22  Andreas Jaeger  <aj@suse.de>
48647         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48648         that pseudo_end is just ret and the stack pointer is correct also
48649         for static library in error case.
48651 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48653         [BZ #14122]
48654         * nss/nsswitch.c (defconfig_entries): New variable.
48655         (__nss_database_lookup): Don't leak defconfig entries.
48656         (nss_parse_service_list): Don't leak on error paths.
48657         (free_database_entries): New function.
48658         (free_defconfig): New function.
48659         (free_mem): Move common code to free_database_entries.
48661 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48663         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48664         Add arch_prctl.
48665         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48667         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48668         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48670         New macro.
48671         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48672         (INTERNAL_SYSCALL_TYPES): Likewise.
48673         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48674         (LOAD_REGS_TYPES_[1-6]): Likewise.
48675         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48676         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48678 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48680         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48681         copysignl for GLIBC_2_0.
48682         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48683         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48685         logbl for GLIBC_2_0.
48686         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48687         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48689 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48691         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48692         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48694         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48695         Use "neg %eax".
48697         * time/mktime.c: Update copyright years.
48699 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48701         mktime: merge comment-quoting-style change from gnulib
48702         * time/mktime.c: Quote 'like this' in comments.
48703         The GNU coding standards suggest that we no longer quote `like this',
48704         as "`" and "'" are typically rendered asymmetrically nowadays.
48705         The typical gnulib style is to quote 'like this' when quoting
48706         code, and "like this" when quoting English.
48708         * time/mktime.c (compile-command): Add "-I.".
48710         mktime: merge mktime-internal.h change from gnulib
48711         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48713         mktime: merge time_r change from gnulib
48714         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48716         mktime: merge DEBUG change from gnulib
48717         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48718         case system <time.h> has a #define.
48720         mktime: merge <sys/types.h> change from gnulib
48721         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48722         since <time.t> is now guaranteed to define time_t.
48724         mktime: merge HAVE_CONFIG_H change from gnulib
48725         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48727 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48730         Use "neg %eax".
48732         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48733         __rlim_t cast.
48734         (struct rusage): Use anonymous union to pad each field to
48735         __syscall_slong_t.
48737 2012-05-21  David S. Miller  <davem@davemloft.net>
48739         * Makefules (o-iterator): Remove .s cases.
48740         (compile-command.s): Delete.
48741         (COMPILE.s): Delete.
48742         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48744 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48746         * configure.in (libc_cv_predef_stack_protector): Only consider
48747         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48748         * configure: Regenerated.
48750 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48753         New macro.  Use R*LP on int and pointer.
48754         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48755         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48756         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48757         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48759         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48760         [__WORDSIZE_TIME64_COMPAT32] instead of
48761         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48762         (struct utmp): Likewise.
48763         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48764         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48765         Renamed to ...
48766         (__WORDSIZE_TIME64_COMPAT32): This.
48767         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48768         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48769         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48770         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48771         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48772         (__WORDSIZE_TIME64_COMPAT32): New macro.
48774 2012-05-21  Andreas Jaeger  <aj@suse.de>
48776         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48777         only if [SHARED]. Add prototype for __wcschr_ia32.
48779 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48781         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48782         of %rbp unmolested in the jmp_buf while mangling the low bits.
48783         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48784         unmolested high bits of %rbp while demangling the low bits.
48785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48787 2012-05-21  Andreas Jaeger  <aj@suse.de>
48789         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48790         * sunrpc/svc_simple.c: Use it for registerrpc.
48791         * sunrpc/xcrypt.c: Use it for passwd2des.
48793         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48795 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48797         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48798         Don't define if [__SYSCALL_WORDSIZE != 32].
48799         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48800         New macro.
48802 2012-05-21  Bruno Haible  <bruno@clisp.org>
48803             Andreas Jaeger  <aj@suse.de>
48805         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48806         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48807         inptr and inend for must_buffer_ch.
48808         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48809         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48810         * stdio-common/Makefile (tests): Remove bug15.
48811         (bug15-ENV): Remove macro.
48812         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48813         anymore.
48815 2012-05-19  Andreas Jaeger  <aj@suse.de>
48816             Roland McGrath  <roland@hack.frob.com>
48818         * manual/contrib.texi: Completely rewritten. It contains now an
48819         alphabetical list of contributors and their contributions.
48821 2012-05-21  Richard Henderson  <rth@twiddle.net>
48823         * misc/getauxval.c (__getauxval): Use unsigned long int.
48824         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48825         (getauxval): Use unsigned long int.
48827 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48829         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48831 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48833         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48834         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48835         __alignof__ (long double).
48837 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48841 2012-05-20  Richard Henderson  <rth@twiddle.net>
48843         * misc/getauxval.c: New file.
48844         * misc/sys/auxv.h: New file.
48845         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48846         (routines): Add getauxval.
48847         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48849         * elf/dl-sysdep.c (_dl_auxv): Remove.
48850         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48851         * elf/dl-support.c (_dl_auxv): New variable.
48852         (_dl_aux_init): Initialize it.
48853         * manual/startup.texi (Auxiliary Vector): New node.
48854         * sysdeps/generic/bits/hwcap.h: New file.
48855         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48856         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48857         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48858         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48859         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48862         Update.
48863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48872 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48876 2012-05-19  David S. Miller  <davem@davemloft.net>
48878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48880 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48882         [BZ #14123]
48883         * math/s_ccosh.c: Include <float.h>
48884         (__ccosh): Avoid internal overflow calculating sinh and cosh
48885         values before multiplying by sin and cos values.
48886         * math/s_ccoshf.c: Likewise.
48887         * math/s_ccoshl.c: Likewise.
48888         * math/s_csin.c: Likewise.
48889         * math/s_csinf.c: Likewise.
48890         * math/s_csinl.c: Likewise.
48891         * math/s_csinh.c: Likewise.
48892         * math/s_csinhf.c: Likewise.
48893         * math/s_csinhl.c: Likewise.
48894         * math/libm-test.inc (ccos_test): Add more tests.
48895         (ccosh_test): Likewise.
48896         (csin_test): Likewise.
48897         (csinh_test): Likewise.
48898         * sysdeps/i386/fpu/libm-test-ulps: Update.
48899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48901 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48903         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48904         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48906         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48908 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48910         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48911         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48912         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48913         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48914         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48915         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48916         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48917         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48918         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48919         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48920         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48921         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48922         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48923         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48924         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48925         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48926         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48927         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48928         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48929         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48930         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48931         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48932         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48933         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48934         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48935         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48936         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48937         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48938         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48939         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48940         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48942 2012-05-18  Andreas Jaeger  <aj@suse.de>
48944         * csu/.gitignore: Delete.
48946 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48948         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48949         (timex): Use __syscall_slong_t.
48951 2012-05-18  Andreas Jaeger  <aj@suse.de>
48952             Carlos O'Donell  <carlos_odonell@mentor.com>
48954         * manual/install.texi (Configuring and compiling): Update
48955         description about files modified in the source directory.
48956         * INSTALL: Regenerated.
48958 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48960         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48961         value.  Use "or" to set return value to -1.
48962         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48963         negate return value.
48965 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48967         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48968         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48969         failure if the compiler has Graphite support disabled.
48970         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48971         Likewise.
48972         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48973         (CFLAGS-memmove.c): Likewise.
48974         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48975         Likewise.
48977 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48979         * sysdeps/x86_64/x32/_itoa.h: New file.
48981         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48982         getdents system call only if kernel and user dirents have the
48983         same d_ino and d_off.
48985         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48986         LLONG_MAX != LONG_MAX.
48987         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48988         (_fitoa_word): Likewise.
48990         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48991         years.
48992         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48993         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48994         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48996         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48997         include <bits/wordsize.h>.  Check __x86_64__ instead of
48998         __WORDSIZE.
48999         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49000         if __x86_64__ is defined.  Use anonymous union on fpstate.
49002         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49003         anonymous union.
49005 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49007         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49008         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49009         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49010         Refer to _rtld_local_ro instead of _rtld_global_ro.
49011         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49012         Likewise.
49013         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49014         Likewise.
49015         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49016         Likewise.
49017         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49018         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49019         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49021         * sysdeps/powerpc/powerpc32/dl-machine.c
49022         (__elf_machine_runtime_setup) [PROF]: Don't reference
49023         _dl_prof_resolve.
49025 2012-05-18  Andreas Jaeger  <aj@suse.de>
49027         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49028         function only available for GCCs before 3.4 since GCC 3.4
49029         introduced a builtin.
49030         (lrint): Likewise.
49031         (llrintf): Likewise.
49032         (llrint): Likewise.
49033         (fmaxf): Likewise.
49034         (fmax): Likewise.
49035         (fminf): Likewise.
49036         (fmin): Likewise.
49037         (rint): Likewise.
49038         (rintf): Likewise.
49039         (nearbyint): Likewise.
49040         (nearbyintf): Likewise.
49041         (ceil): Likewise.
49042         (ceilf): Likewise.
49043         (floor): Likewise.
49044         (floorf): Likewise.
49046 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49048         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49049         on both fields and cast pointer to __syscall_ulong_t.
49051         * bits/types.h (__fsword_t): New type.
49052         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49053         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49055         (__FSWORD_T_TYPE): Likewise.
49056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49057         (__FSWORD_T_TYPE): Likewise.
49058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49059         (__FSWORD_T_TYPE): Likewise.
49060         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49061         (__FSWORD_T_TYPE): Likewise.
49062         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49063         __SWORD_TYPE with __fsword_t.
49064         (statfs64): Likewise.
49066 2012-05-17  David S. Miller  <davem@davemloft.net>
49068         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49070 2012-05-17  Andreas Jaeger  <aj@suse.de>
49072         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49073         warning.
49075 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49077         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49079 2012-05-17  Andreas Jaeger  <aj@suse.de>
49081         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49082         when it is used.
49084 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49086         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49088 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49090         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49091         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49093 2012-05-17  Andreas Jaeger  <aj@suse.de>
49094             Carlos O'Donell  <carlos_odonell@mentor.com>
49096         [BZ #14059]
49097         * sysdeps/x86_64/multiarch/init-arch.h
49098         (bit_YMM_Usable): Rename to...
49099         (bit_AVX_Usable): ... this.
49100         (bit_FMA4_Usable): New macro.
49101         (bit_XMM_state): New macro.
49102         (bit_YMM_state): New macro.
49103         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49104         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49105         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49106         (CPUID_OSXSAVE): New macro.
49107         (CPUID_AVX): New macro.
49108         (CPUID_FMA4): New macro.
49109         (index_YMM_Usable): Rename to...
49110         (index_AVX_Usable): ... this.
49111         (HAS_AVX): Use HAS_ARCH_FEATURE.
49112         (HAS_FMA4): Likewise.
49113         (HAS_YMM_USABLE): Remove.
49114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49115         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49116         are present.
49117         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49118         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49119         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49120         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49121         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49123 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49125         * math/libm-test.c: Support platforms without multiple rounding modes.
49126         * math/bug-nextafter.c: Support platforms without FP exceptions.
49127         * math/bug-nexttoward.c: Likewise.
49128         * math/test-fenv.c: Likewise.
49129         * math/test-misc.c: Likewise.
49130         * stdlib/bug-getcontext.c: Likewise.
49132 2012-05-17  Andreas Jaeger  <aj@suse.de>
49134         * manual/examples/search.c (critter_cmp): Change signature to
49135         avoid warnings.
49136         * manual/string.texi (Collation Functions): Likewise.
49138 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49140         * bits/types.h: Fold copyright years.
49141         * bits/typesizes.h: Likewise.
49142         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49146         * time/time.h: Likewise.
49148 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49150         [BZ #208]
49151         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49152         in instead of returning them.  Return void.
49153         (__libc_mallinfo): Accumulate over all arenas.
49154         (__malloc_stats): Adjust for change in int_mallinfo interface.
49156 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49158         [BZ #10375]
49159         * configure.in (NM): Add AC_CHECK_TOOL for it.
49160         (libc_extra_cflags): New substituted variable.
49161         Check for -fstack-protector being used implicitly.
49162         * configure: Regenerated.
49163         * config.make.in (config-extra-cflags): New variable,
49164         gets @libc_extra_cflags@.
49165         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49167         [BZ #10375]
49168         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49169         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49170         * configure: Regenerated.
49171         * config.make.in (CPPUNDEFS): New substituted variable.
49172         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49173         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49174         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49178         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49179         (mq_attr): Use __syscall_slong_t.
49181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49183         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49184         Check __x86_64__ instead of __WORDSIZE.
49185         (_STAT_VER_LINUX): Likewise.
49186         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49187         __syscall_ulong_t and __syscall_slong_t.
49188         (stat64): Likewise.
49190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49192         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49196         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49200         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49201         __syscall_ulong_t.
49203         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49204         include <bits/wordsize.h>.  Check __x86_64__ instead of
49205         __WORDSIZE.
49206         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49207         defined.
49208         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49210         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49211         include <bits/wordsize.h>.  Check __x86_64__ instead of
49212         __WORDSIZE.
49213         (user_regs_struct): Use "__extension__ unsigned long long"
49214         instead of "unsigned long" if __x86_64__ is defined.
49215         (user): Likewise.  Pad after pointer field if __ILP32__ is
49216         defined.
49218 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49220         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49221         versions 5 to 9.
49222         * configure: Regenerated.
49223         * manual/install.texi (texinfo): Increase version requirement to
49224         4.5 or later.
49225         * INSTALL: Regenerated.
49227         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49231         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49233         * sysdeps/x86_64/x32/ffs.c: New file.
49235         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49236         __syscall_ulong_t.
49237         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49238         defined.  Use __syscall_ulong_t.
49239         (shminfo): Use __syscall_ulong_t.
49240         (shm_info): Likewise.
49242         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49243         __syscall_ulong_t.
49245         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49246         <bits/wordsize.h>.
49247         (msgqnum_t): Use __syscall_ulong_t.
49248         (msglen_t): Likewise.
49249         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49250         __syscall_ulong_t.
49252         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49253         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49255         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49257         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49258         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49260         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49261         __syscall_slong_t.
49263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49264         include <bits/wordsize.h>.  Check __x86_64__ instead of
49265         __WORDSIZE.
49267         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49268         "unsigned long long int" if __x86_64__ is defined.
49269         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49271         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49272         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49273         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49275         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49276         <stdint.h>.
49277         (GET_PC): Cast to uintptr_t first.
49278         (GET_FRAME): Likewise.
49279         (GET_STACK): Likewise.
49281         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49282         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49285         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49287         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49288         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49289         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49290         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49297         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49306         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49307         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49308         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49311 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49313         * Makerules (+depfiles): Also collect depfiles from .oS in
49314         $(extra-objs).
49315         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49316         .oS, $(libnldbl-routines)).
49318         * Makerules (native-compile-mkdep-flags): Define.
49319         * sunrpc/Makefile (extra-objs): Add $(addprefix
49320         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49321         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49322         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49323         calling $(make-target-directory).
49325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49327         * bits/types.h (__snseconds_t): Removed.
49328         * time/time.h (struct timespec): Replace __snseconds_t with
49329         __syscall_slong_t.
49330         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49331         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49332         Likewise.
49333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49334         (__SNSECONDS_T_TYPE): Likewise.
49335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49336         (__SNSECONDS_T_TYPE): Likewise.
49337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49338         (__SNSECONDS_T_TYPE): Likewise.
49340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49342         * sysdeps/mach/hurd/bits/typesizes.h
49343         (__SYSCALL_SLONG_TYPE): New macro.
49344         (__SYSCALL_ULONG_TYPE): Likewise.
49346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49348         * bits/types.h (__syscall_slong_t): New type.
49349         (__syscall_ulong_t): Likewise.
49351         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49352         (__SYSCALL_ULONG_TYPE): Likewise.
49353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49354         (__SYSCALL_SLONG_TYPE): Likewise.
49355         (__SYSCALL_ULONG_TYPE): Likewise.
49356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49357         (__SYSCALL_SLONG_TYPE): Likewise.
49358         (__SYSCALL_ULONG_TYPE): Likewise.
49359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49360         (__SYSCALL_SLONG_TYPE): Likewise.
49361         (__SYSCALL_ULONG_TYPE): Likewise.
49363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49365         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49366         Add sigaltstack-offsets.sym.
49367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49368         <sigaltstack-offsets.h>.
49369         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49370         longjmp_msg pointer.
49371         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49372         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49373         signal stack.
49374         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49376 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49378         * elf/stackguard-macros.h: Remove file.
49379         * sysdeps/generic/stackguard-macros.h: New file.
49380         * sysdeps/i386/stackguard-macros.h: Likewise.
49381         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49382         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49383         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49384         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49385         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49386         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49387         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49388         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49389         <elf/stackguard-macros.h>.
49391         [BZ #14109]
49392         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49393         __aligned__ in attribute.
49394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49395         (gregset_t): Likewise.
49397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49399         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49400         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49401         * sysdeps/x86_64/x32/Implies-after: New file.
49403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49405         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49406         and access return value for _dl_profile_fixup.  Use R10_LP to
49407         load frame size.
49409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49411         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49415         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49416         * sysdeps/x86_64/x32/sysdep.h: New file.
49418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49420         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49421         * sysdeps/x86_64/setjmp.S: Likewise.
49423 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49425         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49427         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49428         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49429         remove unused global constant.
49431 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49433         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49434         include of <not-cancel.h>.
49436 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49438         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49440 2012-05-15  Jeff Law  <law@redhat.com>
49441             Andreas Jaeger  <aj@suse.de>
49443         [BZ #13594]
49444         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49445         out from...
49446         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49447         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49448         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49449         code changing __hst_map_handle.map.
49451 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49453         * configure.in (sysnames): Look for Implies-before and Implies-after
49454         files.
49455         * configure: Regenerated.
49457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49460         8-byte data alignment with LP_SIZE alignment.
49462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49464         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49465         into R10_LP.
49467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49469         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49474         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49476         Likewise.
49477         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49481         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49482         (stackinfo_sub_sp): Likewise.
49484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49487         RAX_LP.
49489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49492         into R*_LP.
49494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49497         sizes into R*_LP.
49499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49501         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49505         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49506         into R11_LP and load __x86_64_shared_cache_size_half into
49507         R8_LP.
49509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49512         R8_LP.
49514 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49517         logb for POWER7.
49518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49519         logbf for POWER7.
49520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49521         logbl for POWER7.
49522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49523         powerpc32/power7/fpu/s_logb.c via #include.
49524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49525         powerpc32/power7/fpu/s_logbf.c via #include.
49526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49527         powerpc32/power7/fpu/s_logbl.c via #include.
49529 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49531         * README.libm: Remove file.
49533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49535         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49536         count for x32.  Use R*_LP and omit operand-size suffix.
49538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49540         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49541         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49542         * sysdeps/x86_64/x32/shlib-versions: New file.
49544 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49546         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49547         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49548         Use _dl_fatal_printf instead.
49550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49552         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49553         set if not set by the user.  Do not allow for being unset.
49554         * sysdeps/unix/sysv/linux/configure: Regenerated.
49556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49558         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49559         the `q' suffix from lea and replace .quad with ASM_ADDR.
49561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49564         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49565         instead of $17.
49566         (PTR_DEMANGLE): Likewise.
49568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49570         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49571         (LP_OP): Likewise.
49572         (ASM_ADDR): Likewise.
49573         (RAX_LP): Likewise.
49574         (RBP_LP): Likewise.
49575         (RBX_LP): Likewise.
49576         (RCX_LP): Likewise.
49577         (RDI_LP): Likewise.
49578         (RSI_LP): Likewise.
49579         (RSP_LP): Likewise.
49580         (R8_LP): Likewise.
49581         (R9_LP): Likewise.
49582         (R10_LP): Likewise.
49583         (R10_LP): Likewise.
49584         (R11_LP): Likewise.
49585         (R12_LP): Likewise.
49586         (R13_LP): Likewise.
49587         (R14_LP): Likewise.
49588         (R15_LP): Likewise.
49590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49592         * sysdeps/x86_64/x32/dl-machine.h: New file.
49594 2012-05-14  Andreas Jaeger  <aj@suse.de>
49596         * manual/Makefile (subdir): Remove export of subdir.
49597         (all): Remove target.
49598         (.PHONY): Remove all from list.
49599         (mkinstalldirs): Remove.
49600         (.PHONY): Remove installdirs from list.
49601         ($(inst_infodir)/libc.info): Use make-target-directory.
49602         (installdirs): Remove.
49603         (subdir_%): Remove.
49604         (glibc-targets): Remove.
49605         (lib): Remove.
49606         (stubs): Remove.
49607         ($(objpfx)stubs ../po/manual.pot): Remove.
49608         ($(objpfx)stamp%): Remove.
49609         (make-target-directory): Remove.
49610         (subdir_install): Remove.
49611         (routines): Remove.
49612         (aux): Remove.
49613         (sources): Remove.
49614         (objects): Remove.
49615         (headers): Remove.
49617         [BZ #13750]
49618         * manual/.gitignore: Remove, it's not needed anymore.
49619         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49620         all files in it.
49621         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49622         directory.
49623         (texis): Renamed to $(objpfx)texis.
49624         (texis-path): New, contains path to generated files.
49625         (chapters.%): Use texis-path for complete path, add extra argument
49626         libc-texinfo.sh.
49627         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49628         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49629         (summary,texi, stamp-summary): Use complete path of
49630         files. Generate files in build dir.
49631         (dir-add.texi): Build in build dir.
49632         (libm-err.texi,stamp-libm-err): Likewise.
49633         (version.texi, stamp-version): Likewise.
49634         (.%c.texi): Likewise.
49635         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49636         (mostlyclean): Remove target.
49637         (realclean): Remove target.
49638         (generated): Add new variable with contents from mostlyclean and
49639         realclean, remove entries duplicated in common-mostlyclean, add
49640         stamp-libm-err and stamp-version.
49641         (generated-dirs): Add libc directory.
49642         ($(inst_infodir)/libc.info): Install files from build dir.
49644         * manual/install.texi (Configuring and compiling): Adjust since
49645         the info files are not part of the tar ball anymore.
49647 2012-05-14  Andreas Jaeger  <aj@suse.de>
49649         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49650         variable.
49652 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49654         [BZ #13717]
49655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49656         to 2.2.0 where earlier.
49657         * sysdeps/unix/sysv/linux/configure: Regenerated.
49658         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49659         Remove conditional code.
49660         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49661         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49662         Remove conditional code.
49663         [!__NR_lchown]: Likewise.
49664         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49665         [__NR_lchown]: Likewise.
49666         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49667         comment referencing __ASSUME_LCHOWN_SYSCALL.
49668         * sysdeps/unix/sysv/linux/i386/sigaction.c
49669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49671         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49672         Remove conditional code.
49673         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49674         (__protocol_available): Remove #if 0 code.
49675         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49676         conditional code.
49677         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49678         * sysdeps/unix/sysv/linux/kernel-features.h
49679         (__ASSUME_GETCWD_SYSCALL): Don't define.
49680         (__ASSUME_REALTIME_SIGNALS): Likewise.
49681         (__ASSUME_PREAD_SYSCALL): Likewise.
49682         (__ASSUME_PWRITE_SYSCALL): Likewise.
49683         (__ASSUME_POLL_SYSCALL): Likewise.
49684         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49685         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49686         non-SPARC.
49687         (__ASSUME_SIOCGIFNAME): Don't define.
49688         (__ASSUME_MSG_NOSIGNAL): Likewise.
49689         (__ASSUME_SENDFILE): Define unconditionally.
49690         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49691         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49692         conditional code.
49693         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49694         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49695         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49696         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49697         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49698         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49699         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49701         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49702         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49704         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49707         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49708         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49710         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49711         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49713         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49716         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49717         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49722         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49723         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49724         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49725         Remove conditional code.
49726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49727         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49728         Remove conditional code.
49729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49730         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49731         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49732         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49733         Remove conditional code.
49734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49735         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49736         Remove conditional code.
49737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49738         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49739         Remove conditional code.
49740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49741         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49742         Remove conditional code.
49743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49744         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49745         Remove conditional code.
49746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49747         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49748         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49749         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49750         * sysdeps/unix/sysv/linux/sigaction.c
49751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49753         * sysdeps/unix/sysv/linux/sigpending.c
49754         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49755         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49756         * sysdeps/unix/sysv/linux/sigprocmask.c
49757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49759         * sysdeps/unix/sysv/linux/sigsuspend.c
49760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49763         (__libc_missing_rt_sigs): Remove.
49764         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49765         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49766         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49767         Remove conditional code.
49768         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49769         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49770         return 1.
49771         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49772         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49773         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49774         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49776 2012-05-14  Andreas Jaeger  <aj@suse.de>
49778         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49779         it's not used in glibc.
49780         (__coshm1): Likewise.
49781         (__acosh1p): Likewise.
49782         (__sgn): Likewise.
49784         * manual/string.texi (Copying and Concatenation): Add missing
49785         variable in concat example.
49786         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49790         [BZ #14103]
49791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49792         __builtin_clzl with __builtin_clzll.
49794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49796         [BZ #14104]
49797         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49798         libc_freeres_ptr.
49800 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49802         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49803         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49804         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49805         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49807 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49809         * NEWS: Update ia64 info.
49811 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49813         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49814         used as bcopy.
49816 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49818         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49819         * sysdeps/unix/syscalls.list (dup3): Likewise.
49820         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49821         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49823 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49825         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49826         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49828 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49830         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49831         thread pointer.
49832         (TLS_IE): Use mov/add instead of movq/addq to load thread
49833         pointer.
49834         (TLS_GD_PREFIX): New.
49835         (TLS_GD): Use it.
49837 2012-05-11  David S. Miller  <davem@davemloft.net>
49839         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49840         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49841         (_FPU_SETCW): Likewise.
49843 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49845         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49846         is 32-byte aligned.
49848 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49850         [BZ #11837]
49851         * iconvdata/gb18030.c: Update tables.
49852         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49853         characters specially.
49854         (BODY for TO_LOOP): Add encoding of missing ranges.
49856 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49858         [BZ #13673]
49859         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49860         * sysdeps/mach/hurd/dup3.c: Likewise.
49861         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49862         * sysdeps/powerpc/memmove.c:: Likewise.
49864 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49867         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49869 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49871         * elf/elf.h (R_X86_64_RELATIVE64): New.
49872         (R_X86_64_NUM): Updated.
49873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49874         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49875         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49876         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49877         tst-quad1pie tst-quad2pie
49878         (modules-names): Add tst-quadmod1 tst-quadmod2.
49879         ($(objpfx)tst-quad1): New dependency.
49880         ($(objpfx)tst-quad2): Likewise.
49881         ($(objpfx)tst-quad1pie): Likewise.
49882         ($(objpfx)tst-quad2pie): Likewise.
49883         * sysdeps/x86_64/tst-quad1.c: New file.
49884         * sysdeps/x86_64/tst-quad1pie.c: New file.
49885         * sysdeps/x86_64/tst-quad2.c: Likewise.
49886         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49887         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49888         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49889         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49890         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49894         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49895         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49896         * streams/stropts.h (t_scalar_t): Define type.
49898         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49899         (_PATH_PRESERVE): Set to "/var/lib".
49900         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49902         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49903         instead of int.
49905         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49906         if __dir_mkfile succeeded.
49908         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49909         checking for _hurd_dtablesize.  Unlock it right after having
49910         finished _hurd_dtable allocation.
49912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49914         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49915         * sysdeps/mach/hurd/configure: Regenerated.
49916         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49917         special-casing to...
49918         * sysdeps/gnu/configure.in: ... this new file.
49919         * sysdeps/unix/sysv/linux/configure: Regenerated.
49920         * sysdeps/gnu/configure: New generated file.
49922         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49923         for Linux: use nsec instead of usec, as well as:
49924         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49925         members of type struct timespec.
49926         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49927         New macros.
49928         (struct stat64): Likewise.
49929         (_STATBUF_ST_NSEC): New macro.
49930         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49932         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49933         __strtoul_internal rather than strtoul.
49935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49937         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49938         and reject them.
49940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49942         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49943         which preserves existing values.
49944         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49946 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49948         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49949         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49950         greater than FD_SETSIZE.
49952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49954         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49955         allocated, call __vm_protect to finish enabling the existing space, and
49956         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49957         allocate the remainder.
49959 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49961         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49962         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49966         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49967         sysdeps/mach/hurd/readlink.c.
49969         * posix/tst-sysconf.c (posix_options): Only use
49970         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49971         _POSIX_SYNCHRONIZED_IO when they are defined
49972         * sysdeps/mach/hurd/bits/posix_opt.h:
49973         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49974         (_XOPEN_REALTIME): Undefine macro.
49975         (_XOPEN_REALTIME_THREADS): Undefine macro.
49976         (_XOPEN_SHM): Undefine macro.
49977         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49978         macro to -1.
49979         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49980         macro to -1.
49981         (_POSIX_ASYNC_IO): Undefine macro.
49982         (_POSIX_PRIORITIZED_IO): Undefine macro.
49983         (_POSIX_SPIN_LOCKS): Define macro to -1.
49985         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49986         SA_NODEFER, SA_RESETHAND.
49987         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49988         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49989         F_DUPFD_CLOEXEC.
49991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49993         * elf/Makefile (pldd-modules): Define unconditionally.
49995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49997         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50001         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50002         Return ENOENT when name is empty.
50003         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50007         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50009         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50013         Fix mlock in all cases except non-readable pages.
50014         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50015         instead of VM_PROT_ALL as parameter to __vm_wire function.
50017         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50018         (__mkdir): When path is `/', just fail with EEXIST.
50019         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50023         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50024         <sys/uio.h> (for writev).
50025         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50026         and <sys/param.h> (for MIN).
50028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50030         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50031         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50032         if interrupted.
50034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50036         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50037         Depend on against $(link-rpcuserlibs).
50039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50041         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50042         (__libc_stack_end): Do not use attribute_relro.
50043         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50044         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50045         to libthread-provided value.
50046         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50047         attribute_relro.
50049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50051         [BZ #3748]
50052         * bits/libc-lock.h (__libc_once_get): New macro.
50053         * sysdeps/mach/bits/libc-lock.h: Likewise.
50054         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50055         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50056         instead of using implementation details.
50058         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50059         * libio/freopen.c: Likewise.
50060         * libio/freopen64.c: Likewise.
50061         * misc/syslog.c: Likewise.
50062         * nscd/connections.c: Likewise.
50063         * nscd/netgroupcache.c: Likewise.
50064         * sysdeps/posix/getcwd.c: Likewise.
50066 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50068         * math/w_ilogbf.c: Add #include <limits.h>.
50070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50072         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50073         path instead of returning without unlocking.
50075         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50076         immediate-write ioctls.
50077         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50081         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50082         __builtin_frame_address instead of making assumptions about the
50083         location of the return address relative to DATA.  Force early load of
50084         the return address.
50085         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50086         __builtin_frame_address.
50088         dup3 for GNU Hurd.
50089         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50090         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50091         implement dup3 and do some further code clean-ups.
50092         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50093         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50097         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50099         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50100         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50101         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50102         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50103         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50104         d->port.lock.
50106         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50107         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50108         when handler == SIG_ERR, not when handler != SIG_ERR.
50110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50112         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50113         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50114         definitions.
50116         accept4 for GNU Hurd.
50117         * include/sys/socket.h (__libc_accept4): New prototype.
50118         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50119         to implement __libc_accept4.
50120         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50121         __libc_accept4.
50122         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50124         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50125         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50126         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50127         signal-defines.sym.
50129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50131         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50135         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50136         assertion on O_CLOEXEC flag.
50137         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50138         * hurd/intern-fd.c: Likewise.
50139         * hurd/port2fd.c: Likewise.
50141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50143         [BZ #3906]
50144         * bits/in.h (IPV6_PKTINFO): Define new macro.
50145         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50147 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50149         [BZ #13954]
50150         [BZ #13955]
50151         [BZ #13956]
50152         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50154         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50155         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50157         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50158         * math/libm-test.inc (logb_test) : Additional logb tests.
50160 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50161             Andreas Jaeger  <aj@suse.de>
50163         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50164         * configure: Regenerated.
50165         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50166         * config.make.in (link-obsolete-rpc): New substituted variable.
50167         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50168         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50169         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50170         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50171         so that libc.a contains the symbols.
50172         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50173         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50174         * sunrpc/auth_none.c: Likewise.
50175         * sunrpc/auth_unix.c: Likewise.
50176         * sunrpc/authdes_prot.c: Likewise.
50177         * sunrpc/authuxprot.c: Likewise.
50178         * sunrpc/clnt_gen.c: Likewise.
50179         * sunrpc/clnt_perr.c: Likewise.
50180         * sunrpc/clnt_raw.c: Likewise.
50181         * sunrpc/clnt_simp.c: Likewise.
50182         * sunrpc/clnt_tcp.c: Likewise.
50183         * sunrpc/clnt_udp.c: Likewise.
50184         * sunrpc/clnt_unix.c: Likewise.
50185         * sunrpc/des_crypt.c: Likewise.
50186         * sunrpc/des_soft.c: Likewise.
50187         * sunrpc/get_myaddr.c: Likewise.
50188         * sunrpc/key_call.c: Likewise.
50189         * sunrpc/key_prot.c: Likewise.
50190         * sunrpc/netname.c: Likewise.
50191         * sunrpc/pm_getmaps.c: Likewise.
50192         * sunrpc/pm_getport.c: Likewise.
50193         * sunrpc/pmap_clnt.c: Likewise.
50194         * sunrpc/pmap_prot.c: Likewise.
50195         * sunrpc/pmap_prot2.c: Likewise.
50196         * sunrpc/pmap_rmt.c: Likewise.
50197         * sunrpc/publickey.c: Likewise.
50198         * sunrpc/rpc_cmsg.c: Likewise.
50199         * sunrpc/rpc_common.c: Likewise.
50200         * sunrpc/rpc_dtable.c: Likewise.
50201         * sunrpc/rpc_prot.c: Likewise.
50202         * sunrpc/rpc_thread.c: Likewise.
50203         * sunrpc/rtime.c: Likewise.
50204         * sunrpc/svc.c: Likewise.
50205         * sunrpc/svc_auth.c: Likewise.
50206         * sunrpc/svc_raw.c: Likewise.
50207         * sunrpc/svc_run.c: Likewise.
50208         * sunrpc/svc_tcp.c: Likewise.
50209         * sunrpc/svc_udp.c: Likewise.
50210         * sunrpc/svc_unix.c: Likewise.
50211         * sunrpc/svcauth_des.c: Likewise.
50212         * sunrpc/xcrypt.c: Likewise.
50213         * sunrpc/xdr.c: Likewise.
50214         * sunrpc/xdr_array.c: Likewise.
50215         * sunrpc/xdr_float.c: Likewise.
50216         * sunrpc/xdr_intXX_t.c: Likewise.
50217         * sunrpc/xdr_mem.c: Likewise.
50218         * sunrpc/xdr_rec.c: Likewise.
50219         * sunrpc/xdr_ref.c: Likewise.
50220         * sunrpc/xdr_sizeof.c: Likewise.
50221         * sunrpc/xdr_stdio.c: Likewise.
50223 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50226         change.  Update copyright years.
50228 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50230         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50232 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50233             Joseph Myers  <joseph@codesourcery.com>
50234             Paul Pluzhnikov  <ppluzhnikov@google.com>
50236         [BZ #14012]
50237         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50238         requiring rpcgen.
50239         [cross-compiling] (extra-libs): Likewise.
50240         [cross-compiling] (extra-libs-others): Likewise.
50241         [cross-compiling] (librpcsvc-routines): Likewise.
50242         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50243         [cross-compiling] (omit-deps): Likewise.
50244         (sunrpc-CPPFLAGS): New variable.
50245         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50246         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50247         (cross-rpcgen-objs): New variable.
50248         (extra-objs): Append $(cross-rpcgen-objs).
50249         ($(cross-rpcgen-objs)): New rule.
50250         ($(objpfx)cross-rpcgen): Likewise.
50251         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50252         comment.
50253         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50254         ($(objpfx)x%.stmp): Likewise.
50255         * sunrpc/proto.h [IS_IN_build] (_): Define.
50256         [IS_IN_build] (_libc_intl_domainname): Likewise.
50258 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50261         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50262         and R_X86_64_TPOFF64.
50264 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50266         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50267         sysdeps/unix/sysv/syscalls.list.
50268         (stime): Likewise.
50269         (utime): Likewise.
50270         * sysdeps/unix/sysv/syscalls.list: Remove file.
50272 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50274         [BZ #3440]
50275         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50276         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50277         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50278         (__LC_IDENTIFICATION): Make these macros useful in #if
50279         expressions, as required by C99.
50281 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50283         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50284         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50285         after this.
50287 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50289         * stdlib/longlong.h: Updated from GCC.
50291 2012-05-09  Andreas Jaeger  <aj@suse.de>
50293         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50294         default is first entry.
50295         (run_mode): Set type.
50296         (main): Remove informal message about syslog.
50297         (options): Fix typo.
50299         [BZ #14053]
50300         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50301         to asm.
50302         (lrint): Likewise.
50303         (llrintf): Likewise.
50304         (llrint): Likewise.
50305         (rint): Likewise.
50306         (rintf): Likewise.
50307         (nearbyint): Likewise.
50308         (nearbyintf): Likewise.
50310 2012-05-09  Andreas Jaeger  <aj@suse.de>
50311             Pedro Alves  <palves@redhat.com>
50313         * nscd/nscd.c (run_mode): Use enum.
50314         (main): Cleanup coding style issue.
50316 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50317             Andreas Jaeger  <aj@suse.de>
50319         * nscd/nscd.c (go_background): Replaced with...
50320         (run_mode): ... this.
50321         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50322         (options): Add -F --foreground.
50323         (main): Implement it.
50324         (parse_opt): Parse it.
50326 2012-05-09  Andreas Jaeger  <aj@suse.de>
50328         [BZ #14083]
50329         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50330         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50331         -Wconversion warning.
50332         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50333         Likewise.
50335 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50337         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50338         == 0.
50339         (LC_ALL): Use macro-int-constant.
50340         (LC_COLLATE): Likewise.
50341         (LC_CTYPE): Likewise.
50342         (LC_MESSAGES): Likewise.
50343         (LC_MONETARY): Likewise.
50344         (LC_NUMERIC): Likewise.
50345         (LC_TIME): Likewise.
50346         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50347         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50349         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50350         Specify type.
50351         [C99-based standards] (float_t): Expect type.
50352         [C99-based standards] (double_t): Expect type.
50353         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50354         type.
50355         [C99-based standards] (HUGE_VALL): Likewise.
50356         [C99-based standards] (INFINITY): Likewise.
50357         [C99-based standards] (NAN): Likewise.
50358         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50359         [C99-based standards] (FP_NAN): Likewise.
50360         [C99-based standards] (FP_NORMAL): Likewise.
50361         [C99-based standards] (FP_SUBNORMAL): Likewise.
50362         [C99-based standards] (FP_ZERO): Likewise.
50363         [C99-based standards] (FP_FAST_FMA): Use
50364         optional-macro-int-constant.  Specify type.  Require == 1.
50365         [C99-based standards] (FP_FAST_FMAF): Likewise.
50366         [C99-based standards] (FP_FAST_FMAL): Likewise.
50367         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50368         [C99-based standards] (FP_ILOGBNAN): Likewise.
50369         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50370         Specify type.
50371         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50372         [C99-based standards] (math_errhandling): Specify type.
50373         [ISO99 || ISO11] (signgam): Do not allow.
50374         [non-C99-based standards] (copysignf): Do not allow.
50375         [non-C99-based standards] (exp2f): Likewise.
50376         [non-C99-based standards] (log2f): Likewise.
50377         [non-C99-based standards] (modff): Allow.
50378         [non-C99-based standards] (erff): Do not allow.
50379         [non-C99-based standards] (erfcf): Likewise.
50380         [non-C99-based standards] (gammaf): Likewise.
50381         [non-C99-based standards] (hypotf): Likewise.
50382         [non-C99-based standards] (j0f): Likewise.
50383         [non-C99-based standards] (j1f): Likewise.
50384         [non-C99-based standards] (jnf): Likewise.
50385         [non-C99-based standards] (lgammaf): Likewise.
50386         [non-C99-based standards] (tgammaf): Likewise.
50387         [non-C99-based standards] (y0f): Likewise.
50388         [non-C99-based standards] (y1f): Likewise.
50389         [non-C99-based standards] (ynf): Likewise.
50390         [non-C99-based standards] (isnanf): Likewise.
50391         [non-C99-based standards] (acoshf): Likewise.
50392         [non-C99-based standards] (asinhf): Likewise.
50393         [non-C99-based standards] (atanhf): Likewise.
50394         [non-C99-based standards] (cbrtf): Likewise.
50395         [non-C99-based standards] (expm1f): Likewise.
50396         [non-C99-based standards] (ilogbf): Likewise.
50397         [non-C99-based standards] (log1pf): Likewise.
50398         [non-C99-based standards] (logbf): Likewise.
50399         [non-C99-based standards] (nextafterf): Likewise.
50400         [non-C99-based standards] (remainderf): Likewise.
50401         [non-C99-based standards] (rintf): Likewise.
50402         [non-C99-based standards] (scalbf): Likewise.
50403         [non-C99-based standards] (copysignl): Likewise.
50404         [non-C99-based standards] (exp2l): Likewise.
50405         [non-C99-based standards] (log2l): Likewise.
50406         [non-C99-based standards] (modfl): Allow.
50407         [non-C99-based standards] (erfl): Do not allow.
50408         [non-C99-based standards] (erfcl): Likewise.
50409         [non-C99-based standards] (gammal): Likewise.
50410         [non-C99-based standards] (hypotl): Likewise.
50411         [non-C99-based standards] (j0l): Likewise.
50412         [non-C99-based standards] (j1l): Likewise.
50413         [non-C99-based standards] (jnl): Likewise.
50414         [non-C99-based standards] (lgammal): Likewise.
50415         [non-C99-based standards] (tgammal): Likewise.
50416         [non-C99-based standards] (y0l): Likewise.
50417         [non-C99-based standards] (y1l): Likewise.
50418         [non-C99-based standards] (ynl): Likewise.
50419         [non-C99-based standards] (isnanl): Likewise.
50420         [non-C99-based standards] (acoshl): Likewise.
50421         [non-C99-based standards] (asinhl): Likewise.
50422         [non-C99-based standards] (atanhl): Likewise.
50423         [non-C99-based standards] (cbrtl): Likewise.
50424         [non-C99-based standards] (expm1l): Likewise.
50425         [non-C99-based standards] (ilogbl): Likewise.
50426         [non-C99-based standards] (log1pl): Likewise.
50427         [non-C99-based standards] (logbl): Likewise.
50428         [non-C99-based standards] (nextafterl): Likewise.
50429         [non-C99-based standards] (remainderl): Likewise.
50430         [non-C99-based standards] (rintl): Likewise.
50431         [non-C99-based standards] (scalbl): Likewise.
50432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50433         [non-C99-based standards] (FP_*): Do not allow.
50434         [C99-based standards] (FP_*): Change to
50435         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50436         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50437         allow.
50438         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50439         (SIG_ERR): Likewise.
50440         [X/Open-based standards] (SIG_HOLD): Likewise.
50441         (SIG_IGN): Likewise.
50442         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50443         positive value.
50444         (SIGFPE): Likewise.
50445         (SIGILL): Likewise.
50446         (SIGINT): Likewise.
50447         (SIGSEGV): Likewise.
50448         (SIGTER): Likewise.
50449         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50450         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50451         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50452         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50453         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50454         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50455         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50456         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50457         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50458         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50459         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50460         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50461         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50462         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50463         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50464         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50465         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50466         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50467         [X/Open-based standards] (SIGTRAP): Likewise.
50468         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50469         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50470         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50471         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50472         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50473         allow.
50475 2012-05-08  Ian Wienand  <ianw@vmware.com>
50477         [BZ #14080]
50478         * time/tzset.c (__tzset_parse_tz): Update default rules for
50479         daylight time changes in the Energy Policy Act of 2005.
50481 2012-05-09  Andreas Jaeger  <aj@suse.de>
50483         [BZ #13983]
50484         * elf/ldconfig.c (parse_conf): Change string to make clear that
50485         ldconfig only issued a warning if ld.so.conf does not exist.
50487 2012-05-08  David S. Miller  <davem@davemloft.net>
50489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50490         movxtod instead of popping the value on the stack.
50492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50494 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50496         * config.h.in: Add HAVE_ARM_PCS_VFP.
50498 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50500         [BZ #13979]
50501         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50502         checking but the checks are disabled for any reason.
50504 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50506         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50507         and ELF64_R_TYPE with ELFW(R_TYPE).
50509 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50511         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50512         (ulimit): Likewise.
50514         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50515         (settimeofday): Likewise.
50517 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50519         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50520         a struct th_u2 inside the union, and move tu_block/tu_code into
50521         a new th_u3 union of tu_block/tu_code inside of that.  Move
50522         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50523         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50524         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50525         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50526         (th_stuff): Change to th_u1.tu_stuff.
50527         (th_data): Define.
50528         (th_msg): Change to th_u1.th_u2.tu_data.
50530 2012-05-07  David S. Miller  <davem@davemloft.net>
50532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50534         [BZ #14074]
50535         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50536         (SETUP_PIC_REG): Use it.
50537         (SETUP_PIC_REG_LEAF): Use it.
50539 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50541         [BZ #13885]
50542         [BZ #13923]
50543         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50544         USE_AS_EXPM1L.
50545         (EXPL_FINITE): Likewise.
50546         (FLDLOG): Likewise.
50547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50548         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50549         e_expl.S.
50550         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50551         USE_AS_EXPM1L.
50552         (EXPL_FINITE): Likewise.
50553         (FLDLOG): Likewise.
50554         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50555         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50556         e_expl.S.
50557         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50558         test of -max_value argument for long double.
50559         * sysdeps/i386/fpu/libm-test-ulps: Update.
50560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50562 2012-05-06  David S. Miller  <davem@davemloft.net>
50564         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50565         quad soft-float symbols whose references which are compiler
50566         generated.
50567         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50569 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50571         [BZ #13884]
50572         [BZ #13914]
50573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50574         USE_AS_EXP10L.
50575         (EXPL_FINITE): Likewise.
50576         (FLDLOG): Likewise.
50577         (c0): Likewise.
50578         (c1): Likewise.
50579         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50580         Adjust comments for base varying.
50581         (__expl_finite): Change alias to EXPL_FINITE.
50582         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50583         e_expl.S.
50584         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50585         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50587         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50589         USE_AS_EXP10L.
50590         (EXPL_FINITE): Likewise.
50591         (FLDLOG): Likewise.
50592         (c0): Likewise.
50593         (c1): Likewise.
50594         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50595         Adjust comments for base varying.
50596         (__expl_finite): Change alias to EXPL_FINITE.
50597         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50598         tests for bugs.
50599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50601         [BZ #14064]
50602         * math/libm-test.inc (check_float_internal): Correct ulp
50603         calculation for subnormal expected results.
50605 2012-05-06  Andreas Jaeger  <aj@suse.de>
50607         * Makeconfig (+math-flags): New, set to -frounding-math.
50608         (+cflags): Add +math-flags so that all of glibc gets compiled with
50609         it.
50611         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50613 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50615         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50616         Disable one test.
50618         [BZ #13787]
50619         [BZ #13922]
50620         [BZ #14036]
50621         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50622         (__ieee754_expl): Allow for and saturate large arguments.
50623         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50624         (u_threshold): Likewise.
50625         (__exp): Call __ieee754_exp before checking for overflow and
50626         underflow.
50627         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50628         (u_threshold): Likewise.
50629         (__expf): Call __ieee754_expf before checking for overflow and
50630         underflow.
50631         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50632         (u_threshold): Likewise.
50633         (__expl): Call __ieee754_expl before checking for overflow and
50634         underflow.
50635         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50636         (__ieee754_expl): Allow for and saturate large arguments.
50637         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50638         missing overflow exception on overflow.
50639         (expm1_test): Do not allow missing overflow exception on overflow.
50641         * sysdeps/i386/fpu/e_expl.c: Move to ...
50642         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50643         rather than using inline asm.
50644         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50645         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50646         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50648         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50649         (nice): Likewise.
50650         (poll): Likewise.
50651         (signal): Likewise.
50652         (time): Likewise.
50653         (times): Likewise.
50655 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50657         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50658         sysdeps/unix/common/syscalls.list.
50659         (fchmod): Likewise.
50660         (fchown): Likewise.
50661         (ftruncate): Likewise.
50662         (getrusage): Likewise.
50663         (gettimeofday): Likewise.
50664         (setpgid): Likewise.
50665         (setregid): Likewise.
50666         (setreuid): Likewise.
50667         (sigaction): Likewise.
50668         (truncate): Likewise.
50669         (vhangup): Likewise.
50670         * sysdeps/unix/common/syscalls.list: Remove file.
50671         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50672         * sysdeps/unix/sysv/linux/Implies: Likewise.
50674 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50676         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50678         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50679         Moved to ...
50680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50681         Here.
50682         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50683         to ...
50684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50685         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50686         to ...
50687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50688         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50689         to ...
50690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50691         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50692         to ...
50693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50694         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50695         to ...
50696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50697         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50698         to ...
50699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50700         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50701         to ...
50702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50703         Here.
50704         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50705         to ...
50706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50707         Here.
50708         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50709         to ...
50710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50711         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50712         Moved to ...
50713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50714         Here.
50715         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50716         to ...
50717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50719 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50721         * sysdeps/unix/common/bits/dirent.h: Remove file.
50722         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50724         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50725         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50726         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50727         * sysdeps/unix/bsd/isatty.c: Likewise.
50728         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50729         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50730         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50732 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50734         [BZ #13563]
50735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50736         long double comparison inaccuracies.
50737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50740 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50742         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50745 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50747         [BZ #14049]
50748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50749         nonzero digits before rounding a hex value.
50750         * stdlib/tst-strtod.c (tests): Add another test.
50752 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50754         * sysdeps/s390/fpu/libm-test-ulps: Update.
50756 2012-05-03  Andreas Jaeger  <aj@suse.de>
50758         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50759         does not get optimized out.
50760         (malloc_opt_barrier): New.
50762 2012-05-03  Andreas Jaeger  <aj@suse.de>
50763             Roland McGrath  <roland@hack.frob.com>
50765         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50766         intermediate file deletion.
50767         (generated): Add .symlist files.
50769 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50771         [BZ #13775]
50772         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50773         Redirect under this condition.
50774         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50775         [__USE_GNU] (__dprintf_chk): Not under this condition.
50776         [__USE_GNU] (__vdprintf_chk): Likewise.
50777         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50778         under this condition.
50779         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50780         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50781         [__USE_XOPEN2K8] (vdprintf): Likewise.
50782         [__USE_GNU] (__dprintf_chk): Not under this condition.
50783         [__USE_GNU] (__vdprintf_chk): Likewise.
50784         [__USE_GNU] (dprintf): Likewise.
50785         [__USE_GNU] (vdprintf): Likewise.
50787 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50789         * elf/Makefile (common-generated): Set this instead of generated for
50790         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50791         $(all-built-dso)-derived lists.
50793 2012-05-03  Andreas Jaeger  <aj@suse.de>
50795         * sysdeps/i386/fpu/libm-test-ulps: Update.
50797         * FAQ: Removed.
50798         * FAQ.in: Likewise.
50799         * scripts/gen-FAQ.pl: Likewise.
50800         * manual/install.texi (Installation): Point to online location of
50801         FAQ.
50802         * Makefile (files-for-dist): Remove FAQ.
50803         (FAQ): Remove.
50805 2012-05-02  Allan McRae  <allan@archlinux.org>
50807         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50808         (LDFLAGS-reldepmod5.so): Likewise.
50809         (LDFLAGS-reldep6mod1.so): Likewise.
50810         (LDFLAGS-reldep6mod4.so): Likewise.
50811         (LDFLAGS-reldep8mod3.so): Likewise.
50812         (LDFLAGS-unload4mod1.so): Likewise.
50813         (LDFLAGS-unload4mod2.so): Likewise.
50814         (LDFLAGS-tst-initorder): Likewise.
50815         (LDFLAGS-tst-initordera2.so): Likewise.
50816         (LDFLAGS-tst-initordera3.so): Likewise.
50817         (LDFLAGS-tst-initordera4.so): Likewise.
50818         (LDFLAGS-tst-initorderb2.so): Likewise.
50819         (LDFLAGS-noload): Likewise.
50820         (LDFLAGS-next): Likewise.
50821         (LDFLAGS-order2mod1.so): Likewise.
50822         (LDFLAGS-order2mod2.so): Likewise.
50823         (LDFLAGS-tst-initorder2): Likewise.
50824         (LDFLAGS-tst-initorder2a.so): Likewise.
50825         (LDFLAGS-tst-initorder2b.so): Likewise.
50826         (LDFLAGS-tst-initorder2c.so): Likewise.
50827         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50829 2012-05-02  David S. Miller  <davem@davemloft.net>
50831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50833 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50835         [BZ #14055]
50836         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50838 2012-05-02  Andreas Jaeger  <aj@suse.de>
50840         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50841         since we manipulate rounding mode.
50842         (CPPFLAGS-test-idouble.c): Likewise.
50843         (CPPFLAGS-test-ifloat.c): Likewise.
50844         (CFLAGS-test-ldouble.c): Likewise.
50845         (CFLAGS-test-double.c): Likewise.
50846         (CFLAGS-test-float.c): Likewise.
50847         (CFLAGS-test-misc.c): Likewise.
50848         (CFLAGS-test-test-fenv.c): Likewise.
50850 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50852         [BZ #2550]
50853         [BZ #2570]
50854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50855         comparisons to determine direction to adjust input.
50857 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50859         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50860         output to the target.
50862         * scripts/localplt.awk: New file.
50863         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50864         (check-localplt-CFLAGS): Variable removed.
50865         ($(all-built-dso:=.jmprel)): New static pattern rule.
50866         (generated): Add those targets.
50867         (localplt-built-dso): New variable.
50868         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50870         * elf/check-localplt.c: File removed.
50872         * scripts/check-execstack.awk: New file.
50873         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50874         (check-execstack-CFLAGS): Variable removed.
50875         ($(objpfx)check-execstack.h): Target removed.
50876         ($(objpfx)execstack-default): New target.
50877         (generated): Add that instead of check-execstack.h.
50878         ($(all-built-dso:=.phdr)): New static pattern rule.
50879         (generated): Add those targets.
50880         * elf/check-execstack.c: File removed.
50882         * scripts/check-textrel.awk: New file.
50883         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50884         (check-textrel-CFLAGS): Variable removed.
50885         (all-built-dso): Use := to define.o
50886         ($(all-built-dso:=.dyn)): New static pattern rule.
50887         (generated): Add those targets.
50888         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50889         * config.make.in (READELF): New substituted variable.
50890         * elf/check-textrel.c: File removed.
50892 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50894         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50895         allow.
50896         * conform/data/ctype.h-data [C99-based standards] (isblank):
50897         Expect function.
50898         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50899         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50900         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50901         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50902         Specify type.  Require positive value.
50903         (EILSEQ): Likewise.
50904         (ERANGE): Likewise.
50905         [ISO || POSIX] (EILSEQ): Do not expect.
50906         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50907         Specify type.  Require positive value.
50908         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50909         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50910         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50911         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50912         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50913         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50914         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50915         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50916         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50917         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50918         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50919         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50920         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50921         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50922         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50923         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50924         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50925         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50926         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50927         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50928         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50929         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50930         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50931         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50932         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50933         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50934         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50935         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50936         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50937         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50938         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50939         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50940         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50941         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50942         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50945         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50950         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50951         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50952         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50953         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50954         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50955         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50956         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50957         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50958         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50959         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50960         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50961         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50962         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50966         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50967         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50968         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50969         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50970         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50971         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50973         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50974         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50975         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50976         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50977         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50978         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50979         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50980         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50981         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50982         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50983         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50984         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50985         Require >= 2.
50986         (FLT_ROUNDS): Expect as macro, not constant.
50987         (FLT_MANT_DIG): Use macro-int-constant.
50988         (DBL_MANT_DIG): Likewise.
50989         (LDBL_MANT_DIG): Likewise.
50990         (FLT_DIG): Likewise.
50991         (DBL_DIG): Likewise.
50992         (LDBL_DIG): Likewise.
50993         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50994         (DBL_MIN_EXP): Likewise.
50995         (LDBL_MIN_EXP): Likewise.
50996         (FLT_MAX_EXP): Use macro-int-constant.
50997         (DBL_MAX_EXP): Likewise.
50998         (LDBL_MAX_EXP): Likewise.
50999         (FLT_MAX_10_EXP): Likewise.
51000         (DBL_MAX_10_EXP): Likewise.
51001         (LDBL_MAX_10_EXP): Likewise.
51002         (FLT_MAX): Use macro-constant.
51003         (DBL_MAX): Likewise.
51004         (LDBL_MAX): Likewise.
51005         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51006         (DBL_EPSILON): Likewise.
51007         (LDBL_EPSILON): Likewise.
51008         (FLT_MIN): Likewise.
51009         (DBL_MIN): Likewise.
51010         (LDBL_MIN): Likewise.
51011         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51012         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51013         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51014         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51015         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51016         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51017         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51018         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51019         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51020         [ISO11] (FLT_TRUE_MIN): Likewise.
51021         [ISO11] (LDBL_TRUE_MIN): Likewise.
51022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51023         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51024         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51025         (SCHAR_MAX): Likewise.
51026         (UCHAR_MAX): Likewise.
51027         (CHAR_MIN): Likewise.
51028         (CHAR_MAX): Likewise.
51029         (MB_LEN_MAX): Use macro-int-constant.
51030         (SHRT_MIN): Use macro-int-constant.  Specify type.
51031         (SHRT_MAX): Likewise.
51032         (USHRT_MAX): Likewise.
51033         (INT_MAX): Likewise.
51034         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51035         bound negative.
51036         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51037         bound with "U".
51038         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51039         bound with "L".
51040         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51041         bound negative.  Suffix upper bound with "L".
51042         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51043         bound with "UL".
51044         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51045         Specify type.
51046         [C99-based standards] (LLONG_MAX): Likewise.
51047         [C99-based standards] (ULLONG_MAX): Likewise.
51048         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51049         == 0.
51050         [ISO11] (max_align_t): Require type.
51051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51053         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51054         from $CFLAGS, without defining away __attribute__ calls.
51055         (checknamespace): Use $CFLAGS_namespace.
51057         * conform/conformtest.pl (@keywords): Only include C99 keywords
51058         for standards based on C99 or C11.
51060         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51061         Disable tests.
51062         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51063         UNIX98]: Likewise.
51065         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51066         usability of symbols in #if.
51068         * conform/conformtest.pl: If macro or constant types start
51069         "promoted:", expect the symbol to be of the following type
51070         promoted by the integer promotions.
51072         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51073         in one place.  Also handle "macro-constant".
51075         * conform/conformtest.pl: Only accept expected macro values with
51076         "==".  Parse all "macro" lines in one place.
51077         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51079         * conform/conformtest.pl: Handle braced types on "constant" lines
51080         instead of handling "typed-constant".
51081         * conform/data/signal.h-data: Use "constant" instead of
51082         "typed-constant".
51084         * conform/conformtest.pl: Handle "optional-" at start of lines in
51085         one place rather than duplicating several cases.  Handle each
51086         format of "macro" line with initial "optional-".
51088         * conform/conformtest.pl: Only accept expected constant or
51089         optional-constant values with "==".  Parse all "constant" lines in
51090         one place.  Parse all "optional-constant" lines in one place.
51091         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51092         * conform/data/fmtmsg.h-data: Likewise.
51093         * conform/data/netinet/in.h-data: Likewise.
51094         * conform/data/tar.h-data: Likewise.
51095         * conform/data/limits.h-data: Use "==" form on "constant" and
51096         "optional-constant" lines.
51098         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51099         Use -std=c99 for XOPEN2K.
51100         (@knownproblems): Remove.
51101         (newtoken): Don't check %isknown.
51103         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51104         Do not expect macro.
51105         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51106         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51107         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51108         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51109         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51110         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51111         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51112         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51113         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51114         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51115         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51116         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51117         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51118         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51119         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51120         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51121         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51122         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51123         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51124         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51125         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51126         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51129         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51130         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51131         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51132         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51133         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51134         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51135         [XPG3] (acosh): Likewise.
51136         [XPG3] (asinh): Likewise.
51137         [XPG3] (atanh): Likewise.
51138         [XPG3] (cbrt): Likewise.
51139         [XPG3] (expm1): Likewise.
51140         [XPG3] (ilogb): Likewise.
51141         [XPG3] (log1p): Likewise.
51142         [XPG3] (logb): Likewise.
51143         [XPG3] (nextafter): Likewise.
51144         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51145         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51146         [XPG3] (remainder): Likewise.
51147         [XPG3] (rint): Likewise.
51148         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51149         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51150         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51151         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51152         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51153         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51154         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51155         [UNIX98 || XOPEN2K] (scalb): Expect.
51156         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51157         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51158         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51159         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51160         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51161         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51162         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51163         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51164         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51165         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51166         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51167         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51168         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51169         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51170         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51171         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51172         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51173         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51174         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51175         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51176         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51177         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51178         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51179         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51180         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51181         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51182         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51183         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51184         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51185         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51186         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51187         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51188         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51189         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51190         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51191         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51192         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51193         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51194         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51195         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51196         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51197         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51198         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51199         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51200         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51201         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51202         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51203         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51204         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51205         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51206         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51207         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51208         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51209         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51210         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51211         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51212         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51213         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51214         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51215         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51216         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51217         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51218         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51219         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51220         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51221         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51237         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51238         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51259         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51294         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51295         _XOPEN_SOURCE_EXTENDED for XPG4.
51297         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51299         * Makeconfig (localtime): Remove variable.
51300         (inst_localtime-file): Likewise.
51302 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51305         Update.
51306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51307         Update.
51308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51309         Update.
51310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51311         Update.
51312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51313         Update.
51314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51315         Update.
51316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51317         Update.
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51319         Update.
51320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51321         Update.
51323 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51325         [BZ #2550]
51326         [BZ #2570]
51327         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51328         comparisons to determine direction to adjust input.
51329         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51330         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51331         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51332         Likewise.
51333         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51334         Likewise.
51335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51336         Likewise.
51337         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51339         Likewise.
51340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51341         Likewise.
51342         * math/libm-test.inc (nexttoward_test): Add more tests.
51344 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51346         [BZ #14040]
51347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51348         in version GLIBC_2.1, not GLIBC_2.0.
51349         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51350         Likewise.
51352 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51354         [BZ #13942]
51355         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51356         (1 - x) * (1 + x).
51357         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51358         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51359         * math/libm-test.inc (acos_test): Add more tests.
51360         (asin_test): Likewise.
51361         * sysdeps/i386/fpu/libm-test-ulps: Update.
51362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51364         [BZ #14034]
51365         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51366         of square root.
51367         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51368         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51369         * math/libm-test.inc (acos_test_tonearest): New function.
51370         (acos_test_towardzero): Likewise.
51371         (acos_test_downward): Likewise.
51372         (acos_test_upward): Likewise.
51373         (asin_test_tonearest): Likewise.
51374         (asin_test_towardzero): Likewise.
51375         (asin_test_downward): Likewise.
51376         (asin_test_upward): Likewise.
51377         (main): Call the new functions.
51378         * sysdeps/i386/fpu/libm-test-ulps: Update.
51379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51381         [BZ #13884]
51382         [BZ #13924]
51383         * math/e_exp10.c: Include <float.h>.
51384         (__ieee754_exp10): Handle underflow here rather than multiplying
51385         large negative argument by M_LN10.
51386         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51387         of __ieee754_expf.
51388         * math/e_exp10l.c: Include <float.h>.
51389         (__ieee754_exp10l): Handle underflow here rather than multiplying
51390         large negative argument by M_LN10l.
51391         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51392         spurious overflow exception on underflow.
51394 2012-04-29  Marek Polacek  <polacek@redhat.com>
51396         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51397         (__fortify_function): New macro.
51398         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51399         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51400         __extern_always_inline.
51401         * libio/bits/stdio2.h: Likewise.
51402         * libio/bits/stdio.h: Likewise.
51403         * string/string.h: Likewise.
51404         * string/bits/string3.h: Likewise.
51405         * include/stdio.h: Likewise.
51406         * stdlib/bits/stdlib.h: Likewise.
51407         * stdlib/stdlib.h: Likewise.
51408         * rt/bits/mqueue2.h: Likewise.
51409         * rt/mqueue.h: Likewise.
51410         * posix/bits/unistd.h: Likewise.
51411         * posix/unistd.h: Likewise.
51412         * io/bits/poll2.h: Likewise.
51413         * io/bits/fcntl2.h: Likewise.
51414         * io/fcntl.h: Likewise.
51415         * io/sys/poll.h: Likewise.
51416         * misc/bits/syslog.h: Likewise.
51417         * misc/bits/syslog-ldbl.h: Likewise.
51418         * misc/sys/syslog.h: Likewise.
51419         * socket/bits/socket2.h: Likewise.
51420         * socket/sys/socket.h: Likewise.
51421         * debug/tst-chk1.c: Likewise.
51422         * wcsmbs/bits/wchar2.h: Likewise.
51423         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51424         * wcsmbs/wchar.h: Likewise.
51426 2012-04-29  Andreas Jaeger  <aj@suse.de>
51428         * Makerules (tests): Remove enable-check-abi protection.
51429         (check-abi-warn): Remove.
51430         (check-abi-%): Remove check-abi-warn usage.
51432         * configure.in: Remove check-abi configure option.
51433         * configure: Regenerated.
51434         * config.make.in (enable-check-abi): Remove.
51436 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51438         [BZ #14033]
51439         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51440         double functions to double *_finite functions.
51442         [BZ #13941]
51443         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51444         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51445         LDBL_MIN_EXP.
51446         * stdio-common/Makefile (tests): Add tst-sprintf3.
51447         * stdio-common/tst-sprintf3.c: New file.
51449         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51450         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51452 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51454         * conform/conformtest.pl: Remove duplicate typed-constant
51455         handling.
51457 2012-04-28  David S. Miller  <davem@davemloft.net>
51459         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51460         (check-abi-%): Remove AWK script prerequisite and explicit
51461         abilist directory.
51462         (check-abi): Rewrite to just diff the symlist with the abilist.
51463         (config-tls, config-abi-config): Delete, no longer used.
51464         (update-abi-%): Remove AWK script and explicit abilist directory.
51465         (update-abi): Rewrite to simply compare and conditionally copy the
51466         symlist and the sysdep abilist file.  Remove update-abi-config
51467         checks.
51468         * abilist/ld.abilist: Remove.
51469         * abilist/libBrokenLocale.abilist: Remove.
51470         * abilist/libanl.abilist: Remove.
51471         * abilist/libcrypt.abilist: Remove.
51472         * abilist/libdl.abilist: Remove.
51473         * abilist/librt.abilist: Remove.
51474         * abilist/libthread_db.abilist: Remove.
51475         * abilist/libutil.abilist: Remove.
51476         * scripts/extract-abilist.awk: Remove.
51477         * scripts/merge-abilist.awk: Remove.
51478         * sysdeps/generic/libcidn.abilist: New file.
51479         * sysdeps/generic/libnss_compat.abilist: New file.
51480         * sysdeps/generic/libnss_db.abilist: New file.
51481         * sysdeps/generic/libnss_dns.abilist: New file.
51482         * sysdeps/generic/libnss_files.abilist: New file.
51483         * sysdeps/generic/libnss_hesiod.abilist: New file.
51484         * sysdeps/generic/libnss_nis.abilist: New file.
51485         * sysdeps/generic/libnss_nisplus.abilist: New file.
51486         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51487         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51488         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51489         file.
51490         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51491         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51492         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51493         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51494         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51495         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51496         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51497         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51498         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51499         file.
51500         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51501         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51502         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51503         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51504         file.
51505         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51506         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51507         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51508         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51509         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51510         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51511         file.
51512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51513         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51514         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51515         file.
51516         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51518         New file.
51519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51520         New file.
51521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51522         New file.
51523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51524         New file.
51525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51526         New file.
51527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51528         New file.
51529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51530         New file.
51531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51532         New file.
51533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51534         New file.
51535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51536         New file.
51537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51538         New file.
51539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51540         New file.
51541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51542         New file.
51543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51544         file.
51545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51546         New file.
51547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51548         New file.
51549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51550         file.
51551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51552         New file.
51553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51554         New file.
51555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51556         file.
51557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51558         New file.
51559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51560         New file.
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51562         New file.
51563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51564         New file.
51565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51566         New file.
51567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51568         New file.
51569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51571         file.
51572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51573         New file.
51574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51575         file.
51576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51577         file.
51578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51579         file.
51580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51581         file.
51582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51583         file.
51584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51585         New file.
51586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51587         file.
51588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51589         file.
51590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51591         New file.
51592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51593         file.
51594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51596         file.
51597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51598         New file.
51599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51600         file.
51601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51602         file.
51603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51604         file.
51605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51606         file.
51607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51608         file.
51609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51610         New file.
51611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51612         file.
51613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51614         file.
51615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51616         New file.
51617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51618         file.
51619         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51620         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51621         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51622         file.
51623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51624         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51625         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51626         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51627         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51628         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51629         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51630         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51631         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51632         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51635         file.
51636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51637         New file.
51638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51639         file.
51640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51641         file.
51642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51643         file.
51644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51645         file.
51646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51647         file.
51648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51649         New file.
51650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51651         New file.
51652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51653         file.
51654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51655         New file.
51656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51657         file.
51658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51660         file.
51661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51662         New file.
51663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51664         file.
51665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51666         file.
51667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51668         file.
51669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51670         file.
51671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51672         file.
51673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51676         New file.
51677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51678         file.
51679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51680         New file.
51681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51682         file.
51684 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51686         * conform/conformtest.pl: Fix typo in handling typed-constant from
51687         allow-header.
51689 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51691         * README: Cut down references to pre-2.6 Linux kernels and
51692         Linuxthreads.  Update lists of configurations in libc and ports
51693         and sort alphabetically.  Say "or newer" with Linux kernel version
51694         requirements.
51696         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51698 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51700         [BZ #887]
51701         * math/libm-test.inc (logb_test_downward): New test to expose
51702         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51703         rounding mode.
51705 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51707         [BZ #14027]
51708         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51709         to be done.
51710         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51711         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51713 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51715         * sysdeps/unix/i386/brk.S: Remove file.
51716         * sysdeps/unix/i386/dl-brk.S: Likewise.
51717         * sysdeps/unix/i386/pipe.S: Likewise.
51718         * sysdeps/unix/i386/sigreturn.S: Likewise.
51719         * sysdeps/unix/i386/syscall.S: Likewise.
51720         * sysdeps/unix/i386/vfork.S: Likewise.
51721         * sysdeps/unix/i386/wait.S: Likewise.
51723         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51724         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51726         * configure.in (arm*-none*): Do not allow without
51727         --enable-hacker-mode.
51728         (netbsd*): Remove case setting base_os.
51729         (386bsd*): Likewise.
51730         (freebsd*): Likewise.
51731         (bsdi*): Likewise.
51732         (osf*): Likewise.
51733         (sunos*): Likewise.
51734         (ultrix*): Likewise.
51735         (newsos*): Likewise.
51736         (dynix*): Likewise.
51737         (*bsd*): Likewise.
51738         (sysv*): Likewise.
51739         (isc*): Likewise.
51740         (esix*): Likewise.
51741         (sco*): Likewise.
51742         (minix*): Likewise.
51743         (irix4*): Likewise.
51744         (irix6*): Likewise.
51745         (solaris[2-9]*): Likewise.
51746         (none): Likewise.
51747         * configure: Regenerated.
51749 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51751         [BZ #11521]
51752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51753         overflow or cancellation in calculating denominator.
51754         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51756         down expression to avoid unexpected rounding in newer GCCs.
51757         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51759 2012-04-26  David S. Miller  <davem@davemloft.net>
51761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51762         long-double compat symbols.
51763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51777 2012-04-25  David S. Miller  <davem@davemloft.net>
51779         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51780         HWCAP_* values only after the memory barriers have been defined.
51781         (atomic_full_barrier): Define.
51782         (atomic_read_barrier): Define.
51783         (atomic_write_barrier): Define.
51785 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51787         * shlib-versions: Add libgcc_s version information.
51788         * sysdeps/generic/libgcc_s.h: Remove.
51789         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51790         libgcc_s.h.
51791         * sysdeps/gnu/unwind-resume.c: Likewise.
51792         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51794 2012-04-25  David S. Miller  <davem@davemloft.net>
51796         * sysdeps/unix/sparc/brk.S: Delete.
51797         * sysdeps/unix/sparc/dl-brk.S: Delete.
51798         * sysdeps/unix/sparc/pipe.S: Delete.
51799         * sysdeps/unix/sparc/sysdep.S: Delete.
51800         * sysdeps/unix/sparc/sysdep.h: Delete.
51801         * sysdeps/unix/sparc/vfork.S: Delete.
51802         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51803         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51805         (ret_ERRVAL, r0, r1, MOVE): Define.
51806         (JUMPTARGET): Remove.
51807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51808         sysdeps/unix/sparc/sysdep.h
51809         (ENTRY, END): Remove.
51810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51812 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51814         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51815         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51816         -DIS_IN_build.
51818         * timezone/README: Update upstream location and email address for
51819         tzcode and tzdata.
51820         * timezone/zdump.c: Update from tzcode 2012b.
51821         * timezone/zic.c: Likewise.
51823         * configure.in (libc_cv_as_needed): Remove test.
51824         * configure: Regenerated.
51825         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51826         conditional definition.
51827         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51828         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51829         * config.make.in (have-as-needed): Remove variable.
51831 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51832             Paul Pluzhnikov  <ppluzhnikov@google.com>
51834         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51835         strings correctly.
51837 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51839         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51840         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51841         * sysdeps/sh/strlen.S: Likewise.
51843 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51845         * sysdeps/unix/fork.S: Remove file.
51846         * sysdeps/unix/i386/fork.S: Likewise.
51847         * sysdeps/unix/sparc/fork.S: Likewise.
51849         * sysdeps/unix/system.c: Remove file.
51850         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51852         * sysdeps/unix/getegid.S: Remove file.
51853         * sysdeps/unix/geteuid.S: Likewise.
51855 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51857         * scripts/check-localplt.awk: New file.
51858         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51859         of diff.
51860         * scripts/data/localplt-generic.data: Add a comment.
51862         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51863         NODE when __dir_mkfile failed.
51864         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51865         Reported by Ludovic Courtès <ludo@gnu.org>.
51867 2012-04-24  Andreas Jaeger  <aj@suse.de>
51869         * Makerules (common-clean): Also remove gen-as-const-headers
51870         files.
51872 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51874         * Makerules (native-compile): Do not change working directory for
51875         build.  Use $(OUTPUT_OPTION) in command.
51876         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51878 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51880         [BZ #13886]
51881         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51882         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51883         * math/libm-test.inc (floor_test): Add more tests.
51884         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51886 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51888         * sysdeps/unix/getdents.c: Remove file.
51889         * sysdeps/unix/sysv/getdents.c: Likewise.
51890         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51892         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51893         sysdeps/unix/mman/syscalls.list.
51894         (mmap): Likewise.
51895         (mprotect): Likewise.
51896         (msync): Likewise.
51897         (munmap): Likewise.
51898         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51899         * sysdeps/unix/mman/syscalls.list: Remove.
51900         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51902         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51903         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51904         * configure: Regenerated.
51905         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51906         $(libgcc_s_suffix).
51907         * config.make.in (libgcc_s_suffix): Remove variable.
51909 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51911         * sysdeps/unix/sysv/gethostname.c: Move to ...
51912         * sysdeps/posix/gethostname.c: ... here.
51914         * sysdeps/unix/execve.S: Remove file.
51916         * sysdeps/unix/_exit.S: Remove file.
51918 2012-04-23  Andreas Jaeger  <aj@suse.de>
51920         [BZ #13739]
51921         * manual/Makefile: Remove make dist support, there's no
51922         need for a stand-alone documentation tar ball.
51923         (TEXI2DVI): Define always, it's not in Makeconfig.
51924         (dist): Removed.
51925         (tar-it): Removed.
51926         (edition): Removed.
51927         (glibc-doc-$(edition).tar): Removed
51928         (%.Z): Removed.
51929         (%.gz): Removed.
51930         (%.uu): Removed.
51931         (ETAGS): Remove, it's in Makeconfig.
51932         (move-if-change): Remove, it's in Makeconfig.
51934 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51936         [BZ #13970]
51937         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51938         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51939         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51940         (strtod_l, strtof_l, strtold_l): Remove __wur.
51941         It is not necessarily an error to ignore strtol's return value.
51942         One can reliably look at the stored endptr to decide whether
51943         the number had valid syntax.
51945 2012-04-21  Andreas Jaeger  <aj@suse.de>
51947         [BZ #13739]
51948         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51950 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51952         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51953         * sysdeps/unix/sysv/Versions: Remove file.
51955 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51957         [BZ #13927]
51958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51960 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51962         [BZ #7064]
51963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51964         version from __vm86.
51966 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51968         * sysdeps/unix/common/lxstat.c: Remove file.
51969         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51971         * sysdeps/unix/sysv/Makefile: Remove file.
51973         * sysdeps/unix/sysv/direct.h: Remove file.
51975         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51976         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51977         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51978         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51979         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51980         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51981         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51983         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51985         * sysdeps/unix/xmknod.c: Remove file.
51986         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51988         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51990         * sysdeps/unix/sysv/i386/time.S: Remove file.
51992         * sysdeps/unix/fxstat.c: Remove file.
51993         * sysdeps/unix/xstat.c: Likewise.
51994         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51996         * sysdeps/unix/sysv/sigaction.c: Remove file.
51998         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51999         (sysdep_headers): Remove variable.
52000         [termio.h not in sysdep_headers] (generated): Likewise.
52001         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52002         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52003         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52004         * sysdeps/unix/sysv/tcflow.c: Likewise.
52005         * sysdeps/unix/sysv/tcflush.c: Likewise.
52006         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52007         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52008         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52009         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52010         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52012         * sysdeps/unix/siglist.c: Remove file.
52014         * sysdeps/unix/getppid.S: Remove file.
52016         * sysdeps/unix/mkdir.c: Remove file.
52017         * sysdeps/unix/rmdir.c: Likewise.
52019 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52021         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52022         ERR_MAX value.
52023         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52024         errlist-compat value.
52026 2012-04-18  David S. Miller  <davem@davemloft.net>
52028         * sysdeps/generic/memcopy.h (reg_char): Delete.
52029         * debug/strcat_chk.c: Use char, not reg_char.
52030         * debug/strcpy_chk.c: Likewise.
52031         * debug/strncat_chk.c: Likewise.
52032         * debug/strncpy_chk.c: Likewise.
52033         * string/memchr.c: Likewise.
52034         * string/memrchr.c: Likewise.
52035         * string/rawmemchr.c: Likewise.
52036         * string/strcat.c: Likewise.
52037         * string/strchr.c: Likewise.
52038         * string/strchrnul.c: Likewise.
52039         * string/strcmp.c: Likewise.
52040         * string/strcpy.c: Likewise.
52041         * string/strncat.c: Likewise.
52042         * string/strncmp.c: Likewise.
52043         * string/strncpy.c: Likewise.
52045 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52047         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52048         __builtin_memcopy is called when src and dest ranges are known to not
52049         overlap.
52051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52053         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52054         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52055         fwd_align_merge macro call.
52056         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52057         bwd_align_merge macro call.
52058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52060 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52062         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52063         bwd_align_merge macros.
52064         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52065         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52066         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52068 2012-04-18  David S. Miller  <davem@davemloft.net>
52070         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52072 2012-04-18  Andreas Jaeger  <aj@suse.de>
52074         [BZ# 6794]
52075         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52076         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52077         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52079         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52080         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52081         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52083         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52084         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52085         Adjust for changed ldbl-128 files.
52087         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52088         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52089         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52091 2012-04-17  David S. Miller  <davem@davemloft.net>
52093         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52095 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52097         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52098         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52099         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52100         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52101         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52102         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52104 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52106         [BZ #6794]
52107         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52108         * math/libm-test.inc: Add ilogb errno and exception tests.
52109         * math/w_ilogb.c: New file: ilogb wrapper.
52110         * math/w_ilogbf.c: New file: ilogbf wrapper.
52111         * math/w_ilogbl.c: New file: ilogbl wrapper.
52112         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52113         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52114         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52115         exception being thrown with 0.0 as argument.
52116         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52117         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52118         exception being thrown with 0.0 as argument.
52119         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52120         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52121         exception being thrown with 0.0 as argument.
52122         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52123         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52124         exception being thrown with 0.0 as argument.
52125         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52126         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52127         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52128         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52129         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52130         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52131         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52132         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52133         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52135 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52137         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52138         with altivec.
52140 2012-04-16  Marek Polacek  <polacek@redhat.com>
52142         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52144 2012-04-16  Marek Polacek  <polacek@redhat.com>
52146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52147         operands of fdivp instruction.
52149 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52151         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52152         * elf/tst-auditmod3b.c: Likewise.
52153         * elf/tst-auditmod4b.c: Likewise.
52154         * elf/tst-auditmod5b.c: Likewise.
52155         * elf/tst-auditmod6b.c: Likewise.
52156         * elf/tst-auditmod6c.c: Likewise.
52157         * elf/tst-auditmod7b.c: Likewise.
52158         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52159         * sysdeps/x86_64/preconfigure.in: Likewise.
52160         * sysdeps/x86_64/preconfigure: Regenerated.
52162 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52164         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52165         __ILP32__.
52167 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52170         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52172 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52174         [BZ #13973]
52175         * locale/iso-639.def: Fix gl language name. Spotted by
52176         Yaron Shahrabani.
52178 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52180         [BZ #2074]
52181         * libio/libio.h (__io_write_fn): Update comment.
52183 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52185         [BZ #2074]
52186         * stdio.texi (Hook Functions): The user provided writer function
52187         is not allowed to return -1.
52189 2012-04-11  David S. Miller  <davem@davemloft.net>
52191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52193 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52195         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52196         Add a leading slash to rtkaio.
52198 2012-04-11  Jim Meyering  <meyering@redhat.com>
52200         [BZ #11959]
52201         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52202         It is not necessarily an error to ignore fwrite's return
52203         value.  One can reliably use ferror to test for errors after
52204         the fact.
52206 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52208         * bits/types.h (__snseconds_t): New type.
52209         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52211         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52212         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52213         (__SNSECONDS_T_TYPE): Likewise.
52214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52215         (__SNSECONDS_T_TYPE): Likewise.
52216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52217         (__SNSECONDS_T_TYPE): Likewise.
52219 2012-04-10  Andreas Jaeger  <aj@suse.de>
52221         [BZ #2636]
52222         * manual/time.texi (Processor Time): Return type of times is
52223         elapsed real time since an arbitrary point in the past.
52224         (CPU Time): Move CLK_TCK from here...
52225         (Processor Time): ...to here.  Correct description.
52226         * manual/conf.texi (Constants for Sysconf): Correct description of
52227         _SC_CLK_TCK.
52229 2012-04-10  David S. Miller  <davem@davemloft.net>
52231         [BZ #13967]
52232         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52233         where the is a gap between DT_REL(A) and DT_JMPREL.
52235 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52237         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52238         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52239         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52241 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52243         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52244         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52245         (dl_main): Handle --inhibit-cache.
52246         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52247         _dl_inhibit_cache.
52248         * elf/dl-load.c (_dl_map_object): Use it.
52249         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52251 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52253         [BZ #13872]
52254         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52255         (__ieee754_powl): Saturate large exponents rather than testing for
52256         overflow of y*log2(x).
52257         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52258         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52259         exceptions.
52261         [BZ #11521]
52262         * math/s_ctan.c: Include <float.h>.
52263         (__ctan): Avoid internal overflow or cancellation in calculating
52264         denominator.
52265         * math/s_ctanf.c: Likewise.
52266         * math/s_ctanl.c: Likewise.
52267         * math/s_ctanh.c: Likewise.
52268         * math/s_ctanhf.c: Likewise.
52269         * math/s_ctanhl.c: Likewise.
52270         * math/libm-test.inc (ctan_test): Add more tests.
52271         (ctanh_test): Likewise.
52272         * sysdeps/i386/fpu/libm-test-ulps: Update.
52273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52275 2012-04-09  Andreas Jaeger  <aj@suse.de>
52277         [BZ #6894]
52278         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52279         is an optional BSD extension.
52281         [BZ #10254]
52282         * manual/stdio.texi (Opening Streams): Document additional fopen
52283         parameters.
52285 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52287         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52288         %eax without telling the compiler.
52290 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52292         [BZ # 13963]
52293         * manual/install.texi: Use sourceware.org.
52295 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52297         [BZ #13873]
52298         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52299         (__ieee754_pow): Generate overflow and underflow using huge*huge
52300         and tiny*tiny rather than just returning constant infinity or zero
52301         for large exponents.
52302         * math/libm-test.inc (pow_test): Require overflow exceptions for
52303         applicable cases of large exponents.
52305         [BZ #706]
52306         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52307         (__ieee754_pow): Use iterative multiplication algorithm only for
52308         integer exponents with absolute value below 1024.  Check for odd
52309         integer exponents when using algorithm for real exponents.
52310         * math/libm-test.inc (pow_test): Add more tests.
52311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52313 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52315         [BZ #13705]
52316         * math/libm-test.inc (exp_test): Do not allow overflow exception
52317         on underflow test.
52319 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52321         [BZ #13705]
52322         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52323         instead of __kernel_standard_f.
52325 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52327         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52328         * sysdeps/x86_64/memset_chk.S: Likewise.
52330 2012-04-08  Andreas Jaeger  <aj@suse.de>
52332         [BZ #10153]
52333         * manual/startup.texi (Environment Access): Describe return value
52334         for putenv and setenv.
52336         [BZ #6895]
52337         * manual/filesys.texi (Directory Entries): Add description for
52338         DT_LNK.
52340         [BZ #6890]
52341         * manual/filesys.texi (Directory Entries): Clarify that it's file
52342         system not operating system in the description of DT_UNKNOWN.
52344         [BZ #6578]
52345         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52347 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52349         [BZ #6649]
52350         * manual/llio.texi (Opening and Closing Files): Add cross
52351         reference to explain mode argument.
52353 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52355         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52356         * sysdeps/x86_64/memset_chk.S: Likewise.
52358 2012-04-07  David S. Miller  <davem@davemloft.net>
52360         * elf/elf.h (R_SPARC_WDISP10): Define.
52361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52362         R_SPARC_SIZE32.
52363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52364         R_SPARC_SIZE64 and R_SPARC_H34.
52366 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52368         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52369         conditions and remove no longer applicable assertion.
52371 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52373         * bits/byteswap.h: Include <features.h>.
52374         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52375         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52379         * bits/byteswap.h (__bswap_16): Removed.
52380         Include <bits/byteswap-16.h> to get __bswap_16.
52381         * sysdeps/i386/bits/byteswap.h: Likewise.
52382         * sysdeps/s390/bits/byteswap.h: Likewise.
52383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52384         * bits/byteswap-16.h: New file.
52385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52386         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52387         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52388         * string/Makefile (headers): Add bits/byteswap-16.h.
52390 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52392         [BZ #13895]
52393         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52394         extra indirection.
52395         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52396         * nss/tst-nss-static.c: New.
52398 2012-04-06  Robert Millan  <rmh@gnu.org>
52400         [BZ #6486]
52401         * manual/llio.texi (File Position Primitive): lseek
52402         refers to WHENCE when it really means OFFSET.
52404 2012-04-06  Andreas Jaeger  <aj@suse.de>
52406         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52407         strncmp declarations.
52409         * abilist/libc.abilist: Add __poll and __ppoll.
52411 2012-04-05  David S. Miller  <davem@davemloft.net>
52413         * scripts/check-local-headers.sh: Accept a host triplet in the
52414         path matched by the exclude regexp.
52416         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52417         definition.
52418         * sysdeps/powerpc/powerpc32/dl-machine.h
52419         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52420         * sysdeps/s390/s390-32/dl-machine.h
52421         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52422         * sysdeps/sparc/sparc32/dl-machine.h
52423         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52424         * sysdeps/sparc/sparc64/dl-machine.h
52425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52427         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52428         lazy binding.
52429         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52430         undefined symbol errors.
52432         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52433         DT_NEEDED entries.
52435 2012-04-05  Michael Matz  <matz@suse.de>
52437         [BZ #13592]
52438         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52440 2012-04-05  Andreas Jaeger  <aj@suse.de>
52442         [BZ #13908]
52443         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52444         comment.
52446 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52449         which ROUND is no valid rounding mode.
52451 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52453         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52454         read again.
52455         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52459         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52460         an exception using FPU order intentionally.
52462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52464         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52465         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52466         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52467         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52469 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52471         [BZ #12340]
52472         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52473         EINVAL when BUFLEN is too smal.
52475 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52477         [BZ #13553]
52478         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52479         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52481 2012-04-03  Andreas Jaeger  <aj@suse.de>
52483         [BZ #13938]
52484         * manual/setjmp.texi (System V contexts): Fix sentence.
52486         [BZ #13926]
52487         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52488         New macro for this case.
52489         [!__GNUC__] (__bswap_64): New inline function for this case.
52490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52491         * bits/byteswap.h: Likewise.
52492         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52493         ull, guard with __GLIBC_HAVE_LONG_LONG.
52495         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52496         __GLIBC_HAVE_LONG_LONG.
52498         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52499         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52501 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52503         [BZ #13691]
52504         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52505         inptr and inend, rather than using last_ch.
52507 2012-04-02  David S. Miller  <davem@davemloft.net>
52509         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52510         * stdio-common/printf-parse.h (read_int): Change return type to
52511         'int', return -1 on INT_MAX overflow.
52512         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52513         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52514         overflows INT_MAX.  Check for overflow of in-format-string precision
52515         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52516         SIZE_MAX not INT_MAX for integer overflow test.
52517         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52518         skip the construct in the format string but do not record anything.
52519         * stdio-common/bug22.c: Adjust to test both width/prevision
52520         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52521         explicitly for proper errno values.
52523 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52525         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52526         CHAR_MAX.
52527         * string/test-strcmp.c [! WIDE]: Likewise.
52528         * time/tst-mktime2.c: Likewise for INT_MAX.
52529         * string/test-string.h: #include <sys/param.h> for MIN.
52531         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52532         * sysdeps/i386/init-first.c (init): Likewise.
52533         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52534         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52535         * sysdeps/sh/init-first.c (init): Likewise.
52537 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52539         * po/ru.po: Update from translation team.
52540         * po/vi.po: Likewise.
52542 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52544         * resolv/nss_dns/dns-host.c: Merge copyright years.
52546 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52548         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52549         Optimize memcpy with prefetch if
52550         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52551         src, dst pointers have unequal 16 byte alignments.
52553 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52555         [BZ #13928]
52556         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52557         from a CNAME entry and return the minimum ttl for the query.
52558         (gaih_getanswer_slice): Likewise.
52560 2012-03-30  Jeff Law  <law@redhat.com>
52562         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52563         due to long keys.
52564         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52565         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52567         * resolv/nss_dns/dns-host.c: Update copyright year.
52569 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52571         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52572         requests to save a system call.  Fix check that all bytes are sent.
52574         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52575         comments for sendmmsg.
52577 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52579         [BZ #13691]
52580         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52581         with only 1 character between 0x0041 and 0x01b0.
52582         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52583         * wcsmbs/tst-mbsnrtowcs.c: New file.
52585 2012-03-29  David S. Miller  <davem@davemloft.net>
52587         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52588         small copies by hand.
52590 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52592         [BZ #13761]
52593         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52594         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52595         group memberships.
52597 2012-03-28  David S. Miller  <davem@davemloft.net>
52599         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52600         that branches into memcpy.
52601         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52604         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52606         bits.
52607         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52608         implementation too.
52609         * sysdeps/sparc/mempcpy.S: New file.
52611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52612         the IFUNC routine in the libc case.
52613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52615         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52616         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52617         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52618         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52619         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52620         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52621         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52622         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52624         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52625         loop to 256 bytes instead of 64 bytes and fix test signedness.
52627         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52628         * sysdeps/sparc/sparc32/Makefile: rather than here...
52629         * sysdeps/sparc/sparc64/Makefile: and here.
52631 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52633         * malloc/mallocbug.c: Avoid warnings about unused variables.
52635 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52637         [BZ #13760]
52638         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52639         in the right place. Discard and retry query if response is
52640         larger than input buffer size.
52642 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52644         [BZ #369]
52645         [BZ #2678]
52646         [BZ #3866]
52647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52648         x for large integer exponent.
52649         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52650         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52651         sign of result as needed afterwards.
52652         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52653         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52654         result for underflowing pow the same as for overflow.
52655         (__kernel_standard_l): Handle powl overflow and underflow here
52656         rather than calling __kernel_standard.
52657         * math/libm-test.inc (pow_test): Add more tests.
52659         [BZ #3868]
52660         [BZ #13879]
52661         [BZ #13910]
52662         [BZ #13911]
52663         [BZ #13912]
52664         [BZ #13913]
52665         [BZ #13915]
52666         [BZ #13916]
52667         [BZ #13917]
52668         [BZ #13918]
52669         [BZ #13919]
52670         [BZ #13920]
52671         [BZ #13921]
52672         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52673         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52674         (__kernel_standard_l): New function.
52675         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52676         __kernel_standard.
52677         * math/w_acosl.c (__acosl): Likewise.
52678         * math/w_asinl.c (__asinl): Likewise.
52679         * math/w_atan2l.c (__atan2l): Likewise.
52680         * math/w_atanhl.c (__atanhl): Likewise.
52681         * math/w_coshl.c (__coshl): Likewise.
52682         * math/w_exp10l.c (__exp10l): Likewise.
52683         * math/w_exp2l.c (__exp2l): Likewise.
52684         * math/w_fmodl.c (__fmodl): Likewise.
52685         * math/w_hypotl.c (__hypotl): Likewise.
52686         * math/w_j0l.c (__j0l, __y0l): Likewise.
52687         * math/w_j1l.c (__j1l, __y1l): Likewise.
52688         * math/w_jnl.c (__jnl, __ynl): Likewise.
52689         * math/w_lgammal.c (__lgammal): Likewise.
52690         * math/w_log10l.c (__log10l): Likewise.
52691         * math/w_log2l.c (__log2l): Likewise.
52692         * math/w_logl.c (__logl): Likewise.
52693         * math/w_powl.c (__powl): Likewise.
52694         * math/w_remainderl.c (__remainderl): Likewise.
52695         * math/w_scalbl.c (sysv_scalbl): Likewise.
52696         * math/w_sinhl.c (__sinhl): Likewise.
52697         * math/w_sqrtl.c (__sqrtl): Likewise.
52698         * math/w_tgammal.c (__tgammal): Likewise.
52699         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52700         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52701         * math/libm-test.inc (acos_test): Add more tests.
52702         (acosh_test): Likewise.
52703         (asin_test): Likewise.
52704         (atanh_test): Likewise.
52705         (exp_test): Likewise.
52706         (exp10_test): Likewise.
52707         (exp2_test): Likewise.
52708         (expm1_test): Likewise.
52709         (lgamma_test): Likewise.
52710         (log_test): Likewise.
52711         (log10_test): Likewise.
52712         (log1p_test): Likewise.
52713         (log2_test): Likewise.
52714         (pow_test): Do not allow some spurious overflow exceptions.
52715         (sqrt_test): Add more tests.
52716         (tgamma_test): Likewise.
52717         (y0_test): Likewise.
52718         (y1_test): Likewise.
52719         (yn_test): Likewise.
52721 2012-03-27  Anton Blanchard  <anton@samba.org>
52723         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52724         MAP_HUGETLB.
52725         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52729 2012-03-27  David S. Miller  <davem@davemloft.net>
52731         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52733         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52734         have-as-vis3 check.
52736 2012-03-27  Andreas Jaeger  <aj@suse.de>
52738         * sysdeps/x86_64/elf/configure.in: Moved to ...
52739         * sysdeps/x86_64/configure.in: ... here.
52740         * sysdeps/x86_64/elf/start.S: Moved to ...
52741         * sysdeps/x86_64/start.S: ... here.
52742         * sysdeps/x86_64/elf/configure: Delete.
52744         * sysdeps/x86_64/configure.in: Merge contents from
52745         sysdeps/i386/configure.in (without i686 check).
52747         * sysdeps/i386/elf/Versions: Merge into ...
52748         * sysdeps/i386/Versions: ... this.
52749         * sysdeps/i386/elf/Versions: Delete file.
52750         * sysdeps/i386/elf/start.S: Moved to ...
52751         * sysdeps/i386/start.S: ...here.
52752         * sysdeps/i386/elf/configure.in: Merge into...
52753         * sysdeps/i386/configure.in: ...here.
52754         * sysdeps/i386/elf/configure.in: Delete file.
52755         * sysdeps/i386/elf/configure: Delete file.
52757         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52758         * debug/backtracesyms.c: ... here.
52759         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52760         * debug/backtracesymsfd.c: ... here.
52761         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52762         * sysdeps/generic/ifunc-sel.h: ... here.
52764         * sysdeps/unix/i386/start.c: Delete file.
52765         * sysdeps/unix/sparc/start.c: Delete file.
52766         * sysdeps/unix/start.c: Delete file.
52768         * sysdeps/sh/elf/configure.in: Moved to ...
52769         * sysdeps/sh/configure.in: ... here.
52770         * sysdeps/sh/elf/start.S: Moved to ...
52771         * sysdeps/sh/start.S: ... here.
52772         * sysdeps/sh/elf/configure: Delete file.
52774         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52775         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52776         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52777         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52778         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52779         * sysdeps/powerpc/powerpc64/start.S: here.
52780         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52781         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52782         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52783         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52784         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52786         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52787         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52788         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52789         * sysdeps/powerpc/powerpc32/start.S: ... here.
52790         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52791         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52792         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52794         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52795         * sysdeps/powerpc/ifunc-sel.h: ... here.
52796         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52797         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52799         * sysdeps/sparc/elf/configure.in: Moved to ...
52800         * sysdeps/sparc/configure.in: ... here.
52801         * sysdeps/sparc/elf/configure: Delete file.
52802         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52803         * sysdeps/sparc/sparc32/start.S: ... here.
52804         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52805         * sysdeps/sparc/sparc64/start.S: ... here.
52806         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52807         * sysdeps/sparc/sparc32/Makefile: ... this.
52808         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52809         * sysdeps/sparc/sparc64/Makefile: ... this.
52811         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52812         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52813         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52814         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52815         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52816         * sysdeps/s390/s390-32/setjmp.S: ... here.
52817         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52818         * sysdeps/s390/s390-32/configure.in: ... here.
52819         * sysdeps/s390/s390-32/elf/configure: Delete file.
52820         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52821         * sysdeps/s390/s390-32/start.S: ... here.
52823         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52824         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52825         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52826         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52827         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52828         * sysdeps/s390/s390-64/setjmp.S: ... here.
52829         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52830         * sysdeps/s390/s390-64/configure.in: ... here
52831         * sysdeps/s390/s390-64/elf/configure: Delete file.
52832         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52833         * sysdeps/s390/s390-64/start.S: ... here.
52834         * sysdeps/s390/s390-64/elf/configure: Delete.
52836         * configure.in: Remove support for elf directories in sysdeps.
52838         * configure: Regenerated.
52839         * sysdeps/i386/configure: Regenerated.
52840         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52841         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52842         * sysdeps/s390/s390-32/configure: Regenerated.
52843         * sysdeps/s390/s390-64/configure: Regenerated.
52844         * sysdeps/sh/configure: Regenerated.
52845         * sysdeps/sparc/configure: Regenerated.
52846         * sysdeps/x86_64/configure: Regenerated.
52848 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52853         denormal result into account.
52855 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52857         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52858         Reported by Allan McRae <allan@archlinux.org>.
52860 2012-03-23  Jeff Law  <law@redhat.com>
52862         * nss/getnssent.c (__nss_getent): Fix typo.
52864 2012-03-23  David S. Miller  <davem@davemloft.net>
52866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52868 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52870         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52871         to pad to uint64_t for each field.
52872         (dl_tls_index): Replace unsigned long with uint64_t.
52874 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52875         Paul Pluzhnikov  <ppluzhnikov@google.com>
52877         [BZ #6528]
52878         * grp/Makefile (otherlibs): Don't set it.
52879         * inet/Makefile (otherlibs): Likewise.
52880         * login/Makefile (otherlibs): Likewise.
52881         * nscd/Makefile (otherlibs): Likewise.
52882         * posix/Makefile (otherlibs): Likewise.
52883         * pwd/Makefile (otherlibs): Likewise.
52884         * rt/Makefile (otherlibs): Likewise.
52885         * sunrpc/Makefile (otherlibs): Likewise.
52886         * nss/Makefile (otherlibs): Likewise.
52887         Add libnss_files to routines and static-only-routines.
52888         ($(objpfx)getent): Remove rule.
52889         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52890         static-only-routines.
52892 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52894         [BZ #13892]
52895         * math/s_cexp.c: Include <float.h>.
52896         (__cexp): Handle exp result overflowing not necessarily
52897         overflowing both real and imaginary parts of result.
52898         * math/s_cexpf.c: Likewise.
52899         * math/s_cexpl.c: Likewise.
52900         * math/libm-test.inc (cexp_test): Add more tests.
52901         * sysdeps/i386/fpu/libm-test-ulps: Update.
52902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52904 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52906         * include/link.h (ELFW): New macro.
52907         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52908         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52912         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52913         with uint64_t.
52915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52917         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52918         declaration.
52919         (struct La_x32_retval): Likewise.
52921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52923         * sysdeps/x86_64/preconfigure.in: New file.
52924         * sysdeps/x86_64/preconfigure: New generated file.
52926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52928         [BZ #13824]
52929         * math/e_exp2l.c: Include <float.h>.
52930         (__ieee754_exp2l): Handle overflow and underflow cases
52931         separately.  Only pass fractional part of argument to
52932         __ieee754_expl.
52933         * math/libm-test.inc (exp2_test): Add more tests.
52935         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52936         negating x to take absolute value.
52937         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52938         Likewise.
52939         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52940         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52941         Likewise.
52942         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52943         computing low part if x was negated.
52944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52946 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52948         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52949         la_x32_gnu_pltexit.
52950         (pltexit): Cast int_retval to ptrdiff_t.
52951         * elf/tst-auditmod3b.c: Likewise.
52952         * elf/tst-auditmod4b.c: Likewise.
52953         * elf/tst-auditmod5b.c: Likewise.
52954         * elf/tst-auditmod6b.c: Likewise.
52955         * elf/tst-auditmod6c.c: Likewise.
52956         * elf/tst-auditmod7b.c: Likewise.
52958         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52959         and x32_gnu_pltexit.
52961         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52962         __ELF_NATIVE_CLASS.
52963         (La_x32_regs): New macro.
52964         (La_x32_retval): Likewise.
52965         (la_x32_gnu_pltenter): New function prototype.
52966         (la_x32_gnu_pltexit): Likewise.
52968 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52971         exponent.
52973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52975         * configure.in (libc_cv_cc_nofma): Check for option to disable
52976         generation of FMA instructions.
52977         * configure: Regenerate.
52978         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52979         * sysdeps/ieee754/dbl-64/Makefile: New file.
52980         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52981         Remove brandred-fma4.
52982         (CFLAGS-brandred-fma4.c): Remove.
52983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52984         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52985         define.
52986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52987         define.
52989 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52992         LLONG_MAX != LONG_MAX.
52993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52994         (_fitoa_word): Likewise.
52995         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52996         LLONG_MAX != LONG_MAX.
52997         * stdio-common/_itowa.h: Include <_itoa.h>.
52998         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52999         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53000         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53001         only if not defined.
53002         (_ITOA_WORD_TYPE): Likewise.
53003         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53004         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53006 2012-03-21  David S. Miller  <davem@davemloft.net>
53008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53010 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53012         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53013         of x86_64 when setting libc_cv_slibdir, libdir and
53014         libc_cv_localedir.
53015         * sysdeps/unix/sysv/linux/configure: Regenerated.
53017 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53019         * manual/lang.texi (Old Varargs): Remove section.
53020         (How Variadic): Update menu.
53021         (va_start): Do not mention varargs.h.
53023 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53024             Joseph Myers  <joseph@codesourcery.com>
53026         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53027         link test.
53028         * configure: Regenerated.
53030 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53032         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53033         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53034         conformtest.pl
53036 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53038         * NOTES: Remove.
53039         * Makefile (files-for-dist): Remove NOTES.
53040         (NOTES): Remove rule.
53041         * README: Don't refer to NOTES.
53042         * manual/creature.texi: Don't include macros.texi.
53043         * manual/intro.texi (creature.texi): Remove comment referring to
53044         NOTES.
53046         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53047         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53048         * configure: Regenerated.
53049         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53050         LIBC_TRY_CC_OPTION.
53051         (libc_cv_as_i686): Likewise.
53052         (libc_cv_cc_avx): Likewise.
53053         (libc_cv_cc_sse2avx): Likewise.
53054         (libc_cv_cc_fma4): Likewise.
53055         (libc_cv_cc_novzeroupper): Likewise.
53056         * sysdeps/i386/configure: Regenerated.
53058         [BZ #13883]
53059         * sysdeps/i386/fpu/s_cexp.S: Remove.
53060         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53061         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53062         * math/libm-test.inc (cexp_test): Add more tests.
53063         * sysdeps/i386/fpu/libm-test-ulps: Update.
53064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53066 2012-03-21  Allan McRae  <allan@archlinux.org>
53068         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53072         [BZ #13871]
53073         * math/w_exp2.c: Do not include <float.h>.
53074         (o_threshold, u_threshold): Remove.
53075         (__exp2): Calculate result before checking finiteness and calling
53076         __kernel_standard.
53077         * math/w_exp2f.c: Likewise.
53078         * math/w_exp2l.c: Likewise.
53079         * math/libm-test.inc (exp2_test): Require overflow exception for
53080         1e6 input.
53082         [BZ #3866]
53083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53084         range of signed 64-bit integers before using fistpll.  Remove
53085         checks for whether integers fit in mantissa bits.
53086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53087         the range of signed 32-bit integers before using fistpl.  Remove
53088         checks for whether integers fit in mantissa bits.
53089         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53090         (__ieee754_powl): Test for y outside the range of signed 64-bit
53091         integers before using fistpll.  Reduce 64-bit values to 63-bit
53092         ones as needed.
53093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53094         divide-by-zero is raised for zero to large negative powers.
53095         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53096         (__ieee754_powl): Test for y outside the range of signed 64-bit
53097         integers before using fistpll.  Reduce 64-bit values to 63-bit
53098         ones as needed.
53099         * math/libm-test.inc (pow_test): Add more tests.
53101 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53103         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53104         <stdio-common/_itoa.h>.
53105         * debug/segfault.c: Likewise.
53106         * elf/dl-cache.c: Likewise.
53107         * elf/dl-minimal.c: Likewise.
53108         * elf/dl-misc.c: Likewise.
53109         * elf/dl-sysdep.c: Likewise.
53110         * elf/dl-version.c: Likewise.
53111         * elf/rtld.c: Likewise.
53112         * hurd/hurdsock.c: Likewise.
53113         * hurd/lookup-retry.c: Likewise.
53114         * malloc/malloc.c: Likewise.
53115         * malloc/mtrace.c: Likewise.
53116         * nscd/nscd_getgr_r.c: Likewise.
53117         * nscd/nscd_getpw_r.c: Likewise.
53118         * nscd/nscd_getserv_r.c: Likewise.
53119         * posix/getopt_init.c: Likewise.
53120         * posix/wordexp.c: Likewise.
53121         * stdio-common/_itoa.c: Likewise.
53122         * stdio-common/printf_fphex.c: Likewise.
53123         * stdio-common/vfprintf.c: Likewise.
53124         * string/_strerror.c: Likewise.
53125         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53126         * sysdeps/i386/i686/hp-timing.h: Likewise.
53127         * sysdeps/mach/_strerror.c: Likewise.
53128         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53129         * sysdeps/mach/hurd/sethostid.c: Likewise.
53130         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53131         * sysdeps/mach/xpg-strerror.c: Likewise.
53132         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53133         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53134         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53135         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53136         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53137         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53138         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53139         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53140         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53141         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53142         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53143         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53144         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53145         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53146         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53147         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53148         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53149         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53150         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53151         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53152         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53154         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53156         * stdio-common/_itoa.h: Moved to ...
53157         * sysdeps/generic/_itoa.h: Here.
53159         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53161         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53162         instead of "_itoa.h" and "_itowa.h".
53163         * stdio-common/vfprintf.: Likewise.
53165 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53167         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53168         <bits/wordsize.h>.
53169         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53170         (__signbit): Likwise.
53171         (llrintf): Likwise.
53172         (llrint): Likwise.
53174 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53176         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53177         __WORDSIZE != 64.
53179 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53181         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53182         OVERFLOW_EXCEPTION_OK.
53183         * math/libm-test.inc ("Philosophy"): Update comment about
53184         exception testing.
53185         (OVERFLOW_EXCEPTION): Define.
53186         (OVERFLOW_EXCEPTION_OK): Likewise.
53187         (INVALID_EXCEPTION_OK): Renumber.
53188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53189         (IGNORE_ZERO_INF_SIGN): Likewise.
53190         (test_exceptions): Handle FE_OVERFLOW.
53191         (exp10_test): Expect overflow exceptions.
53192         (exp2_test): Likewise.
53193         (expm1_test): Likewise.
53194         (nextafter_test): Likewise.
53195         (pow_test): Likewise.
53196         (scalbn_test): Likewise.
53197         (scalbln_test): Likewise.
53199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53201         * sysdeps/x86_64/bits/atomic.h
53202         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53203         64bit integer.
53204         (atomic_exchange_acq): Likewise.
53205         (__arch_exchange_and_add_body): Likewise.
53206         (__arch_add_body): Likewise.
53207         (atomic_add_negative): Likewise.
53208         (atomic_add_zero): Likewise.
53210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53212         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53213         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53217         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53218         Check __x86_64__ instead of __WORDSIZE.
53220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53222         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53224 2012-03-19  David S. Miller  <davem@davemloft.net>
53226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53228         * sysdeps/sparc/fpu/fenv_private.h: New file.
53229         * sysdeps/sparc/fpu/math_private.h: Use it.
53230         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53231         Remove.
53232         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53233         (libc_feholdexcept_setroundl): Remove.
53234         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53235         Remove.
53236         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53237         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53239 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53241         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53242         int64_t instead of long int.
53243         (INSERT_WORDS64): Likwise.
53245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53247         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53248         _Unwind_GetCFA return to _Unwind_Ptr first.
53250 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53252         [BZ #13629]
53253         * math/s_clog.c: Include <float.h>.
53254         (__clog): Scale large or subnormal inputs.
53255         * math/s_clogf.c: Likewise.
53256         * math/s_clogl.c: Likewise.
53257         * math/s_clog10.c: Include <float.h>.
53258         (M_LOG10_2): Define.
53259         (__clog10): Scale large or subnormal inputs.
53260         * math/s_clog10f.c: Likewise.
53261         * math/s_clog10l.c: Likewise.
53262         * math/libm-test.inc (clog_test): Add more tests.
53263         (clog10_test): Likewise.
53264         * sysdeps/i386/fpu/libm-test-ulps: Update.
53265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53267         [BZ #11451]
53268         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53269         x and y.
53270         * math/libm-test.inc (atan2_test): Add another test.
53272         * Makerules (common-objdir-compile): Remove.
53273         * sysdeps/unix/Makefile (config-generated): Do not add
53274         $(unix-generated) to variable.
53275         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53276         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53277         Remove rule.
53278         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53279         Likewise.
53280         [generic bits/local_lim.h] (before-compile): Do not append to
53281         variable.
53282         [generic bits/local_lim.h] (common-generated): Likewise.
53283         [generic sys/param.h] (before-compile): Do not append to variable.
53284         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53285         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53286         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53287         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53288         include.
53289         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53290         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53291         [generic sys/param.h] ($(addprefix
53292         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53293         [generic sys/param.h] (common-generated): Do not append to
53294         variable.
53295         [generic sys/param.h] (sysdep_headers): Likewise.
53296         [generic bits/errno.h] (before-compile): Do not append to
53297         variable.
53298         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53299         rule.
53300         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53301         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53302         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53303         [generic bits/errno.h] (common-generated): Do not append to
53304         variable.
53305         [generic bits/ioctls.h] (before-compile): Do not append to
53306         variable.
53307         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53308         rule.
53309         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53310         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53311         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53312         rule.
53313         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53314         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53315         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53316         [generic bits/ioctls.h] (common-generated): Do not append to
53317         variable.
53318         [generic sys/syscall.h] (syscall.h): Remove variable.
53319         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53320         rule.
53321         [generic sys/syscall.h] (before-compile): Do not append to
53322         variable.
53323         [generic sys/syscall.h] (common-generated): Likewise.
53324         * sysdeps/unix/errnos-tmpl.c: Remove file.
53325         * sysdeps/unix/errnos.awk: Likewise.
53326         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53327         * sysdeps/unix/ioctls.awk: Likewise.
53328         * sysdeps/unix/mk-local_lim.c: Likewise.
53329         * sysdeps/unix/snarf-ioctls: Likewise.
53331 2012-03-19  Richard Henderson  <rth@twiddle.net>
53333         * sysdeps/i386/fpu/fenv_private.h: New file.
53334         * sysdeps/i386/fpu/math_private.h: Use it.
53335         (math_opt_barrier, math_force_eval): Remove.
53336         (libc_feholdexcept_setround_53bit): Remove.
53337         (libc_feupdateenv_53bit): Remove.
53338         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53339         (math_opt_barrier, math_force_eval): Remove.
53340         (libc_feholdexcept): Remove.
53341         (libc_feholdexcept_setround): Remove.
53342         (libc_fetestexcept, libc_fesetenv): Remove.
53343         (libc_feupdateenv_test): Remove.
53344         (libc_feupdateenv, libc_feholdsetround): Remove.
53345         (libc_feresetround): Remove.
53347         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53348         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53350         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53351         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53352         (libc_feupdateenv_testl): New.
53353         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53354         (libc_feupdateenv_testf): New.
53355         (libc_feupdateenv): Use libc_feupdateenv_test.
53356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53357         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53359         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53360         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53361         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53362         (libc_feresetround_noex): New.
53363         (libc_feresetround_noexf): New.
53364         (libc_feresetround_noexl): New.
53365         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53366         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53367         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53369         SET_RESTORE_ROUND.
53370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53372         (__cos): Likewise.
53373         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53374         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53375         SET_RESTORE_ROUND_NOEX.
53376         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53377         SET_RESTORE_ROUND_NOEXF.
53378         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53379         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53380         (libc_feholdsetroundf): New.
53381         (libc_feresetround, libc_feresetroundf): New.
53383         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53384         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53385         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53387         * sysdeps/generic/math_private.h: Include <fenv.h>.
53388         (default_libc_feholdexcept): New.
53389         (default_libc_feholdexcept_setround): New.
53390         (default_libc_fesetenv, default_libc_feupdateenv): New.
53391         (libc_feholdexcept): Only define if undefined.
53392         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53393         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53394         (libc_feholdexcept_setroundl): Likewise.
53395         (libc_feholdexcept_setround_53bit): Likewise.
53396         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53397         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53398         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53399         (libc_feupdateenv_53bit): Likewise.
53400         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53401         (libc_feholdexcept): Convert from macro to inline function.
53402         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53403         (libc_fesetenv, libc_feupdateenv): Likewise.
53405         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53406         not previously defined.
53407         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53408         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53409         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53410         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53411         * sysdeps/ieee754/flt-32/math_private.h: New file.
53412         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53413         math_private.h below SET_FLOAT_WORD.
53414         (__isnan, __isinf_ns, __finite): Remove.
53415         (__isnanf, __isinf_nsf, __finitef): Remove.
53417 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53421 2012-03-17  David S. Miller  <davem@davemloft.net>
53423         [BZ #6471]
53424         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53425         for 2.16.
53427 2012-03-16  David S. Miller  <davem@davemloft.net>
53429         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53430         warnings.
53432         [BZ #6471]
53433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53434         properly.
53435         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53436         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53437         sysdep_routines when subdir is sysvipc.
53438         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53439         __getshmlba helper.
53441         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53445         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53446         [__LP64__].
53448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53450         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53451         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53452         (__lround): Renamed to ...
53453         (__llround): This.  Replace long int with long long int.
53454         Define lround functions as aliases of llround functions.
53455         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53459         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53460         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53461         adresses to uintptr_t.  Replace "long int" and "unsigned long
53462         int" with "greg_t" on va_arg.
53464 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53466         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53467         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53469         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53470         Move e_machine check before EI_CLASS check.  Handle x32
53471         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53472         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53473         SKIP_EM_IA_64 and include
53474         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53476         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53477         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53478         (add_system_dir): New macro.
53480         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53481         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53483 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53485         [BZ #2551]
53486         [BZ #2552]
53487         [BZ #2553]
53488         [BZ #2554]
53489         [BZ #2562]
53490         [BZ #2563]
53491         [BZ #2565]
53492         [BZ #2566]
53493         [BZ #2576]
53494         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53495         (y0): Likewise.
53496         * math/w_j0f.c (j0f): Likewise.
53497         (y0f): Likewise.
53498         * math/w_j0l.c (__j0l): Likewise.
53499         (__y0l): Likewise.
53500         * math/w_j1.c (j1): Likewise.
53501         (y1): Likewise.
53502         * math/w_j1f.c (j1f): Likewise.
53503         (y1f): Likewise.
53504         * math/w_j1l.c (__j1l): Likewise.
53505         (__y1l): Likewise.
53506         * math/w_jn.c (jn): Likewise.
53507         (yn): Likewise.
53508         * math/w_jnf.c (jnf): Likewise.
53509         (ynf): Likewise.
53510         * math/w_jnl.c (__jnl): Likewise.
53511         (__ynl): Likewise.
53512         * math/libm-test.inc (j0_test): Add more tests.
53513         (j1_test): Likewise.
53514         (jn_test): Likewise.  Add trailing semicolon to existing test.
53515         (y0_test): Likewise.
53516         (y1_test): Likewise.
53517         * sysdeps/i386/fpu/libm-test-ulps: Update.
53518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53520         [BZ #13851]
53521         [BZ #13854]
53522         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53523         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53524         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53525         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53526         (__tanl): Set errno for infinite argument.
53527         * sysdeps/i386/fpu/mptan.c: Remove.
53528         * sysdeps/i386/fpu/s_tan.S: Likewise.
53529         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53530         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53531         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53532         * math/libm-test.inc (tan_test): Add more tests and enable more
53533         tests for double and long double.
53534         * sysdeps/i386/fpu/libm-test-ulps: Update.
53535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53537 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53539         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53540         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53542 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53544         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53545         * configure.in: Use it for both main tree and add-ons.
53546         * configure: Regenerated.
53548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53550         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53552 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53554         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53555         in comment.
53557         [BZ #13851]
53558         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53559         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53560         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53561         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53562         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53563         infinite argument.
53564         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53566         != 0 for prec == 2.
53567         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53568         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53569         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53570         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53571         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53572         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53573         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53574         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53575         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53576         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53577         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53578         * math/libm-test.inc (cos_test): Add more tests and enable more
53579         tests for long double.
53580         (sin_test): Likewise.
53581         (sincos_test): Likewise.
53582         * sysdeps/i386/fpu/libm-test-ulps: Update.
53583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53585 2012-03-16  David S. Miller  <davem@davemloft.net>
53587         * sysdeps/sparc/fpu/math_private.h: New file.
53589 2012-03-15  David S. Miller  <davem@davemloft.net>
53591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53592         file.
53593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53595         file.
53596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53601         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53602         sysdep routines.
53603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53605         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53606         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53608         * sysdeps/sparc/sparc-ifunc.h: New file.
53609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53610         sparc-ifunc.h
53611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53613         Likewise.
53614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53615         Likewise.
53616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53620         Likewise.
53621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53626         Likewise.
53627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53628         Likewise.
53629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53654 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53656         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53657         scaling.
53658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53660 2012-03-15  Andreas Jaeger  <aj@suse.de>
53662         [BZ #13852]
53663         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53664         ieee754/flt-32 implementation for sin, cos and sincos.
53665         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53666         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53667         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53668         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53669         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53670         ieee754/flt-32 implementation for tan.
53672         * math/libm-test.inc (cos_test): Enable some large input tests for
53673         float as well
53674         (sin_test): Likewise.
53675         (sincos_test): Likewise.
53676         (tan_test): Add tests for large input.
53678         * sysdeps/i386/fpu/libm-test-ulps: Update.
53680 2012-03-15  Andreas Jaeger  <aj@suse.de>
53682         [BZ #13658]
53683         * math/libm-test.inc (cos_test): Add more test cases.
53684         (sin_test): Likewise.
53685         (sincos_test): Likewise.
53687 2012-03-15  Andreas Jaeger  <aj@suse.de>
53689         [BZ #13837]
53690         * math/libm-test.inc (cos_test): Add a test case for large input
53691         value.
53692         (sin_test): Likewise.
53693         (sincos_test): Likewise.
53695 2012-03-15  Andreas Jaeger  <aj@suse.de>
53696             Joseph Myers  <joseph@codesourcery.com>
53698         [BZ #13658]
53699         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53700         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53701         * sysdeps/i386/fpu/branred.c: Likewise.
53702         * sysdeps/i386/fpu/dosincos.c: Likewise.
53703         * sysdeps/i386/fpu/mpa.c: Likewise.
53704         * sysdeps/i386/fpu/s_cos.S: Likewise.
53705         * sysdeps/i386/fpu/s_sin.S: Likewise.
53706         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53707         * sysdeps/i386/fpu/sincos32.c: Likewise.
53709         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53710         Define.
53711         (libc_feupdateenv_53bit): Define.
53712         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53713         Define.
53714         (libc_feupdateenv_53bit): Define.
53716         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53717         53 bit (without extend i386 double precision).
53719         * math/libm-test.inc (sincos_test): Add tests for large input.
53720         (sin): Likewise.
53721         (cos): Likewise.
53723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53725 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53729 2012-03-15  David S. Miller  <davem@davemloft.net>
53731         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53732         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53733         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53734         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53747         file.
53748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53750         file.
53751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53753         file.
53754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53756         file.
53757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53759         fmin/fmax sysdep routines.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53762 2012-03-14  David S. Miller  <davem@davemloft.net>
53764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53793         routines.
53794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53795         file.
53796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53798         file.
53799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53801         file.
53802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53804         file.
53805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53807         file.
53808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53810         file.
53811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53812         file.
53813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53814         file.
53815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53816         file.
53817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53818         New file.
53819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53820         file.
53821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53822         file.
53823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53825         file.
53826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53828         file.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53831         file.
53832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53834         VIS3 routines.
53836         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53837         New file.
53839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53841         * sysdeps/sparc/configure.in: New file.
53842         * sysdeps/sparc/configure: Generate.
53843         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53844         * configure: Regenerate.
53845         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53846         * config.make.in (have-as-vis3): New.
53847         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53848         available use -Av9d instead of -Av9a.
53849         * sysdeps/sparc/sparc64/Makefile: Likewise.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53852         New file.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53854         file.
53855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53856         New file.
53857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53858         file.
53859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53865         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53866         fzeros/fnegs to load 0x80000000 into a float register instead of
53867         using the stack.
53868         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53870 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53873         bits/syscall.h.
53874         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53875         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53876         ($(inst_includedir)/bits/syscall.h): Remove rule.
53877         ($(objpfx)bits/syscall.d): Include instead of
53878         $(objpfx)syscall-list.d.
53879         (generated): Change syscall-list.h and syscall-list.d to
53880         bits/syscall.h and bits/syscall.d.
53882 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53884         [BZ #13846]
53885         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53887 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53889         [BZ #13841]
53890         * math/s_csqrt.c: Include <float.h>.
53891         (__csqrt): Scale large or subnormal inputs.
53892         * math/s_csqrtf.c: Likewise.
53893         * math/s_csqrtl.c: Likewise.
53894         * math/libm-test.inc (csqrt_test): Add more tests.
53895         * sysdeps/i386/fpu/libm-test-ulps: Update.
53896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53898         [BZ #13840]
53899         * math/libm-test.inc (hypot_test): Add more tests.
53901 2012-03-13  David S. Miller  <davem@davemloft.net>
53903         [BZ #13840]
53904         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53905         double-precision for the calculation instead of scaling.
53907 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53909         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53910         manipulate bits before adding and subtracting TWO52[sx].
53911         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53912         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53913         Likewise.
53914         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53916 2012-03-13  David S. Miller  <davem@davemloft.net>
53918         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53919         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53921         rtld-global-offsets.h
53922         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53924         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53925         large parameters.
53927         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53929         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53930         'err' in the ifdef scope in which it is actually used.
53932         * nss/nss_db/db-init.c: Include string.h
53934 2012-03-12  David S. Miller  <davem@davemloft.net>
53936         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53937         masking out of the most significant byte of random value used.
53938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53939         Fix coding style in previous change.
53941         * sysdeps/unix/sysv/linux/kernel-features.h
53942         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53943         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53944         expression.
53945         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53946         later.
53948 2012-03-11  David S. Miller  <davem@davemloft.net>
53950         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53951         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53952         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53953         for 'resultvar' otherwise things get truncated on 64-bit.
53955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53956         Fix masking out of the most significant byte of random value used.
53958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53960 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53964 2012-03-09  David S. Miller  <davem@davemloft.net>
53966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53967         variables with appropriate CPP guards.
53968         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53969         from the frame pointer, not the stack pointer.  Correct layout
53970         comments.  Fix test on resulting framesize and the management of
53971         the outregs buffer for pltexit.  Preserve floating point return
53972         values across _dl_call_pltexit call.
53973         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53974         framesize and the management of the outregs buffer for pltexit.
53975         Preserve floating point return values across _dl_call_pltexit
53976         call.
53977         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53978         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53979         (la_sparc64_gnu_pltexit): New functions.
53980         (print_exit): Fix format string for return register value.
53982 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53984         * sunrpc/Makefile (others): Add rpcgen.
53985         ($(objpfx)rpcgen): Remove special build rule and dependency on
53986         libc.
53987         * sunrpc/rpcgen.c: New file.
53989 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53991         [BZ #13673]
53992         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53993         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53994         * sysdeps/i386/crti.S: Likewise.
53995         * sysdeps/i386/crtn.S: Likewise.
53996         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53997         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53998         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53999         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54000         * sysdeps/sh/crti.S: Likewise.
54001         * sysdeps/sh/crtn.S: Likewise.
54002         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54004         [BZ #13673]
54005         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54006         with URL.
54007         * locale/programs/locfile-kw.gperf: Likewise.
54008         * locale/programs/charmap-kw.h: Regenerated.
54009         * locale/programs/locfile-kw.h: Likewise.
54011         [BZ #13673]
54012         * intl/plural.y: Replace FSF snail mail address with URL.
54013         * intl/plural.c: Regenerated.
54015 2012-03-09  Richard Henderson  <rth@twiddle.net>
54017         * include/math_private.h: Remove file.
54018         * math/math_private.h: Move file ...
54019         * sysdeps/generic/math_private.h: ... here.
54021         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54022         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54023         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54025         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54026         and <math_private.h>.
54027         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54028         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54029         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54030         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54031         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54032         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54039         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54041         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54059         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54061         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54062         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54064         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54065         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54067         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54070         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54072         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54073         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54074         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54076         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54077         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54078         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54079         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54080         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54081         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54082         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54084         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54091         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54092         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54093         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54094         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54096         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54098         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54099         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54100         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54101         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54108         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54110         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54111         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54114         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54115         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54116         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54117         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54118         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54120         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54121         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54122         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54124         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54125         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54126         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54127         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54128         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54129         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54130         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54132         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54133         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54134         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54135         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54136         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54137         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54138         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54139         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54141         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54143         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54144         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54145         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54146         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54148         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54150         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54151         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54153         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54154         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54155         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54156         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54157         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54158         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54159         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54160         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54161         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54162         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54164         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54165         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54166         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54168         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54169         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54170         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54171         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54172         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54173         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54174         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54175         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54176         * sysdeps/ieee754/k_standard.c: Likewise.
54177         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54178         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54180         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54181         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54182         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54183         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54193         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54194         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54195         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54196         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54197         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54220         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54222         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54228         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54229         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54230         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54239         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54256         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54257         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54258         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54260         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54261         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54262         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54263         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54265         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54267         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54270         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54292         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54299         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54326         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54327         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54337         * sysdeps/ieee754/s_lib_version.c: Likewise.
54338         * sysdeps/ieee754/s_matherr.c: Likewise.
54339         * sysdeps/ieee754/s_signgam.c: Likewise.
54340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54342         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54343         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54344         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54345         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54346         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54347         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54348         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54349         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54350         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54351         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54354         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54355         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54356         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54357         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54362 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54364         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54365         * sunrpc/rpc_main.c: Likewise.
54366         * sunrpc/rpc_svcout.c: Likewise.
54368 2012-03-09  David S. Miller  <davem@davemloft.net>
54370         * include/math_private.h: New file.
54372 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54374         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54375         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54376         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54377         from <bits/socket_type.h>.
54378         (enum __socket_type): Don't define here.
54379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54381         bits/socket_type.h.
54383         [BZ #13566]
54384         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54385         checking __USE_GNU.
54387         * Makerules ($(inst_includedir)/%.h): New rule.
54388         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54389         (install-others): Remove variable setting.
54390         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54392 2012-03-08  Richard Henderson  <rth@twiddle.net>
54394         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54395         from macro to inline function; merge with the
54396         !__LIBC_INTERNAL_MATH_INLINES version.
54397         (__ieee754_sqrtf): Likewise.
54399         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54400         to inline function.
54401         (__rintf, __floor, __floorf): Likewise.
54403         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54404         macro to inline function.
54405         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54408         not <math/math_private.h>.
54410 2012-03-08  David S. Miller  <davem@davemloft.net>
54412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54413         copyright year.
54414         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54416 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54418         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54419         normalization.
54420         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54421         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54423 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54425         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54426         be defined individually, they must be defined as a block.  Define
54427         S for printing a string instead of hidint the different by using a
54428         macro for adding the 'l'.
54429         * stdio-common/tst-fphex-wide.c: Adjust.
54431 2012-03-07  Marek Polacek  <polacek@redhat.com>
54433         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54435 2012-03-08  Marek Polacek  <polacek@redhat.com>
54437         [BZ #13806]
54438         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54439         * stdio-common/tst-fphex.c: Define a few macros to make the
54440         test reusable.  Use them.
54441         * stdio-common/tst-fphex-wide.c: New file.
54443 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54445         [BZ #6911]
54446         * manual/macros.texi (gnusystems): New macro.
54447         (nongnusystems): Likewise.
54448         (gnulinuxhurdsystems): Likewise.
54449         (gnuhurdsystems): Likewise..
54450         (gnulinuxsystems): Likewise.
54451         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54452         variants of the GNU system, not "GNU system".
54453         * manual/conf.texi: Likewise.
54454         * manual/errno.texi: Likewise.  Update example of errno macro
54455         expansion.
54456         * manual/filesys.texi: Likewise.
54457         (getumask): Document as specific to GNU/Hurd.
54458         * manual/install.texi: Likewise.  Reword some references to
54459         GNU/Linux.
54460         * manual/intro.texi: Likewise.
54461         * manual/io.texi: Likewise.
54462         (File Name Portability): Detail which constraints are inapplicable
54463         to all GNU systems and which are only inapplicable to GNU/Hurd.
54464         * manual/job.texi: Likewise.
54465         * manual/llio.texi: Likewise.
54466         (O_NOCTTY): Document as present on GNU/Linux.
54467         * manual/maint.texi: Likewise.
54468         * manual/memory.texi: Likewise.
54469         * manual/pattern.texi: Likewise.
54470         * manual/pipe.texi: Likewise.
54471         * manual/process.texi: Likewise.
54472         * manual/resource.texi: Likewise.
54473         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54474         child on GNU/Hurd.
54475         * manual/setjmp.texi: Likewise.
54476         * manual/signal.texi: Likewise.
54477         * manual/startup.texi: Likewise.
54478         * manual/stdio.texi: Likewise.
54479         * manual/terminal.texi: Likewise.
54480         (ONLCR): Document as POSIX.
54481         (OXTABS): Document availability on GNU/Linux as XTABS.
54482         (ONOEOT): Document availability separately from other bits.
54483         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54484         * manual/time.texi: Likewise.
54485         * manual/users.texi: Likewise.
54486         * INSTALL: Regenerated.
54487         * sysdeps/gnu/errlist.c: Regenerated.
54489         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54490         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54491         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54492         puts.
54493         * configure: Regenerated.
54495 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54497         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54498         default includes instead of AC_HEADER_CHECK.
54499         * sysdeps/i386/configure: Regenerated.
54501         [BZ #10716]
54502         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54503         * math/s_cacoshf.c (__cacoshf): Likewise.
54504         * math/s_cacoshl.c (__cacoshl): Likewise.
54505         * math/s_casinh.c (__casinh): Set signs of result from argument.
54506         * math/s_casinhf.c (__casinhf): Likewise.
54507         * math/s_casinhl.c (__casinhl): Likewise.
54508         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54509         (casinh_test): Add more tests.
54510         * sysdeps/i386/fpu/libm-test-ulps: Update.
54511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54513 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54515         * po/zh_TW.po: Update from translation team.
54517         * login/Makefile (distribute): Remove variable.
54518         * catgets/Makefile: Likewise.
54519         * mach/Makefile: Likewise.
54520         * malloc/Makefile: Likewise.
54521         * misc/Makefile: Likewise.
54522         * iconv/Makefile: Likewise.
54523         * nscd/Makefile: Likewise.
54524         * hurd/Makefile: Likewise.
54525         * manual/Makefile: Likewise.
54526         * locale/Makefile: Likewise.
54527         * intl/Makefile: Likewise.
54528         * conform/Makefile: Likewise.
54529         * nss/Makefile: Likewise.
54530         * time/Makefile: Likewise.
54531         * soft-fp/Makefile: Likewise.
54532         * dirent/Makefile: Likewise.
54533         * gmon/Makefile: Likewise.
54534         * po/Makefile: Likewise.
54535         * rt/Makefile: Likewise.
54536         * socket/Makefile: Likewise.
54537         * math/Makefile: Likewise.
54538         * signal/Makefile: Likewise.
54539         * debug/Makefile: Likewise.
54540         * elf/Makefile: Likewise.
54541         * timezone/Makefile: Likewise.
54542         * stdlib/Makefile: Likewise.
54543         * iconvdata/Makefile: Likewise.
54544         * sunrpc/Makefile: Likewise.
54545         * io/Makefile: Likewise.
54546         * argp/Makefile: Likewise.
54547         * inet/Makefile: Likewise.
54548         * hesiod/Makefile: Likewise.
54549         * grp/Makefile: Likewise.
54550         * csu/Makefile: Likewise.
54551         * wctype/Makefile: Likewise.
54552         * crypt/Makefile: Likewise.
54553         * libio/Makefile: Likewise.
54554         * string/Makefile: Likewise.
54555         * nis/Makefile: Likewise.
54556         * resolv/Makefile: Likewise.
54557         * stdio-common/Makefile: Likewise.
54558         * wcsmbs/Makefile: Likewise.
54559         * dlfcn/Makefile: Likewise.
54560         * posix/Makefile: Likewise.
54562         [BZ #6959]
54563         * timezone/Makefile: Don't install timezone files, just the programs
54564         and scripts.
54566 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54568         * nss/databases.def: Add missing gshadow entry.
54570         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54572 2012-03-06  Marek Polacek  <polacek@redhat.com>
54574         [BZ #13726]
54575         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54576         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54577         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54578         * stdio-common/tst-long-dbl-fphex.c: New file.
54580 2012-03-06  David S. Miller  <davem@davemloft.net>
54582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54583         (set_obp_int): New function.
54584         (get_obp_int): New function.
54585         (__get_clockfreq_via_dev_openprom): Likewise.
54586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54587         Avoid unused variable warnings on 'val' and use builtin_expect.
54588         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54589         __builtin_expect.
54590         (INLINE_CLONE_SYSCALL): Likewise.
54592 2012-03-05  David S. Miller  <davem@davemloft.net>
54594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54596 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54601         only for |x| >= 40.
54602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54604 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54607         Replace gettimeofday with __vdso_gettimeofday.
54609         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54610         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54611         __vdso_clock_gettime and __vdso_getcpu.
54613         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54614         time with __vdso_time.
54616 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54618         * manual/lang.texi (size_t): Note types to which size_t may be
54619         equivalent with the GNU C Library, but do not describe when
54620         differences between them are significant.
54622 2012-03-05  Andreas Jaeger  <aj@suse.de>
54624         * sysdeps/i386/fpu/libm-test-ulps: Update.
54626 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54628         [BZ #3976]
54629         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54630         (__ieee754_pow): Save and restore rounding mode and use
54631         round-to-nearest for main computations.
54632         * math/libm-test.inc (pow_test_tonearest): New function.
54633         (pow_test_towardzero): Likewise.
54634         (pow_test_downward): Likewise.
54635         (pow_test_upward): Likewise.
54636         (main): Call the new functions.
54637         * sysdeps/i386/fpu/libm-test-ulps: Update.
54638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54640         [BZ #3976]
54641         * math/libm-test.inc (cosh_test_tonearest): New function.
54642         (cosh_test_towardzero): Likewise.
54643         (cosh_test_downward): Likewise.
54644         (cosh_test_upward): Likewise.
54645         (sinh_test_tonearest): Likewise.
54646         (sinh_test_towardzero): Likewise.
54647         (sinh_test_downward): Likewise.
54648         (sinh_test_upward): Likewise.
54649         (main): Call the new functions.
54650         * sysdeps/i386/fpu/libm-test-ulps: Update.
54651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54653 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54656         default stack guard is set in last bytes.
54657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54659 2012-03-05  Kees Cook  <keescook@chromium.org>
54661         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54663         [BZ #13656]
54664         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54665         possibly allocate from heap instead of stack.
54666         * stdio-common/bug-vfprintf-nargs.c: New file.
54667         * stdio-common/Makefile (tests): Add nargs overflow test.
54669 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54673 2012-03-03  Marek Polacek  <polacek@redhat.com>
54675         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54676         * math/math_private.h: Likewise.
54677         * stdlib/tst-strtod.c: Likewise.
54678         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54679         * sysdeps/x86_64/bits/atomic.h: Likewise.
54681 2012-03-02  David S. Miller  <davem@davemloft.net>
54683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54687         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54688         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54689         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54690         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54692 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54694         [BZ #13792]
54695         * manual/examples/README: New file, says the example source files
54696         can be used under GPL>=2.
54697         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54698         line containing just "*/".
54699         * manual/examples/add.c: Add copyright header (GPL>=2).
54700         * manual/examples/argp-ex1.c: Likewise.
54701         * manual/examples/argp-ex2.c: Likewise.
54702         * manual/examples/argp-ex3.c: Likewise.
54703         * manual/examples/argp-ex4.c: Likewise.
54704         * manual/examples/atexit.c: Likewise.
54705         * manual/examples/db.c: Likewise.
54706         * manual/examples/dir.c: Likewise.
54707         * manual/examples/dir2.c: Likewise.
54708         * manual/examples/execinfo.c: Likewise.
54709         * manual/examples/filecli.c: Likewise.
54710         * manual/examples/filesrv.c: Likewise.
54711         * manual/examples/fmtmsgexpl.c: Likewise.
54712         * manual/examples/genpass.c: Likewise.
54713         * manual/examples/inetcli.c: Likewise.
54714         * manual/examples/inetsrv.c: Likewise.
54715         * manual/examples/isockad.c: Likewise.
54716         * manual/examples/longopt.c: Likewise.
54717         * manual/examples/memopen.c: Likewise.
54718         * manual/examples/memstrm.c: Likewise.
54719         * manual/examples/mkfsock.c: Likewise.
54720         * manual/examples/mkisock.c: Likewise.
54721         * manual/examples/mygetpass.c: Likewise.
54722         * manual/examples/pipe.c: Likewise.
54723         * manual/examples/popen.c: Likewise.
54724         * manual/examples/rprintf.c: Likewise.
54725         * manual/examples/search.c: Likewise.
54726         * manual/examples/select.c: Likewise.
54727         * manual/examples/setjmp.c: Likewise.
54728         * manual/examples/sigh1.c: Likewise.
54729         * manual/examples/sigusr.c: Likewise.
54730         * manual/examples/stpcpy.c: Likewise.
54731         * manual/examples/strdupa.c: Likewise.
54732         * manual/examples/strftim.c: Likewise.
54733         * manual/examples/strncat.c: Likewise.
54734         * manual/examples/subopt.c: Likewise.
54735         * manual/examples/swapcontext.c: Likewise.
54736         * manual/examples/termios.c: Likewise.
54737         * manual/examples/testopt.c: Likewise.
54738         * manual/examples/testpass.c: Likewise.
54739         * manual/examples/timeval_subtract.c: Likewise.
54741         [BZ #13792]
54742         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54743         function to ...
54744         * manual/timeval_subtract.c.texi: ... here, new file.
54746 2012-03-02  David S. Miller  <davem@davemloft.net>
54748         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54750 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54752         [BZ #3976]
54753         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54754         (__sin): Save and restore rounding mode and use round-to-nearest
54755         for all computations.
54756         (__cos): Save and restore rounding mode and use round-to-nearest
54757         for all computations.
54758         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54759         <fenv.h>.
54760         (tan): Save and restore rounding mode and use round-to-nearest for
54761         all computations.
54762         * math/libm-test.inc (cos_test_tonearest): New function.
54763         (cos_test_towardzero): Likewise.
54764         (cos_test_downward): Likewise.
54765         (cos_test_upward): Likewise.
54766         (sin_test_tonearest): Likewise.
54767         (sin_test_towardzero): Likewise.
54768         (sin_test_downward): Likewise.
54769         (sin_test_upward): Likewise.
54770         (tan_test_tonearest): Likewise.
54771         (tan_test_towardzero): Likewise.
54772         (tan_test_downward): Likewise.
54773         (tan_test_upward): Likewise.
54774         (main): Call the new functions.
54775         * sysdeps/i386/fpu/libm-test-ulps: Update.
54776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54778         [BZ #10135]
54779         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54780         small n, then large n, before computing and testing k+n.
54781         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54782         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54783         Likewise.
54784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54785         Likewise.
54786         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54787         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54789         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54793         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54794         * math/libm-test.inc (scalbn_test): Add more tests.
54795         (scalbln_test): Likewise.
54797         * manual/filesys.texi (mode_t): Describe constraints on size and
54798         signedness, not exact equivalence to a particular type.
54799         (ino_t): Likewise.
54800         (ino64_t): Likewise.
54801         (dev_t): Likewise.
54802         (nlink_t): Likewise.
54803         (blkcnt_t): Likewise.
54804         (blkcnt64_t): Likewise.
54805         * manual/llio.texi (off_t): Likewise.
54807         [BZ #3976]
54808         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54809         (__ieee754_exp): Save and restore rounding mode and use
54810         round-to-nearest for all computations.
54811         * math/libm-test.inc (exp_test_tonearest): New function.
54812         (exp_test_towardzero): Likewise.
54813         (exp_test_downward): Likewise.
54814         (exp_test_upward): Likewise.
54815         (main): Call the new functions.
54816         * sysdeps/i386/fpu/libm-test-ulps: Update.
54817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54819 2012-03-01  Chris Demetriou  <cgd@google.com>
54821         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54822         have predictable order.
54824 2012-03-01  David S. Miller  <davem@davemloft.net>
54826         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54828         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54829         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54830         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54831         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54833         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54834         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54835         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54837         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54838         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54839         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54840         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54841         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54846         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54847         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54849         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54850         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54851         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54856         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54858         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54859         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54862         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54865         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54866         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54867         * sysdeps/sparc/elf/configure: Regenerated.
54869 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54871         * configure.in (AS, LD): Require binutils 2.20 or later.
54872         * configure: Regenerated.
54873         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54874         as required minimum version.
54875         * INSTALL: Regenerated.
54877         [BZ #2541]
54878         [BZ #4108]
54879         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54880         before squaring exponent.
54881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54882         bottom long double and 27 bits of top long double before squaring
54883         exponent.
54884         * math/libm-test.inc (erfc_test): Add more tests.
54885         * sysdeps/i386/fpu/libm-test-ulps: Update.
54886         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54889 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54891         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54892         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54893         containing bit-fields.
54894         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54895         * soft-fp/single.h (_FP_UNION_S): Likewise.
54896         * soft-fp/double.h (_FP_UNION_D): Likewise.
54898 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54900         [BZ #13786]
54901         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54902         not include ../strcmp.S.
54903         [USE_AS_STRNCASECMP_L]: Likewise.
54904         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54905         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54906         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54907         (__strncasecmp_l_ia32): Define as alias to
54908         __strncasecmp_l_nonascii.
54910         [BZ #5794]
54911         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54912         * sysdeps/i386/fpu/libm-test-ulps: Update.
54913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54915         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54918 2012-02-29  Jeff Law  <law@redhat.com>
54920         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54921         out of bounds read.
54923 2012-02-29  Marek Polacek  <polacek@redhat.com>
54925         [BZ #13706]
54926         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54927         * elf/Makefile: Add rules to run tst-unused-dep.out.
54929 2012-02-28  David S. Miller  <davem@davemloft.net>
54931         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54932         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54935         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54936         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54938 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54940         * math/libm-test.inc (llround_test): Move one test from
54941         lround_test.  Use TEST_f_L in moved test.
54942         (lround_test): Move misplaced test to llround_test.  Add testcase
54943         from bug 2561.
54945 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54947         * sysdeps/x86_64/fpu/e_expf.S: New file.
54948         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54950 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54952         [BZ #13637]
54953         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54954         of remain_len that may cause incomplete multi-byte character and
54955         false match.
54956         * posix/bug-regex33.c: New file.
54957         * posix/Makefile (tests): Add bug-regex33.
54959 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54961         * manual/macros.texi: New file.
54962         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54963         * manual/libc.texinfo: Include macros.texi.
54964         * manual/creatute.texi: Likewise.
54965         * manual/install.texi: Likewise.
54966         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54967         @glibcadj{} in references to the GNU C Library.
54968         * manual/charset.texi: Likewise.
54969         * manual/conf.texi: Likewise.
54970         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54971         when not using those macros.
54972         * manual/creature.texi: Likewise.
54973         * manual/crypt.texi: Likewise.
54974         * manual/errno.texi: Likewise.
54975         * manual/filesys.texi: Likewise.
54976         * manual/header.texi: Likewise.
54977         * manual/install.texi: Likewise.
54978         * manual/intro.texi: Likewise.
54979         * manual/io.texi: Likewise.
54980         * manual/job.texi: Likewise.
54981         * manual/lang.texi: Likewise.
54982         * manual/libc.texiinfo: Likewise.
54983         * manual/llio.texi: Likewise.
54984         * manual/locale.texi: Likewise.
54985         * manual/maint.texi: Likewise.
54986         * manual/math.texi: Likewise.
54987         * manual/memory.texi: Likewise.
54988         * manual/message.texi: Likewise.
54989         * manual/nss.texi: Likewise.
54990         * manual/pattern.texi: Likewise.
54991         * manual/process.texi: Likewise.
54992         * manual/resource.texi: Likewise.
54993         * manual/search.texi: Likewise.
54994         * manual/setjmp.texi: Likewise.
54995         * manual/signal.texi: Likewise.
54996         * manual/socket.texi: Likewise.
54997         * manual/startup.texi: Likewise.
54998         * manual/stdio.texi: Likewise.
54999         * manual/string.texi: Likewise.
55000         * manual/sysinfo.texi: Likewise.
55001         * manual/syslog.texi: Likewise.
55002         * manual/terminal.texi: Likewise.
55003         * manual/time.texi: Likewise.
55004         * manual/users.texi: Likewise.
55005         * INSTALL: Regenerated.
55006         * NOTES: Regenerated.
55007         * sysdeps/gnu/errlist.c: Regenerated.
55009 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55011         * include/dirent.h: Include <dirstream.h> before
55012         <dirent/dirent.h>.
55014 2012-02-28  David S. Miller  <davem@davemloft.net>
55016         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55017         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55018         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55021 2012-02-27  David S. Miller  <davem@davemloft.net>
55023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55025         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55026         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55029         frame pointer instead of stack pointer relative arg slot.
55030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55031         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55032         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55034 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55036         [BZ #3992]
55037         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55039 2012-02-27  David S. Miller  <davem@davemloft.net>
55041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55045         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55046         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55047         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55048         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55050 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55052         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55053         later.  Allow versions 5-9.
55054         * configure: Regenerated.
55055         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55056         required minimum version and 4.6 as recommended version.  Do not
55057         mention bugs in GCC 2.7 and 2.8.
55058         * INSTALL: Regenerated.
55060 2012-02-27  David S. Miller  <davem@davemloft.net>
55062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55066         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55067         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55068         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55069         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55072         manipulate bits before adding and subtracting TWO112[sx].
55073         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55075 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55077         [BZ #13775]
55078         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55079         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55080         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55081         being in POSIX, because they are in 1003.1-2008.
55083         * rt/tst-aio.c: Include <fcntl.h>.
55084         * rt/tst-aio7.c: Likewise.
55085         * rt/tst-aio64.c: Likewise.
55087         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55089 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55091         * manual/install.texi (--with-headers): Describe headers as
55092         interface headers, not private headers.
55093         (Specific advice for GNU/Linux systems): Describe use of headers
55094         from "make headers_install", not private headers from older
55095         kernels.
55096         * INSTALL: Regenerated.
55097         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55098         Change to 2.6.19.
55099         * sysdeps/unix/sysv/linux/configure: Regenerated.
55101         * manual/llio.texi (fclean): Remove documentation.
55103         * manual/Makefile (libc-texi-generated): New variable.  Include
55104         version.texi.
55105         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55106         $(libc-texi-generated), not duplicated list of files.
55107         (version.texi, stamp-version): New rules.
55108         (realclean): Remove $(libc-texi-generated), not individual files
55109         from that list.  Do not remove dir-add.texinfo.
55110         * manual/libc.texinfo: Comment out uses of edition numbers and
55111         references to printed manual.  Remove last-updated dates.
55112         (EDITION): Comment out.
55113         (ISBN): Likewise.
55114         (VERSION, UPDATED): Remove.
55115         (version.texi): Include.
55117 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55119         * sysdeps/posix/spawni.c: Include <signal.h>.
55120         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55121         * sysdeps/pthread/aio_fsync.c: Likewise.
55123 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55125         * conform/Makefile (tests): Run only when not cross-compiling and
55126         when fast-check is not defined.
55128         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55129         * conform/data/limits.h-data: Fixes for POSIX2008.
55130         * conform/run-conformtest.sh: Run all tests.
55131         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55132         headers.
55133         * include/bits/dlfcn.h: Likewise.
55134         * include/langinfo.h: Likewise.
55135         * include/monetary.h: Likewise.
55136         * include/sys/poll.h: Likewise.
55138         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55139         for __USE_GNU.
55140         * posix/spawn.h: Define __need_sigset_t.
55141         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55142         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55143         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55144         to get sigevent_t only.
55145         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55146         only for __USE_GNU.
55147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55148         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55149         process_vm_writev only for __USE_GNU.
55150         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55152         * conform/Makefile: For now ignore errors from run-conformtest.
55153         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55154         POSIX to avoid namespace pollution.  Don't prepend headers.
55155         * conform/data/aio.h-data: Fixes for POSIX testing.
55156         * conform/data/fcntl.h-data: Likewise.
55157         * conform/data/glob.h-data: Likewise.
55158         * conform/data/grp.h-data: Likewise.
55159         * conform/data/pthread.h-data: Likewise.
55160         * conform/data/pwd.h-data: Likewise.
55161         * conform/data/signal.h-data: Likewise.
55162         * conform/data/spawn.h-data: Likewise.
55163         * conform/data/stdio.h-data: Likewise.
55164         * conform/data/stdlib.h-data: Likewise.
55165         * conform/data/stropts.h-data: Likewise.
55166         * conform/data/sys/mman.h-data: Likewise.
55167         * conform/data/sys/stat.h-data: Likewise.
55168         * conform/data/sys/types.h-data: Likewise.
55169         * conform/data/sys/wait.h-data: Likewise.
55170         * conform/data/time.h-data: Likewise.
55171         * conform/data/unistd.h-data: Likewise.
55172         * conform/data/utime.h-data: Likewise.
55174         * io/sys/stat.h: fchmod was always in POSIX.
55175         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55176         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55177         * rt/aio.h: Define __need_timespec before including <time.h>.
55178         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55179         struct.  Add forward declaration of pthread_attr_t and use it in
55180         sigevent.
55181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55183         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55184         always remove CLK_TCK definition.
55186 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55188         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55190 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55192         * conform/run-conformtest.sh: New file.
55193         * conform/Makefile: Run run-conformtest for tests.
55194         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55195         support.
55197         * conform/data/uchar.h-data: New file.
55198         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55199         * conform/data/arpa/inet.h-data: Likewise.
55200         * conform/data/assert.h-data: Likewise.
55201         * conform/data/complex.h-data: Likewise.
55202         * conform/data/cpio.h-data: Likewise.
55203         * conform/data/ctype.h-data: Likewise.
55204         * conform/data/dirent.h-data: Likewise.
55205         * conform/data/dlfcn.h-data: Likewise.
55206         * conform/data/errno.h-data: Likewise.
55207         * conform/data/fcntl.h-data: Likewise.
55208         * conform/data/float.h-data: Likewise.
55209         * conform/data/fmtmsg.h-data: Likewise.
55210         * conform/data/fnmatch.h-data: Likewise.
55211         * conform/data/ftw.h-data: Likewise.
55212         * conform/data/glob.h-data: Likewise.
55213         * conform/data/grp.h-data: Likewise.
55214         * conform/data/iconv.h-data: Likewise.
55215         * conform/data/inttypes.h-data: Likewise.
55216         * conform/data/langinfo.h-data: Likewise.
55217         * conform/data/libgen.h-data: Likewise.
55218         * conform/data/limits.h-data: Likewise.
55219         * conform/data/locale.h-data: Likewise.
55220         * conform/data/math.h-data: Likewise.
55221         * conform/data/monetary.h-data: Likewise.
55222         * conform/data/mqueue.h-data: Likewise.
55223         * conform/data/ndbm.h-data: Likewise.
55224         * conform/data/net/if.h-data: Likewise.
55225         * conform/data/netdb.h-data: Likewise.
55226         * conform/data/netinet/in.h-data: Likewise.
55227         * conform/data/nl_types.h-data: Likewise.
55228         * conform/data/poll.h-data: Likewise.
55229         * conform/data/pthread.h-data: Likewise.
55230         * conform/data/pwd.h-data: Likewise.
55231         * conform/data/regex.h-data: Likewise.
55232         * conform/data/sched.h-data: Likewise.
55233         * conform/data/search.h-data: Likewise.
55234         * conform/data/semaphore.h-data: Likewise.
55235         * conform/data/setjmp.h-data: Likewise.
55236         * conform/data/signal.h-data: Likewise.
55237         * conform/data/spawn.h-data: Likewise.
55238         * conform/data/stdarg.h-data: Likewise.
55239         * conform/data/stdio.h-data: Likewise.
55240         * conform/data/stdlib.h-data: Likewise.
55241         * conform/data/string.h-data: Likewise.
55242         * conform/data/strings.h-data: Likewise.
55243         * conform/data/stropts.h-data: Likewise.
55244         * conform/data/sys/ipc.h-data: Likewise.
55245         * conform/data/sys/mman.h-data: Likewise.
55246         * conform/data/sys/msg.h-data: Likewise.
55247         * conform/data/sys/resource.h-data: Likewise.
55248         * conform/data/sys/select.h-data: Likewise.
55249         * conform/data/sys/sem.h-data: Likewise.
55250         * conform/data/sys/shm.h-data: Likewise.
55251         * conform/data/sys/socket.h-data: Likewise.
55252         * conform/data/sys/stat.h-data: Likewise.
55253         * conform/data/sys/statvfs.h-data: Likewise.
55254         * conform/data/sys/time.h-data: Likewise.
55255         * conform/data/sys/timeb.h-data: Likewise.
55256         * conform/data/sys/times.h-data: Likewise.
55257         * conform/data/sys/types.h-data: Likewise.
55258         * conform/data/sys/uio.h-data: Likewise.
55259         * conform/data/sys/un.h-data: Likewise.
55260         * conform/data/sys/utsname.h-data: Likewise.
55261         * conform/data/sys/wait.h-data: Likewise.
55262         * conform/data/syslog.h-data: Likewise.
55263         * conform/data/tar.h-data: Likewise.
55264         * conform/data/termios.h-data: Likewise.
55265         * conform/data/utime.h-data: Likewise.
55266         * conform/data/utmpx.h-data: Likewise.
55267         * conform/data/varargs.h-data: Likewise.
55268         * conform/data/wchar.h-data: Likewise.
55269         * conform/data/wctype.h-data: Likewise.
55270         * conform/data/wordexp.h-data: Likewise.
55272         * include/stropts.h: New file.
55273         * include/uchar.h: New file.
55274         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55275         * include/assert.h: Likewise.
55276         * include/ctype.h: Likewise.
55277         * include/dirent.h: Likewise.
55278         * include/dlfcn.h: Likewise.
55279         * include/fcntl.h: Likewise.
55280         * include/fnmatch.h: Likewise.
55281         * include/glob.h: Likewise.
55282         * include/grp.h: Likewise.
55283         * include/libio.h: Likewise.
55284         * include/locale.h: Likewise.
55285         * include/math.h: Likewise.
55286         * include/net/if.h: Likewise.
55287         * include/netdb.h: Likewise.
55288         * include/netinet/in.h: Likewise.
55289         * include/pthread.h: Likewise.
55290         * include/pwd.h: Likewise.
55291         * include/regex.h: Likewise.
55292         * include/sched.h: Likewise.
55293         * include/search.h: Likewise.
55294         * include/setjmp.h: Likewise.
55295         * include/signal.h: Likewise.
55296         * include/stdio.h: Likewise.
55297         * include/stdlib.h: Likewise.
55298         * include/string.h: Likewise.
55299         * include/sys/cdefs.h: Likewise.
55300         * include/sys/mman.h: Likewise.
55301         * include/sys/msg.h: Likewise.
55302         * include/sys/resource.h: Likewise.
55303         * include/sys/select.h: Likewise.
55304         * include/sys/socket.h: Likewise.
55305         * include/sys/stat.h: Likewise.
55306         * include/sys/statvfs.h: Likewise.
55307         * include/sys/time.h: Likewise.
55308         * include/sys/times.h: Likewise.
55309         * include/sys/uio.h: Likewise.
55310         * include/sys/utsname.h: Likewise.
55311         * include/sys/wait.h: Likewise.
55312         * include/termios.h: Likewise.
55313         * include/time.h: Likewise.
55314         * include/ulimit.h: Likewise.
55315         * include/unistd.h: Likewise.
55316         * include/utime.h: Likewise.
55317         * include/wchar.h: Likewise.
55318         * include/wctype.h: Likewise.
55319         * include/wordexp.h: Likewise.
55321         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55323         * time/time.h: TIME_UTC must be a macro.
55324         Make timespec_get available for ISO C11 only as well.
55326 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55328         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55329         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55331 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55333         * configure.in: Use -o not -a in test for unsupported multi-arch.
55335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55337         * manual/texinfo.tex: Update to version 2012-01-19.16.
55339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55341         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55343 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55345         [BZ #13738]
55346         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55347         * manual/fdl-1.3.texi: New file.
55348         * manual/fdl-1.1.texi: File removed.
55350         [BZ #13738]
55351         * manual/libc.texinfo (FDL_VERSION): New @set.
55352         Use it for mention of FDL in cover text.
55353         (Documentation License): Use it in @include file name.
55355 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55356             Roland McGrath  <roland@hack.frob.com>
55358         [BZ #5461]
55359         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55360         (not LONG_LONG_MAX and LONG_LONG_MIN.
55361         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55362         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55363         name.
55364         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55366 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55368         [BZ #2547]
55369         [BZ #11365]
55370         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55371         manipulate bits before adding and subtracting TWO23[sx].
55372         * math/libm-test.inc (nearbyint_test): Add more tests.
55374 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55376         [BZ #2548]
55377         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55378         bits before adding and subtracting TWO23[sx].
55379         * math/libm-test.inc (rint_test): Add more tests.
55380         (rint_test_tonearest): Likewise.
55381         (rint_test_towardzero): Likewise.
55382         (rint_test_downward): Likewise.
55383         (rint_test_upward: Likewise.
55385 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55387         [BZ #10110]
55388         * include/stdc-predef.h: New file.  Extracted from features.h.
55389         * include/features.h: Include stdc-predef.h.
55390         * Makefile (headers): Add stdc-predef.h.
55391         * CONFORMANCE (Compiler limitations): Update.
55393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55395         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55397 2012-02-21  David S. Miller  <davem@davemloft.net>
55399         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55400         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55402 2012-02-20  David S. Miller  <davem@davemloft.net>
55404         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55405         using a normal save/restore sequence, rather than allocating a
55406         dummy stack frame just to store a frame pointer and restore.
55407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55411         * manual/install.texi: Fix stray word in line-wrapped comment.
55413 2012-02-20  David S. Miller  <davem@davemloft.net>
55415         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55416         both binutils and gcc support GOTDATA.
55418         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55419         "rd %pc" in the PIC register setup sequences.
55421         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55422         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55423         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55425         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55428         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55430         (SYSCALL_ERROR_HANDLER): Likewise.
55431         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55432         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55434         (SYSCALL_ERROR_HANDLER): Likewise.
55436         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55437         (HAVE_GCC_GOTDATA): New.
55438         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55439         relocation support in both binutils and gcc.
55440         * sysdeps/sparc/elf/configure: Regenerate.
55442         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55443         * sysdeps/sparc/sparc32/elf/configure: Delete.
55444         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55445         * sysdeps/sparc/sparc64/elf/configure: Delete.
55446         * sysdeps/sparc/elf/configure.in: New file.
55447         * sysdeps/sparc/elf/configure: Generate.
55449         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55450         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55451         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55452         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55453         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55455 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55457         * manual/install.texi: Do not mention specific glibc version
55458         numbers.
55459         * manual/libc.texinfo (VERSION, UPDATED): Update.
55460         (@copying): Use @copyright{} and range of years.
55462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55464         [BZ #13695]
55465         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55466         [crti.S not in sysdirs] (generated): Do not append.
55467         [crti.S not in sysdirs] (omit-deps): Likewise.
55468         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55469         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55470         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55471         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55472         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55473         Likewise.
55474         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55475         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55476         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55477         * csu/defs.awk: Remove file.
55478         * sysdeps/generic/initfini.c: Likewise.
55479         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55480         variable.
55481         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55482         Likewise.
55484 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55486         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55491         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55492         <bits/epoll.h>.
55493         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55494         (__EPOLL_PACKED): Define to empty if not defined by
55495         <bits/epoll.h>.
55496         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55498         bits/epoll.h.
55500 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55502         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55503         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55504         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55506         <bits/timerfd.h>.
55507         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55509         bits/timerfd.h.
55511 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55513         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55514         in C locale.
55515         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55517         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55520 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55525 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55527         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55528         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55529         defined.
55530         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55531         Likewise.
55532         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55533         entry for 2.16.
55535 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55537         * math/w_acos.c: Use non-signaling floating-point comparisons.
55538         * math/w_acosf.c: Likewise.
55539         * math/w_acosh.c: Likewise.
55540         * math/w_acoshf.c: Likewise.
55541         * math/w_acoshl.c: Likewise.
55542         * math/w_acosl.c: Likewise.
55543         * math/w_asin.c: Likewise.
55544         * math/w_asinf.c: Likewise.
55545         * math/w_asinl.c: Likewise.
55546         * math/w_atanh.c: Likewise.
55547         * math/w_atanhf.c: Likewise.
55548         * math/w_atanhl.c: Likewise.
55549         * math/w_exp2.c: Likewise.
55550         * math/w_exp2f.c: Likewise.
55551         * math/w_exp2l.c: Likewise.
55552         * math/w_j0.c: Likewise.
55553         * math/w_j0f.c: Likewise.
55554         * math/w_j0l.c: Likewise.
55555         * math/w_j1.c: Likewise.
55556         * math/w_j1f.c: Likewise.
55557         * math/w_j1l.c: Likewise.
55558         * math/w_jn.c: Likewise.
55559         * math/w_jnf.c: Likewise.
55560         * math/w_log.c: Likewise.
55561         * math/w_log10.c: Likewise.
55562         * math/w_log10f.c: Likewise.
55563         * math/w_log10l.c: Likewise.
55564         * math/w_log2.c: Likewise.
55565         * math/w_log2f.c: Likewise.
55566         * math/w_log2l.c: Likewise.
55567         * math/w_logf.c: Likewise.
55568         * math/w_logl.c: Likewise.
55569         * math/w_sqrt.c: Likewise.
55570         * math/w_sqrtf.c: Likewise.
55571         * math/w_sqrtl.c: Likewise.
55572         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55573         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55575         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55576         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55578 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55580         [BZ #9739]
55581         * manual/string.texi (strnlen): Use correct parameter name in
55582         equivalent expression.
55584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55586         [BZ #11174]
55587         * manual/users.texi (seteuid): Consistently use neweuid for
55588         argument name.
55590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55592         [BZ #13704]
55593         * manual/nss.texi (Services in the NSS configuration): Correct
55594         list of services in example configuration file.
55596 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55598         [BZ #11322]
55599         * manual/arith.texi: Remove statements about negative zero
55600         behaving identically to zero.
55602 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55604         [BZ #5993]
55605         * manual/install.texi: Do not document upgrading from libc5.
55607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55609         [BZ #4596]
55610         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55612 2012-02-18  David S. Miller  <davem@davemloft.net>
55614         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55615         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55616         %o7 across the call.
55617         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55618         instead.
55619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55620         SETUP_PIC_REG_LEAF.
55621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55622         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55623         * sysdeps/sparc/crtn.S: Likewise.
55625 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55627         * aout/Makefile: Remove.
55629 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55631         [BZ #13058]
55632         * manual/examples/argp-ex1.c (main): Format definition in GNU
55633         style.
55634         * manual/examples/argp-ex2.c (main): Likewise.
55635         * manual/examples/argp-ex3.c (main): Likewise.
55636         * manual/examples/argp-ex4.c (main): Likewise.
55637         * manual/examples/longopt.c (main): Use new-style prototype
55638         definition.
55639         * manual/examples/strncat.c (main): Specify return type and use
55640         (void) for arguments.
55641         * manual/examples/subopt.c (main): Use char **argv argument.
55643 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55645         [BZ #5077]
55646         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55647         rounding modes.
55649 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55651         [BZ #6907]
55652         * manual/string.texi (strchr): Change when strchrnul is
55653         recommended.
55655 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55657         [BZ #174]
55658         * manual/locale.texi (setlocale): Document LOCPATH.
55660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55662         [BZ #10210]
55663         * manual/process.texi (execle): Move @dots{} before last argument.
55665 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55667         [BZ #12047]
55668         * manual/charset.texi (Generic Charset Conversion): Fix typo
55669         (LC_TYPE -> LC_CTYPE).
55671 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55673         [BZ #5805]
55674         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55675         (scalbnf): Likewise.
55676         (scalbnl): Likewise.
55677         (scalbln): Likewise.
55678         (scalblnf): Likewise.
55679         (scalblnl): Likewise.
55680         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55681         (vwarnx): Likewise.
55682         (verr): Likewise.
55683         (verrx): Likewise.
55684         * manual/filesys.texi (telldir): Use braces around return type.
55685         * manual/llio.texi (mmap): Add space after comma.
55686         (mmap64): Likewise.
55687         * manual/math.texi (jn): Use @var{} on parameter names.
55688         (jnf): Likewise.
55689         (jnl): Likewise.
55690         (yn): Likewise.
55691         (ynf): Likewise.
55692         (ynl): Likewise.
55693         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55694         line.
55695         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55696         "...".
55697         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55698         (sched_get_priority_max): Likewise.
55699         * manual/signal.texi (sigvec): Add space after comma.
55700         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55701         names.
55702         (if_indextoname): Likewise.
55703         (if_freenameindex): Likewise.
55704         (sendto): Use ',' instead of '.' in prototype.
55705         * manual/startup.texi (syscall): Use @dots{} instead of literal
55706         "...".
55707         * manual/stdio.texi (__fpending): Separate initial words of
55708         paragraph from @deftypefun line.
55709         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55710         "...".
55711         (vsyslog): Use @var{} on parameter names.
55712         * manual/terminal.texi (stty): Use @var{} on parameter names.
55713         * manual/users.texi (getutmp): Use @var{} on parameter names.
55714         (getutmpx): Likewise.
55716 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55718         [BZ #6884]
55719         * manual/stdio.texi (fopen): Fix typos in description of
55720         ",ccs=STRING".
55722 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55724         [BZ #4026]
55725         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55726         get clock_id definition.
55728 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55730         [BZ #4822]
55731         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55732         (madvise): Cast every argument to void on its own.
55734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55736         [BZ #9902]
55737         * manual/startup.texi (Exit Status): Fix typo.
55739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55741         [BZ #10140]
55742         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55743         * manual/examples/argp-ex2.c: Likewise.
55744         * manual/examples/argp-ex3.c: Likewise.
55746 2012-02-16  Richard Henderson  <rth@redhat.com>
55748         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55749         * sysdeps/s390/s390-32/initfini.c: Remove.
55750         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55751         * sysdeps/s390/s390-64/initfini.c: Remove.
55753 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55755         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55756         compiler output for sysdeps/generic/initfini.c.
55757         * sysdeps/sh/elf/initfini.c: Remove file.
55759 2012-02-16  David S. Miller  <davem@davemloft.net>
55761         [BZ #11494]
55762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55764         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55765         * sysdeps/sparc/crti.S: New file.
55766         * sysdeps/sparc/crtn.S: New file.
55767         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55768         * sysdeps/sparc/sparc64/Makefile: Likewise.
55770 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55772         [BZ #3335]
55773         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55775 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55777         [BZ #4822]
55778         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55780         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55781         (write, read, close): Likewise.
55782         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55784 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55786         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55787         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55788         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55789         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55790         <bits/signalfd.h>.
55791         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55793         bits/signalfd.h.
55795 2012-02-14  Marek Polacek  <polacek@redhat.com>
55797         * sysdeps/x86_64/crti.S: New file.
55798         * sysdeps/x86_64/crtn.S: New file.
55799         * sysdeps/x86_64/elf/initfini.c: Remove file.
55801 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55803         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55804         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55805         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55806         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55807         <bits/inotify.h>.
55808         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55810         bits/inotify.h.
55812 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55814         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55815         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55816         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55817         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55818         <bits/eventfd.h>.
55819         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55821         bits/eventfd.h.
55823 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55825         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55826         __feraiseexcept instead of feraiseexcept.
55828         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55829         nanosleep invocations.
55830         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55831         strings, and add error checking for a nanosleep invocations.
55833 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55835         Replace FSF snail mail address with URLs, as per GNU coding standards.
55836         Most of the snail mail addresses were wrong anyway, and omitting
55837         them makes the source code easier to maintain.  Almost all of the
55838         changes are to license notices and to locale LC_IDENTIFICATION
55839         addresses, except for this one:
55840         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55841         not its snail mail address.
55843 2012-02-09  Richard Henderson  <rth@twiddle.net>
55845         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55846         of kernel-features.h.
55848         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55850 2012-02-08  Marek Polacek  <polacek@redhat.com>
55852         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55853         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55854         * sysdeps/gnu/_G_config.h: Likewise.
55855         * sysdeps/generic/_G_config.h: Likewise.
55857 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55859         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55860         tests.
55861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55863         * sysdeps/powerpc/powerpc32/crti.S: New file.
55864         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55865         * sysdeps/powerpc/powerpc64/crti.S: New file.
55866         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55868         * Makeconfig (have-initfini): Don't set.
55869         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55870         * configure.in (nopic_initfini): Don't substitute.
55871         * config.h.in (HAVE_INITFINI): Don't #undef.
55872         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55873         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55875 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55877         Support crti.S and crtn.S provided directly by architectures.
55878         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55879         [crti.S in sysdirs] (omit-deps): Likewise.
55880         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55881         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55882         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55883         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55884         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55885         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55886         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55887         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55888         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55889         compiler output for sysdeps/generic/initfini.c.
55890         * sysdeps/i386/elf/Makefile: Remove file.
55891         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55893 2012-02-07  Marek Polacek  <polacek@redhat.com>
55895         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55896         * sysdeps/gnu/_G_config.h: Likewise.
55897         * sysdeps/mach/hurd/_G_config.h: Likewise.
55899 2012-02-07  Marek Polacek  <polacek@redhat.com>
55901         * math/Makefile (tests): Add tst-CMPLX2.
55902         * math/tst-CMPLX2.c: New file.
55904 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55906         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55908         * math/libm-test.inc (jn_test): Add missing L suffix.
55910 2012-02-06  Marek Polacek  <polacek@redhat.com>
55912         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55913         * sysdeps/i386/fpu/e_powf.S: Likewise.
55914         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55915         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55916         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55917         * sysdeps/i386/fpu/e_pow.S: Likewise.
55918         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55919         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55920         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55921         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55922         * sysdeps/i386/fpu/e_log2.S: Likewise.
55923         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55924         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55925         * sysdeps/i386/fpu/e_powl.S: Likewise.
55926         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55929         * sysdeps/i386/fpu/e_logl.S: Likewise.
55930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55931         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55932         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55933         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55934         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55935         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55936         * sysdeps/i386/fpu/e_log.S: Likewise.
55937         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55939         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55940         * sysdeps/i386/fpu/e_logf.S: Likewise.
55941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55943         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55944         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55945         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55946         * sysdeps/i386/fpu/e_log10.S: Likewise.
55947         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55948         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55949         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55950         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55952         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55953         * sysdeps/i386/asm-syntax.h: Likewise.
55954         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55955         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55956         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55957         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55958         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55963         * sysdeps/powerpc/sysdep.h: Likewise.
55964         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55967 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55969         [BZ #411]
55970         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55974         * sysdeps/i386/sysdep.h: Include <features.h>.
55975         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55976         version.
55978 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55980         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55981         Define.
55982         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55983         LOAD_PIC_REG_STR.
55985 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55987         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55988         (SETUP_PIC_REG): Use GET_PC_THUNK.
55989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55990         macro.
55992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55994         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55995         for non-PIC compilation.
55996         (SETUP_PIC_REG): Add .p2align directive.
55997         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55998         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56000         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56001         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56002         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56019         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56020         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56029         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56030         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56031         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56032         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56033         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56034         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56035         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56036         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56041         * math/tst-CMPLX.c: Include <stdio.h>.
56043 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56045         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56046         float.
56047         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56048         * sysdeps/sparc/bits/mathdef.h: Likewise.
56050 2012-01-31  Marek Polacek  <polacek@redhat.com>
56052         * libio/libio.h: Don't define _PARAMS.
56053         * locale/programs/config.h: Don't define PARAMS.
56054         * stdlib/strtol_l.c: Likewise.
56055         (__strtol_l): Remove PARAMS from the prototype.
56057 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56059         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56060         names.  Just use the correct names.  Remove unnecessary wrapper
56061         functions.
56062         * malloc/arena.c: Likewise.
56063         * malloc/hooks.c: Likewise.
56065         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56066         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56067         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56069 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56071         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56072         into tail calls.
56073         (update_get_addr): New function.
56074         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56075         GET_ADDR_MODULE parameter.
56077 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56079         * crypt/cert.c: Remove __STDC__ conditionals.
56080         * crypt/crypt-entry.c: Likewise.
56081         * crypt/crypt_util.c: Likewise.
56082         * libio/filedoalloc.c: Likewise.
56083         * libio/fileops.c: Likewise.
56084         * libio/genops.c: Likewise.
56085         * libio/iofclose.c: Likewise.
56086         * libio/iofdopen.c: Likewise.
56087         * libio/iofopen.c: Likewise.
56088         * libio/iofopen64.c: Likewise.
56089         * libio/iogetdelim.c: Likewise.
56090         * libio/iopopen.c: Likewise.
56091         * libio/obprintf.c: Likewise.
56092         * libio/oldfileops.c: Likewise.
56093         * libio/oldiofclose.c: Likewise.
56094         * libio/oldiofdopen.c: Likewise.
56095         * libio/oldiofopen.c: Likewise.
56096         * libio/oldiopopen.c: Likewise.
56097         * libio/wfiledoalloc.c: Likewise.
56098         * libio/wgenops.c: Likewise.
56099         * locale/programs/xmalloc.c: Likewise.
56100         * misc/syslog.c: Likewise.
56101         * stdio-common/xbug.c: Likewise.
56102         * string/memchr.c: Likewise.
56103         * string/memcmp.c: Likewise.
56104         * string/memrchr.c: Likewise.
56105         * string/rawmemchr.c: Likewise.
56106         * sysdeps/posix/getcwd.c: Likewise.
56107         * time/strftime_l.c: Likewise.
56109 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56111         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56112         * config.make.in (config-cflags-sse2avx): Define.
56113         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56114         Fix typo.
56116 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56118         * scripts/config.guess: Update from upstream config git repository.
56119         * scripts/config.sub: Likewise.
56121 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56123         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56124         (EM_NUM): Update.
56125         (R_TILEPRO_*, R_TILEGX_*): New macros.
56127         * scripts/firstversions.awk: Fix bug in version range handling.
56129         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56131         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56133         * include/sys/epoll.h: New file.
56134         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56135         libc_hidden_def.
56137 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56139         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56140         Avoid unnecessary __WORDSIZE == 64 test.
56141         (fmaxf): Use VEX format if possible.
56142         (fmax): Likewise.
56143         (fminf): Likewise.
56144         (fmin): Likewise.
56146         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56147         * math/math_private.h: Remove libc_fegetround* and
56148         libc_fesetround*.
56149         * sysdeps/i386/configure.in: Check for -msse2avx.
56150         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56151         also if SSE2AVX is defined.
56152         Remove libc_fegetround* and libc_fesetround*.
56153         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56154         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56156         of HAS_YMM_USABLE.
56157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56163         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56165 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56167         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56168         size is not set.
56169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56171 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56173         [BZ #13618]
56174         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56175         relocation.
56176         * Makeconfig (libm): Define.
56177         * elf/Makefile: Add rules to build and run tst-relsort1.
56178         * elf/tst-relsort1.c: New file.
56179         * elf/tst-relsort1mod1.c: New file.
56180         * elf/tst-relsort1mod2.c: New file.
56182 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56184         * math/s_ldexp.c: Remove __STDC__ conditionals.
56185         * math/s_ldexpf.c: Likewise.
56186         * math/s_ldexpl.c: Likewise.
56187         * math/s_nextafter.c: Likewise.
56188         * math/s_nexttowardf.c: Likewise.
56189         * math/s_significand.c: Likewise.
56190         * math/s_significandf.c: Likewise.
56191         * math/s_significandl.c: Likewise.
56192         * math/w_jnl.c: Likewise.
56193         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56194         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56195         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56196         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56197         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56199         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56202         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56203         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56205         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56206         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56209         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56214         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56215         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56216         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56217         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56218         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56220         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56221         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56222         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56225         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56227         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56228         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56229         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56230         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56231         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56232         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56233         * sysdeps/ieee754/k_standard.c: Likewise.
56234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56236         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56241         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56242         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56243         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56245         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56246         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56247         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56253         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56254         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56255         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56256         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56257         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56258         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56270         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56273         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56274         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56284         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56290         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56293         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56294         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56295         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56296         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56298         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56299         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56300         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56301         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56302         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56303         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56304         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56305         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56306         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56308         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56309         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56310         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56311         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56313         * sysdeps/ieee754/s_matherr.c: Likewise.
56314         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56315         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56319 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56321         * crypt/md5.h: Remove __STDC__ conditionals.
56322         * libio/libioP.h: Likewise.
56323         * locale/programs/config.h: Likewise.
56324         * sysdeps/generic/sysdep.h: Likewise.
56325         * sysdeps/i386/asm-syntax.h: Likewise.
56326         * sysdeps/s390/asm-syntax.h: Likewise.
56327         * sysdeps/unix/sysdep.h: Likewise.
56328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56331 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56333         * libio/libio.h: Remove __STDC__ conditionals.
56334         * malloc/obstack.h: Likewise.
56335         * math/complex.h: Likewise.
56336         * math/math.h: Likewise.
56337         * sysdeps/generic/_G_config.h: Likewise.
56338         * sysdeps/gnu/_G_config.h: Likewise.
56339         * sysdeps/mach/hurd/_G_config.h: Likewise.
56340         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56342         * sysdeps/sparc/bits/mathdef.h: Likewise.
56344 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56346         [BZ #13583]
56347         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56348         Clean up HAS_* macros.
56349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56350         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56351         possible.
56352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56353         HAS_AVX.
56354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56360 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56362         * elf/tst-unique3.cc (gets): Remove declaration.
56363         * elf/tst-unique3lib.cc (gets): Likewise.
56364         * elf/tst-unique3lib2.cc (gets): Likewise.
56365         * elf/tst-unique4.cc (gets): Likewise.
56367 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56369         * include/stdio.h: Add C++ protection.  Add gets declarations and
56370         definitions.
56371         * debug/tst-chk1.c: Don't declare gets here.
56372         * stdio-common/tst-gets.c: Likewise.
56374 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56376         * posix/glob: Remove directory.
56378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56380         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56382 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56384         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56385         of the non-standard EPFNOSUPPORT.
56387 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56389         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56390         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56391         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56393 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56395         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56397 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56399         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56400         transient errors.
56401         * nscd/grpcache.c (cache_addgr): Likewise.
56402         * nscd/hstcache.c (cache_addhst): Likewise.
56403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56404         * nscd/pwdcache.c (cache_addpw): Likewise.
56405         * nscd/servicescache.c (cache_addserv): Likewise.
56407 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56409         * malloc/malloc.c: Various cleanups.
56410         * malloc/hooks.c: Likewise.
56412         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56413         * stdlib/bug-fmtmsg1.c: New file.
56415         * stdlib/fmtmsg.c (init): Add missing unlock.
56416         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56418 2012-01-12  Marek Polacek  <polacek@redhat.com>
56420         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56421         and _GNU_SOURCE.
56423 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56425         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56426         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56427         macro to ensure uniqueness of label name.
56428         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56429         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56431 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56433         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56435         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56436         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56440 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56442         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56444         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56445         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56446         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56448         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56450         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56451         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56455         * math/bits/math-finite.h: Add ldexp support.
56457 2012-01-10  Marek Polacek  <polacek@redhat.com>
56459         * locale/programs/localedef.h (show_archive_content): Add noreturn
56460         attribute.
56462 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56464         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56466 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56468         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56470         * io/Makefile (headers): Add bits/poll2.h.
56472 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56475         typo #include statement.
56477 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56479         * include/sys/cdefs.h: Define __attribute_alloc_size.
56480         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56481         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56482         * elf/pldd.c: Likewise.
56483         * iconv/iconv_charmap.c: Likewise.
56484         * iconv/iconvconfig.c: Likewise.
56485         * iconv/strtab.c: Likewise.
56486         * locale/programs/locale.c: Likewise.
56487         * locale/programs/localedef.h: Likewise.
56488         * locale/programs/simple-hash.c: Likewise.
56489         * nscd/nscd.h: Likewise.
56490         * nss/makedb.c: Likewise.
56491         * sysdeps/generic/ldconfig.h: Likewise.
56492         * locale/programs/localedef.c: Remove xmalloc prototype.
56493         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56495 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56498         appropriate.
56500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56502         * math/Makefile (tests): Add tst-CMPLX.
56503         * math/tst-CMPLX.c: New file.
56505         * math/complex.h (CMPLXL): Fix typo.
56507         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56508         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56509         GLIBC_2.16.
56510         * debug/tst-chk1.c: Add poll and ppoll tests.
56511         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56512         * include/sys/poll.h: Add hidden proto for ppoll.
56513         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56514         * sysdeps/mach/hurd/ppoll.c: Likewise.
56515         * io/ppoll.c: Likewise.
56516         * debug/poll_chk.c: New file.
56517         * debug/ppoll_chk.c: New file.
56518         * include/bits/poll2.h: New file.
56519         * io/bits/poll2.h: New file.
56521         [BZ #1350]
56522         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56524         * configure.in: static is always set to yes.  Remove.
56525         * config.make.in: Don't set build-static.
56526         * Makeconfig: Remove use of build-static.
56527         * dlfcn/Makefile: Likewise.
56528         * elf/Makefile: Likewise.
56529         * math/Makefile: Likewise.
56530         * misc/Makefile: Likewise.
56531         * nptl/Makefile: Likewise.
56532         * sysdeps/mach/hurd/Makefile: Likewise.
56534         * configure.in: PWD_P is not used anymore.
56535         * config.make.in: Remove PWD_P entry.
56537         * configure.in: Remove last remnants of RANLIB.
56538         No need to check for signed size_t anymore.
56539         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56540         and IA-64.
56541         Remove __builtin_expect test because we require at least gcc 3.4.
56542         * aclocal.m4: Likewise.
56544         * wcsmbs/mbrtoc16.c: Implement using towc function.
56545         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56546         * wcsmbs/wcsmbsload.c: Likewise.
56547         * iconv/gconv_simple.c: Likewise.
56548         * iconv/gconv_int.h: Likewise.
56549         * iconv/gconv_builtin.h: Likewise.
56550         * iconv/iconv_prog.c: Remove CHAR16 handling.
56552         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56554         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56556         * configure.in: Remove --with-elf and --enable-bounded options.
56557         Dont set base_machine for ia64.  More non-ELF conditions removed.
56558         Remove testing and setting of leading underscore information.
56559         * config.make.in (build-bounded): Set to no.
56560         * config.h.in: Remove NO_UNDERSCORES entry.
56561         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56562         them.
56563         * csu/start.c: Remove !NO_UNDERSCORE code.
56564         * locale/localeinfo.h: Likewise.
56565         * sysdeps/generic/machine-gmon.h: Likewise.
56566         * sysdeps/generic/sysdep.h: Likewise.
56567         * sysdeps/i386/sysdep.h: Likewise.
56568         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56569         * sysdeps/mach/sysdep.h: Likewise.
56570         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56572         * sysdeps/sh/sysdep.h: Likewise.
56573         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56574         * sysdeps/unix/i386/sysdep.S: Likewise.
56575         * sysdeps/unix/sparc/start.c: Likewise.
56576         * sysdeps/unix/sparc/sysdep.S: Likewise.
56577         * sysdeps/unix/sparc/sysdep.h: Likewise.
56578         * sysdeps/unix/start.c: Likewise.
56579         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56580         * sysdeps/x86_64/sysdep.h: Likewise.
56582 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56584         [BZ #13553]
56585         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56586         for non-gcc.
56587         * argp/argp-fmtstream.h: Use const instead __const.
56588         * argp/argp.h: Likewise.
56589         * assert/assert.h: Likewise.
56590         * bits/fenv.h: Likewise.
56591         * bits/sched.h: Likewise.
56592         * bits/sigset.h: Likewise.
56593         * bits/sigthread.h: Likewise.
56594         * catgets/nl_types.h: Likewise.
56595         * conform/data/pthread.h-data: Likewise.
56596         * crypt/crypt-private.h: Likewise.
56597         * crypt/crypt.h: Likewise.
56598         * crypt/crypt_util.c: Likewise.
56599         * ctype/ctype.h: Likewise.
56600         * debug/execinfo.h: Likewise.
56601         * debug/mbsnrtowcs_chk.c: Likewise.
56602         * debug/mbsrtowcs_chk.c: Likewise.
56603         * debug/wcsnrtombs_chk.c: Likewise.
56604         * debug/wcsrtombs_chk.c: Likewise.
56605         * debug/wcstombs_chk.c: Likewise.
56606         * dirent/dirent.h: Likewise.
56607         * dlfcn/dlfcn.h: Likewise.
56608         * elf/neededtest4.c: Likewise.
56609         * grp/grp.h: Likewise.
56610         * gshadow/gshadow.h: Likewise.
56611         * iconv/gconv.h: Likewise.
56612         * iconv/gconv_int.h: Likewise.
56613         * iconv/gconv_simple.c: Likewise.
56614         * iconv/iconv.h: Likewise.
56615         * iconv/loop.c: Likewise.
56616         * iconv/skeleton.c: Likewise.
56617         * include/aio.h: Likewise.
56618         * include/aliases.h: Likewise.
56619         * include/argz.h: Likewise.
56620         * include/arpa/inet.h: Likewise.
56621         * include/assert.h: Likewise.
56622         * include/dirent.h: Likewise.
56623         * include/dlfcn.h: Likewise.
56624         * include/execinfo.h: Likewise.
56625         * include/fcntl.h: Likewise.
56626         * include/fenv.h: Likewise.
56627         * include/glob.h: Likewise.
56628         * include/grp.h: Likewise.
56629         * include/libintl.h: Likewise.
56630         * include/mntent.h: Likewise.
56631         * include/netdb.h: Likewise.
56632         * include/pwd.h: Likewise.
56633         * include/rpc/netdb.h: Likewise.
56634         * include/sched.h: Likewise.
56635         * include/search.h: Likewise.
56636         * include/shadow.h: Likewise.
56637         * include/signal.h: Likewise.
56638         * include/stdio.h: Likewise.
56639         * include/stdlib.h: Likewise.
56640         * include/string.h: Likewise.
56641         * include/sys/socket.h: Likewise.
56642         * include/sys/stat.h: Likewise.
56643         * include/sys/statfs.h: Likewise.
56644         * include/sys/statvfs.h: Likewise.
56645         * include/sys/syslog.h: Likewise.
56646         * include/sys/time.h: Likewise.
56647         * include/sys/uio.h: Likewise.
56648         * include/time.h: Likewise.
56649         * include/unistd.h: Likewise.
56650         * include/utmp.h: Likewise.
56651         * include/wchar.h: Likewise.
56652         * include/wctype.h: Likewise.
56653         * inet/aliases.h: Likewise.
56654         * inet/arpa/inet.h: Likewise.
56655         * inet/netinet/ether.h: Likewise.
56656         * inet/netinet/in.h: Likewise.
56657         * intl/libintl.h: Likewise.
56658         * io/bits/fcntl2.h: Likewise.
56659         * io/fcntl.h: Likewise.
56660         * io/ftw.h: Likewise.
56661         * io/sys/poll.h: Likewise.
56662         * io/sys/stat.h: Likewise.
56663         * io/sys/statfs.h: Likewise.
56664         * io/sys/statvfs.h: Likewise.
56665         * io/utime.h: Likewise.
56666         * libio/bits/stdio.h: Likewise.
56667         * libio/bits/stdio2.h: Likewise.
56668         * libio/libio.h: Likewise.
56669         * libio/libioP.h: Likewise.
56670         * libio/stdio.h: Likewise.
56671         * locale/lc-ctype.c: Likewise.
56672         * locale/locale.h: Likewise.
56673         * login/utmp.h: Likewise.
56674         * malloc/arena.c: Likewise.
56675         * malloc/malloc.c: Likewise.
56676         * malloc/malloc.h: Likewise.
56677         * malloc/mcheck.c: Likewise.
56678         * malloc/mtrace.c: Likewise.
56679         * math/bits/mathcalls.h: Likewise.
56680         * math/fenv.h: Likewise.
56681         * math/math_private.h: Likewise.
56682         * misc/bits/error.h: Likewise.
56683         * misc/bits/syslog.h: Likewise.
56684         * misc/err.h: Likewise.
56685         * misc/error.h: Likewise.
56686         * misc/fstab.h: Likewise.
56687         * misc/mntent.h: Likewise.
56688         * misc/regexp.h: Likewise.
56689         * misc/search.h: Likewise.
56690         * misc/sgtty.h: Likewise.
56691         * misc/sys/mman.h: Likewise.
56692         * misc/sys/syslog.h: Likewise.
56693         * misc/sys/uio.h: Likewise.
56694         * misc/sys/xattr.h: Likewise.
56695         * misc/ttyent.h: Likewise.
56696         * nis/rpcsvc/ypclnt.h: Likewise.
56697         * nss/nss.h: Likewise.
56698         * posix/bits/unistd.h: Likewise.
56699         * posix/fnmatch.h: Likewise.
56700         * posix/glob.h: Likewise.
56701         * posix/sched.h: Likewise.
56702         * posix/spawn.h: Likewise.
56703         * posix/sys/wait.h: Likewise.
56704         * posix/unistd.h: Likewise.
56705         * posix/wordexp.h: Likewise.
56706         * pwd/pwd.h: Likewise.
56707         * resolv/netdb.h: Likewise.
56708         * resource/sys/resource.h: Likewise.
56709         * rt/aio.h: Likewise.
56710         * rt/bits/mqueue2.h: Likewise.
56711         * rt/mqueue.h: Likewise.
56712         * shadow/shadow.h: Likewise.
56713         * signal/signal.h: Likewise.
56714         * socket/send.c: Likewise.
56715         * socket/sendto.c: Likewise.
56716         * socket/sys/socket.h: Likewise.
56717         * stdio-common/printf.h: Likewise.
56718         * stdlib/bits/stdlib.h: Likewise.
56719         * stdlib/fmtmsg.h: Likewise.
56720         * stdlib/monetary.h: Likewise.
56721         * stdlib/stdlib.h: Likewise.
56722         * stdlib/ucontext.h: Likewise.
56723         * streams/stropts.h: Likewise.
56724         * string/argz.h: Likewise.
56725         * string/bits/string2.h: Likewise.
56726         * string/string.h: Likewise.
56727         * string/strings.h: Likewise.
56728         * sunrpc/rpc/auth.h: Likewise.
56729         * sunrpc/rpc/auth_des.h: Likewise.
56730         * sunrpc/rpc/clnt.h: Likewise.
56731         * sunrpc/rpc/netdb.h: Likewise.
56732         * sunrpc/rpc/pmap_clnt.h: Likewise.
56733         * sunrpc/rpc/xdr.h: Likewise.
56734         * sysdeps/generic/inttypes.h: Likewise.
56735         * sysdeps/generic/net/if.h: Likewise.
56736         * sysdeps/generic/sys/swap.h: Likewise.
56737         * sysdeps/gnu/net/if.h: Likewise.
56738         * sysdeps/gnu/utmpx.h: Likewise.
56739         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56740         * sysdeps/i386/i486/bits/string.h: Likewise.
56741         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56742         * sysdeps/s390/bits/string.h: Likewise.
56743         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56744         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56745         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56746         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56747         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56748         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56749         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56750         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56751         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56752         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56753         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56754         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56755         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56757         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56758         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56759         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56765         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56766         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56767         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56768         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56769         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56771         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56773         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56774         * sysvipc/sys/ipc.h: Likewise.
56775         * sysvipc/sys/msg.h: Likewise.
56776         * sysvipc/sys/sem.h: Likewise.
56777         * sysvipc/sys/shm.h: Likewise.
56778         * termios/termios.h: Likewise.
56779         * time/sys/time.h: Likewise.
56780         * time/time.h: Likewise.
56781         * wcsmbs/bits/wchar2.h: Likewise.
56782         * wcsmbs/uchar.h: Likewise.
56783         * wcsmbs/wchar.h: Likewise.
56784         * wctype/wctype.h: Likewise.
56786         [BZ #13551]
56787         * Makeconfig: Remove all but ELF support including AIX support.
56788         * Makerules: Likewise.
56789         * config.h.in: Likewise.
56790         * config.make.in: Likewise.
56791         * configure: Likewise.
56792         * configure.in: Likewise.
56793         * csu/Makefile: Likewise.
56794         * csu/version.c: Likewise.
56795         * debug/Makefile: Likewise.
56796         * dlfcn/Makefile: Likewise.
56797         * elf/Makefile: Likewise.
56798         * extra-lib.mk: Likewise.
56799         * iconv/Makefile: Likewise.
56800         * include/libc-symbols.h: Likewise.
56801         * include/shlib-compat.h: Likewise.
56802         * resolv/Makefile: Likewise.
56803         * resolv/res_libc.c: Likewise.
56804         * rt/Makefile: Likewise.
56805         * sysdeps/i386/asm-syntax.h: Likewise.
56806         * sysdeps/i386/sysdep.h: Likewise.
56807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56808         * sysdeps/mach/sysdep.h: Likewise.
56809         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56810         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56811         * sysdeps/s390/asm-syntax.h: Likewise.
56812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56814         * sysdeps/sh/sysdep.h: Likewise.
56815         * sysdeps/unix/sparc/sysdep.h: Likewise.
56816         * sysdeps/wordsize-32/divdi3.c: Likewise.
56817         * sysdeps/x86_64/sysdep.h: Likewise.
56819         * argp/Versions: Remove _argp_unlock_xxx.
56821         [BZ #13559]
56822         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56823         * abilist/libBrokenLocale.abilist: Likewise.
56824         * abilist/libanl.abilist: Likewise.
56825         * abilist/libc.abilist: Likewise.
56826         * abilist/libcrypt.abilist: Likewise.
56827         * abilist/libdl.abilist: Likewise.
56828         * abilist/libm.abilist: Likewise.
56829         * abilist/libnsl.abilist: Likewise.
56830         * abilist/libpthread.abilist: Likewise.
56831         * abilist/libresolv.abilist: Likewise.
56832         * abilist/librt.abilist: Likewise.
56833         * abilist/libthread_db.abilist: Likewise.
56834         * abilist/libutil.abilist: Likewise.
56835         * abilist/libnss_db.abilist: New file.
56837         * scripts/abilist.awk: Add support for indirect functions.
56839         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56841         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56843         * shlib-versions: Remove entries for ports architectures.
56845         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56846         files in ports.
56847         * elf/stackguard-macros.h: Remove support for IA-64.
56848         * elf/tst-auditmod1.c: Likewise.
56849         * sysdeps/generic/ldsodefs.h: Likewise.
56851         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56852         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56853         configure files.
56855         [BZ #13552]
56856         * configure.in: Remove --enable-omitfp support.
56857         * FAQ.in: Adjust.
56858         * config.make.in: Likewise.
56859         * Makeconfig: Likewise.
56860         * manual/install.texi: Likewise.
56862         In case anyone cares, the IA-64 architecture could move to ports.
56863         * sysdeps/ia64/*: Removed.
56864         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56865         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56867         [BZ #13555]
56868         * configure.in: Remove entries for unsupported architectures.
56870         [BZ #13533]
56871         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56872         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56873         routines.
56874         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56875         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56876         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56877         fall back to using wcrtomb.
56878         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56879         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56880         renaming.
56881         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56882         * wcsmbs/tst-c16c32-1.c: New file.
56884         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56885         local variable.
56887         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56889         * elf/tst-unique3.cc: Add explicit declaration of gets.
56890         * elf/tst-unique3lib.cc: Likewise.
56891         * elf/tst-unique3lib2.cc: Likewise.
56892         * elf/tst-unique4.cc: Likewise.
56894         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56896 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56898         [BZ #13566]
56899         * assert/assert.h (static_assert): Don't define for C++.
56900         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56901         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56903 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56905         * iconv/loop.c (single loop): Fix assertion in storing of
56906         remaining bytes.
56908         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56910 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56912         * posix/getconf.c: Update copyright year.
56913         * nss/getent.c: Likewise.
56914         * nss/makedb.c: Likewise.
56915         * iconv/iconvconfig.c: Likewise.
56916         * iconv/iconv_prog.c: Likewise.
56917         * elf/ldconfig.c: Likewise.
56918         * elf/pldd.c: Likewise.
56919         * elf/sotruss.ksh: Likewise.
56920         * catgets/gencat.c: Likewise.
56921         * csu/version.c: Likewise.
56922         * elf/ldd.bash.in: Likewise.
56923         * elf/sprof.c (print_version): Likewise.
56924         * locale/programs/locale.c: Likewise.
56925         * locale/programs/localedef.c: Likewise.
56926         * login/programs/pt_chown.c: Likewise.
56927         * nscd/nscd.c (print_version): Likewise.
56928         * debug/xtrace.sh: Likewise.
56929         * malloc/memusage.sh: Likewise.
56930         * malloc/mtrace.pl: Likewise.
56931         * debug/catchsegv.sh: Likewise.
56933 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56935         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56936         pure attribute.
56938 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56940         [BZ #13533]
56941         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56942         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56943         transformations.
56944         * iconv/gconv_int.h: Likewise.
56945         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56946         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56947         from libc for GLIBC_2.16.
56948         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56949         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56950         * wcsmbs/uchar.h: Really define mbstate_t.
56951         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56952         * wcsmbs/c16rtomb.c: New file.
56953         * wcsmbs/mbrtoc16.c: New file.
56954         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56955         for C/POSIX locale.
56956         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56957         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56959         * wcsmbs/wchar.h: Add missing __restrict.
56961 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56963         [BZ #13532]
56964         * time/Makefile (routines): Add timespec_get.
56965         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56966         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56967         timespec for ISO C11.
56968         * time/timespec_get.c: New file.
56969         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56970         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56972         [BZ #13531]
56973         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56974         * stdlib/stdlib.h: Declare aligned_alloc.
56975         * Versions.def: Add GLIBC_2.16 for libc.
56976         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56978         [BZ 13527]
56979         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56980         ISO C11.
56982         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56983         code.
56985         [BZ #13528]
56986         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56988         [BZ #13529]
56989         * assert/assert.h (static_assert): Define.
56991         * version.h: Update for 2.16 development version.
56993         [BZ #13526]
56994         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56995         _ISOC11_SOURCE.
56997         * version.h (RELEASE): Bump for 2.15 release.
56998         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57000         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57001         Patch by Marek Polacek <mpolacek@redhat.com>.
57003         * bits/byteswap.h: Protect long long constants with __extension__.
57004         * sysdeps/i386/bits/byteswap.h: Likewise.
57005         * sysdeps/ia64/bits/byteswap.h: Likewise.
57006         * sysdeps/s390/bits/byteswap.h: Likewise.
57007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57009 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57011         [BZ #13540]
57012         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57013         destination buffer.
57014         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57016 2011-12-23  Marek Polacek  <polacek@redhat.com>
57018         * elf/dl-addr.c (determine_info): Add inline keyword.
57019         * elf/tst-auditmod4b.c (check_avx): Likewise.
57020         * elf/tst-auditmod6b.c (check_avx): Likewise.
57021         * elf/tst-auditmod6c.c (check_avx): Likewise.
57022         * elf/tst-auditmod7b.c (check_avx): Likewise.
57024 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57026         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57027         !__SSE_MATH__.
57029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57031         [BZ #13540]
57032         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57033         processing for last bytes.
57035 2011-08-06  Bruno Haible  <bruno@clisp.org>
57037         [BZ #13061]
57038         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57039         U+0385, not to U+1FEE.
57041         [BZ #13062]
57042         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57043         entry for U+00A5 U+0301.
57045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57047         [BZ #13166]
57048         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57049         buffer for the output is too small.
57051         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57052         optimization.
57054         [BZ #13185]
57055         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57056         SSE flags if possible.
57058 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57060         [BZ #13540]
57061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57062         processing for last bytes.
57064 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57066         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57067         (syscall-list-default-options, syscall-list-default-condition)
57068         (syscall-list-includes): Define.
57069         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57070         list of ABIs and options and #if conditions for each ABI.  Do not
57071         handle common syscalls between ABIs specially.
57072         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57073         Remove.
57074         (syscall-list-variants, syscall-list-32bit-options)
57075         (syscall-list-32bit-condition, syscall-list-64bit-options)
57076         (syscall-list-64bit-condition): Define.
57077         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57078         (syscall-list-variants, syscall-list-32bit-options)
57079         (syscall-list-32bit-condition, syscall-list-64bit-options)
57080         (syscall-list-64bit-condition): Define.
57081         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57082         Remove.
57083         (syscall-list-variants, syscall-list-32bit-options)
57084         (syscall-list-32bit-condition, syscall-list-64bit-options)
57085         (syscall-list-64bit-condition): Define.
57086         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57087         Remove.
57088         (syscall-list-variants, syscall-list-32bit-options)
57089         (syscall-list-32bit-condition, syscall-list-64bit-options)
57090         (syscall-list-64bit-condition): Define.
57092 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57094         * locale/iso-639.def: Add brx entry.
57096         [BZ #13328]
57097         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57098         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57100         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57101         __feraiseexcept_renamed.
57103 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57105         [BZ #13538]
57106         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57107         EPOLLET with unsigned values.
57108         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57111         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57112         to large cancellation.
57113         * math/s_cacoshf.c: Likewise.
57114         * math/s_cacoshl.c: Likewise.
57116 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57118         [BZ #13305]
57119         [BZ #12786]
57120         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57121         * math/s_cacoshf.c: Likewise.
57122         * math/s_cacoshl.c: Likewise.
57124 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57126         [BZ #13439]
57127         * iconv/gconv.h: Define __GCONV_SWAP.
57128         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57129         * iconvdata/utf-16.c: Likewise.
57130         * iconvdata/utf-32.c: Likewise.
57132 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57134         [BZ #13524]
57135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57136         numerator after shifting it by one limb.
57138 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57140         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57141         under [__USE_EXTERN_INLINES].
57143 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57145         [BZ #13446]
57146         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57148 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57150         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57151         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57152         optimized code.
57153         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57154         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57155         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57156         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57157         for strncasecmp/strncasecmp_l compilation.
57158         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57159         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57161 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57163         [BZ #13484]
57164         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57165         of __asm__.
57167 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57169         [BZ #13506]
57170         * time/tzfile.c (__tzfile_read): Check values from file header.
57172 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57174         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57175         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57176         * powerpc/powerpc32/dl-start.S: Likewise.
57177         * powerpc/powerpc32/elf/start.S: Likewise.
57178         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57179         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57180         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57181         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57182         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57183         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57184         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57185         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57186         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57187         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57188         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57189         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57190         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57191         * powerpc/powerpc32/memset.S: Likewise.
57192         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57193         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57194         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57195         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57196         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57197         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57198         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57199         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57200         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57201         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57203         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57204         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57206 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57208         * math/libm-test.inc: Added more nearbyint tests.
57209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57214 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57216         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57217         FD_CLOEXEC.
57219 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57221         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57222         Add wcscpy-ssse3 wcscpy-c.
57223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57224         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57225         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57226         * sysdeps/x86_64/wcschr.S: New file.
57227         * sysdeps/x86_64/wcsrchr.S: New file.
57228         * string/test-strcmp.c: Remove checking of wcscmp function for
57229         wrong alignments.
57230         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57231         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57232         wcsrchr-sse2 wcsrchr-c.
57233         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57234         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57235         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57236         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57237         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57238         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57239         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57240         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57242         * wcsmbc/wcschr.c (WCSCHR): New macro.
57244 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57246         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57247         * wcsmbs/test-wcsrchr.c: New file.
57248         * string/test-strrchr.c: Add wcsrchr support.
57249         (WIDE): New macro.
57250         * wcsmbs/test-wcscpy.c: New file.
57251         * string/test-strcpy.c: Add wcscpy support.
57252         (WIDE): New macro.
57254 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57256         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57257         the inner loop.
57259 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57261         [BZ #13472]
57262         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57264 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57266         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57267         Minor optimizations.
57269         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57270         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57271         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57273 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57275         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57276         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57277         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57278         for gcc to avoid warnings.
57279         * inet/Makefile (tests): Add tst-checks.
57280         * inet/tst-checks.c: New file.
57282         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57283         warning.
57285         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57286         __wmemcmp_sse2.
57288         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57289         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57291         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57293 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57296         problem.
57298         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57300 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57302         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57303         conditional on GCC version.
57304         (__arch_compare_and_exchange_val_8_acq)
57305         (__arch_compare_and_exchange_val_16_acq)
57306         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57307         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57308         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57310 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57312         * sysdeps/sh/backtrace.c: New file.
57314 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57316         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57317         parenthesis.
57319 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57321         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57322         falling back to utime.
57324 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57326         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57327         expectations for float.
57329 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57331         * locale/weight.h (findidx): Add parameter len.
57332         * locale/weightwc.h (findidx): Likewise.
57333         * posix/fnmatch_loop.c (FCT): Adjust caller.
57334         * posix/regcomp.c (build_equiv_class): Likewise.
57335         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57336         * posix/regexec.c (check_node_accept_bytes): Likewise.
57337         * string/strcoll_l.c (STRCOLL): Likewise.
57338         * string/strxfrm_l.c (STRXFRM): Likewise.
57340 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57342         * Makefile.in: Remove CVSOPT handling.
57343         * configure.in: Remove use of AC_REVISION.
57344         * iconvdata/Makefile (distribute): No need to filter out CVS.
57345         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57346         handling.
57348 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57351         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57352         [USE_AS_STRNCASECMP_L]: Likewise.
57353         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57354         NO_TLS_DIRECT_SEG_REFS.
57355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57356         Fix argument offsets for non-PIC.
57357         [USE_AS_STRNCASECMP_L]: Likewise.
57358         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57359         NO_TLS_DIRECT_SEG_REFS.
57361 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57363         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57364         O_CLOEXEC.
57365         * locale/loadlocale.c (_nl_load_locale): Likewise.
57367 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57369         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57370         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57371         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57372         (SYSCALL_GETTIME): Set errno on error.
57374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57375         count references to noai6ai_cached.
57377 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57379         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57381         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57382         FD_CLOEXEC for /proc/self/maps.
57384         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57385         FD_CLOEXEC for /proc/meminfo.
57387         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57388         gai.conf.
57390         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57391         FD_CLOEXEC for given file.
57393         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57395         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57396         FD_CLOEXEC for /etc/hosts.
57397         (_gethtent): Likewise.
57399         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57401         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57402         cancellation and set FD_CLOEXEC for /etc/netgroup.
57404         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57405         reading /etc/publickey.
57407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57408         allow cancellation when reading /etc/group.
57410         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57411         cancellation.
57412         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57414         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57415         when using data file.
57417         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57419         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57420         (write_nis_obj): Use "c" and "e" in fopen.
57422         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57424         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57426         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57428         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57430         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57431         locale.alias.
57433         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57435         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57437         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57439         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57440         file parsing and set FD_CLOEXEC.
57442 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57444         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57446 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57448         * malloc/arena.c (arena_get2): Don't call reused_arena when
57449         _int_new_arena failed.
57451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57453         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57454         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57459         to compile strcasecmp and strncasecmp.
57460         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57461         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57465 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57467         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57468         locale-defines.sym to gen-as-const-headers.
57469         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57470         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57472         to compile strcasecmp and strncasecmp.
57473         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57474         strcasecmp_l and strncasecmp_l.
57475         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57476         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57477         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57478         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57479         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57481         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57482         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57483         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57484         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57485         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57487 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57489         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57490         result of SYSDEP_GETTIME_CPU to retval.
57491         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57492         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57494         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57495         variable.
57497         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57498         mantissa words.
57499         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57501         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57502         from unused variable.
57504         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57505         DWARF definitions.
57506         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57507         for assembling.
57509         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57510         over namespaces.
57512         * sunrpc/rpc_prot.c (rejected): Fix case value.
57514         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57515         unsigned long long int to avoid warnings in shift.
57517         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57518         of use of trans.
57519         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57520         variable tmp.
57522         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57523         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57524         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57526         * nis/nis_table.c (nis_list): Use variable of correct type for
57527         result of __follow_path call.
57529 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57531         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57532         of math functions ceil, trunc, floor, round, and sqrt, when
57533         avaliable on the platform.
57534         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57535         name clash.
57536         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57537         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57538         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57540 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57542         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57545 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57547         * include/unistd.h: Fix __readlink return type.
57548         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57550 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57552         * stdlib/ucontext.h: Undo last change for makecontext.
57554 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57556         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57558         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57559         * setjmp/setjmp.h: Mark functions as non-leaf.
57560         * setjmp/bits/setjmp2.h: Likewise.
57561         * stdlib/ucontext.h: Likewise.
57563 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57565         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57566         (reused_arena): Don't check arena limit.
57567         (arena_get2): Atomically check arena limit.
57569 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57571         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57572         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57575         instructions.
57577 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57579         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57580         handler when locking.
57582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57583         Fix size of allocated buffer.
57585 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57587         [BZ #10103]
57588         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57589         declarations for long double functions.
57590         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57592         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57594 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57596         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57597         installed.
57599         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57600         is disabled.
57602 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57604         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57606 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57608         * include/alloca.h (stackinfo_alloca_round): Define.
57609         (extend_alloca): Use it.
57610         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57611         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57612         here.
57614         * scripts/check-local-headers.sh: Ignore libaudit.h.
57616         * nscd/Makefile (extra-objs): Make recursively expanded.
57618 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57620         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57623         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57624         * posix/tst-rfc3484-2.c: Likewise.
57625         * posix/tst-rfc3484-3.c: Likewise.
57627         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57628         process_vm_writev.
57629         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57630         process_vm_writev.
57631         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57632         process_vm_writev from libc using GLIBC_2.15 version.
57634         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57636 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57638         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57639         stack usage.
57641 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57643         [BZ #13367]
57644         * nss/getent.c (initgroups_keys): Show error message in case no group
57645         names are given.
57647         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57648         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57649         __bump_nl_timestamp.
57650         * nscd/connections (nscd_init): When host database is served open
57651         netlink socket and request notification about configuration changes.
57652         (main_loop_poll): Track netlink file descriptor and bump timestamp
57653         in case data becomes available.
57654         (main_loop_epoll): Likewise.
57655         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57656         (database_pers_head): Add extra_data fileds.
57657         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57658         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57659         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57660         Adjust caller.
57661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57662         in6ai data, call __free_in6ai.
57663         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57664         Add -DHAVE_NETLINK.
57665         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57666         interface information.  Reuse previous data if netlink timestamp
57667         is not changed.
57668         (__bump_nl_timestamp): New function.
57669         (__free_in6ai): New function.
57671 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57674         close_not_cancel_no_status here.
57675         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57677 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57679         [BZ #13276]
57680         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57681         return value.
57683         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57684         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57685         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57687 2011-07-03  Andreas Jaeger  <aj@suse.de>
57689         [BZ #10709]
57690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57691         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57692         * math/libm-test.inc (sin_test): Add test case.
57694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57696         [BZ #13337]
57697         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57698         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57700         * elf/chroot_canon.c (chroot_canon): Cleanups.
57702         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57704         [BZ #13335]
57705         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57706         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57708         * string/test-strchr.c: Make usable for strchrnul testing.
57709         * string/test-strchrnul.c: New file.
57710         * string/Makefile (strop-tests): Add strchrnul.
57712         * po/it.po: Update from translation team.
57713         * po/es.po: Likewise.
57715 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57718         the three constants needed as parameters.  Drop the others.
57719         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57720         __m128i_strloadu_tolower.
57721         Create and initialize variable zero and use it in all the places
57722         where _mm_setzero_si128 was used.
57724         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57725         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57726         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57727         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57728         anymore.
57729         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57730         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57731         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57732         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57733         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57734         __mpranred, __mptan.
57735         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57736         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57737         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57738         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57739         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57740         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57742         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57745 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57747         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57748         redefine if SHARED.
57749         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57752         wide char related routines to wcsmbs subdir.
57754 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57756         [BZ #13344]
57757         * misc/sys/cdefs.h (__THROWNL): Define.
57758         * posix/unistd.h: Use __THREADNL instead of __THREAD
57759         for memory synchronization functions.
57761 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57763         [BZ #13349]
57764         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57765         doesn't exist.
57766         * manual/stdio.texi (Obstack Streams): Node removed.
57768 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57770         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57774         * math/math_private.h (math_force_eval): Allow non-addressable
57775         arguments.
57776         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57780         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57781         file is not needed.
57783         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57785         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57786         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57787         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57788         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57789         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57790         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57791         Add AVX variants.
57792         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57793         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57794         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57795         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57796         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57797         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57798         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57799         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57800         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57801         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57802         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57803         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57805         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57808         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57809         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57810         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57812         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57813         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57816         place.  Use VEX encoding when compiling for AVX.
57818 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57820         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57823         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57825 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57827         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57828         useless if() expression.
57829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57830         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57831         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57834         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57835         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57839         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57840         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57841         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57843         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57844         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57845         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57847         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57849         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57851 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57853         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57854         condition.
57855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57859         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57860         .text section.  Avoid duplicate constants.
57861         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57863         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57869         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57870         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57871         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57873         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57874         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57875         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57878         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57879         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57884         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57885         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57886         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57887         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57888         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57889         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57890         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57891         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57892         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57894         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57895         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57896         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57897         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57899         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57900         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57902         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57907 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57909         * sysdeps/x86_64/dla.h: Move to ...
57910         * sysdeps/x86_64/fpu/dla.h: ...here.
57911         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57912         situations.  Use __builtin_fma only for gcc 4.6 and up.
57914         * config.make.in: Add have-mfma4 entry.
57915         * configure.in: Substitute libc_cv_cc_fma4.
57916         * math/Makefile (dbl-only-routines): Add sincostab.
57917         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57918         Use __sincostab not sincos.
57919         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57920         name is a macro.
57921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57923         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57925         using __copysign.
57926         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57927         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57928         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57929         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57930         and __inv.
57931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57932         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57933         __copysign.
57934         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57935         define aliases when function name is a macro.
57936         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57937         sysdeps/ieee754/dbl-64/sincos.tbl.
57938         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57939         fma4-enabled routines.
57940         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57941         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57942         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57943         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57944         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57945         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57946         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57947         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57948         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57949         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57950         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57951         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57952         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57953         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57955         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57956         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57957         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57958         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57960         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57961         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57963         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57964         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57965         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57966         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57971         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57972         rename.
57973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57982 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57984         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57986 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57990         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57991         prediction.
57992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57994         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57995         Remove unused variable magic_bits.
57996         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57998         * string/strnlen.c: Define and use STRNLEN macro.
57999         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58000         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58002         * wcsmbs/wcslen.c: Define and use WCSLEN.
58003         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58004         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58005         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58006         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58007         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58008         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58009         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58011 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58014         strnlen-sse2-no-bsf.
58015         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58017         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58018         Add strnlen support.
58019         (USE_AS_STRNLEN): New macro.
58020         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58022         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58023         * sysdeps/x86_64/wcslen.S: New file.
58025 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58028         XMM-moves are used for copying on small sizes.
58030 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58032         * wcsmbs/Makefile (strop-tests): Add wcschr.
58033         * wcsmbs/test-wcschr.c: New file.
58034         * string/test-strchr.c: Update.
58035         Add wcschr support.
58036         (WIDE): New macro.
58038 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58040         * wcsmbs/Makefile (strop-tests): Add wcslen.
58041         * wcsmbs/test-wcslen.c: New file.
58042         * string/test-strlen.c: Update.
58043         Add wcslen support.
58044         (WIDE): New macro.
58046 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58048         * po/it.po: Update from translation team.
58050 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58052         * sysdeps/x86_64/wcscmp.S: Update.
58053         Fix wrong comparison semantics.
58054         wcscmp shall use signed comparison not unsigned.
58055         Don't use substraction to avoid overflow bug.
58056         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58057         * wcsmbc/wcscmp.c: Likewise.
58058         * string/test-strcmp.c: Likewise.
58059         Add new tests to check cases with negative values.
58061 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58063         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58064         * sysdeps/x86_64/dla.h: ...here.  New file.
58065         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58075 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58078         __ynl_finite aliases.
58080 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58084         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58085         define DLA_FMA.
58086         [DLA_FMA] (EMULV): Use DLA_FMA.
58087         [DLA_FMA] (MUL12): Use EMULV.
58088         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58089         that are not needed.
58090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58098 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58100         * math/s_nan.c: Undef __nan.
58101         * math/s_nanf.c: Undef __nanf.
58102         * math/s_nanl.c: Undef __nanl.
58103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58104         "math_private.h".
58106 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58108         * math/s_catan.c: Add branch predictions.
58109         * math/s_catanf.c: Likewise.
58110         * math/s_catanh.c: Likewise.
58111         * math/s_catanhf.c: Likewise.
58112         * math/s_catanhl.c: Likewise.
58113         * math/s_catanl.c: Likewise.
58114         * math/s_cexp.c: Likewise.
58115         * math/s_cexpf.c: Likewise.
58116         * math/s_cexpl.c: Likewise.
58117         * math/s_clog.c: Likewise.
58118         * math/s_clog10.c: Likewise.
58119         * math/s_clog10f.c: Likewise.
58120         * math/s_clog10l.c: Likewise.
58121         * math/s_clogf.c: Likewise.
58122         * math/s_clogl.c: Likewise.
58123         * math/s_csqrt.c: Likewise.
58124         * math/s_csqrtf.c: Likewise.
58125         * math/s_csqrtl.c: Likewise.
58126         * math/s_ctanf.c: Likewise.
58127         * math/s_ctanh.c: Likewise.
58128         * math/s_ctanhf.c: Likewise.
58129         * math/s_ctanhl.c: Likewise.
58130         * math/s_ctanl.c: Likewise.
58132         * math/math_private.h: Define __nan, __nanf, __nanl.
58133         * math/s_cacosh.c: Include <math_private.h>.
58134         * math/s_cacoshl.c: Likewise.
58135         * math/s_casinh.c: Likewise.
58136         * math/s_casinhf.c: Likewise.
58137         * math/s_casinhl.c: Likewise.
58138         * math/s_ccos.c: Rely entire on ccosh.
58139         * math/s_ccosf.c: Rely entire on ccoshf.
58140         * math/s_ccosl.c: Rely entirely on ccoshl.
58141         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58142         Remove tests for FE_INVALID.
58143         * math/s_ccoshf.c: Likewise.
58144         * math/s_ccoshl.c: Likewise.
58145         * math/s_csin.c: Likewise.
58146         * math/s_csinf.c: Likewise.
58147         * math/s_csinh.c Likewise.
58148         * math/s_csinhf.c: Likewise.
58149         * math/s_csinhl.c: Likewise.
58150         * math/s_csinl.c: Likewise.
58151         * math/s_ctan.c: Likewise.
58152         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58153         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58154         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58156 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58159         compilation problems.
58161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58162         __builtin_expect.
58164 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58166         * sysdeps/i386/configure.in: Test for -mfma4 option.
58167         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58168         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58169         COMMON_CPUID_INDEX_80000001.
58170         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58171         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58172         use it if FMA3 is not supported.
58173         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58175         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58176         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58178 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58180         [BZ #12892]
58181         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58182         it would create a cycle with a link time dependency.
58184 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58186         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58187         instruction.
58188         * string/Makefile (strop-tests): Add rawmemchr.
58189         * string/test-rawmemchr.c: New file.
58191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58193         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58194         when compiling str{,n}casecmp and when AVX is available.  Hook up
58195         new optimized code in initializers.
58197 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58199         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58200         __feraiseexcept instead of feraiseexcept.
58202 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58204         * math/math_private.h: Define defaults for libc_fetestexcept and
58205         libc_feupdateenv.
58206         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58207         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58208         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58209         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58210         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58211         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58212         libc_fetestexcept and libc_feupdateenv.
58214         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58215         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58216         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58217         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58218         libc_feholdexcept_setround.
58220         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58221         Add s_nearbyint-c and s_nearbyintf-c.
58222         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58223         nearbyintf inlines.
58224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58229         * math/math_private.h: Define defaults for libc_fegetround,
58230         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58231         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58232         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58233         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58234         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58235         standard functions.
58236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58237         Remove comments and hacks for old compiler versions.
58238         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58239         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58240         libc_feholdexceptl.
58242 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58244         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58245         (__feraiseexcept_renamed): Add __NTH.
58246         (feraiseexcept): Add __NTH.  Rename local variables to fix
58247         namespace violations.
58249 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58251         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58253         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58255         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58256         recently added interfaces.
58257         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58259         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58260         about macro parameter expansion.
58262         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58263         __NO_MATH_INLINES is defined.  Cleanups.
58265         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58266         and __floorf is target has SSE4.1.
58267         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58269         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58270         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58272         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58273         name.
58274         (floorf): Likewise.
58276         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58278 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58280         * misc/sys/cdefs.h: Fix last change.
58282         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58283         database lookup.
58285 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58287         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58289         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58294         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58295         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58298         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58299         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58300         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58301         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58302         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58303         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58304         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58306         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58308         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58309         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58313         ceil, ceilf, floor, floorf.
58315         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58316         Perform IRELATIVE relocations last.
58318         * elf/do-rel.h: Add another parameter nrelative, replacing the
58319         local variable with the same name.  Change name of the function
58320         to end in Rel or Rela (uppercase).
58321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58322         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58323         elf_dynamic_do_##reloc function.
58325 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58327         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58328         is sufficient, at least on modern CPUs.
58330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58332         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58335         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58336         __expl_finite.
58337         * math/bits/math-finite.h: Add entries for exp.
58338         * math/e_expl.c: Add __*_finite alias.
58339         * sysdeps/i386/fpu/e_exp.S: Likewise.
58340         * sysdeps/i386/fpu/e_expf.S: Likewise.
58341         * sysdeps/i386/fpu/e_expl.c: Likewise.
58342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58344         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58350         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58351         is sufficient, at least on modern CPUs.
58353         * ctype/ctype-info.c (__ctype_init): Define.
58354         * include/ctype.h (__ctype_init): Declare.
58355         (__ctype_b_loc): The variable is always initialized.
58356         (__ctype_toupper_loc): Likewise.
58357         (__ctype_tolower_loc): Likewise.
58358         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58359         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58361 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58363         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58365         * configure.in: Also look in $cxxmachine/include for C++ system
58366         headers.
58368 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58370         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58371         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58372         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58373         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58375         (USE_AS_WMEMCMP): New macro.
58376         Fixing indents.
58377         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58378         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58379         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58380         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58382         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58383         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58384         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58385         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58386         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58388         (USE_AS_WMEMCMP): New macro.
58389         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58390         * sysdeps/string/test-memcmp.c: Update.
58391         Fix simple_wmemcmp.
58392         Add new tests.
58393         * wcsmbs/wmemcmp.c: Update.
58394         (WMEMCMP): New macro.
58395         Fix overflow bug.
58397 2011-10-12  Andreas Jaeger  <aj@suse.de>
58399         [BZ #13268]
58400         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58402 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58404         * libio/iofwide.c (do_length): Avoid warning.
58406         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58408 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58410         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58412         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58413         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58414         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58415         * sysdeps/i386/i686/fpu/e_log.S: New file.
58416         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58417         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58419         * ctype/ctype.h: Add support for inlined isXXX functions when
58420         compiling C++ code.
58422 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58428 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58430         [BZ #13291]
58431         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58433 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58436         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58437         feraiseexcept.
58439         * sysdeps/x86_64/memrchr.S: Check for zero size.
58441         * string/stratcliff.c: Add memrchr tests.
58443 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58446         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58447         rawmemchr-sse2 rawmemchr-sse2-bsf.
58448         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58449         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58450         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58451         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58452         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58453         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58455         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58458         * string/memrchr.c (MEMRCHR): New macro.
58460 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58462         Add integration with gcc's -ffinite-math-only and optimize wrapper
58463         functions in libm.
58464         * Versions.def: Define GLIBC_2.15 version for libm.
58465         * math/Makefile (headers): Add bits/math-finite.h.
58466         * math/bits/math-finite.h: New file.
58467         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58468         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58469         * math/e_acoshl.c: Add __*_finite alias.
58470         * math/e_acosl.c: Likewise.
58471         * math/e_asinl.c: Likewise.
58472         * math/e_atan2l.c: Likewise.
58473         * math/e_atanhl.c: Likewise.
58474         * math/e_coshl.c: Likewise.
58475         * math/e_exp10.c: Likewise.
58476         * math/e_exp10f.c: Likewise.
58477         * math/e_exp10l.c: Likewise.
58478         * math/e_exp2l.c: Likewise.
58479         * math/e_fmodl.c: Likewise.
58480         * math/e_gammal_r.c: Likewise.
58481         * math/e_hypotl.c: Likewise.
58482         * math/e_j0l.c: Likewise.
58483         * math/e_j1l.c: Likewise.
58484         * math/e_jnl.c: Likewise.
58485         * math/e_lgammal_r.c: Likewise.
58486         * math/e_log10l.c: Likewise.
58487         * math/e_log2l.c: Likewise.
58488         * math/e_logl.c: Likewise.
58489         * math/e_powl.c: Likewise.
58490         * math/e_sinhl.c: Likewise.
58491         * math/e_sqrtl.c: Likewise.
58492         * math/e_scalb.c: Completely rewritten and optimized.
58493         * math/e_scalbf.c: Likewise.
58494         * math/e_scalbl.c: Likewise.
58495         * math/w_acos.c: Likewise.
58496         * math/w_acosf.c: Likewise.
58497         * math/w_acosl.c: Likewise.
58498         * math/w_acosh.c: Likewise.
58499         * math/w_acoshf.c: Likewise.
58500         * math/w_acoshl.c: Likewise.
58501         * math/w_asin.c: Likewise.
58502         * math/w_asinf.c: Likewise.
58503         * math/w_asinl.c: Likewise.
58504         * math/w_atan2.c: Likewise.
58505         * math/w_atan2f.c: Likewise.
58506         * math/w_atan2l.c: Likewise.
58507         * math/w_atanh.c: Likewise.
58508         * math/w_atanhf.c: Likewise.
58509         * math/w_atanhl.c: Likewise.
58510         * math/w_exp10.c: Likewise.
58511         * math/w_exp10f.c: Likewise.
58512         * math/w_exp10l.c: Likewise.
58513         * math/w_fmod.c: Likewise.
58514         * math/w_fmodf.c: Likewise.
58515         * math/w_fmodl.c: Likewise.
58516         * math/w_j0.c: Likewise.
58517         * math/w_j0f.c: Likewise.
58518         * math/w_j0l.c: Likewise.
58519         * math/w_j1.c: Likewise.
58520         * math/w_j1f.c: Likewise.
58521         * math/w_j1l.c: Likewise.
58522         * math/w_jn.c: Likewise.
58523         * math/w_jnf.c: Likewise.
58524         * math/w_log.c: Likewise.
58525         * math/w_logf.c: Likewise.
58526         * math/w_logl.c: Likewise.
58527         * math/w_log10.c: Likewise.
58528         * math/w_log10f.c: Likewise.
58529         * math/w_log10l.c: Likewise.
58530         * math/w_log2.c: Likewise.
58531         * math/w_log2f.c: Likewise.
58532         * math/w_log2l.c: Likewise.
58533         * math/w_pow.c: Likewise.
58534         * math/w_powf.c: Likewise.
58535         * math/w_powl.c: Likewise.
58536         * math/w_remainder.c: Likewise.
58537         * math/w_remainderf.c: Likewise.
58538         * math/w_remainderl.c: Likewise.
58539         * math/w_scalb.c: Likewise.
58540         * math/w_scalbf.c: Likewise.
58541         * math/w_scalbl.c: Likewise.
58542         * math/w_sqrt.c: Likewise.
58543         * math/w_sqrtf.c: Likewise.
58544         * math/w_sqrtl.c: Likewise.
58545         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58546         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58547         used.
58548         * math/math_private.h: Declare __kernel_standard_f.
58549         * math/w_cosh.c: Remove cruft and optimize a bit.
58550         * math/w_coshf.c: Likewise.
58551         * math/w_coshl.c: Likewise.
58552         * math/w_exp2.c: Likewise.
58553         * math/w_exp2f.c: Likewise.
58554         * math/w_exp2l.c: Likewise.
58555         * math/w_hypot.c: Likewise.
58556         * math/w_hypotf.c: Likewise.
58557         * math/w_hypotl.c: Likewise.
58558         * math/w_lgamma.c: Likewise.
58559         * math/w_lgamma_r.c: Likewise.
58560         * math/w_lgammaf.c: Likewise.
58561         * math/w_lgammaf_r.c: Likewise.
58562         * math/w_lgammal.c: Likewise.
58563         * math/w_lgammal_r.c: Likewise.
58564         * math/w_sinh.c: Likewise.
58565         * math/w_sinhf.c: Likewise.
58566         * math/w_sinhl.c: Likewise.
58567         * math/w_tgamma.c: Likewise.
58568         * math/w_tgammaf.c: Likewise.
58569         * math/w_tgammal.c: Likewise.
58570         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58572         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58573         Minor optimizations.  Pretty printing.  Remove cruft.
58574         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58575         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58578         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58579         * sysdeps/i386/fpu/e_asin.S: Likewise.
58580         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58581         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58582         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58583         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58585         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58586         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58587         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58588         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58589         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58590         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58591         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58592         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58593         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58594         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58595         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58596         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58597         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58598         * sysdeps/i386/fpu/e_log.S: Likewise.
58599         * sysdeps/i386/fpu/e_log10.S: Likewise.
58600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58601         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58602         * sysdeps/i386/fpu/e_log2.S: Likewise.
58603         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58604         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58605         * sysdeps/i386/fpu/e_logf.S: Likewise.
58606         * sysdeps/i386/fpu/e_logl.S: Likewise.
58607         * sysdeps/i386/fpu/e_pow.S: Likewise.
58608         * sysdeps/i386/fpu/e_powf.S: Likewise.
58609         * sysdeps/i386/fpu/e_powl.S: Likewise.
58610         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58611         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58612         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58613         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58615         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58616         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58617         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58618         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58620         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58625         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58633         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58639         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58644         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58645         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58647         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58648         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58649         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58650         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58651         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58653         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58654         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58655         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58656         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58660         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58661         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58662         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58663         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58664         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58665         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58666         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58667         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58668         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58678         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58683         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58687         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58690         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58693         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58694         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58699         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58700         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58701         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58710         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58711         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58712         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58713         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58714         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58715         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58716         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58717         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58718         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58719         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58720         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58721         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58722         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58724         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58725         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58727         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58729         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58730         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58731         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58732         (__isnanf): Likewise.
58733         (__isinf_ns): Likewise.
58734         (__isinf_nsf): Likewise.
58735         (__finite): Likewise.
58736         (__finitef): Likewise.
58737         (__ieee754_sqrt): Define as macro.
58738         (__ieee754_sqrtf): Define as macro.
58739         (__ieee754_sqrtl): Define as macro.
58740         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58741         inlined copy.
58742         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58743         __FINITE_MATH_ONLY__ consistent.
58744         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58746 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58748         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58749         of rawmemchr.
58751         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58753 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58755         * po/ja.po: Update from translation team.
58757 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58759         * locale/programs/locarchive.c (prepare_address_space): New function.
58760         (create_archive, enlarge_archive, open_archive): Use it.
58762         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58763         inside [SHARED], where it is used.
58765         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58767         * nss/getent.c (netgroup_keys): Remove unused variable.
58768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58770 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58772         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58776         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58778         * math/Makefile (libm-calls): Add s_isinf_ns.
58779         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58780         * math/multc3.c: Likewise.
58781         * math/s_casin.c: Likewise.
58782         * math/s_casinf.c: Likewise.
58783         * math/s_casinl.c: Likewise.
58784         * math/s_ccos.c: Likewise.
58785         * math/s_ccosf.c: Likewise.
58786         * math/s_ccosl.c: Likewise.
58787         * math/s_ctan.c: Likewise.
58788         * math/s_ctanf.c: Likewise.
58789         * math/s_ctanh.c: Likewise.
58790         * math/s_ctanhf.c: Likewise.
58791         * math/s_ctanhl.c: Likewise.
58792         * math/s_ctanl.c: Likewise.
58793         * math/w_fmod.c: Likewise.
58794         * math/w_fmodf.c: Likewise.
58795         * math/w_fmodl.c: Likewise.
58796         * math/w_remainder.c: Likewise.
58797         * math/w_remainderf.c: Likewise.
58798         * math/w_remainderl.c: Likewise.
58799         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58800         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58803         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58804         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58805         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58806         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58808         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58809         of the number.
58810         * stdio-common/printf_fphex.c: Likewise.
58811         * stdio-common/printf_size.c: Likewise.
58813         * math/e_exp10.c: Include math_private.h using <...> not "...".
58814         * math/e_exp10f.c: Likewise.
58815         * math/e_exp10l.c: Likewise.
58816         * math/e_exp2l.c: Likewise.
58817         * math/e_j0l.c: Likewise.
58818         * math/e_j1l.c: Likewise.
58819         * math/e_jnl.c: Likewise.
58820         * math/e_lgammal_r.c: Likewise.
58821         * math/e_rem_pio2l.c: Likewise.
58822         * math/e_scalb.c: Likewise.
58823         * math/e_scalbf.c: Likewise.
58824         * math/e_scalbl.c: Likewise.
58825         * math/k_cosl.c: Likewise.
58826         * math/k_sinl.c: Likewise.
58827         * math/k_tanl.c: Likewise.
58828         * math/s_cacoshf.c: Likewise.
58829         * math/s_catan.c: Likewise.
58830         * math/s_catanf.c: Likewise.
58831         * math/s_catanh.c: Likewise.
58832         * math/s_catanhf.c: Likewise.
58833         * math/s_catanhl.c: Likewise.
58834         * math/s_catanl.c: Likewise.
58835         * math/s_ccosh.c: Likewise.
58836         * math/s_ccoshf.c: Likewise.
58837         * math/s_ccoshl.c: Likewise.
58838         * math/s_cexp.c: Likewise.
58839         * math/s_cexpf.c: Likewise.
58840         * math/s_cexpl.c: Likewise.
58841         * math/s_clog.c: Likewise.
58842         * math/s_clog10.c: Likewise.
58843         * math/s_clog10f.c: Likewise.
58844         * math/s_clog10l.c: Likewise.
58845         * math/s_clogf.c: Likewise.
58846         * math/s_clogl.c: Likewise.
58847         * math/s_csin.c: Likewise.
58848         * math/s_csinf.c: Likewise.
58849         * math/s_csinh.c: Likewise.
58850         * math/s_csinhf.c: Likewise.
58851         * math/s_csinhl.c: Likewise.
58852         * math/s_csinl.c: Likewise.
58853         * math/s_csqrt.c: Likewise.
58854         * math/s_csqrtf.c: Likewise.
58855         * math/s_csqrtl.c: Likewise.
58856         * math/s_ctan.c: Likewise.
58857         * math/s_ctanf.c: Likewise.
58858         * math/s_ctanh.c: Likewise.
58859         * math/s_ctanhf.c: Likewise.
58860         * math/s_ctanhl.c: Likewise.
58861         * math/s_ctanl.c: Likewise.
58862         * math/s_ldexp.c: Likewise.
58863         * math/s_ldexpf.c: Likewise.
58864         * math/s_ldexpl.c: Likewise.
58865         * math/s_significand.c: Likewise.
58866         * math/s_significandf.c: Likewise.
58867         * math/s_significandl.c: Likewise.
58868         * math/w_acos.c: Likewise.
58869         * math/w_acosf.c: Likewise.
58870         * math/w_acosh.c: Likewise.
58871         * math/w_acoshf.c: Likewise.
58872         * math/w_acoshl.c: Likewise.
58873         * math/w_acosl.c: Likewise.
58874         * math/w_asin.c: Likewise.
58875         * math/w_asinf.c: Likewise.
58876         * math/w_asinl.c: Likewise.
58877         * math/w_atan2.c: Likewise.
58878         * math/w_atan2f.c: Likewise.
58879         * math/w_atan2l.c: Likewise.
58880         * math/w_atanh.c: Likewise.
58881         * math/w_atanhf.c: Likewise.
58882         * math/w_atanhl.c: Likewise.
58883         * math/w_cosh.c: Likewise.
58884         * math/w_coshf.c: Likewise.
58885         * math/w_coshl.c: Likewise.
58886         * math/w_dremf.c: Likewise.
58887         * math/w_exp10.c: Likewise.
58888         * math/w_exp10f.c: Likewise.
58889         * math/w_exp10l.c: Likewise.
58890         * math/w_exp2.c: Likewise.
58891         * math/w_exp2f.c: Likewise.
58892         * math/w_fmod.c: Likewise.
58893         * math/w_fmodf.c: Likewise.
58894         * math/w_fmodl.c: Likewise.
58895         * math/w_hypot.c: Likewise.
58896         * math/w_hypotf.c: Likewise.
58897         * math/w_hypotl.c: Likewise.
58898         * math/w_j0.c: Likewise.
58899         * math/w_j0f.c: Likewise.
58900         * math/w_j0l.c: Likewise.
58901         * math/w_j1.c: Likewise.
58902         * math/w_j1f.c: Likewise.
58903         * math/w_j1l.c: Likewise.
58904         * math/w_jn.c: Likewise.
58905         * math/w_jnf.c: Likewise.
58906         * math/w_jnl.c: Likewise.
58907         * math/w_lgamma.c: Likewise.
58908         * math/w_lgamma_r.c: Likewise.
58909         * math/w_lgammaf.c: Likewise.
58910         * math/w_lgammaf_r.c: Likewise.
58911         * math/w_lgammal.c: Likewise.
58912         * math/w_lgammal_r.c: Likewise.
58913         * math/w_log.c: Likewise.
58914         * math/w_log10.c: Likewise.
58915         * math/w_log10f.c: Likewise.
58916         * math/w_log10l.c: Likewise.
58917         * math/w_log2.c: Likewise.
58918         * math/w_log2f.c: Likewise.
58919         * math/w_log2l.c: Likewise.
58920         * math/w_logf.c: Likewise.
58921         * math/w_logl.c: Likewise.
58922         * math/w_pow.c: Likewise.
58923         * math/w_powf.c: Likewise.
58924         * math/w_powl.c: Likewise.
58925         * math/w_remainder.c: Likewise.
58926         * math/w_remainderf.c: Likewise.
58927         * math/w_remainderl.c: Likewise.
58928         * math/w_scalb.c: Likewise.
58929         * math/w_scalbf.c: Likewise.
58930         * math/w_scalbl.c: Likewise.
58931         * math/w_sinh.c: Likewise.
58932         * math/w_sinhf.c: Likewise.
58933         * math/w_sinhl.c: Likewise.
58934         * math/w_sqrt.c: Likewise.
58935         * math/w_sqrtf.c: Likewise.
58936         * math/w_sqrtl.c: Likewise.
58937         * math/w_tgamma.c: Likewise.
58938         * math/w_tgammaf.c: Likewise.
58939         * math/w_tgammal.c: Likewise.
58941         * po/ja.po: Update from translation team.
58943 2011-09-29  Andreas Jaeger  <aj@suse.de>
58945         [BZ #13179]
58946         * sunrpc/netname.c (netname2host): Fix logic.
58948         [BZ #6779]
58949         [BZ #6783]
58950         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58951         correctly.
58952         * math/w_remainder.c (__remainder): Likewise.
58953         * math/w_remainderf.c (__remainderf): Likewise.
58954         * math/libm-test.inc (remainder_test): Add test cases.
58956 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58958         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58959         sdiv_qrnnd.
58961 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58963         * string/test-memcmp.c: Avoid unncessary #defines.
58964         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58966 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58968         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58969         Use new sse2 version for core i3 - i7 as it's faster
58970         than sse42 version.
58971         (bit_Prefer_PMINUB_for_stringop): New.
58972         * sysdeps/x86_64/rawmemchr.S: Update.
58973         Replace with faster SSE2 version.
58974         * sysdeps/x86_64/memrchr.S: New file.
58975         * sysdeps/x86_64/memchr.S: Update.
58976         Replace with faster SSE2 version.
58978 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58980         * elf/dl-load.c (lose): Add cast to avoid warning.
58982 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58984         * po/ca.po: Update from translation team.
58986         * inet/getnetgrent_r.c: Hook up nscd.
58987         * nscd/Makefile (routines): Add nscd_netgroup.
58988         (nscd-modules): Add netgroupcache.
58989         (CFLAGS-netgroupcache.c): Define.
58990         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58991         (cache_search): Add const to second parameter.
58992         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58993         INNETGR.
58994         (dbs): Add netgrdb entry.
58995         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58996         (verify_persistent_db): Handle netgrdb.
58997         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58998         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58999         GETFDNETGR.
59000         (netgroup_response_header): Define.
59001         (innetgroup_response_header): Define.
59002         (datahead): Add netgroup_response_header and innetgroup_response_header
59003         elements.
59004         * nscd/nscd.conf: Add entries for netgroup cache.
59005         * nscd/nscd.h (dbtype): Add netgrdb.
59006         (_PATH_NSCD_NETGROUP_DB): Define.
59007         (netgroup_iov_disabled): Declare.
59008         (xmalloc, xcalloc, xrealloc): Move declarations here.
59009         (cache_search): Adjust prototype.
59010         Add netgroup-related prototypes.
59011         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59012         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59013         (__nscd_innetgr): Declare.
59014         * nscd/selinux.c (perms): Use access_vector_t as element type and
59015         add netgroup-related initializers.
59016         * nscd/netgroupcache.c: New file.
59017         * nscd/nscd_netgroup.c: New file.
59018         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59019         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59020         For four parameters use innetgr.
59021         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59022         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59023         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59024         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59026         * nscd/connections.c (register_traced_file): Don't register file
59027         for disabled databases.
59029 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59031         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59033         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59034         from tree and freeing node.
59036 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59038         * nss/nsswitch.c (__nss_database_lookup): Handle
59039         nss_parse_service_list out of memory case.
59041 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59043         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59044         out of memory case.
59046 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59048         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59049         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59050         pass it down.
59051         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59052         elf_machine_rela, elf_machine_lazy_rel.
59053         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59054         (ELF_DYNAMIC_DO_REL): Likewise.
59055         (ELF_DYNAMIC_DO_RELA): Likewise.
59056         (ELF_DYNAMIC_RELOCATE): Likewise.
59057         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59058         to ELF_DYNAMIC_DO_REL.
59059         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59060         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59061         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59062         elf_machine_rela.
59063         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59064         skip_ifunc, don't call ifunc function if non-zero.
59065         (elf_machine_rela): Likewise.
59066         (elf_machine_lazy_rel): Likewise.
59067         (elf_machine_lazy_rela): Likewise.
59068         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59069         (elf_machine_lazy_rel): Likewise.
59070         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59071         Likewise.
59072         (elf_machine_lazy_rel): Likewise.
59073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59074         Likewise.
59075         (elf_machine_lazy_rel): Likewise.
59076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59077         (elf_machine_lazy_rel): Likewise.
59078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59079         (elf_machine_lazy_rel): Likewise.
59080         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59081         (elf_machine_lazy_rel): Likewise.
59082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59083         (elf_machine_lazy_rel): Likewise.
59084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59085         (elf_machine_lazy_rel): Likewise.
59086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59087         (elf_machine_lazy_rel): Likewise.
59089 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59091         * nss/nss_files/files-init.c (_nss_files_init): Use static
59092         initialization for all the *_traced_file variables.
59094 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59096         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59098 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59100         [BZ #13226]
59101         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59103 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59106         Reread the line before reparsing it.
59108 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59110         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59112 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59113             Maxim Kuvyrkov  <maxim@codesourcery.com>
59114             Joseph Myers  <joseph@codesourcery.com>
59116         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59117         if needed for __stack_chk_guard.
59119 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59121         * sysdeps/posix/spawni.c (script_execute): Always define it.
59122         It will be optimized away if unused.
59123         (maybe_script_execute): New function.
59124         (__spawni): Call it.
59126         * Makerules: Don't include tls.make.
59127         (config-tls): Always set to thread.
59128         * tls.make.c: File removed.
59130 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59132         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59133         * config.make.in (CPPFLAGS-config): New substituted variable.
59135 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59139         [BZ #13192]
59140         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59141         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59143 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59145         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59146         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59148         (CALL_FAIL): Likewise.
59149         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59150         (CALL_FAIL): Macro removed.
59151         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59153 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59155         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59156         for __FINITE_MATH_ONLY__ == 1.
59158 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59160         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59161         __ieee754_sqrt instead of sqrt.
59162         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59163         __ieee754_sqrtf instead of sqrtf.
59164         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59165         __floorf instead of floorf.
59166         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59167         __floorf, __truncf instead of floorf, truncf.
59169 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59171         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59173         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59174         __extern_always_inline.
59175         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59176         32-bit.
59178 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59180         * elf/rtld.c (dl_main): Also relocate in dependency order when
59181         doing symbol dependency testing.
59183 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59186         Always define `refsym'.
59188 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59190         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59191         (__FD_ELT): Renamed from __FDELT.
59192         * misc/bits/select2.h (__FD_ELT): Likewise.
59193         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59194         __FD_MASK instead of __FDELT, __FDMASK.
59195         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59196         Likewise.
59197         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59198         Likewise.
59200         * elf/Makefile (gen-ldd): Fix pattern.
59202         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59203         (init_tls): Likewise.
59205 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59209 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59211         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59212         `struct cmsghdr *' instead of `void *'.
59213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59214         Likewise.
59216 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59218         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59219         if non-absolute.
59220         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59221         ldd_rewrite_script.
59223 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59225         * configure.in: Remove --with-tls option.
59226         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59227         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59228         out in case it is missing.
59229         * sysdeps/ia64/elf/configure.in: Likewise.
59230         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59231         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59232         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59233         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59234         * sysdeps/sh/elf/configure.in: Likewise.
59235         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59236         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59237         * sysdeps/x86_64/elf/configure.in: Likewise.
59238         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59239         * sysdeps/mach/hurd/tls.h: Likewise.
59241         [BZ #13067]
59242         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59244         [BZ #13090]
59245         * configure.in: Fix use of AC_INIT.
59247         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59249 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59251         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59252         __set_errno.
59253         * malloc/hooks.c: Likewise.
59255         [BZ #11929]
59256         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59257         variables statically.
59258         (narenas): Initialize.
59259         (list_lock): Initialize.
59260         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59261         initializtion of main_arena and list_lock.  Small cleanups.
59262         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59263         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59264         Add initializers to main_arena and mp_.
59265         (malloc_state): Remove pagesize member.  Change all users to use
59266         GLRO(dl_pagesize).
59268         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59269         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59270         is always initialized.
59272         * malloc/malloc.c: Removed unused configurations and dead code.
59273         * malloc/arena.c: Likewise.
59274         * malloc/hooks.c: Likewise.
59275         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59277         * include/tls.h: Removed.  USE___THREAD must always be defined.
59278         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59279         * elf/dl-libc.c: Likewise.
59280         * elf/dl-tsd.c: Likewise.
59281         * include/errno.h: Likewise.
59282         * include/netdb.h: Likewise.
59283         * include/resolv.h: Likewise.
59284         * inet/herrno-loc.c: Likewise.
59285         * inet/herrno.c: Likewise.
59286         * malloc/arena.c: Likewise.
59287         * malloc/hooks.c: Likewise.
59288         * malloc/malloc.c: Likewise.
59289         * resolv/res-state.c: Likewise.
59290         * resolv/res_libc.c: Likewise.
59291         * sysdeps/i386/dl-machine.h: Likewise.
59292         * sysdeps/ia64/dl-machine.h: Likewise.
59293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59297         * sysdeps/sh/dl-machine.h: Likewise.
59298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59300         * sysdeps/unix/i386/sysdep.S: Likewise.
59301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59302         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59311         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59312         * sysdeps/x86_64/dl-machine.h: Likewise.
59313         * tls.make.c: Likewise.
59315         * configure.in: Remove --with-__thread option.  Make tests for
59316         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59317         tls_model attribute fail if no support is available.  Remove
59318         USE_IN_LIBIO.
59319         * Makeconfig: Adjust for dropped configure option.  All features are
59320         now mandatory.
59321         * Makerules: Likewise.
59322         * Versions.def: Likewise.
59323         * argp/argp-fmtstream.c: Likewise.
59324         * argp/argp-fmtstream.h: Likewise.
59325         * argp/argp-help.c: Likewise.
59326         * assert/assert.c: Likewise.
59327         * config.h.in: Likewise.
59328         * config.make.in: Likewise.
59329         * configure: Likewise.
59330         * configure.in: Likewise.
59331         * csu/Versions: Likewise.
59332         * csu/init.c: Likewise.
59333         * elf/tst-audit2.c: Likewise.
59334         * elf/tst-tls10.c: Likewise.
59335         * elf/tst-tls10.h: Likewise.
59336         * elf/tst-tls11.c: Likewise.
59337         * elf/tst-tls12.c: Likewise.
59338         * elf/tst-tls14.c: Likewise.
59339         * elf/tst-tlsmod11.c: Likewise.
59340         * elf/tst-tlsmod12.c: Likewise.
59341         * elf/tst-tlsmod13.c: Likewise.
59342         * elf/tst-tlsmod13a.c: Likewise.
59343         * elf/tst-tlsmod14a.c: Likewise.
59344         * elf/tst-tlsmod15b.c: Likewise.
59345         * elf/tst-tlsmod16a.c: Likewise.
59346         * elf/tst-tlsmod16b.c: Likewise.
59347         * elf/tst-tlsmod7.c: Likewise.
59348         * elf/tst-tlsmod8.c: Likewise.
59349         * elf/tst-tlsmod9.c: Likewise.
59350         * gmon/gmon.c: Likewise.
59351         * grp/fgetgrent_r.c: Likewise.
59352         * grp/putgrent.c: Likewise.
59353         * hurd/fopenport.c: Likewise.
59354         * include/libc-symbols.h: Likewise.
59355         * include/tls.h: Likewise.
59356         * intl/gettextP.h: Likewise.
59357         * intl/loadinfo.h: Likewise.
59358         * locale/global-locale.c: Likewise.
59359         * locale/localeinfo.h: Likewise.
59360         * mach/devstream.c: Likewise.
59361         * malloc/arena.c: Likewise.
59362         * malloc/set-freeres.c: Likewise.
59363         * misc/err.c: Likewise.
59364         * misc/getttyent.c: Likewise.
59365         * misc/mntent_r.c: Likewise.
59366         * posix/getopt.c: Likewise.
59367         * posix/wordexp.c: Likewise.
59368         * pwd/fgetpwent_r.c: Likewise.
59369         * resolv/Versions: Likewise.
59370         * resolv/res_hconf.c: Likewise.
59371         * shadow/fgetspent_r.c: Likewise.
59372         * shadow/putspent.c: Likewise.
59373         * stdio-common/printf_fphex.c: Likewise.
59374         * stdio-common/tmpfile.c: Likewise.
59375         * stdlib/abort.c: Likewise.
59376         * stdlib/fmtmsg.c: Likewise.
59377         * sunrpc/auth_unix.c: Likewise.
59378         * sunrpc/clnt_perr.c: Likewise.
59379         * sunrpc/clnt_tcp.c: Likewise.
59380         * sunrpc/clnt_udp.c: Likewise.
59381         * sunrpc/clnt_unix.c: Likewise.
59382         * sunrpc/openchild.c: Likewise.
59383         * sunrpc/svc_simple.c: Likewise.
59384         * sunrpc/svc_tcp.c: Likewise.
59385         * sunrpc/svc_udp.c: Likewise.
59386         * sunrpc/svc_unix.c: Likewise.
59387         * sunrpc/xdr.c: Likewise.
59388         * sunrpc/xdr_array.c: Likewise.
59389         * sunrpc/xdr_rec.c: Likewise.
59390         * sunrpc/xdr_ref.c: Likewise.
59391         * sunrpc/xdr_stdio.c: Likewise.
59393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59395         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59397 2011-07-03  Andreas Jaeger  <aj@suse.de>
59399         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59400         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59401         regenerate with gen-libm-tests.pl.
59403 2010-05-12  Petr Baudis  <pasky@suse.cz>
59405         [BZ #11589]
59406         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59407         around j0() zero points by switching to j1().
59408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59411         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59416         instead of 0.
59417         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59418         instead of 0.
59419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59420         Patch in part by Pavel Roskin <proski@gnu.org>.
59422         [BZ #13138]
59423         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59424         realloc.
59425         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59426         Free memory block if necessary.
59428         [BZ #12847]
59429         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59430         be NULL.  Don't lock in this case.
59432 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59434         * elf/elf.h (ELFOSABI_GNU): New macro.
59435         (ELFOSABI_LINUX): Define to that.
59437 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59439         * string/strncat.c (strncat): Undef the symbol in case it has been
59440         defined in bits/string.h.
59442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59444         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59446         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59447         link map.
59449 2011-08-17  Andreas Jaeger  <aj@suse.de>
59451         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59453 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59454             Ian Lance Taylor  <iant@google.com>
59456         * math/libm-test.inc (lround_test): New testcase.
59457         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59459 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59461         * Makefile: Remove support for automatic cvs check-ins.
59462         * Makerules: Likewise.
59463         * config.make.in: Likewise.
59464         * configure.in: Likewise.
59465         * intl/Makefile: Likewise.
59466         * locale/Makefile: Likewise.
59467         * po/Makefile: Likewise.
59468         * posix/Makefile: Likewise.
59469         * sysdeps/gnu/Makefile: Likewise.
59470         * sysdeps/mach/hurd/Makefile: Likewise.
59471         * sysdeps/sparc/sparc32/Makefile: Likewise.
59473         [BZ #13118]
59474         * posix/Makefile (bug-regex32-ENV): Define.
59475         Patch by John Stanley <jpsinthemix@verizon.net>.
59477         * misc/Makefile (headers): Add bits/select2.h.
59478         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59479         * misc/bits/select2.h: New file.
59480         * include/bits/select2.h: New file.
59481         * debug/Makefile (routines): Add fdelt_chk.
59482         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59483         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59484         FD_ISSET.
59485         * debug/fdelt_chk.c: New file.
59487         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59488         * wcsmbs/test-wmemcmp.c: Likewise.
59489         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59490         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59492 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59494         * string/Makefile (strop-tests): Add memcmp.
59495         * string/test-wmemcmp.c: New file.
59496         * string/test-memcmp.c: Add wmemcmp support.
59498 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59500         [BZ #13153]
59501         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59502         2011-07-19 change.
59504         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59505         garbage value in a __mach_port_mod_refs call in the cases of the
59506         task-self and thread-self ports.
59508 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59510         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59512 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59514         * elf/dl-load.c (lose): Check for non-null L.
59516 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59518         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59520         * elf/dl-libc.c (dlerror_run): Pass back error code from
59521         dl_catch_error.
59523         [BZ #13123]
59524         * elf/dl-load.c (lose): Free l_origin if it is valid.
59526         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59527         names.
59528         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59533         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59535 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59537         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59538         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59540         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59541         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59542         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59543         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59544         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59545         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59546         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59548 2011-08-15  Alan Modra  <amodra@gmail.com>
59550         [BZ #13092]
59551         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59552         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59553         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59554         ppc_mcount to static-only-routines.
59555         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59556         __mcount_internal.
59557         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59558         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59560 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59563         for finite and infinity parameters.
59565 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59568         and add nop instructions for throughput optimization.
59569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59571 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59573         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59574         aligned copy for power7 with vector-scalar instructions.
59575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59577 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59580         AVX check.
59582 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59584         [BZ #13144]
59585         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59586         last change.
59588 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59590         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59591         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59592         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59594         clock_gettime.
59596 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59598         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59599         Forgot to demangle the pointer.
59601         * sysdeps/i386/sysdep.h: Define atom_text_section.
59602         * sysdeps/x86_64/sysdep.h: Likewise.
59603         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59604         section with atom_text_section.
59605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59611         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59612         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59613         already be defined.  Change to take two parameters and don't assign
59614         result to variable.  Adjust all users.
59615         Define INTERNAL_GETTIME if not already defined.
59616         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59617         call.
59618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59619         HAVE_CLOCK_GETTIME_VSYSCALL.
59620         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59623         gettimeofday vsyscall, just use time.
59625 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59628         <errno.h>.
59630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59632         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59633         syscall on x86-64.
59634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59635         syscall.
59636         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59638         syscall if possible.
59640 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59642         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59643         e_ident.  Don't pass to find_mapsXX.
59644         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59646 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59649         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59650         * sysdeps/x86_64/multiarch/strchr.S: Update.
59651         Check bit_slow_BSF bit.
59652         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59653         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59654         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59658         [BZ #13134]
59659         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59660         before glibc 2.15.
59661         (tryshell): Define.
59662         (__spawni): Change last parameter to be flag.  Test
59663         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59664         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59665         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59666         * posix/spawni.c: Likewise.
59667         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59668         * posix/spawnp.c: Likewise.  Change normal version to use
59669         SPAWN_XFLAGS_USE_PATH.
59670         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59671         SPAWN_XFLAGS_TRY_SHELL.
59673         [BZ #13150]
59674         * posix/glob.h: Remove gcc 1.x support.
59676         [BZ #13068]
59677         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59679 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59682         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59683         strrchr-sse2-bsf
59684         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59685         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59686         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59688         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59689         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59691 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59693         * sysdeps/x86_64/wcscmp.S: New file.
59695         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59696         wcscmp-c wcscmp-sse2
59697         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59698         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59699         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59700         * wcsmbs/wcscmp.c: Allow renaming.
59702 2011-09-05  David S. Miller  <davem@davemloft.net>
59704         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59705         stack slot, rather than the struct return pointer slot.
59706         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59707         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59711 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59713         * po/ja.po: Update from translation team.
59715         [BZ #13144]
59716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59717         kernel in 64-bit binaries.
59719 2011-09-01  David S. Miller  <davem@davemloft.net>
59721         * elf/elf.h (HWCAP_SPARC_*): Move to..
59722         * sysdeps/sparc/sysdep.h: this new file and add new values.
59723         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59724         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59725         _DL_HWCAP_COUNT to 24.
59726         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59727         entries.
59728         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59729         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59730         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59732         instead of magic constants.
59733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59735 2011-08-31  David S. Miller  <davem@davemloft.net>
59737         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59739         Reimplement to do errno handling inline.
59740         (SYSCALL_ERROR_HANDLER): New macro.
59741         (__SYSCALL_STRING): Do not do errno handling in asm.
59742         (__CLONE_SYSCALL_STRING): Delete.
59743         (__INTERNAL_SYSCALL_STRING): Delete.
59744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59745         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59746         (PSEUDO): Reimplement to do errno handling inline.
59747         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59748         (SYSCALL_ERROR_HANDLER): New macro.
59749         (__SYSCALL_STRING): Do not do errno handling in asm.
59750         (__CLONE_SYSCALL_STRING): Delete.
59751         (__INTERNAL_SYSCALL_STRING): Delete.
59752         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59753         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59754         i386.
59755         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59756         (inline_syscall*): Add 'err' argument.
59757         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59758         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59759         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59760         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59762         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59763         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59765 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59767         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59769 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59771         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59772         directive.
59774 2011-08-24  David S. Miller  <davem@davemloft.net>
59776         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59778 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59780         * elf/Makefile: Add rules to build and run unload8 test.
59781         * elf/unload8.c: New file.
59782         * elf/unload8mod1.c: New file.
59783         * elf/unload8mod1x.c: New file.
59784         * elf/unload8mod2.c: New file.
59785         * elf/unload8mod3.c: New file.
59787         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59788         it wasn't used.
59790 2011-08-23  David S. Miller  <davem@davemloft.net>
59792         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59793         subtract stack bias.
59794         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59795         %sp not %fp in calculations.
59796         (_JMPBUF_UNWINDS_ADJ): Likewise.
59798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59799         (aio_suspend): Call it to force an exception region around the
59800         AIO_MISC_WAIT() invocation.
59802 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59804         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59805         backslash.
59807 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59809         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59810         protection macro.
59811         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59812         and <dl-machine.h>.
59813         (Elf64_FuncDesc): Remove.
59815 2011-08-22  David S. Miller  <davem@davemloft.net>
59817         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59818         sigaltstack check, add missing cfi directives.
59819         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59820         missing cfi directives, and sigaltstack handling.
59822 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59824         [BZ #11724]
59825         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59826         object is seen twice.
59827         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59829         * elf/Makefile (distribute): Add tst-initorder2.c.
59830         (tests): Add tst-initorder2.
59831         (modules-names): Add tst-initorder2a tst-initorder2b
59832         tst-initorder2c tst-initorder2d.  Add rules to build them.
59833         ($(objpfx)tst-initorder2.out): New rule.
59834         * elf/tst-initorder2.c: New file.
59835         * elf/tst-initorder2.exp: New file.
59837 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59839         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59841         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59842         dependencies back to end of function.
59844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59845         $(elfobjdir)/ld.so.
59847 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59850         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59852         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59853         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59854         of __vdso_gettimeofday.
59855         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59856         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59857         attribute_hidden.
59858         (_libc_vdso_platform_setup): Remove initialization of
59859         __vdso_gettimeofday and __vdso_time.
59861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59863         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59864         and fgetc_unlocked.
59865         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59866         getc_unlocked.
59868         * elf/dl-open.c (add_to_global): Report additions to the global scope
59869         for LD_DEBUG=scopes.
59870         (dl_open_worker): Also print scope of newly loaded dependencies.
59871         (_dl_show_scope): Indicate if there is no scope.
59873         [BZ #13114]
59874         * stdio-common/Makefile (tests): Add bug24.
59875         * stdio-common/bug24.c: New file.
59877 2011-08-19  Andreas Jaeger  <aj@suse.de>
59879         [BZ #13114]
59880         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59881         non-existant file when using close-on-exec mode.
59883 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59886         the very first instruction.
59888         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59889         the CFI state in the end.
59890         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59891         inclusion of dl-trampoline.h.
59892         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59894 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59896         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59897         expectations for long double.
59899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59900         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59902 2011-08-14  David S. Miller  <davem@davemloft.net>
59904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59905         artificual limit depends upon the system page size.
59907 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59909         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59910         * resolv/Makefile: Define CFLAGS-libresolv.
59912 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59914         * nss/makedb.c (compute_tables): Make variables used in nested
59915         function static.
59917 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59919         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59920         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59921         if buffer was too small.
59923         * elf/pldd.c (main): Attach to all threads in the process.
59924         Rewrite /proc handling to use *at functions.
59926 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59928         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59929         specifies first scope to show.
59930         (dl_open_worker): Update callers.  Move printing scope of new
59931         object to before the relocation.
59932         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59933         * sysdeps/generic/ldsodefs.h: Update declaration.
59935         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59936         string for the scope number.
59938 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59940         * nscd/servicescache.c (cache_addserv): Make sure written is always
59941         initialized.
59943 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59945         * sysdeps/i386/i486/bits/atomic.h
59946         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59947         statement expression, so as to suppress "set but not used" warning.
59948         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59950         * string/strncat.c (STRNCAT): Use prototype definition.
59952         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59953         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59954         -Iprograms here.
59955         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59956         (localedef-modules): Add localedef.
59957         (locale-modules): Add locale.
59959         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59960         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59961         to avoid a warning.
59963 2011-08-14  David S. Miller  <davem@davemloft.net>
59965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59966         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59968 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59970         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59971         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59972         * elf/rtld.c (dl_main): Set l_name of vDSO.
59973         Call _dl_show_scope when DL_DEBUG_SCOPES.
59974         (process_dl_debug): Recognize scopes flag and also set it for all.
59975         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59976         Declare _dl_show_scope.
59978         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59979         (do_dlopen): Pass caller_dlopen to dl_open.
59980         (__libc_dlopen_mode): Initialize caller_dlopen.
59982         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59983         of libc.  Make tolower call locale-independent.  Optimize a bit by
59984         using isdigit instead of isalnum.
59985         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59987 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59989         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59990         was a dependency or dynamically loaded.
59992 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59994         * intl/l10nflist.c: Allow architecture-specific pop function.
59995         * sysdeps/x86_64/l10nflist.c: New file.
59997         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59998         classification.
60000 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60002         * include/dirent.h: Add libc_hidden_proto for scandirat and
60003         scandirat64.  Don't declare __scandirat64.
60004         * dirent/scandirat.c: Add libc_hidden_def.
60005         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60006         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60008 2011-08-10  David S. Miller  <davem@davemloft.net>
60010         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60011         enum.
60012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60016 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60018         * Versions.def [libc]: Add GLIBC_2.15.
60019         * dirent/Makefile (routines): Add scandirat and scandirat64.
60020         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60021         GLIBC_2.15.
60022         * dirent/dirent.h: Declare scandirat and scandirat64.
60023         * dirent/scandirat.c: New file.
60024         * dirent/scandirat64.c: New file.
60025         * sysdeps/wordsize-64/scandirat.c: New file.
60026         * sysdeps/wordsize-64/scandirat64.c: New file.
60027         * dirent/opendir.c: Define opendirat.
60028         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60029         using scandirat.
60030         * dirent/scandir64.c: Adjust for scandir.c change.
60031         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60032         __scandirat64, and __scandir_cancel_handler.
60033         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60034         additional parameter and use openat instead of open (outside of ld.so).
60035         Add new __opendir as wrapper around __opendirat.
60036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60037         here without requiring old scandirat implementation.
60039 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60041         * dirent/scandir.c (cancel_handler): Renamed to
60042         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60043         defined.  Adjust users.
60044         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60047 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60049         * string/test-string.h (IMPL): Use __STRING to expand name and then
60050         stringify it.
60052         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60053         of cleanups.
60055 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60057         * string/Makefile: Update.
60058         (strop-tests): Append strncat.
60059         * string/test-wcscmp.c: New file.
60060         New comprehensive test for wcscmp.
60061         * string/test-strcmp.c: Update.
60062         (WIDE): New define.
60064 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60066         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60067         line.
60069 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60072         encoding to ACE if AI_IDN.
60074 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60077         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60079 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60081         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60082         Fix overflow bug in strncat.
60083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60085         * string/test-strncat.c: Update.
60086         Add new tests for checking overflow bugs.
60088 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60091         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60092         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60093         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60095         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60096         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60097         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60098         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60101         (USE_AS_STRCAT): Define.
60102         Add strcat and strncat support.
60103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60105 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60107         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60108         __n bigger than INT_MAX+1.
60109         (__strncmp_g): Likewise.
60111 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60113         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60114         * libio/stido.h: Likewise.
60116         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60117         (AF_NFC): Define.
60118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60119         (AF_NFC): Define.
60121         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60124         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60127         [BZ #13021]
60128         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60129         installed.
60131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60132         typo.
60133         (_dl_x86_64_save_sse): Likewise.
60135 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60138         OSXSAVE.
60139         (_dl_x86_64_save_sse): Likewise.
60141         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60143         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60145 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60148         change.
60149         (_dl_x86_64_save_sse): Use correct AVX check.
60151 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60154         bug in strncpy/strncat.
60155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60157 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60159         * string/tester.c (test_strcat): Add tests for different alignments
60160         of source and destination.
60161         (test_strncat): Likewise.
60163 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60165         [BZ #12852]
60166         * posix/glob.c (glob): Check passed in values before using them in
60167         expressions to avoid some overflows.
60168         (glob_in_dir): Likewise.
60170         [BZ #13007]
60171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60172         check for AVX enablement so that we don't crash with old kernels and
60173         new hardware.
60174         * elf/tst-audit4.c: Add same checks here.
60175         * elf/tst-audit6.c: Likewise.
60177         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60179 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60181         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60185         * po/cs.po: Update from translation team.
60186         * po/bg.po: Likewise.
60188 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60190         * misc/sys/cdefs.h: Add support for const attribute.
60191         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60192         to gnu_dev_{major,minor,makedev} functions.
60194 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60196         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60198 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60200         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60201         strlen results.
60203 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60206         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60207         register in order to avoid conflicts with the soft frame pointer
60208         being held in r11 when necessary.
60209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60210         (INTERNAL_VSYSCALL_NCS): Likewise.
60212 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60214         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60215         * elf/dl-fini.c (_dl_fini): Adjust caller.
60216         * elf/dl-close.c (_dl_close_worker): Likewise.
60217         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60219 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60221         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60222         "aux_cache->nlibs < 0".
60224         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60225         in the reload-count case.
60227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60230         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60231         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60232         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60233         * sysdeps/x86_64/multiarch/strcat.S: New file.
60234         * sysdeps/x86_64/multiarch/strncat.S: New file.
60235         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60236         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60237         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60238         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60240         (USE_AS_STRCAT): Define.
60241         Add strcat and strncat support.
60242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60243         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60244         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60245         * string/strncat.c: Update.
60246         (USE_AS_STRNCAT): Define.
60247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60248         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60249         and i7.
60250         * sysdeps/x86_64/multiarch/init-arch.h
60251         (bit_Prefer_PMINUB_for_stringop): New.
60252         (index_Prefer_PMINUB_for_stringop): Likewise.
60253         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60254         bit_Prefer_PMINUB_for_stringop.
60256 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60258         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60259         buffer64.
60260         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60261         of casting of buffer.
60262         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60263         buffer32 and buffer64.
60264         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60265         writes instead of casting of buffer.
60266         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60267         buffer32.
60268         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60269         casting of buffer.
60271 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60273         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60275 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60277         * nscd/nscd.c (termination_handler): Don't do anything for a database
60278         if it has not yet been initialized.
60280 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60282         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60284 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60286         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60288 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60290         * po/nl.po: Update from translation team.
60291         * po/sv.po: Likewise.
60293 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60295         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60296         now disallowed by GCC.
60298         * configure.in (use-default-link): Default to yes if a test -shared
60299         link meets our qualifications.
60300         * configure: Regenerated.
60302         * config.make.in (output-format): New variable.
60303         * configure.in: Check for ld --print-output-format support.
60304         * configure: Regenerated.
60305         * Makerules ($(common-objpfx)format.lds)
60306         [$(output-format) != unknown]: Just use $(output-format),
60307         instead of the linker-script munging.
60309 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60311         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60312         of $(common-objpfx)shlib.lds.
60313         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60315         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60316         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60318         * configure.in (-z relro check): Adjust test code to add a large
60319         writable data section after it.
60320         * configure: Regenerated.
60322 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60324         * configure.in (-z relro check): Fix test code to make the variable
60325         truly const.
60326         * configure: Regenerated.
60328 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60330         * nscd/nscd.h (struct traced_file): Define.
60331         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60332         elements.  Add traced_files.
60333         (inotify_fd): Declare.
60334         (register_traced_file): Declare.
60335         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60336         (inotify_fd): Export.
60337         (resolv_conf_descr): Remove.
60338         (nscd_init): Move inotify descriptor creation to main.
60339         Don't register files for notification here.
60340         (register_traced_file): New function.
60341         (invalidate_cache): Don't use reset_res to determine whether to call
60342         res_init, go through the list of registered files.
60343         (main_loop_poll): The inotify descriptors are now stored in the
60344         structures for the traced files.
60345         (main_loop_epoll): Likewise
60346         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60347         to __nss_disable_nscd.
60348         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60349         for a database anymore.  Check the records for all the registered
60350         files instead.
60351         * nss/Makefile (libnss_files-routines): Add files-init.
60352         (libnss_db-routines): Add db-init.
60353         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60354         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60355         * nss/nss_db/db-init.c: New file.
60356         * nss/nss_files/files-init.c: New file.
60357         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60358         __nss_lookup_function.
60359         (__nss_lookup_function): Call nss_load_library.
60360         (nss_load_all_libraries): New function.
60361         (__nss_disable_nscd): Take parameter with callback function for files
60362         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60363         used for the cached services.
60364         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60365         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60366         options for features to all the files in nscd.
60368         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60370 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60372         * csu/elf-init.c (__libc_csu_init): Comment typo.
60374 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60376         * po/pl.po: Update from translation team.
60377         * po/ja.po: Likewise.
60378         * po/ru.po: Likewise.
60379         * po/ko.po: Likewise.
60380         * po/fr.po: Likewise.
60382 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60384         * configure.in (.ctors/.dtors header and trailer check):
60385         Use an empirical test on a built program.
60386         * configure: Regenerated.
60388         * configure.in (-z relro check): Use an empirical test on a built DSO.
60389         Detect, but do not require, on ia64.
60390         * configure: Regenerated.
60392         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60393         Update tests that use readelf to use $READELF instead.
60394         * configure: Regenerated.
60396 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60398         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60399         if the result is not used.
60401 2011-07-05  Andreas Jaeger  <aj@suse.de>
60403         [BZ#9696]
60404         * stdlib/tst-strtod.c: Add testcase.
60406 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60408         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60409         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60410         The latter has a higher limit.  Take additional parameter to pass to
60411         the new function.
60412         (__pathconf): Pass file to __statfs_link_max.
60413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60414         __statfs_link_max.
60415         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60416         __statfs_link_max.
60418         [BZ #12868]
60419         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60421         Handle Lustre.
60422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60423         (__statfs_filesize_max): Likewise.
60424         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60426 2011-07-05  Andreas Jaeger  <aj@suse.de>
60428         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60430 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60432         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60433         `status' variable.
60434         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60435         Likewise.
60437 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60439         * Makefile (strop-tests): Add strncat.
60440         * string/test-strncat.c: New file.
60442 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60444         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60446 2011-06-21  Andreas Jaeger  <aj@suse.de>
60448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60449         Copy rule from iconvdata/Makefile.
60451 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60453         [BZ #12922]
60454         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60455         but no long options are defined, just return 'W'.
60457 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60459         [BZ #9696]
60460         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60462 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60464         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60465         netgroups to read.
60466         (innetgr): Likewise.
60468 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60470         * config.make.in (install_root): Default to $(DESTDIR).
60472 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60474         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60476 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60478         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60480         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60481         containing directory rather than embedding absolute directory names.
60483         * scripts/check-local-headers.sh: Rewritten using awk.
60484         Match by word, not by line.  Print error messages for matches.
60485         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60487         * Makerules [shlib-lds-flags empty]:
60488         ($(common-objpfx)libc_pic.opts): New target.
60489         ($(common-objpfx)libc_pic.os.clean): New target.
60490         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60492         * config.make.in (OBJCOPY): New variable.
60493         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60494         * configure: Regenerated.
60496         * config.make.in (use-default-link): New variable.
60497         * configure.in (use_default_link): Grok --with-default-link to set it.
60498         * configure: Regenerated.
60499         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60500         (shlib-lds, shlib-lds-flags): Define to empty.
60502         * Makerules (shlib-lds): New variable.
60503         (shlib-lds-flags): New variable.
60504         (build-shlib, build-moduile, build-module-asneeded): Use it.
60505         ($(common-objpfx)libc.so): Use $(shlib-lds).
60506         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60507         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60509         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60510         DT_FLAGS/DT_FLAGS_1 with zero flags.
60512         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60513         linker script munging.
60515 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60517         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60518         as 128-bit value.
60519         * crypt/sha512.c (sha512_process_block): Perform total addition using
60520         128-bit if possible.
60521         (__sha512_finish_ctx): Likewise.
60522         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60523         as 64-bit value.
60524         * crypt/sha256.c (SWAP64): Define.
60525         (sha256_process_block): Perform total addition using 64-bit if
60526         possible.
60527         (__sha256_finish_ctx): Likewise.
60529 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60531         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60533         * nscd/hstcache.c (cache_addhst): Likewise.
60534         * nscd/grpcache.c (cache_addgr): Likewise.
60535         * nscd/aicache.c (addhstaiX): Likewise
60536         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60538 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60540         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60542         * nscd/hstcache.c (cache_addhst): Likewise.
60543         * nscd/grpcache.c (cache_addgr): Likewise.
60544         * nscd/aicache.c (addhstaiX): Likewise
60546 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60548         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60549         domain only when needed.
60551 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60554         is always restored.
60556 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60558         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60559         are re-adding the entry.
60560         * nscd/servicescache.c (cache_addserv): Likewise.
60562 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60564         * sysdeps/generic/dl-irel.h: fix protection against multiple
60565         inclusions.
60566         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60568 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60570         [BZ #12935]
60571         * malloc/memusage.sh: Fix quoting in message.
60572         * debug/xtrace.sh: Likewise.
60574         * configure.in: Remove support for --experimental-malloc option, make
60575         it the default.
60576         * config.make.in: Likewise.
60577         * malloc/Makefile: Likewise.
60579 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60581         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60582         two-byte characters.
60584 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60586         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60587         AC_CACHE_CHECK invocation.
60588         * configure: Regenerated.
60590         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60592 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60594         [BZ #12350]
60595         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60596         bit from old_res_options.
60598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60600         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60601         value type for setfct.
60603 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60606         __gettimeofday instead of gettimeofday.
60608 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60610         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60612 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60617         info.
60619 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60622         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60623         strcpy-sse2-unaligned strncpy-sse2-unaligned
60624         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60625         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60626         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60627         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60628         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60630         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60631         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60632         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60633         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60634         (STRCPY): Support SSE2 and SSSE3 versions.
60636 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60638         [BZ #12874]
60639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60640         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60641         kernels which artificially limit size of requests.
60643 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60646         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60647         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60648         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60649         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60650         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60651         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60652         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60655         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60656         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60657         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60658         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60659         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60661         Enable unaligned load optimization for Intel Core i3, i5 and i7
60662         processors.
60663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60664         Define.
60665         (index_Fast_Unaligned_Load): Define.
60666         (HAS_FAST_UNALIGNED_LOAD): Define.
60668 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60670         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60672 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60674         [BZ #12907]
60675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60676         until it is clear that the information is realy needed.
60677         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60679 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60683 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60686         /sys/devices/system/cpu/online if it is usable.
60688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60689         reading the information from the /proc filesystem to once a second.
60691 2011-06-21  Andreas Jaeger  <aj@suse.de>
60693         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60694         NULL after inclusion of kernel headers.
60696 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60698         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60699         calls to internal_setent.
60701         [BZ #12885]
60702         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60703         addresses using gethostbyname4_r ignore IPv4 addresses.
60705         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60706         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60708         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60710 2011-06-20  David S. Miller  <davem@davemloft.net>
60712         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60713         inclusions.
60714         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60716         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60717         (elf_irel): Use it.
60718         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60719         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60720         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60721         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60722         * sysdeps/x86_64/dl-irel.h: Likewise.
60724         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60725         * elf/dl-sym.c: Likewise.
60727 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60729         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60730         need to dereference resplen2.
60732 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60734         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60738         * Makeconfig: Define vardbdir and inst_vardbdir.
60739         * nss/Makefile: Add rules to install db-Makefile.
60741         * nss/nss_db/db-XXX.c: Cleanup.
60743         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60744         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60745         GLIBC_PRIVATE.
60746         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60747         * nss/makedb.c: Implement -g option to specify that value strings
60748         are generated and should not be added to table iterated over for
60749         get*ent calls.
60750         * nss/nss_db/db-initgroups.c: New file.
60752         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60753         interface.
60755         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60756         (internal_getgrouplist): Adjust to name change.
60757         Update use_initgroups_entry if this is not the first call.
60758         * nss/databases.def: Add initgroups entry.
60760         * nss/makedb.c (compute_tables): Check result of multiple hash table
60761         sizes to minimize maximum chain length.
60763 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60765         * Versions.def: Add entry for libnss_db.
60766         * shlib-versions: Likewise.
60767         * nss/Makefile: Add rules to build libnss_db.
60768         * nss/Versions: Add libnss_db information.  Organize libnss_files
60769         entries better.
60770         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60771         makedb progra.  Some minor improvements to generate smaller files.
60772         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60773         here from...
60774         * nss/makedb.c: ...here.
60775         Improve database format to be smaller and require less memory at
60776         runtime.
60777         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60778         db anymore.
60779         * nss/nss_db/db-netgrp.c: Likewise.
60780         * nss/nss_db/db-open.c: Likewise.
60781         * nss/nss_files/flies-XXX.x: Adjust comments.
60782         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60783         * nss/nss_files/files-grp.c: Likewise.
60784         * nss/nss_files/files-hosts.c: Likewise.
60785         * nss/nss_files/files-network.c: Likewise.
60786         * nss/nss_files/files-proto.c: Likewise.
60787         * nss/nss_files/files-pwd.c: Likewise.
60788         * nss/nss_files/files-rpc.c: Likewise.
60789         * nss/nss_files/files-service.c: Likewise.
60790         * nss/nss_files/files-sgrp.c: Likewise.
60791         * nss/nss_files/files-spwd.c: Likewise.
60792         * nss/nss_db/db-alias.c: Removed.
60793         * nss/nss_db/dummy-db.h: Removed.
60795 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60797         * nss/makedb.c: Rewritten to not use database library.
60798         * nss/Makefile: Update to build new makedb program.
60800 2011-06-14  Andreas Jaeger  <aj@suse.de>
60802         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60803         memset declaration.
60805 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60808         tmpbuf.
60810 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60812         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60813         * elf/Makefile ($(objpfx)ld.so): Likewise.
60815         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60816         Don't list ld.so twice in dependencies.
60818         * posix/bug-regex31.c: Include <stdlib.h>.
60820         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60822         * nis/nss_compat/compat-spwd.c
60823         (getspent_next_nss_netgr): Remove unused variable.
60824         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60826         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60827         nonmembers" output to use the right array.
60829         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60831         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60833         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60834         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60835         * catgets/gencat.c (read_input_file): Likewise.
60836         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60838         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60839         variable definition inside #if's controlling its use.
60841         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60845         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60847         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60848         unreachable code.
60850         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60852         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60853         * configure: Regenerated.
60855         * Makerules: Revert last change.
60856         * elf/Makefile: Likewise.
60858 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60860         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60861         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60862         (reloc-link): Likewise.
60864 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60866         * elf/Makefile: Add rules to build pldd.
60867         * elf/pldd.c: New file.
60868         * elf/pldd-xx.c: New file.
60870 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60872         * version.h: Update for 2.15 development version.
60874 2011-06-07  David S. Miller  <davem@davemloft.net>
60876         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60877         ifuncs.
60878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60879         elf_machine_lazy_rel): Likewise.
60880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60882         elf_machine_lazy_rel): Likewise.
60883         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60884         dl_hwcap via passed in argument.
60885         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60886         Likewise.
60888 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60890         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60892 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60894         [BZ #12849]
60895         * manual/fdl-1.1.texi: New file, verbatim from:
60896         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60897         * manual/lgpl-2.1.texi: New file, verbatim from:
60898         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60899         * manual/Makefile (licenses): New variable, list those new file names.
60900         (texis): Use it.
60901         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60903         * manual/fdl.texi: File removed.
60904         * manual/lesser.texi: File removed.
60905         * manual/libc.texinfo (Copying, Documentation License):
60906         Use new @include file names, put @appendix directive before @include.
60908 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60910         [BZ #12841]
60911         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60912         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60913         (mq_open): Add __NTH.
60915 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60918         Assume Intel Core i3/i5/i7 processor if AVX is available.
60920 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60923         typo.
60925 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60928         memory.  Use alloca_account.  Fix memory leak when retrying.
60930 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60932         * version.h (RELEASE): Bump for 2.14 release.
60933         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60935         * config.make.in (RANLIB): Remove entry.
60937 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60939         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60940         (libc.pot): Work around missing support for .ksh extension in xgettext.
60942         [BZ #12684]
60943         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60944         if both request failed.
60945         (send_dg): In case of server errors clear resplen or *resplen2.
60947         [BZ #12454]
60948         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60949         when there are multiple maps.
60950         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60951         (_dl_fini): Remove test here.
60953         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60955 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60957         [BZ #12350]
60958         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60959         bit from old_res_options.
60960         (gaih_inet): Likewise.
60962         [BZ #11099]
60963         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60964         as signed.
60966         * resolv/res_init.c (res_setoptions): Make the code more compact.
60968         [BZ #11558]
60969         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60970         set RES_USEVC.
60972         [BZ #11634]
60973         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60975         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60977         [BZ #11781]
60978         * malloc/malloc.h: Declare malloc hook variables as volatile.
60980         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60981         in last patch.
60983         [BZ #11799]
60984         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60985         raise in the comment.
60986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60990 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60992         [BZ #12811]
60993         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60994         grow the buffers more if it already has to be sufficient.
60995         (build_wcs_upper_buffer): Likewise.
60996         * posix/regexec.c (check_matching): Likewise.
60997         (clean_state_log_if_needed): Likewise.
60998         (extend_buffers): Don't enlarge buffers beyond size of the input
60999         buffer.
61000         Patches mostly by Emil Wojak <emil@wojak.eu>.
61001         * posix/bug-regex32.c: New file.
61002         * posix/Makefile (tests): Add bug-regex32.
61004         * locale/findlocale.c (_nl_find_locale): Return right away if
61005         _nl_explode_name failed.
61006         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61008         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61010         * debug/xtrace.sh: Unify messages.
61011         * malloc/memusage.sh: Likewise.
61013         [BZ #12813]
61014         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61015         time symbol from vDSO.  Substitute with vsyscall if not available.
61016         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61017         __vdso_time.
61019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61020         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61021         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61022         Add sendmmsg and internal_sendmmsg.
61023         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61024         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61027         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61028         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61031 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61033         [BZ #12813]
61034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61035         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61036         available.
61037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61038         __vdso_getcpu.
61040         [BZ #12814]
61041         * iconvdata/Makefile (tests): Add bug-iconv9.
61042         * iconvdata/bug-iconv9.c: New file.
61044 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61046         [BZ #12814]
61047         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61049 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61052         (struct user_regs_struct): Change intcs field back to cs.
61054 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61056         * po/ja.po: Update from translation team.
61058 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61060         [BZ #12795]
61061         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61062         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61064 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61066         * stdlib/longlong.h: Update from GCC.
61068 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61070         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61071         parameter name.
61072         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61073         Add parameter name.
61074         (__sysconf): Pass it down.
61076 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61078         [BZ #12671]
61079         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61080         some situations.
61081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61082         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61083         add in in __libc_use_alloca calls.  Adjust callers.
61084         (glob): Use malloc in some situations.
61086         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61087         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61088         pltexit.
61090 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61092         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61093         and CLOCK_BOOTTIME_ALARM.
61095         [BZ #12782]
61096         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61097         is returned.
61099         * string/_strerror.c (__strerror_r): Print negative errors as signed
61100         numbers.
61102         [BZ #12777]
61103         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61104         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61105         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61107         * configure.in: Fix typo in redirection and correct removal of test
61108         files in two cases.
61110         [BZ #12788]
61111         * locale/setlocale.c (new_composite_name): Fix test to check for
61112         identical name of all categories.
61114         [BZ #12792]
61115         * libio/filedoalloc.c (local_isatty): New function.
61116         (_IO_file_doallocate): Use local_isatty.
61117         * stdio-common/perror.c (perror): In case a new stream is used
61118         forward the stream error.
61119         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61120         error flag.
61122 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61124         [BZ #11869]
61125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61126         alloca.
61127         * include/alloca.h (extend_alloca_account): Define.
61129         [BZ #11857]
61130         * posix/regex.h: Fix comments with documentation of user-accessible
61131         fields after compilation and describe correct free'ing of pattern
61132         after re_compile_pattern.
61133         Patch by Reuben Thomas <rrt@sc3d.org>.
61135 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61137         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61138         and -mno-altivec to prevent the compiler from using Altivec and/or
61139         VSX instructions when the corresponding registers are not available.
61141 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61143         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61145 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61147         * libio/freopen.c (freopen): Use __dup2, not dup2.
61148         * libio/freopen64.c (freopen64): Likewise.
61150 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61152         [BZ #12775]
61153         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61154         * math/Makefile (tests): Add test-powl.
61155         (CFLAGS-test-powl.c): Define.
61156         * math/test-powl.c: New file.
61158 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61160         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61162 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61164         [BZ #11837]
61165         * iconvdata/gb18030.c: Update to GB18020-2005.
61167 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61169         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61170         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61171         Patch by Aharon Robbins <arnold@skeeve.com>.
61173         [BZ #11892]
61174         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61175         on the stack.
61177         [BZ #11895]
61178         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61179         through underflows.
61181         [BZ #12766]
61182         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61183         point to strings before performing equality test for error_one_per_line
61184         mode.
61186         [BZ #11697]
61187         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61189         [BZ #11820]
61190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61191         (struct user_fpregs_struct): Avoid __uint*_t types.
61193         [BZ #6420]
61194         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61195         symbol info.  Use it instead of calling _dl_addr locally.
61196         (lock_and_info): New function.
61197         (tr_freehook): Call lock_and_info and pass symbol info as additional
61198         parameter to tr_where.
61199         (tr_mallochook): Likewise.
61200         (tr_reallochook): Likewise.
61201         (tr_memalignhook): Likewise.
61203         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61204         used and couldn't be at all thread-safe.
61206 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61208         * libio/freopen.c (freopen): Don't close old file descriptor
61209         before the new one is opened.  Instead dup the new file descriptor
61210         to the old one after the new stream is created.
61211         * libio/freopen64.c (freopen64): Likewise.
61212         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61213         * libio/fileops.c (_IO_new_file_close_it): Handle new
61214         _IO_FLAGS2_NOCLOSE flag.
61215         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61216         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61217         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61218         _IO_FLAGS2_NOCLOSE flag.
61219         * include/unistd.h: Add hidden_proto for dup3.
61220         Define __have_dup3.
61221         * io/dup3.c: Define hidden symbol.
61222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61224         [BZ #7101]
61225         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61226         when an incomplete long option is used.
61227         * posix/tst-getopt_long1.c: New file.
61228         * posix/Makefile (tests): Add tst-getopt_long1.
61230         [BZ #10138]
61231         * scripts/config.guess: Update from autoconf-2.68.
61232         * scripts/config.sub: Likewise.
61234         [BZ #10157]
61235         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61236         tests into ...
61237         (has_cpuclock): ...this.  New function.
61238         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61239         macro here based on has_cpuclock code.
61241         [BZ #10149]
61242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61243         First byte (not low byte) is now always NUL.
61244         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61247         Use non-cancelable interfaces.
61249         [BZ #9809]
61250         * locale/iso-639.def: Add entry for Sorani.
61252         [BZ #11901]
61253         * include/stdlib.h: Move include protection to the right place.
61254         Define abort_msg_s.  Declare __abort_msg with it.
61255         * stdlib/abort.c (__abort_msg): Adjust type.
61256         * assert/assert.c (__assert_fail_base): New function.  Majority
61257         of code from __assert_fail.  Allocate memory for __abort_msg with
61258         mmap.
61259         (__assert_fail): Now call __assert_fail_base.
61260         * assert/assert-perr.c: Remove bulk of implementation.  Use
61261         __assert_fail_base.
61262         * include/assert.hL Declare __assert_fail_base.
61263         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61264         mmap.
61265         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61267 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61269         [BZ #11952]
61270         [BZ #12453]
61271         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61272         until all modules are registered in the DTV.
61273         * elf/Makefile: Add rules to build and run tst-tls19.
61274         * elf/tst-tls19.c: New file.
61275         * elf/tst-tls19mod1.c: New file.
61276         * elf/tst-tls19mod2.c: New file.
61277         * elf/tst-tls19mod3.c: New file.
61278         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61280         [BZ #12083]
61281         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61282         correctly.
61284         [BZ #12601]
61285         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61286         two-byte sequence errors.
61287         * iconvdata/Makefile (tests): Add bug-iconv8.
61288         * iconvdata/bug-iconv8.c: New file.
61290         [BZ #12626]
61291         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61292         buf2 definition.
61294         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61296         [BZ #12432]
61297         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61298         (dummy_getcfa): New function.
61299         (init): Get _Unwind_GetCFA address, use dummy if not found.
61300         (backtrace_helper): In recursion check, also check whether CFA changes.
61301         (__backtrace): Completely initialize arg.
61303         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61304         storing incomplete byte sequence in state object.  Avoid testing for
61305         guaranteed too small input if we know there is enough data available.
61307 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61309         * Makeconfig (+link-pie): Indent.
61310         * Rules (binaries-pie): Define if $(have-fpie) and
61311         $(build-shared).
61312         (binaries-shared): Also filter out $(binaries-pie).
61313         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61314         * nscd/Makefile (others-pie): Add nscd.
61315         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61316         ($(objpfx)nscd): Remove command override.
61317         * login/Makefile (others-pie): Add pt_chown.
61318         ($(objpfx)pt_chown): Remove command override.
61319         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61320         remove command overrides.
61322 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61324         * libio/tst_putwc.c: Fix error messages.
61326         [BZ #12724]
61327         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61328         currently writing and seek to current position when not.
61329         * libio/Makefile (tests): Add bug-fclose1.
61330         * libio/bug-fclose1.c: New file.
61332 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61334         [BZ #12511]
61335         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61336         don't set DF_1_NODELETE here.
61337         (do_lookup_x): When entering new entry test for copy relocation
61338         and if necessary set DF_1_NODELETE flag.
61339         * elf/tst-unique4.cc: New file.
61340         * elf/tst-unique4.h: New file.
61341         * elf/tst-unique4lib.cc: New file.
61342         * elf/Makefile: Add rules to build and run tst-unique4.
61343         Patch by Piotr Bury <pbury@goahead.com>.
61345 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61347         [BZ #12052]
61348         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61350         [BZ #12625]
61351         * misc/mntent_r.c (addmntent): Flush the stream after the output
61353         [BZ #12393]
61354         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61355         (is_trusted_path_normalize): Skip initial colon.  Append slash
61356         to empty buffer.  Duplicate is_trusted_path code but allow
61357         constructed patch to be prefix.
61358         (is_dst): Allow $ORIGIN followed by /.
61359         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61360         Correct testing of result of is_trusted_path_normalize
61361         (decompose_rpath): Fix warning.
61363 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61365         [BZ #11257]
61366         * grp/initgroups.c (internal_getgrouplist): When we found the service
61367         list through the initgroups entry in nsswitch.conf do not always
61368         continue on a successful lookup.  Don't always use the
61369         __nss_group_database value if it is set.
61370         * nss/nsswitch.conf (initgroups): Change action for successful db
61371         lookup to continue for compatibility.
61373 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61375         [BZ #11532]
61376         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61377         and CP774 modules.
61378         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61379         and CP774 modules.
61380         * iconvdata/tst-tables.sh: Likewise.
61381         * iconvdata/cp770.c: New file.
61382         * iconvdata/cp771.c: New file.
61383         * iconvdata/cp772.c: New file.
61384         * iconvdata/cp773.c: New file.
61385         * iconvdata/cp774.c: New file.
61386         * iconvdata/testdata/CP770: New file.
61387         * iconvdata/testdata/CP770..UTF8: New file.
61388         * iconvdata/testdata/CP771: New file.
61389         * iconvdata/testdata/CP771..UTF8: New file.
61390         * iconvdata/testdata/CP772: New file.
61391         * iconvdata/testdata/CP772..UTF8: New file.
61392         * iconvdata/testdata/CP773: New file.
61393         * iconvdata/testdata/CP773..UTF8: New file.
61394         * iconvdata/testdata/CP774: New file.
61395         * iconvdata/testdata/CP774..UTF8: New file.
61397         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61398         END CHARMAP line.
61399         * iconvdata/gen-8bit-gap.sh: Likewise.
61400         * iconvdata/gen-8bit.sh: Likewise.
61402         * locale/iso-639.def: Add ary entry.
61404         [BZ #11258]
61405         * locale/C-translit.h.in: Add U20A1 transliteration.
61407         [BZ #12178]
61408         * locale/iso-639.def: Add wae entry.
61409         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61411         [BZ #12545]
61412         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61413         for n.
61415         [BZ #12711]
61416         * locale/C-translit.h.in: Add entry for U20B9.
61417         Patch by pravin.d.s@gmail.com.
61419 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61421         [BZ #12713]
61422         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61423         ENAMETOOLONG use generic getcwd.
61424         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61425         in rtld.  Use *stat64.
61426         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61427         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61428         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61429         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61430         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61431         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61432         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61433         __fstatat64 macros.
61434         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61435         * dirent/rewinddir.c: Add libc_hidden_def.
61436         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61437         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61439         * include/dirent.h (__alloc_dir): Add flags parameter.
61440         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61441         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61442         __alloc_dir.
61443         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61444         from fdopendir if O_CLOEXEC is already set.
61446 2011-03-15  Alan Modra  <amodra@gmail.com>
61448         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61449         l_tls_firstbyte_offset non-zero.  Save padding offset in
61450         l_tls_firstbyte_offset for later use.
61451         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61452         freeing static tls block.
61454 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61456         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61457         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61458         being defined by the kernel headers.
61460 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61462         [BZ #12734]
61463         * resolv/resolv.h: Define RES_NOTLDQUERY.
61464         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61465         no-tld-query and set RES_NOTLDQUERY.
61466         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61467         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61468         modern BIND to search name as TLD unless forbidden.
61470 2011-05-07  Petr Baudis  <pasky@suse.cz>
61471             Ulrich Drepper  <drepper@gmail.com>
61473         [BZ #12393]
61474         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61475         (is_trusted_path): ...to here.
61476         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61477         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61478         using is_trusted_path_normalize() in setuid scripts.
61480 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61482         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61483         __BEGIN/__END_DECLS.
61485 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61488         NSS_STATUS_NOTFOUND if no record was found.
61490 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61492         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61493         (headers-not-in-tirpc): Remove rpc/netdb.h
61494         * resolv/netdb.h: Revert last change.
61496 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61498         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61499         circular dependency between libgcc.a and libc.a.
61501 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61503         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61504         * nis/Makefile: Don't install rpcsvc/*.
61505         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61506         instead of <rpc/types.h>.
61507         (MAXHOSTNAMELEN): Define.
61509 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61511         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61513 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61515         [BZ #12714]
61516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61517         gethostbyname4_r when IPv6 results are possible.
61519 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61521         [BZ #12723]
61522         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61523         _PC_PIPE_BUF handling.
61525 2011-04-30  Bruno Haible  <bruno@clisp.org>
61527         [BZ #12717]
61528         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61529         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61530         to 'int'.
61531         * inet/getnameinfo.c (getnameinfo): Likewise.
61533 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61535         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61536         to groups setting in database lookup.
61537         * nss/nsswitch.conf: Add initgroups entry.
61539 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61541         [BZ #12685]
61542         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61543         mode string.
61544         Patch by Eric Blake <eblake@redhat.com>.
61546 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61548         * sunrpc/Makefile (need-export-routines): Add svc_run.
61549         (routines): Remove svc_run.
61550         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61551         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61552         * sunrpc/svc_run.c (svc_run): Likewise.
61553         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61555 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61558         problem in reallocation in last patch.
61560 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61562         * sunrpc/Makefile: Move inclusion of Rules.
61564 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61566         * nss/nss_files/files-initgroups.c: New file.
61567         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61568         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61569         _nss_files_initgroups_dyn.
61571 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61573         * elf/elf.h (R_ARM_IRELATIVE): Define.
61575 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61577         * po/ru.po: Update from translation team.
61579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61581         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61582         dependencies.
61584 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61586         [BZ #12653]
61587         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61588         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61591         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61593 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61595         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61596         differing bytes.
61597         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61601 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61603         [BZ #12420]
61604         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61605         storing it.
61606         * stdlib/bug-getcontext.c: New file.
61607         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61609 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61611         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61612         instructions into .machine "z9-109".
61613         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61616 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61618         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61619         between environment variables and auxiliary vector.
61621 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61623         * Makefile: Add rules to build linkobj/libc.so.
61624         * include/libc-symbols.h: Define libc_hidden_nolink.
61625         * include/rpc/auth.h: Mark functions which are to be hidden.
61626         * include/rpc/auth_des.h: Likewise.
61627         * include/rpc/auth_unix.h: Likewise.
61628         * include/rpc/clnt.h: Likewise.
61629         * include/rpc/des_crypt.h: Likewise.
61630         * include/rpc/key_prot.h: Likewise.
61631         * include/rpc/pmap_clnt.h: Likewise.
61632         * include/rpc/pmap_prot.h: Likewise.
61633         * include/rpc/pmap_rmt.h: Likewise.
61634         * include/rpc/rpc_msg.h: Likewise.
61635         * include/rpc/svc.h: Likewise.
61636         * include/rpc/svc_auth.h: Likewise.
61637         * include/rpc/xdr.h: Likewise.
61638         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61639         * nss/Makefile: Likewise.
61640         * sunrpc/Makefile: Don't install headers.  Build library with normal
61641         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61642         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61643         for the compat linking library.  Remove use of INTDEF/INTUSE.
61644         * sunrpc/auth_none.c: Likewise.
61645         * sunrpc/auth_unix.c: Likewise.
61646         * sunrpc/authdes_prot.c: Likewise.
61647         * sunrpc/authuxprot.c: Likewise.
61648         * sunrpc/clnt_gen.c: Likewise.
61649         * sunrpc/clnt_perr.c: Likewise.
61650         * sunrpc/clnt_raw.c: Likewise.
61651         * sunrpc/clnt_simp.c: Likewise.
61652         * sunrpc/clnt_tcp.c: Likewise.
61653         * sunrpc/clnt_udp.c: Likewise.
61654         * sunrpc/clnt_unix.c: Likewise.
61655         * sunrpc/des_crypt.c: Likewise.
61656         * sunrpc/des_soft.c: Likewise.
61657         * sunrpc/get_myaddr.c: Likewise.
61658         * sunrpc/key_call.c: Likewise.
61659         * sunrpc/key_prot.c: Likewise.
61660         * sunrpc/netname.c: Likewise.
61661         * sunrpc/pm_getmaps.c: Likewise.
61662         * sunrpc/pm_getport.c: Likewise.
61663         * sunrpc/pmap_clnt.c: Likewise.
61664         * sunrpc/pmap_prot.c: Likewise.
61665         * sunrpc/pmap_prot2.c: Likewise.
61666         * sunrpc/pmap_rmt.c: Likewise.
61667         * sunrpc/publickey.c: Likewise.
61668         * sunrpc/rpc_cmsg.c: Likewise.
61669         * sunrpc/rpc_common.c: Likewise.
61670         * sunrpc/rpc_dtable.c: Likewise.
61671         * sunrpc/rpc_prot.c: Likewise.
61672         * sunrpc/rpc_thread.c: Likewise.
61673         * sunrpc/rtime.c: Likewise.
61674         * sunrpc/svc.c: Likewise.
61675         * sunrpc/svc_auth.c: Likewise.
61676         * sunrpc/svc_authux.c: Likewise.
61677         * sunrpc/svc_raw.c: Likewise.
61678         * sunrpc/svc_run.c: Likewise.
61679         * sunrpc/svc_simple.c: Likewise.
61680         * sunrpc/svc_tcp.c: Likewise.
61681         * sunrpc/svc_udp.c: Likewise.
61682         * sunrpc/svc_unix.c: Likewise.
61683         * sunrpc/svcauth_des.c: Likewise.
61684         * sunrpc/xcrypt.c: Likewise.
61685         * sunrpc/xdr.c: Likewise.
61686         * sunrpc/xdr_array.c: Likewise.
61687         * sunrpc/xdr_float.c: Likewise.
61688         * sunrpc/xdr_intXX_t.c: Likewise.
61689         * sunrpc/xdr_mem.c: Likewise.
61690         * sunrpc/xdr_rec.c: Likewise.
61691         * sunrpc/xdr_ref.c: Likewise.
61692         * sunrpc/xdr_sizeof.c: Likewise.
61693         * sunrpc/xdr_stdio.c: Likewise.
61695 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61697         [BZ #12650]
61698         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61699         * sysdeps/ia64/dl-tls.h: Likewise.
61700         * sysdeps/powerpc/dl-tls.h: Likewise.
61701         * sysdeps/s390/dl-tls.h: Likewise.
61702         * sysdeps/sh/dl-tls.h: Likewise.
61703         * sysdeps/sparc/dl-tls.h: Likewise.
61704         * sysdeps/x86_64/dl-tls.h: Likewise.
61705         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61707 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61709         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61710         rpath element also skip the following colon.
61711         (expand_dynamic_string_token): Add is_path parameter and pass
61712         down to DL_DST_REQUIRED and _dl_dst_substitute.
61713         (decompose_rpath): Call expand_dynamic_string_token with
61714         non-zero is_path.  Ignore empty rpaths.
61715         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61716         with zero is_path.
61718 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61721         Make cancelable.
61723 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61725         [BZ #12655]
61726         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61727         Patch by Filipe David Manana <fdmanana@apache.org>.
61729 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61732         Maintain aligned stack.
61733         (CHECK_RSP): Remove unused macro.
61735 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61737         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61738         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61740 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61742         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61744         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61746 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61748         [BZ #12518]
61749         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61750         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61751         * sysdeps/x86_64/memmove.c: New file.
61752         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61753         (memcpy): Renamed to ...
61754         (__new_memcpy): This.
61755         (memcpy): Provide GLIBC_2_14 memcpy.
61756         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61757         (memcpy): Provide GLIBC_2_2_5 memcpy.
61759 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61761         [BZ #12631]
61762         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61764 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61766         * misc/syncfs.c: New file.
61767         * misc/Makefile (routines): Add syncfs.
61768         * posix/unistd.h: Declare syncfs.
61769         * sysdeps/unix/syscalls.list: Add syncfs.
61771 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61773         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61774         open_by_handle_at.
61775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61776         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61778         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61780         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61793         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61794         sync_file_range.c with -fexceptions.
61795         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61796         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61797         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61798         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61799         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61800         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61802         sync_file_range as cancellation point
61803         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61804         now a wrapper around __call_sync_file_range with cancellation handling.
61805         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61806         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61807         function name to __call_sync_file_range.
61808         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61809         Add call_sync_file_range.
61811 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61814         bits/timex.h.
61816 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61818         * iconv/iconv.h: Fix typo in comment.
61819         * io/fcntl.h: Likewise.
61820         * libio/stdio.h: Likewise.
61821         * posix/spawn.h: Likewise.
61822         * posix/unistd.h: Likewise.
61823         * stdlib/stdlib.h: Likewise.
61824         * time/time.h: Likewise.
61825         * wcsmbs/wchar.h: Likewise.
61827         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61828         open_by_handle): Add.
61829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61830         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61831         Augment a few comments.
61832         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61837         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61838         open_by_handle.
61840         * io/fcntl.h (AT_EMPTY_PATH): Define.
61842 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61844         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61845         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61846         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61847         to...
61848         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61849         * Versions.def: Add GLIBC_2.14.
61850         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61851         Export.
61853 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61855         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61856         round counter.
61857         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61859 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61861         [BZ #12597]
61862         * string/test-strncmp.c (do_page_test): New function.
61863         (check2): Likewise.
61864         (test_main): Call check2.
61865         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61867 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61869         [BZ #12587]
61870         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61871         Handle cache information in CPU leaf 4.
61872         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61874 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61876         [BZ #12583]
61877         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61878         character representation.
61879         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61881 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61883         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61884         END(__isnan) to END(__isnanf) to match function entry point/label
61885         EALIGN(__isnanf,...).
61887 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61889         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61891 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61893         [BZ #12510]
61894         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61895         copy from the symbol referenced in the relocation to initialize the
61896         used variable.
61897         Patch by Piotr Bury <pbury@goahead.com>.
61898         * elf/Makefile: Add rules to build and tst-unique3.
61899         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61900         * elf/tst-unique3.cc: New file.
61901         * elf/tst-unique3.h: New file.
61902         * elf/tst-unique3lib.cc: New file.
61903         * elf/tst-unique3lib2.cc: New file.
61905         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61907 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61909         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61910         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61911         to _start.
61913 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61915         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61916         to-be-loaded object along a path to loader is ld.so.
61918 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61919             Ulrich Drepper  <drepper@gmail.com>
61921         * sysdeps/x86_64/memset.S: After aligning destination, code
61922         branches to different locations depending on the value of
61923         misalignment, when multiarch is enabled. Fix this.
61925 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61927         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61928         Set _x86_64_preferred_memory_instruction for AMD processsors.
61929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61930         Set bit_Prefer_SSE_for_memop for AMD processors.
61932 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61934         * libio/fmemopen.c (fmemopen): Optimize a bit.
61936 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61938         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61940 2011-03-03  Roland McGrath  <roland@redhat.com>
61942         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61944 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61946         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61947         __bzero_ultra1 instead of __memset_ultra1.
61949 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61950             Ulrich Drepper  <drepper@gmail.com>
61952         [BZ #12509]
61953         * include/link.h (struct link_map): Add l_orig_initfini.
61954         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61955         returning unsuccessfully.
61956         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61957         close of a file loaded at startup, restore the original l_initfini
61958         list.
61959         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61960         list, store the pointer.
61961         * elf/Makefile ($(objpfx)noload-mem): New rule.
61962         (noload-ENV): Define.
61963         (tests): Add $(objpfx)noload-mem.
61964         * elf/noload.c: Include <memcheck.h>.
61965         (main): Call mtrace.  Close all opened handles.
61967 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61969         [BZ #12454]
61970         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61971         dependencies are missing.
61973 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61975         Fix __if_freereq crash: Unlike the generic version which uses free,
61976         Hurd needs munmap.
61977         * sysdeps/mach/hurd/ifreq.h: New file.
61979 2011-01-27  Petr Baudis  <pasky@suse.cz>
61980             Ulrich Drepper  <drepper@gmail.com>
61982         [BZ 12445]#
61983         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61984         to extend_alloca().
61985         * stdio-common/bug23.c: New file.
61986         * stdio-common/Makefile (tests): Add bug23.
61988 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61989             Ulrich Drepper  <drepper@gmail.com>
61991         [BZ #12489]
61992         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61993         before performing relro protection.  At old place add assertion
61994         to make sure nothing changed.
61996 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61997             Glauber de Oliveira Costa  <glommer@gmail.com>
61999         * elf/elf.h: Add new ARM TLS relocs.
62001 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62004         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62005         cast from r3.
62006         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62007         'tests' variable.
62008         * sysdeps/wordsize-64/tst-writev.c: New file.
62010 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62012         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62013         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62014         insns in _dl_start to prevent a TOC reference before relocs are
62015         resolved.
62017 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62019         [BZ #12469]
62020         * Makeconfig: Remove RANLIB definition.
62021         * Makerules: Don't use RANLIB.
62022         * aclocal.m4: Remove ranlib test.
62023         * configure.in: No need to check for ranlib.
62024         * elf/rtld-Rules: Don't use RANLIB.
62026 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62028         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62029         protection macro.
62030         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62031         inclusion protection macro.
62033         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62034         SIGRTMIN and SIGRTMAX and print information in that case only when
62035         SIGRTMIN is defined.
62037 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62039         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62040         arginfo fn returning -1.
62042         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62043         and thousands string is zero terminated.
62045 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62048         sysdeps/unix/sysv/linux/bits/socket.h.
62050 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62052         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62053         (__CPU_COUNT): Remove old macros.
62054         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62055         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62056         (__CPU_ALLOC, __CPU_FREE): Add macros.
62057         (__sched_cpualloc, __sched_cpufree): Add declarations.
62059 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62061         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62062         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62063         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62064         (readdhstai): Return value of addhstaiX call.
62065         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62066         (addgrbyX): Return value returned by cache_addgr.
62067         (readdgrbyname): Return value returned by addgrbyX.
62068         (readdgrbygid): Likewise.
62069         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62070         (addpwbyX): Return value returned by cache_addpw.
62071         (readdpwbyname): Return value returned by addhstbyX.
62072         (readdpwbyuid): Likewise.
62073         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62074         (addservbyX): Return value returned by cache_addserv.
62075         (readdservbyname): Return value returned by addservbyX:
62076         (readdservbyport): Likewise.
62077         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62078         (addhstbyX): Return value returned by cache_addhst.
62079         (readdhstbyname): Return value returned by addhstbyX.
62080         (readdhstbyaddr): Likewise.
62081         (readdhstbynamev6): Likewise.
62082         (readdhstbyaddrv6): Likewise.
62083         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62084         (readdinitgroups): Return value returned by addinitgroupsX.
62085         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62086         (prune_cache): Keep track of timeout value of re-added entries.
62087         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62088         * nscd/nscd.h: Adjust prototypes of readd* functions.
62090 2011-02-04  Roland McGrath  <roland@redhat.com>
62092         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62093         (nis_stats): Likewise.
62094         * nis/nis_modify.c (nis_modify): Likewise.
62095         * nis/nis_remove.c (nis_remove): Likewise.
62096         * nis/nis_add.c (nis_add): Likewise.
62098         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62100         * posix/fnmatch_loop.c: Add some consts.
62102         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62104 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62106         [BZ #12460]
62107         * config.make.in (config-cflags-novzeroupper): Define.
62108         * configure.in: Substitute libc_cv_cc_novzeroupper.
62109         * elf/Makefile (AVX-CFLAGS): Define.
62110         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62111         (CFLAGS-tst-auditmod4a.c): Likewise.
62112         (CFLAGS-tst-auditmod4b.c): Likewise.
62113         (CFLAGS-tst-auditmod6b.c): Likewise.
62114         (CFLAGS-tst-auditmod6c.c): Likewise.
62115         (CFLAGS-tst-auditmod7b.c): Likewise.
62116         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62118 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62120         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62121         function to the callback.
62122         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62124 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62126         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62127         of errno.
62129 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62131         [BZ #11724]
62132         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62133         of constructors.
62134         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62135         of destructors.
62136         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62138         [BZ #11724]
62139         * elf/Makefile: Add rules to build and run new test.
62140         * elf/tst-initorder.c: New file.
62141         * elf/tst-initorder.exp: New file.
62142         * elf/tst-initordera1.c: New file.
62143         * elf/tst-initordera2.c: New file.
62144         * elf/tst-initordera3.c: New file.
62145         * elf/tst-initordera4.c: New file.
62146         * elf/tst-initorderb1.c: New file.
62147         * elf/tst-initorderb2.c: New file.
62148         * elf/tst-order-a1.c: New file.
62149         * elf/tst-order-a2.c: New file.
62150         * elf/tst-order-a3.c: New file.
62151         * elf/tst-order-a4.c: New file.
62152         * elf/tst-order-b1.c: New file.
62153         * elf/tst-order-b2.c: New file.
62154         * elf/tst-order-main.c: New file.
62155         New test case by George Gensure <werkt0@gmail.com>.
62157 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62160         decoding ACE if AI_CANONIDN.
62162 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62164         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62166 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62168         * version.h (RELEASE): Bump for 2.13 release.
62169         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62171         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62174         MADV_NOHUGEPAGE.
62175         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62177         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62178         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62179         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62182         * posix/getconf.c: Update copyright year.
62183         * catgets/gencat.c: Likewise.
62184         * csu/version.c: Likewise.
62185         * debug/catchsegv.sh: Likewise.
62186         * debug/xtrace.sh: Likewise.
62187         * elf/ldconfig.c: Likewise.
62188         * elf/ldd.bash.in: Likewise.
62189         * elf/sprof.c (print_version): Likewise.
62190         * iconv/iconv_prog.c: Likewise.
62191         * iconv/iconvconfig.c: Likewise.
62192         * locale/programs/locale.c: Likewise.
62193         * locale/programs/localedef.c: Likewise.
62194         * malloc/memusage.sh: Likewise.
62195         * malloc/mtrace.pl: Likewise.
62196         * nscd/nscd.c (print_version): Likewise.
62197         * nss/getent.c: Likewise.
62199         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62200         PF_CAIF, and PF_ALG.
62201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62203 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62205         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62206         (modules-names): Use them.
62207         (ifunc-test-modules, ifunc-pie-tests): Define.
62208         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62209         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62210         (test-extras): Likewise.
62211         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62212         $(compile-command.c).
62213         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62214         (all-built-dso): Define.
62215         (check-textrel.out, check-execstack.out): Depend on it.
62217         * configure.in: Don't override --enable-multi-arch.
62219 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62221         [BZ #6812]
62222         * nscd/hstcache.c (tryagain): Define.
62223         (cache_addhst): Return tryagain not notfound for temporary errors.
62224         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62225         failed.
62227 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62229         [BZ #10563]
62230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62231         to make the syscall.
62232         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62234         [BZ #12378]
62235         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62236         and fall back to matching as normal character if the string ends before
62237         the matching ']' is found.  This is what POSIX requires.
62238         * posix/testfnm.c: Adjust test result.
62239         * posix/globtest.sh: Adjust test result.  Add new test.
62240         * posix/tst-fnmatch.input: Likewise.
62241         * posix/tst-fnmatch2.c: Add new test.
62243 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62245         * elf/Makefile (check-execstack): Revert last change.  Depend on
62246         check-execstack.h.
62247         (check-execstack.h): New target.
62248         (generated): Add check-execstack.h.
62249         * elf/check-execstack.c: Include "check-execstack.h".
62250         (main): Revert last change.
62251         (handle_file): Return zero if GNU_STACK is absent and
62252         DEFAULT_STACK_PERMS doesn't include PF_X.
62254 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62256         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62257         in child fails because the descriptor is already closed.
62258         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62259         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62260         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62262         [BZ #12397]
62263         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62264         syscall.
62266         [BZ #10484]
62267         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62268         temporary buffer used to handle multi lookups locally.
62269         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62271 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62273         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62274         loader is ld.so.
62276 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62278         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62279         alignment for SSE2.
62281 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62283         [BZ #12394]
62284         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62285         characters.  When rounding increased number of integer digits recompute
62286         number of groups.
62287         * stdio-common/tst-grouping.c: New file.
62288         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62290 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62292         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62293         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62295         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62296         void.
62297         * bits/select.h: Likewise.
62299 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62301         * po/ja.po: Update from translation team.
62303 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62305         [BZ #11155]
62306         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62307         implementation just like for lxstat, fxstatat, et al.
62309 2010-12-27  Jim Meyering  <meyering@redhat.com>
62311         [BZ #12348]
62312         * posix/regexec.c (build_trtable): Return failure indication upon
62313         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62315 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62317         [BZ #12201]
62318         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62319         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62320         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62323         [BZ #12207]
62324         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62326         [BZ #12204]
62327         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62328         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62330 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62332         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62333         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62334         script has SORT_BY_INIT_PRIORITY.
62335         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62336         NO_CTORS_DTORS_SECTIONS is defined.
62337         * elf/soinit.c: Likewise.
62338         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62339         NO_CTORS_DTORS_SECTIONS is defined.
62340         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62341         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62342         * sysdeps/sh/init-first.c: Likewise.
62343         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62345 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62347         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62348         always use the slow path.
62350 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62352         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62353         similar rule which adds the sysdep directories to the header search in
62354         order to pick up the correct platform stackinfo.h.
62355         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62356         perform test if it is, otherwise return successfully without testing.
62357         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62358         DEFAULT_STACK_PERMS define in stackinfo.h.
62359         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62360         defined in stackinfo.h.
62361         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62362         DEFAULT_STACK_PERMS defined in stackinfo.h.
62363         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62364         * sysdeps/ia64/stackinfo.h: Likewise.
62365         * sysdeps/s390/stackinfo.h: Likewise.
62366         * sysdeps/sh/stackinfo.h: Likewise.
62367         * sysdeps/sparc/stackinfo.h: Likewise.
62368         * sysdeps/x86_64/stackinfo.h: Likewise.
62369         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62370         PF_X for powerpc64.  Retain PF_X for powerpc32.
62372 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62374         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62375         accurately.
62376         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62377         GETDENTS_64BIT_ALIGNED.
62379 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62381         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62383 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62385         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62386         _GNU_SOURCE.
62388         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62389         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62390         Remove __restrict.
62391         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62392         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62394 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62396         [BZ #11655]
62397         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62398         are initialized.
62400 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62402         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62404 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62406         * po/it.po: Update from translation team.
62408 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62411         unused codes.
62413 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62415         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62417 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62419         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62420         specially.
62421         (gaih_getanswer_slice): Likewise.
62423 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62427 2010-05-31  Petr Baudis  <pasky@suse.cz>
62429         [BZ #11149]
62430         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62431         silently even in the chroot mode.
62433 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62435         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62436         last patch a bit.  Pretty printing
62438 2010-05-31  Petr Baudis <pasky@suse.cz>
62440         [BZ #10085]
62441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62442         initialization of skip_initgroups_dyn.
62444 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62446         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62447         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62449 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62451         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62453 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62455         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62456         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62457         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62458         ($(objpfx)tst-fnmatch-mem): New rule.
62459         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62460         * posix/tst-fnmatch.c (main): Call mtrace.
62462 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62465         Support Intel processor model 6 and model 0x2c.
62467 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62470           signed comparison.
62472 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62474         [BZ #12205]
62475         * string/test-strncasecmp.c (check_result): New function.
62476         (do_one_test): Use it.
62477         (check1): New function.
62478         (test_main): Use it.
62479         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62480         Support strcasecmp and strncasecmp.
62482 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62484         [BZ #12194]
62485         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62486         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62488 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62490         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62491         IFUNC support.
62492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62493         memset-x86-64.
62494         * sysdeps/x86_64/multiarch/bzero.S: New file.
62495         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62496         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62497         * sysdeps/x86_64/multiarch/memset.S: New file.
62498         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62500         Set bit_Prefer_SSE_for_memop for Intel processors.
62501         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62502         Define.
62503         (index_Prefer_SSE_for_memop): Define.
62504         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62506 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62508         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62509         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62511 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62513         [BZ #12191]
62514         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62515         (__x86_64_raw_data_cache_size_half): Likewise.
62516         (__x86_64_raw_shared_cache_size): Likewise.
62517         (__x86_64_raw_shared_cache_size_half): Likewise.
62519         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62520         (__x86_64_raw_data_cache_size_half): Likewise.
62521         (__x86_64_raw_shared_cache_size): Likewise.
62522         (__x86_64_raw_shared_cache_size_half): Likewise.
62523         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62524         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62525         and __x86_64_raw_shared_cache_size_half.  Round
62526         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62527         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62528         to multiple of 256 bytes.
62530 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62532         [BZ #12167]
62533         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62534         of inacessible symlinks.  Verify result of symlink before returning it.
62535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62536         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62538 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62540         * math/math.h (isinf): Fix typo in comment.
62542 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62544         * po/da.po: Update from translation team.
62546 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62548         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62549         is added to the list.
62551 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62552             Ulrich Drepper  <drepper@gmail.com>
62554         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62555         the global list here.  Move code to...
62556         (_dl_add_to_namespace_list): ...here.  New function.
62557         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62558         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62559         * elf/dl-load.c (lose): Don't remove the element from the list.
62560         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62561         (_dl_map_object): Likewise.
62563 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62565         [BZ #12159]
62566         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62567         into all bytes of SSE register.
62568         Patch by Richard Li <richardpku@gmail.com>.
62570 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62572         [BZ #12140]
62573         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62574         perturbing.
62576 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62578         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62579         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62580         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62581         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62583         submachine.
62584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62586 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62588         * include/dlfcn.h (__RTLD_SECURE): Define.
62589         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62590         mode & __RTLD_SECURE instead.
62591         (open_path): Rename preloaded parameter to secure.
62592         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62593         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62594         * elf/dl-deps.c (openaux): Likewise.
62595         * elf/rtld.c (struct map_args): Remove is_preloaded.
62596         (map_doit): Don't use it.
62597         (dl_main): Likewise.
62598         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62599         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62601 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62603         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62604         (sysd-rules-targets): Remove duplicates.
62605         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62606         rtld-%.$o dependency.
62608 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62610         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62611         _dl_map_object do it.
62613 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62615         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62616         fast fma builtins, define the macros in the C99 standard.
62617         (FP_FAST_FMAF): Likewise.
62618         (FP_FAST_FMAL): Likewise.
62619         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62621         * bits/mathdef.h: Update copyright year.
62622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62624 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62626         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62627         builtins, define the macros in the C99 standard.
62628         (FP_FAST_FMAF): Likewise.
62629         (FP_FAST_FMAL): Likewise.
62630         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62631         multiply/add.
62632         (FP_FAST_FMAF): Likewise.
62634 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62636         [BZ #3268]
62637         * math/libm-test.inc (fma_test): Some new testcases.
62638         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62640         y and infinite z.  Do multiplication by C already in long double.
62641         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62643         y and infinite z.  Do bitwise or of inexact bit into u.d.
62644         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62645         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62646         * sysdeps/i386/fpu/s_fma.S: Removed.
62647         * sysdeps/i386/fpu/s_fmal.S: Removed.
62649 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62651         [BZ #3268]
62652         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62654         computation is not scheduled after fetestexcept.  Fix value
62655         of minimum denormal long double.
62657 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62659         [BZ #3268]
62660         * math/libm-test.inc (fma_test): Add some more tests.
62661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62662         correctly.
62664 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62666         * scripts/data/localplt-s390-linux-gnu.data: New file.
62667         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62669 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62671         [BZ #3268]
62672         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62673         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62674         instead of dbl-64.
62675         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62676         inlines.
62677         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62679         if one of x and y is very large and the other is subnormal.
62680         * sysdeps/s390/fpu/s_fmaf.c: New file.
62681         * sysdeps/s390/fpu/s_fma.c: New file.
62682         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62683         * sysdeps/powerpc/fpu/s_fma.S: New file.
62684         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62685         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62686         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62688 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62690         [BZ #3268]
62691         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62692         fma tests.
62693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62694         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62695         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62696         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62697         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62698         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62699         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62701 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62703         [BZ #12078]
62704         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62705         * posix/bug-regex31.input: Add test case.
62707 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62709         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62710         * posix/bug-regex31.input: New file.
62712         [BZ #12078]
62713         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62714         (parse_sub_exp): Fix last change, use postorder.
62716         * posix/bug-regex31.c: New file.
62717         * posix/Makefile: Add rules to build and run bug-regex31.
62719         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62721         [BZ #12078]
62722         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62724         [BZ #12108]
62725         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62726         to have entries in sys_siglist.
62728         [BZ #12093]
62729         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62730         be NULL.
62732 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62734         [BZ #3268]
62735         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62736         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62737         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62738         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62739         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62740         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62741         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62742         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62743         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62744         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62745         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62746         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62747         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62748         * math/ftestexcept.c (fetestexcept): Likewise.
62749         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62750         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62751         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62752         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62753         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62754         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62755         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62757 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62759         [BZ #12107]
62760         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62761         newline.
62763 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62765         * string/bug-strstr1.c: New file.
62766         * string/Makefile: Add rules to build and run bug-strstr1.
62768 2010-10-05  Eric Blake  <eblake@redhat.com>
62770         [BZ #12092]
62771         * string/str-two-way.h (two_way_long_needle): Always clear memory
62772         when skipping input due to the shift table.
62774 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62776         [BZ #12005]
62777         * malloc/mcheck.c: Handle large requests.
62779         [BZ #12077]
62780         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62781         for strncmp and strncasecmp.
62782         * string/stratcliff.c: Add tests for strcmp and strncmp.
62783         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62785 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62787         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62788         __set_fpscr.
62790 2010-09-30  Andreas Jaeger  <aj@suse.de>
62792         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62793         (CGROUP_SUPER_MAGIC): Define.
62794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62795         Handle btrfs and cgroup file systems.
62796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62797         Likewise.
62799 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62801         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62802         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62804 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62806         [BZ #12067]
62807         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62808         trying to locate the ELF header.
62810 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62812         [BZ #11611]
62813         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62814         Mask out sign-bit copies when constructing f_fsid.
62816 2010-09-24  Petr Baudis <pasky@suse.cz>
62818         * debug/stack_chk_fail_local.c: Add missing licence exception.
62819         * debug/warning-nop.c: Likewise.
62821 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62823         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62824         implementing getdents64 using getdents syscall, set d_type if
62825         __ASSUME_GETDENTS32_D_TYPE.
62827 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62829         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62830         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62832 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62834         [BZ #12037]
62835         * posix/unistd.h: Undo change of feature selection for ftruncate from
62836         2010-01-11.
62838 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62840         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62841         detection.
62843 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62846         fanotify_mark.
62847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62849 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62851         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62852         variables after CHECK_SP call.
62853         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62855 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62856             Ulrich Drepper  <drepper@redhat.com>
62858         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62859         re-relocationg ld.so.
62860         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62861         _dl_init_paths call.
62862         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62863         here anymore.
62865 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62867         * resolv/res_init.c (__res_vinit): Count the default server we added.
62869 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62870             Ulrich Drepper  <drepper@redhat.com>
62872         [BZ #11968]
62873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62874         (____longjmp_chk): Use %ebx for saving value across system call.
62875         Add unwind info.
62877 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62879         * manual/Makefile: Don't mix pattern rules with normal rules.
62881 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62883         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62884         operation.
62885         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62886         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62887         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62888         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62890         Likewise.
62892 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62894         [BZ #11979]
62895         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62896         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62898 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62900         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62901         * sysdeps/x86_64/addmul_1.S: Likewise.
62902         * sysdeps/x86_64/lshift.S: Likewise.
62903         * sysdeps/x86_64/mul_1.S: Likewise.
62904         * sysdeps/x86_64/rshift.S: Likewise.
62905         * sysdeps/x86_64/sub_n.S: Likewise.
62906         * sysdeps/x86_64/submul_1.S: Likewise.
62908 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62910         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62911         Define __sched_param instead of SCHED_* and sched_param when
62912         <bits/sched.h> is included with __need_schedparam defined.
62913         * bits/sched.h [__need_schedparam]
62914         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62915         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62916         (__defined_schedparam): Define to 1.
62917         (__sched_param): New structure, identical to sched_param.
62918         (__need_schedparam): Undefine.
62920 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62922         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62923         (epoll_create1): Declare.
62925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62927 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62929         [BZ #7066]
62930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62931         shifting retval into place.
62933 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62935         * nis/rpcsvc/nis.h: Update copyright notice.
62936         * nis/rpcsvc/nis.x: Likewise.
62937         * nis/rpcsvc/nis_callback.h: Likewise.
62938         * nis/rpcsvc/nis_callback.x: Likewise.
62939         * nis/rpcsvc/nis_object.x: Likewise.
62940         * nis/rpcsvc/nis_tags.h: Likewise.
62941         * nis/rpcsvc/yp.h: Likewise.
62942         * nis/rpcsvc/yp.x: Likewise.
62943         * nis/rpcsvc/ypupd.h: Likewise.
62944         * nis/yp_xdr.c: Likewise.
62945         * nis/ypupdate_xdr.c: Likewise.
62947         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62948         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62949         (pmap_getport): Use __libc_rpc_getport.
62950         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62951         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62952         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62954 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62957         fanotify_mark.
62959 2010-08-27  Roland McGrath  <roland@redhat.com>
62961         * sysdeps/i386/i686/multiarch/Makefile
62962         (CFLAGS-varshift.c): New variable.
62964 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62966         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62967         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62971         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62973 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62975         * sysdeps/x86_64/strlen.S: Unroll the loop.
62976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62977         strlen-sse2 strlen-sse2-bsf.
62978         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62979         __strlen_no_bsf if bit_Slow_BSF is set.
62980         (__strlen_sse42): Removed.
62981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62982         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62984 2010-08-25  Roland McGrath  <roland@redhat.com>
62986         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62987         * sysdeps/x86_64/multiarch/varshift.c: New file.
62988         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62989         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62990         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62991         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62993 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62996         strlen-sse2 strlen-sse2-bsf.
62997         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62998         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62999         (__strlen_sse2): Removed.
63000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63003         bit_Slow_BSF for Atom.
63004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63005         (index_Slow_BSF): Define.
63006         (HAS_SLOW_BSF): Define.
63008 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63010         [BZ #10851]
63011         * resolv/res_init.c (__res_vinit): When no server address at all
63012         is given default to loopback.
63014 2010-08-24  Roland McGrath  <roland@redhat.com>
63016         * configure.in: Remove config-name.h generation.
63017         * configure: Regenerated.
63018         * config-name.in: File removed.
63019         * scripts/config-uname.sh: New file.
63020         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63021         ($(objdir)config-name.h): New target.
63023         * sunrpc/rpc_parse.h: Avoid nested comment.
63025 2010-08-24  Richard Henderson  <rth@redhat.com>
63026             Ulrich Drepper  <drepper@redhat.com>
63027             H.J. Lu  <hongjiu.lu@intel.com>
63029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63031         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63032         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63033         _mm_alignr_epi8 with _mm_loadu_si128.
63034         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63035         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63036         (__m128i_shift_right): Removed.
63037         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63038         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63039         * sysdeps/x86_64/multiarch/varshift.h: New file.
63040         * sysdeps/x86_64/multiarch/varshift.S: New file.
63042 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63044         * configure.in: Move assembler checks to before sysdep dir checking.
63046 2010-08-20  Petr Baudis  <pasky@suse.cz>
63048         * LICENSES: Sync the sunrpc license.
63050 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63052         * sunrpc/auth_des.c: Update copyright notice once again.
63053         * sunrpc/auth_none.c: Likewise.
63054         * sunrpc/auth_unix.c: Likewise.
63055         * sunrpc/authdes_prot.c: Likewise.
63056         * sunrpc/authuxprot.c: Likewise.
63057         * sunrpc/bindrsvprt.c: Likewise.
63058         * sunrpc/clnt_gen.c: Likewise.
63059         * sunrpc/clnt_perr.c: Likewise.
63060         * sunrpc/clnt_raw.c: Likewise.
63061         * sunrpc/clnt_simp.c: Likewise.
63062         * sunrpc/clnt_tcp.c: Likewise.
63063         * sunrpc/clnt_udp.c: Likewise.
63064         * sunrpc/clnt_unix.c: Likewise.
63065         * sunrpc/des_crypt.c: Likewise.
63066         * sunrpc/des_soft.c: Likewise.
63067         * sunrpc/get_myaddr.c: Likewise.
63068         * sunrpc/getrpcport.c: Likewise.
63069         * sunrpc/key_call.c: Likewise.
63070         * sunrpc/key_prot.c: Likewise.
63071         * sunrpc/openchild.c: Likewise.
63072         * sunrpc/pm_getmaps.c: Likewise.
63073         * sunrpc/pm_getport.c: Likewise.
63074         * sunrpc/pmap_clnt.c: Likewise.
63075         * sunrpc/pmap_prot.c: Likewise.
63076         * sunrpc/pmap_prot2.c: Likewise.
63077         * sunrpc/pmap_rmt.c: Likewise.
63078         * sunrpc/rpc/auth.h: Likewise.
63079         * sunrpc/rpc/auth_unix.h: Likewise.
63080         * sunrpc/rpc/clnt.h: Likewise.
63081         * sunrpc/rpc/des_crypt.h: Likewise.
63082         * sunrpc/rpc/key_prot.h: Likewise.
63083         * sunrpc/rpc/netdb.h: Likewise.
63084         * sunrpc/rpc/pmap_clnt.h: Likewise.
63085         * sunrpc/rpc/pmap_prot.h: Likewise.
63086         * sunrpc/rpc/pmap_rmt.h: Likewise.
63087         * sunrpc/rpc/rpc.h: Likewise.
63088         * sunrpc/rpc/rpc_des.h: Likewise.
63089         * sunrpc/rpc/rpc_msg.h: Likewise.
63090         * sunrpc/rpc/svc.h: Likewise.
63091         * sunrpc/rpc/svc_auth.h: Likewise.
63092         * sunrpc/rpc/types.h: Likewise.
63093         * sunrpc/rpc/xdr.h: Likewise.
63094         * sunrpc/rpc_clntout.c: Likewise.
63095         * sunrpc/rpc_cmsg.c: Likewise.
63096         * sunrpc/rpc_common.c: Likewise.
63097         * sunrpc/rpc_cout.c: Likewise.
63098         * sunrpc/rpc_dtable.c: Likewise.
63099         * sunrpc/rpc_hout.c: Likewise.
63100         * sunrpc/rpc_main.c: Likewise.
63101         * sunrpc/rpc_parse.c: Likewise.
63102         * sunrpc/rpc_parse.h: Likewise.
63103         * sunrpc/rpc_prot.c: Likewise.
63104         * sunrpc/rpc_sample.c: Likewise.
63105         * sunrpc/rpc_scan.c: Likewise.
63106         * sunrpc/rpc_scan.h: Likewise.
63107         * sunrpc/rpc_svcout.c: Likewise.
63108         * sunrpc/rpc_tblout.c: Likewise.
63109         * sunrpc/rpc_util.c: Likewise.
63110         * sunrpc/rpc_util.h: Likewise.
63111         * sunrpc/rpcinfo.c: Likewise.
63112         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63113         * sunrpc/rpcsvc/key_prot.x: Likewise.
63114         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63115         * sunrpc/rpcsvc/mount.x: Likewise.
63116         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63117         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63118         * sunrpc/rpcsvc/rex.x: Likewise.
63119         * sunrpc/rpcsvc/rstat.x: Likewise.
63120         * sunrpc/rpcsvc/rusers.x: Likewise.
63121         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63122         * sunrpc/rpcsvc/spray.x: Likewise.
63123         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63124         * sunrpc/rtime.c: Likewise.
63125         * sunrpc/svc.c: Likewise.
63126         * sunrpc/svc_auth.c: Likewise.
63127         * sunrpc/svc_authux.c: Likewise.
63128         * sunrpc/svc_raw.c: Likewise.
63129         * sunrpc/svc_run.c: Likewise.
63130         * sunrpc/svc_simple.c: Likewise.
63131         * sunrpc/svc_tcp.c: Likewise.
63132         * sunrpc/svc_udp.c: Likewise.
63133         * sunrpc/svc_unix.c: Likewise.
63134         * sunrpc/svcauth_des.c: Likewise.
63135         * sunrpc/xcrypt.c: Likewise.
63136         * sunrpc/xdr.c: Likewise.
63137         * sunrpc/xdr_array.c: Likewise.
63138         * sunrpc/xdr_float.c: Likewise.
63139         * sunrpc/xdr_mem.c: Likewise.
63140         * sunrpc/xdr_rec.c: Likewise.
63141         * sunrpc/xdr_ref.c: Likewise.
63142         * sunrpc/xdr_sizeof.c: Likewise.
63143         * sunrpc/xdr_stdio.c: Likewise.
63145         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63146         handling.
63148 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63150         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63152 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63154         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63155         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63157         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63158         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63159         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63160         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63161         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63163         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63164         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63165         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63166         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63169 2010-07-26  Anton Blanchard  <anton@samba.org>
63171         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63172         * malloc/arena.c (heap_trim): Likewise.
63174 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63176         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63177         here.  Not...
63178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63179         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63181 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63183         * sysdeps/i386/elf/Makefile: New file.
63185 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63187         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63188         from fanotify_init.
63189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63192 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63194         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63195         of strncasecmp_l.
63196         * sysdeps/multiarch/strcmp.S: Likewise.
63198 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63200         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63201         strncase_l-nonascii.
63202         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63203         Add strncase_l-ssse3.
63204         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63205         * sysdeps/x86_64/strcmp.S: Likewise.
63206         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63207         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63208         * sysdeps/x86_64/strncase.S: New file.
63209         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63210         * sysdeps/x86_64/strncase_l.S: New file.
63211         * string/Makefile (strop-tests): Add strncasecmp.
63212         * string/test-strncasecmp.c: New file.
63214         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63215         warning.
63217         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63218         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63220 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63222         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63224 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63226         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63227         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63230 2010-05-01  Alan Modra  <amodra@gmail.com>
63232         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63233         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63234         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63235         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63236         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63237         tidying.  Don't tail-call __sigjmp_save for static lib.
63238         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63239         save location.
63240         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63241         (CALL_MCOUNT): Add eh info, and nop after bl.
63242         (TAIL_CALL_SYSCALL_ERROR): New macro.
63243         (PSEUDO_RET): Use it.
63244         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63245         Correct save location of integer regs and cr.
63246         (_dl_profile_resolve): Correct cr save location.  Delete nops
63247         after bl when SHARED.  Reduce cfi size a little by better
63248         placement of cfi directives.
63249         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63250         make a stack frame.  Instead use parm save area as a temp.
63251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63252         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63254         Don't make a stack frame for parent, use parm save area.
63255         Increase child stack frame to 112 bytes.  Don't save unused reg,
63256         and adjust reg usage.  Set up cfi on error recovery and
63257         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63259         (__makecontext): Add dummy nop after jump to exit.
63260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63261         Use correct parm save area and cr save, reduce stack frame.
63262         Correct cfi for possible PSEUDO_RET frame setup.
63263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63264         Branch to local label emitted by PSEUDO_RET rather than
63265         __syscall_error.
63267 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63269         [BZ #11904]
63270         * locale/programs/locale.c (print_assignment): New function.
63271         (show_locale_vars): Use it.
63273 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63275         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63276         field.
63277         (struct statfs64): Likewise.
63278         (_STATFS_F_FLAGS): Define.
63279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63280         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63281         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63282         (ST_VALID): Define locally.
63283         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63284         __statvfs_getflags, use the provided value.
63285         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63286         __ASSUME_STATFS_F_FLAGS.
63288         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63290         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63291         Add sys/fanotify.h.
63292         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63293         fanotify_mask for GLIBC_2.13.
63294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63295         fanotify_init and fanotify_mark.
63296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63297         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63300         Add prlimit.
63301         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63302         prlimit64 for GLIBC_2.13.
63303         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63304         prlimit64.
63305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63306         syscall.
63307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63312         add prlimit alias.
63313         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63315         [BZ #11903]
63316         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63317         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63319         * nss/Makefile: Add rules to build and run tst-nss-test1.
63320         * shlib-versions: Add entry for libnss_test1.
63321         * nss/nss_test1.c: New file.
63322         * nss/tst-nss-test1.c: New file.
63324         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63325         (__nss_configure_lookup): Set appropriate entry in
63326         __nss_configure_lookup to true.
63327         * nss/nsswitch.h: Define enum with indeces of databases in
63328         databases and __nss_database_custom arrays.  Declare
63329         __nss_database_custom.
63330         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63331         to avoid using nscd when custom rules are installed.
63332         * nss/getXXbyYY_r.c: Likewise.
63333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63335         * nss/nss_files/files-parse.c: Whitespace fixes.
63337 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63339         [BZ #11883]
63340         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63341         * posix/fnmatch_loop.c: Likewise.
63343 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63345         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63346         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63347         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63348         * Versions.def [GLIBC_2.13]: Add.
63350 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63353         Also fail if tpwd after pwuid call is NULL.
63355 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63357         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63358         when converting to ms.
63360 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63362         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63363         EOPNOTSUPP errors with ENOTTY.
63364         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63365         EOPNOTSUPP errors with ENOTTY.
63367 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63370         Add strcasecmp_l-ssse3.
63371         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63372         strcasecmp.
63373         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63374         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63377 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63379         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63381         * string/Makefile (strop-tests): Add strcasecmp.
63382         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63383         strcasecmp_l-nonascii.
63384         (gen-as-const-headers): Add locale-defines.sym.
63385         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63386         * sysdeps/x86_64/strcasecmp.S: New file.
63387         * sysdeps/x86_64/strcasecmp_l.S: New file.
63388         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63389         * sysdeps/x86_64/locale-defines.sym: New file.
63390         * string/test-strcasecmp.c: New file.
63392         * string/test-strcasestr.c: Test both ends of the range of characters.
63393         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63395 2010-07-29  Roland McGrath  <roland@redhat.com>
63397         [BZ #11856]
63398         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63400 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63402         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63403         for ld.so.
63405 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63407         * manual/memory.texi (Malloc Tunable Parameters): Document
63408         M_PERTURB.
63410 2010-07-26  Roland McGrath  <roland@redhat.com>
63412         [BZ #11840]
63413         * configure.in (-fgnu89-inline check): Set and substitute
63414         gnu89_inline, not libc_cv_gnu89_inline.
63415         * configure: Regenerated.
63416         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63418 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63420         * string/test-strnlen.c: New file.
63421         * string/Makefile (strop-tests): Add strnlen.
63422         * string/tester.c (test_strnlen): Add a few more test cases.
63423         * string/tst-strlen.c: Better error reporting.
63425         * sysdeps/x86_64/strnlen.S: New file.
63427 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63430         lower-latency instructions.
63432 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63434         * string/test-strcasestr.c: New file.
63435         * string/test-strstr.c: New file.
63436         * string/Makefile (strop-tests): Add strstr and strcasestr.
63437         * string/str-two-way.h: Don't undefine MAX.
63438         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63440 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63443         strcasestr-nonascii.
63444         (CFLAGS-strcasestr-nonascii.c): Define.
63445         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63447         Remove unused attribute.
63449 2010-07-20  Roland McGrath  <roland@redhat.com>
63451         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63452         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63453         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63454         like LD_HWCAP_MASK can disable hwcaps.
63456 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63458         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63460 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63462         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63463         call in strcasestr.
63464         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63465         __strcasestr_sse42_nonascii.
63466         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63467         strcasestr-nonascii.c.
63468         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63470 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63477 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63480         fcntl.
63482 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63484         [BZ #11577]
63485         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63486         dl_signal_cerror.
63488 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63490         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63491         _PC_PIPE_BUF using F_GETPIPE_SZ.
63493 2010-07-05  Roland McGrath  <roland@redhat.com>
63495         * manual/arith.texi (Rounding Functions): Fix rint description
63496         implicit in round description.
63498 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63500         * elf/Makefile: Fix linking for a few tests to make recent linker
63501         happy.
63503 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63506         $(common-objpfx)libc_nonshared.a.
63508 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63510         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63511         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63512         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63513         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63514         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63516         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63532         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63533         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63534         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63535         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63536         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63537         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63538         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63539         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63540         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63541         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63542         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63543         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63559 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63561         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63562         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63563         * string/memmove.c (memmove): Renamed to ...
63564         (MEMMOVE): ...this.  Default to memmove.
63565         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63566         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63567         (END_CHK): Define.
63568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63569         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63570         mempcpy-ssse3-back memmove-ssse3-back.
63571         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63574         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63575         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63576         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63577         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63578         * sysdeps/x86_64/multiarch/memmove.c: New file.
63579         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63580         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63581         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63582         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63585         Define.
63586         (index_Fast_Copy_Backward): Define.
63587         (HAS_ARCH_FEATURE): Define.
63588         (HAS_FAST_REP_STRING): Define.
63589         (HAS_FAST_COPY_BACKWARD): Define.
63591 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63593         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63594         Restore proper fallback handling.
63596 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63598         [BZ #11701]
63599         * posix/group_member.c (__group_member): Correct checking loop.
63601         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63602         OOM in getpwuid_r correctly.  Return error number when the caller
63603         should return, otherwise -1.
63604         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63605         call returning > 0 value.
63606         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63608 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63610         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63611         libc_nonshared.a from targets in modules-names.
63613 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63615         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63616         requires it.
63618 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63620         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63625 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63627         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63629 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63632         and F_GETPIPE_SZ.
63633         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63640 2010-06-14  Roland McGrath  <roland@redhat.com>
63642         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63644 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63646         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63647         __REDIRECT followed by __THROW.
63648         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63649         * posix/getopt.h (getopt): Likewise.
63651 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63653         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63654         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63655         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63656         in AT_FLAGS.
63657         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63658         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63660 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63662         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63664 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63666         [BZ #11640]
63667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63668         Properly check family and model.
63670 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63674 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63676         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63678 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63680         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63681         symbol reference.
63683 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63685         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63686         symbol reference.
63688 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63691         and internal_recvmmsg.
63692         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63693         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63695         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63697         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63698         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63699         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63701 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63703         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63705 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63707         POWER7 optimizations.
63708         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63709         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63711 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63713         * version.h: Update for 2.13 development version.
63715 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63718         exceptions.  Return 0.
63720 2010-05-07  Roland McGrath  <roland@redhat.com>
63722         * elf/ldconfig.c (main): Add a const.
63724 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63726         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63727         (args_options): Add no-idn option.
63728         (ahosts_keys_int): Add idn_flags to ai_flags.
63729         (parse_option): Handle 'i' option to clear idn_flags.
63731         * malloc/malloc.c (_int_free): Possible race in the most recently
63732         added check.  Only act on the data if no current modification
63733         happened.
63735 See ChangeLog.17 for earlier changes.